[opensuse-kernel] ALSA problems with 2.6.30-rc3-13-vanilla

There is a big difference w.r.t. to volume whether I use mplayer to play, say, a flash audio file or a Adobe's flash player within Firefox. The latter's volume is far too small. Additionally, the flash player, even if not active (but open in a Firefox tab), blocks ALSA somehow: wl@linux-nvf0:~> mplayer xxx.flash MPlayer dev-SVN-r29116-4.3-openSUSE Linux 11.1 (i686)-Packman [...] Playing xxx.flash. libavformat file format detected. [lavf] Video stream found, -vid 0 [lavf] Audio stream found, -aid 1 VIDEO: [H264] 320x240 0bpp 36.917 fps 28.3 kbps ( 3.5 kbyte/s) ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ========================================================================== Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding) FAAD: compressed input bitrate missing, assuming 128kbit/s! AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio)) ========================================================================== [AO OSS] audio_setup: Can't open audio device /dev/dsp: Device or resource busy [AO_ALSA] alsa-lib: pcm_hw.c:1321:(snd_pcm_hw_open) \ open /dev/snd/pcmC0D0p failed: Device or resource busy [AO_ALSA] alsa-lib: pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave [AO_ALSA] Playback open error: Device or resource busy [AO ESD] latency: [server: 0.37s, net: 0.00s] (adjust 0.37s) AO: [esd] 44100Hz 2ch s16le (2 bytes per sample) Is this a known problem? BTW, the same problem exists in kernel 2.6.27.21 too. My exact audio configuration can be found here: http://www.alsa-project.org/db/?f=83af62fe275ef0f5fa1663c78f10663d4e80c078 Werner -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org

At Sun, 03 May 2009 14:17:58 +0200 (CEST), Werner LEMBERG wrote:
It sounds like a problem with the volume inconsistency between different sound subsystems. Judging from the output above, some (flashplayer, supposedly) seem to be using pulseaudio backend. If you aren't using PA in general, try to uninstall libflashsupport package. Anyway, the issue has basically nothing to do with the kernel :) Takashi -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org

It sounds like a problem with the volume inconsistency between different sound subsystems.
Well, it's even more, unfortunately. After suspending, PulseAudio no longer works: pulseaudio[3841]: module-alsa-sink.c: \ Error opening PCM device front:0: Das Argument ist ungültig pulseaudio[3841]: sink-input.c: \ Assertion 'i->thread_info.rewrite_nbytes == 0' failed at \ pulsecore/sink-input.c:1144, function \ pa_sink_input_request_rewind(). Aborting.
Well, I use KDE 4, and this mandates PulseAudio, AFAIK.
Anyway, the issue has basically nothing to do with the kernel :)
OK. Will contact a PulseAudio list instead. Werner -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org

At Mon, 04 May 2009 14:14:43 +0200 (CEST), Werner LEMBERG wrote:
Hm, that's bad. Does this happen with the Factory version of PA, 0.9.14?
Really? PA is mandatory for GNOME, but I thought KDE can work without it... Takashi -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org

Will try. Hopefully, the RPM works on top of openSuSE 11.1...
Honestly, I have no idea :-) At least KDE emits no longer any sound as soon as PulseAudio dies. Maybe it's configurable, I don't know. Werner -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org

At Sun, 03 May 2009 14:17:58 +0200 (CEST), Werner LEMBERG wrote:
It sounds like a problem with the volume inconsistency between different sound subsystems. Judging from the output above, some (flashplayer, supposedly) seem to be using pulseaudio backend. If you aren't using PA in general, try to uninstall libflashsupport package. Anyway, the issue has basically nothing to do with the kernel :) Takashi -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org

It sounds like a problem with the volume inconsistency between different sound subsystems.
Well, it's even more, unfortunately. After suspending, PulseAudio no longer works: pulseaudio[3841]: module-alsa-sink.c: \ Error opening PCM device front:0: Das Argument ist ungültig pulseaudio[3841]: sink-input.c: \ Assertion 'i->thread_info.rewrite_nbytes == 0' failed at \ pulsecore/sink-input.c:1144, function \ pa_sink_input_request_rewind(). Aborting.
Well, I use KDE 4, and this mandates PulseAudio, AFAIK.
Anyway, the issue has basically nothing to do with the kernel :)
OK. Will contact a PulseAudio list instead. Werner -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org

At Mon, 04 May 2009 14:14:43 +0200 (CEST), Werner LEMBERG wrote:
Hm, that's bad. Does this happen with the Factory version of PA, 0.9.14?
Really? PA is mandatory for GNOME, but I thought KDE can work without it... Takashi -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org

Will try. Hopefully, the RPM works on top of openSuSE 11.1...
Honestly, I have no idea :-) At least KDE emits no longer any sound as soon as PulseAudio dies. Maybe it's configurable, I don't know. Werner -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
participants (2)
-
Takashi Iwai
-
Werner LEMBERG