Version: (using Devel) Installed from: Compiled sources OS: Linux When playing flash-videos from youtube, google video, etc. I have only an image but no sound. The strange thing is that I have sound when I play flash videos in Opera or Firefox directly after I'm logged in my KDE session. During this time I can't hear the system notifications from KDE (e.g. the ping sound when I open a new window). When I close the Browser with the flash video the system notifications appear again. But when I load a new flash video in a browser the sound from the video is gone. Only a computer restart helps. Videos in dragon-player work as expected. When playing the same video file in Kaffeine/KDE3 there comes an error message like "xine-notification: Audio Output is not available. Device or ressource busy". (From German translation) KDE Version 4.00.82 (KDE 4.0.82 >= 20080610) "release 4.1" Soundcard Intel ICH6 with ALC 655 Phonon 4.1.81-4.10 Backend Xine Driver 0.1 SuSE 11.0 Flash-Player 9.0.124.0-10
Can you still reproduce the problem? I can not -- and never have seen issues like that. I suspect a driver problem. So perhaps the problem went away after a kernel upgrade?
I can confirm this. I'm using kde 4.1.80, phonon-4.2.80, phonon-kde-4.1.80, xine-lib-1.1.15, sound card 82801H (ICH8 Family) HD Audio Controller. Two mplayers and firefox can play together. But when phonon is playing (amarok2 or test in the systemsettings), mplayer or firefox fail with: [AO_ALSA] alsa-lib: pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave When I exit amarok, i have sound with mplayer and firefox back. In systemsetting panel I can see: This will try the following devices and use the first that works: 1. ALSA: x-phonon:CARD=0, DEV=0 2. ALSA: plughw:CARD=0, DEV=0 3. OSS: /dev/dsp 4. OSS: /dev/audio See attachment.
Created attachment 29085 [details] Phonon settings
Mplayer and firefox plays together: [07:47:02 marian@gool ~]$ fuser -v /dev/snd/* USER PID ACCESS COMMAND /dev/snd/controlC0: marian 3738 F.... kmix /dev/snd/pcmC0D0p: marian 3810 F...m firefox marian 5621 F...m mplayer /dev/snd/timer: marian 3810 f.... firefox marian 5621 f.... mplayer When Amarok starts, phonon complains: The audio playback device HDA Intel (STAC92xx Analog) does not work. Falling back to HDA Intel (STAC92xx Digital) and no sound from Amarok - I have no digital output connected. Amarok message in console: cannot configure the device on Xine's oss output plugin cannot configure the device on Xine's oss output plugin When I quit firefox and start Amarok: [07:59:24 marian@gool ~]$ fuser -v /dev/snd/* USER PID ACCESS COMMAND /dev/snd/controlC0: marian 3738 F.... kmix marian 5996 F.... amarok /dev/snd/pcmC0D0p: marian 5996 F...m amarok /dev/snd/timer: marian 5996 f.... amarok
Do you have an ~/.asoundrc or /etc/asound.conf file? If yes, please attach. If not please tar up your /usr/share/alsa dir and attach that. Also please tell me the version of libasound (your package management system of your distribution should be able to tell you).
Created attachment 29095 [details] Alsa configuration files [17:45:59 marian@gool ~]$ equery b /usr/lib64/libasound.so.2.0.0 [ Searching for file(s) /usr/lib64/libasound.so.2.0.0 in *... ] media-libs/alsa-lib-1.0.18 (/usr/lib64/libasound.so.2.0.0) I attached all. I do not use the ~/.asoundrc now, only /etc/asound.conf.
Tested with 4.1.85, still the same issue.
So after upgrade KDE to 4.2.1 I'm not able to get sound from amarok 1.4, FF, smplayer, lastfmplayer. Looks like knotify4 is blocking sound all the time now. Knotify4 and other KDE4 applications using phonon can play together, but other applications only shows: Amarok: xine was not able to inicialize any sound driver. (translated from Czech) Lastfmplayer: The ALSA soundsystem is either busy or not present. [21:39:22 root@gool marian]# fuser -v /dev/snd/* USER PID ACCESS COMMAND /dev/snd/controlC0: marian 29388 F.... kmix /dev/snd/pcmC0D0p: marian 29328 F...m knotify4 /dev/snd/timer: marian 29328 f.... knotify4 [21:40:17 root@gool marian]# fuser -v /dev/snd/* USER PID ACCESS COMMAND /dev/snd/controlC0: marian 29388 F.... kmix /dev/snd/pcmC0D0p: marian 734 F...m systemsettings marian 29328 F...m knotify4 /dev/snd/timer: marian 734 f.... systemsettings marian 29328 f.... knotify4
*** This bug has been confirmed by popular vote. ***
Well. I found the solution. There are new devices in multimedia settings (default, default:CARD=0, hw:0,0 and hw:0,1). I have to put the "default" device up as preferred and now it works. [22:01:08 root@gool marian]# fuser -v /dev/snd/* USER PID ACCESS COMMAND /dev/snd/controlC0: marian 7132 F.... kmix marian 7163 F.... amarokapp /dev/snd/pcmC0D0p: marian 7075 F...m knotify4 marian 7163 F...m amarokapp marian 7444 F...m firefox marian 7566 F...m systemsettings /dev/snd/timer: marian 7075 f.... knotify4 marian 7163 f.... amarokapp marian 7444 f.... firefox marian 7566 f.... systemsettings
Nice. After yesterdays update of my Gentoo, the default device is gone and problem with Amarok 1.4 and FF is back :-( I'm trying to find difference, but no luck yet.
Finally I found the solution: http://en.opensuse.org/Phonon#Devices_from_.2Fetc.2Fasound.conf_or_.7E.2F.asoundrc_are_not_listed Now all works as expected.
I can confirm this bug too. Since I have been using Linux (under 8 years I think) sound issues has been the most annoying thing, especially this one reported by Jörg Schulte. If some browser is displaying a video, sound, or whatever music related, you cannot play any music file in your hard drive, and vice-versa. My workaround is log out my kde session and starts again. When I'm trying to play a music file on Audacious, with FF open: ERROR: ALSA: alsa-core.c:324 (alsaplug_open_audio): snd_pcm_open: Device or resource busy madplug: open_audio failed: XMMS reverse compatibility output plugin. And if I try to play something in FF, I had to restart the browser or sometimes log out. When trying to play something in Multimedia - System Settings, it don't play nothing on HDA Intel (ALC888 Analog) neither Pulseaudio. In other words, nothing plays anymore if I don't log out. daniel@daniel-casa:~$ fuser -v /dev/snd/* USER PID ACCESS COMMAND /dev/snd/controlC0: daniel 4364 F.... knotify4 daniel 4467 F.... kmix daniel 24206 F.... pulseaudio /dev/snd/controlC1: daniel 4467 F.... kmix /dev/snd/pcmC0D0p: daniel 12248 F.... npviewer.bin My ~/.asoundrc file: # ALSA library configuration file # Include settings that are under the control of asoundconf(1). # (To disable these settings, comment out this line.) </home/daniel/.asoundrc.asoundconf> Nothing on /etc/asound.conf file. from lspci: 03:01.0 Multimedia controller: Philips Semiconductors SAA7131/SAA7133/SAA7135 Video Broadcast Decoder (rev d1) 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01) I'm using KDE 4.3.0 Kubuntu Karmic.
If it helps: "sudo service alsa-utils start" restores the sound in KDE, only if Firefox isn't running. The same is to restore sound in Firefox (but with no sound in KDE).
Is this still an issue with the latest Phonon version? I can't reproduce this here.
(In reply to comment #15) > Is this still an issue with the latest Phonon version? I can't reproduce this > here. For me it's fine now. FF flash and Audacity player running at same time, able to hear both sounds (one at a time), as it should be.
Thanks for the feedback. Closing as fixed.