When gnome session is started, audio device is locked, and meny aplications cannot play sounds, only Gnome and Gnome aplicatios emit sounds.
For example, before start Gnome, i can play a WAV audio file with aplay command, but after gnome is started i cannot play sound with aplay, in gnome and in tty console i
obtain this error:
ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave
aplay: main:545: audio open error: Device or resource busy.
The result is that many other aplications as aMSN, amarok (this give also Device busy error), and videos from youtube doesn't sound, but media files played with totem
sound, and also sound tests located in System -> Preferences -> Sound.
Thanks.
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gnome-core depends on:
ii bug-buddy 2.18.1-2 GNOME Desktop Environment bug repo
ii eog 2.18.2-1 Eye of Gnome graphics viewer progr
ii gedit 2.18.2-1 official text editor of the GNOME
ii gnome-applets 2.18.0-4 Various applets for GNOME 2 panel
ii gnome-control-center 1:2.18.1-1 utilities to configure the GNOME d
ii gnome-icon-theme 2.20.0-1 GNOME Desktop icon theme
ii gnome-menus 2.20.0-2 an implementation of the freedeskt
ii gnome-panel 2.18.3-2 launcher and docking facility for
ii gnome-session 2.18.3-1 The GNOME 2 Session Manager
ii gnome-terminal 2.18.1-1 The GNOME 2 terminal emulator appl
ii metacity 1:2.18.5-1 A lightweight GTK2 based Window Ma
ii nautilus 2.18.3-3 file manager and graphical shell f
ii scrollkeeper 0.3.14-13 A free electronic cataloging syste
ii yelp 2.14.3-2 Help browser for GNOME 2
gnome-core recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
This is because you have enabled ESD, in System -> Preferences -> Sound.
If your sound driver doesn't allow device sharing, only applications
using ESD will be able to play sound when it is started.
Cheers,
--
.''`. Josselin Mouette /\./\
: :' : josselin...@ens-lyon.org
`. `' jo...@debian.org
`- Debian GNU/Linux -- The power of freedom
Did you enable the sound server in GNOME? If yes, then you should
configure your application to use "Esound" as audio output.
Alternatively, you can disable the sound server and configure your
applications to use "Alsa" directly.
Another option which I'm using is to setup PulseAudio, that works like
esound and supports alsa apps as well, but requires more work to setup.
--
Loïc Minier
Le jeudi 04 octobre 2007 à 19:49 +0200, Rafael Belmonte a écrit :
> Hello, if i disable ESD, aplay and other aplications begin to sound,
> but
> then Gnome events doesn't sound. I am sure than i had ESD activated
> and
> other aplications could sound in previous Debian Lenny/Sid development
> state, in addiction i have comfirmed that in others distributions (for
> example Ubuntu 7.10), i have activated ESD and both Gnome events and
> other aplications sound without problems, because this, i think that
> there is a bug in Debian.
You must configure your other applications to use ESD if you decide to
enable it and your sound card doesn't support device sharing.
Otherwise the behavior you are describing is expected.
Cheers,
--
.''`.
: :' : We are debian.org. Lower your prices, surrender your code.
`. `' We will add your hardware and software distinctiveness to
`- our own. Resistance is futile.