Just for fun I did an strace on Alien Arena both when running from the
command line and when running from the gnome menu.  When run from gnome
menu, it cannot open /dev/snd/pcmC0D0p (this is only an excerpt of the
trace):

open("/dev/snd/controlC0", O_RDONLY)    = 3
close(3)                                = 0
open("/dev/snd/controlC0", O_RDWR)      = 3
ioctl(3, USBDEVFS_CONTROL, 0x7fff97f0577c) = 0
ioctl(3, 0x40045532, 0x7fff97f057e4)    = 0
open("/dev/snd/pcmC0D0p", O_RDWR|O_NONBLOCK) = -1 EBUSY (Device or resource 
busy)
close(3)                                = 0
write(2, "ALSA lib pcm_dmix.c:874:(snd_pcm"..., 44ALSA lib pcm_dmix.c:874:(snd_p
cm_dmix_open) ) = 44
write(2, "unable to open slave", 20unable to open slave)    = 20
write(2, "\n", 1
)                       = 1

When I run alien-arena from the command line, the trace looks like this:

open("/dev/snd/controlC0", O_RDONLY)    = 3
close(3)                                = 0
open("/dev/snd/controlC0", O_RDWR)      = 3
ioctl(3, USBDEVFS_CONTROL, 0x7fff6452bd1c) = 0
ioctl(3, 0x40045532, 0x7fff6452bd84)    = 0
open("/dev/snd/pcmC0D0p", O_RDWR|O_NONBLOCK) = 4
ioctl(4, AGPIOC_ACQUIRE or APM_IOC_STANDBY, 0x7fff6452bdc0) = 0
close(3)                                = 0
ioctl(4, AGPIOC_ACQUIRE or APM_IOC_STANDBY, 0x7fff6452bba0) = 0
fcntl(4, F_GETFL)                       = 0x8802 (flags O_RDWR|O_NONBLOCK|O_LARG
EFILE)
ioctl(4, AGPIOC_INFO, 0x7fff6452bb9c)   = 0
ioctl(4, AGPIOC_RELEASE or APM_IOC_SUSPEND, 0x7fff6452bb98) = 0
mmap(NULL, 4096, PROT_READ, MAP_SHARED, 4, 0x80000000) = 0x7f085c528000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, 4, 0x81000000) = 0x7f085c5270
00
ioctl(4, 0xc2604110, 0x7fff6452be10)    = 0

I then modified /usr/games/alien-arena to look for processes holding this 
device open
(call fuser /dev/snd/pcmC0D0p) and it showed nothing.


I also found that  If I kill the Pulse Audio daemon, then I do get sound when 
running alien-arena from
 the gnome menu.  Also, just disabling software sound mixing from the 
preferences/sound menu has the same effect.

I hope this information is helpful.

Kevin

-- 
Frozen Bubble and other games have no sound when started from gnome menue
https://bugs.launchpad.net/bugs/208388
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to