LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-01-2008, 01:39 PM   #1
JMickle
LQ Newbie
 
Registered: May 2008
Location: In your brain.
Distribution: Gnome
Posts: 3

Rep: Reputation: 0
Unhappy LMMS gives no sound.


Quote:
could not set realtime priority.
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
I have a feeling that this is the problem.

Sound works fine with other programs, such as Totem for my music, but this doesn't seem to give any sound output at all.

I have just installed it, not changed any settings, and only installed linux today.

I am running the latest version of Ubuntu Desktop.
 
Old 08-02-2008, 06:21 AM   #2
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
try
Code:
aoss command
replace command with the application command
 
Old 08-02-2008, 06:50 AM   #3
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
To expand a little... Linux has had a few sound systems in the kernel over the years. One of the older ones is called OSS. With sound cards which only have one input channel (which is most modern cards), OSS can cause problems by opening the sound card and hogging it.

This can cause the problem you are seeing when another app comes along and wants to use the sound card.

ALSA is another sound system, which can share the sound card between apps.

What you need to do it find the program which is hogging the sound card, and terminate it, then start LMMS.

To find an OSS app which is hogging the sound card:
Code:
sudo lsof |grep /dev/dsp
Typical villains are: older version of flash player or skype, and sound servers like esd.

The aoss solution is a way to make OSS apps play nice with other apps. Say you have a program which uses OSS, like gmfsk. Wheree you would normally launch it using the command:
Code:
gmfsk
change that command to:
Code:
aoss gmfsk
This emulates OSS but does the actual connection to the sound card with the ALSA drivers. It's not 100% reliable, but it usually works.
 
Old 08-03-2008, 05:37 AM   #4
JMickle
LQ Newbie
 
Registered: May 2008
Location: In your brain.
Distribution: Gnome
Posts: 3

Original Poster
Rep: Reputation: 0
Thankyou very much, I will try that, although I think I found my problem elsewhere.
You see, I have two sound cards installed at the moment, the on board sound, and a PCI card. I use the PCI card because when I record in Cubase (in winblows) it cuts out practically all the latency, which the on board doesn't.

When I went into the Sound menu in Ubuntu, I switched everything to the on board sound instead of the PCI, and other programs which also didn't work (Amarok, firefox) started working. I just need to try Lmms now, which I haven't had a chance to. If that doesn't work, I will try what you said.

Thanks again, people like you are just another reason why this website is so great
 
Old 08-03-2008, 06:10 AM   #5
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
I'm sorry to say that I have no experience of multiple soundcards in the same machine. I gather fro listening to people talking about it on podcasts that ALSA gives you the ability to be quite smart about how you use them, but I don't know how to do it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
does anyone know how to use LMMS? whocares Linux - Software 3 08-28-2007 01:03 AM
need help saving beat/bassline tracks and adding new ones on lmms whocares Linux - Software 1 08-27-2007 03:25 PM
LMMS - audioOSS: failed opening audio-device nrodrigo Linux - Software 1 03-30-2007 04:27 AM
FC6, LMMS and QT nrodrigo Linux - Software 2 03-19-2007 02:42 PM
LMMS install problem Umagarz Ubuntu 0 12-20-2006 06:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration