Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-01-2006, 08:47 AM
|
#1
|
Member
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127
Rep:
|
sound with XMMS but not with anything else
i have sound working nicely in XMMS but in flash videos, VLC, xine and ePSXe the sound does not work
i am using a breezy server install with fluxbox. not sure what other information to give
|
|
|
05-01-2006, 10:10 AM
|
#2
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Rep:
|
Start apps that do not work from the cli and read the errors when it tries sound playback ie:
|
|
|
05-01-2006, 10:47 AM
|
#3
|
Member
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127
Original Poster
Rep:
|
Quote:
Originally Posted by bulliver
Start apps that do not work from the cli and read the errors when it tries sound playback ie:
|
from VLC:
[00000303] oss audio output error: cannot open audio device (/dev/dsp)
does that help you?
i have a feeling this is to do with file permissions...
|
|
|
05-01-2006, 11:13 AM
|
#4
|
Member
Registered: Oct 2005
Posts: 518
Rep:
|
You could try killall esd and see if that works but the problem seems to persist somewhere else.
|
|
|
05-01-2006, 12:00 PM
|
#5
|
Member
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127
Original Poster
Rep:
|
Quote:
Originally Posted by brianthegreat
You could try killall esd and see if that works but the problem seems to persist somewhere else.
|
ok i dont know why i didnt try this before but it seems that the file /dev/dsp gets locked when anything that uses sound is running, meaning that only one thing can use sound at a time. which is not very helpful.
however i did just have a good bash on ye olde resident evil which i was most pleased about.
killall esd returns "no process killed"
|
|
|
05-01-2006, 12:06 PM
|
#6
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,764
Rep:
|
Quote:
it seems that the file /dev/dsp gets locked when anything that uses sound is running,
|
Are you using OSS or Alsa? What soundserver are you running if any? I have heard of people having troubles such as yours with arts...
I use alsa and _no_ soundserver, and it works just fine for me. That is, I get simultaneous playback from 2 or more sources...
|
|
|
05-01-2006, 03:39 PM
|
#7
|
Member
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127
Original Poster
Rep:
|
in my process list i can't find alsa or OSS and i wouldnt know what else to look for...
in synaptic alsa says its installed, how can i make sure it is set to start up at boot time?
|
|
|
05-03-2006, 11:22 AM
|
#8
|
Member
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127
Original Poster
Rep:
|
BUMP!
(at least 10 characters lol)
|
|
|
05-03-2006, 12:42 PM
|
#9
|
LQ Newbie
Registered: Apr 2006
Distribution: Debian unstable / ubuntu
Posts: 18
Rep:
|
try dmesg | grep -i alsa
|
|
|
05-03-2006, 01:33 PM
|
#10
|
Member
Registered: Jan 2005
Distribution: (X)Ubuntu Dapper
Posts: 127
Original Poster
Rep:
|
ok, done, no error, no message of any kind....
|
|
|
05-08-2006, 09:33 AM
|
#11
|
LQ Newbie
Registered: Apr 2006
Distribution: Debian unstable / ubuntu
Posts: 18
Rep:
|
Just saw the OSS line and here is the explanation:
OSS is single user only, meaning no two programs can use OSS at the same time.
You have to pick a sound server that supports mixing:
- alsa (not dependant on anything else)
- artsd (KDE related)
- esd (gnome related)
are your options
Probably, a server install will not start any of these, why should it? Servers are headless boxes with no sound in general.
Once you have configured one of these sound servers to be started with bootup,
configure each app to use it. (xmms: plugins/output). The trouble is that all of these servers will try to cooperate with legacy apps that insist on OSS and stopping their output so that a running xmms instance using OSS can block sound output for all others forever.
Some apps like mplayer (command line, not gmplayer) are smart enough to detect which sound server is running and tell you on their console output and gently degrade e.g. from esd to alsa to oss.
hth,
herd
|
|
|
All times are GMT -5. The time now is 06:55 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|