No sound in Flash - "(snd_pcm_dmix_open) unable to open slave"

Hello fellow Suse users.

I am using the latest OpenSUSE factory snapshot, kernel version 3.16.1-2.g2ab6585-desktop. When I attempt to watch Youtube video, no sound comes out of it. Standard out of Firefox says:


Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave

lspci lists two audio controllers:


00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller (rev 06)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)

In KDE audio settings, there are two audio playback devices, one named “Built-in audio analog stereo”, the other one is called “Built-in audio analog stereo (HDMI)”. In Audio Hardware Setup page, I can hear test sound from both sound devices.

In Yast sound configuration, there are two configured cards - Index 0 is “Haswell HD audio controller”, and index 1 is “Lynx Point high definition audio controller”. Both are using “snd-hda-intel” driver.

Other audio playback/editing softwares work just fine - Flash seems to be the only software with no sound.

Any bright ideas? Many thanks!

Will be moved to Pre-release/Beta and is CLOSED for the moment.

Moved from Multimeedia and open again.

I assume when ‘analog stereo’ selected sound comes from your regular speakers, and when ‘analog stereo (HDMI)’ selected, sound comes from your HDMI device ? (ie monitor or other ) ?

Did you try installing pavucontrol and use that to select the appropriate audio device when play a flash video under firefox ? I assume also you have flash installed.

I had a DIFFERENT problem on openSUSE-13.1 that I only solved today. Firefox was intermittently playing videos properly (working only 5-10% of the time, other 90-95% had not audio (static only) and was playing videos 3x to 5x too fast). Chrome, on the other hand, was playing flash videos fine. I had errors when firefox launched from a terminal:


firefox:4009): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised

(firefox:4009): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised

(firefox:4009): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised

(firefox:4009): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised

NOT SANDBOXED
libEGL warning: failed to create a pipe screen for i965
[fresh  5131] not implemented: PPB_OpenGLES2DrawBuffers(Dev);1.0

[fresh] [warning] audio_player_thread, snd_pcm_avail error -32

my hardware is similar to yours :


oldcpu@4770:~> /sbin/lspci -nn | grep -i audio
00:03.0 Audio device [0403]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller [8086:0c0c] (rev 06)
00:1b.0 Audio device [0403]: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller [8086:8c20] (rev 05)

I noted pulse audio was only intermittently (5-10% of the time) detecting the flash player in firefox when a video was played.

After trying everything (from removing .pulse, .mozilla, .adobe, .marcomedia, reinstalling pulse, flash, gstreamer, firefox, and various /etc/modprobe.d/50-sound.conf and /etc/pulse/defaut.pa edits , plus quadruple checking a number of recently installed apps for causing a problem, I finally determined chromium-pepper-flash was interfering with the flash player in firefox. Removing chromium-pepper-flash solved my openSUSE-13.1 firefox bad video playback problem.

Good luck with your effort.