[Bug 751] SDL doesn't play nice with esd (tries to open /dev/dsp directly)
Emmet Hikory
emmet.hikory at gmail.com
Sat Oct 1 04:10:39 UTC 2005
Public bug report changed:
https://launchpad.net/malone/bugs/751
Title changed to:
SDL doesn't play nice with esd (tries to open /dev/dsp directly)
Summary changed to:
Since the ubuntu desktop uses ESD (or another audio multiplexing daemon) by
default, it would be nice if apps shipped expecting (or at least adapting
to) that configuration.
For SDL applications, the easy fix is to change the default backend to
libsdl1.2debian-alsa, rather than libsdl1.2debian-oss
Description changed to:
The default SDL backend for Breezy is OSS, resulting in the following issue
reported against pygame:
Since the ubuntu desktop uses ESD (or another audio multiplexing daemon) by
default, it would be nice if apps shipped expecting (or at least adapting
to) that configuration.
Amusingly enough, disabling the sound with "-q" results in the same
exception, although the man page suggests:
-q Begin with sound disabled.
"strace -eopen pathological" reveals:
open("/dev/dsp", O_WRONLY|O_NONBLOCK) = -1 EBUSY (Device or resource busy)
open("/dev/dsp", O_RDWR|O_NONBLOCK) = -1 EBUSY (Device or resource busy)
Traceback (most recent call last):
open("/usr/share/games/pathological/pathological.py", O_RDONLY|O_LARGEFILE)
= 6
File "/usr/share/games/pathological/pathological.py", line 2206, in ?
setup_everything()
open("/usr/share/games/pathological/pathological.py",
O_RDONLY|O_LARGEFILE) = 6
File
"/usr/share/games/pathological/pathological.py", line 2189, in
setup_everything
pygame.mixer.init()
pygame.error: No available audio
device
More information about the universe-bugs
mailing list