sound doesn't work in flashplayer and some media players
Hello world:),
i am new to this forum but not to linux (uing it since 2005). Now I have to ask on forums for first time... My current OS is kubuntu 9.10. Problem is sound. In flashplayer and some media players (vlc, kmplayer) doesn't work. In other media players (dragon, amarok) and in system sound works well. In multimedia settings i see 3 devices: NVIDIA CK804 1. alsa: x-phonom:CARD=1,DEV=0 2. alsa: plughw:CARD=1,DEV=0 3. oss: /dev/dsp1 4. oss: /dev/audio1) PULSEAUDIO xine HDA ATI HDMI 1. alsa: hdmi:CARD=HDMI Primary output is nvidia. When i use "sudo killall pulseaudio", it tells me that no process found. When i use "sudo alsa force-reload", it tells me this: Quote:
Quote:
I think it might be something with that hdmi output. I wanted to remove that device, but couldn't find out how. If somedoby has an idea what to do, please advise. Thanks. |
I waited to reply so this would remain as a zero reply thread, as nothing so far...
No solution to this except for clean install in my case, maybe another member will have a better idea. In http://www.linuxquestions.org/questi...odules-762844/ I was unable to solve a similar problem with sound, I had caused it myself by source-building some media apps that conflicted with the (tightly packaged) ubuntu native apps. In my case, I found a clean install was best as (if you have your home partition separate) it is much quicker than digging out a media problem. |
Thank you for the answer. No problem to do a clean install, i'm just afraid that this problem will appear again. It looks like those apps are using HDMI device as primary output, but i couldn't find where i can change that. Would be possible to remove or just disable that device please? It's some output implemented on graphic card. Thanks.
|
I'm having a similar problem. It seems that everything using Phonon (i.e. all KDE4 apps) work just fine, but I can't get sound from anything else. The problem first started after I upgraded all packages on my system, about a month ago.
I do not get sound from flash in firefox (at first flv's stopped after 2 seconds, but not now - ?!), from vlc, from apps run under WINE, or from virtualbox. The errors wine gave me made me think it was an alsa problem. After googling the errors, I checked the settings in /etc/alsa.conf - the file did not exist! I created it, but that didn't solve the problem. I assume the file is correct and complete, as alsamixer does not complain. For some reason, one non-audio program (digikam, I think) has caused an notification message to pop up above the system tray and clock sometimes. The message was something about SB (south bridge) audio output having an error. However, amarok etc would still work, so SB audio was still working. If you've got suggestions, I'm all ears! |
Take a quick look at http://www.linuxquestions.org/questi...odules-762844/ where I had trouble with alsa.
I also recall an old flashplayer problem in Debian where one user profile worked and the other didn't. I carefully imported some user specific config files into the user that had trouble and it worked. The above post maybe explains why I initially suggested clean install. I like hacking (when it's working!) but I have found media problems difficult to solve and note that the debian/ubuntu systems are good with media straight out of the box. |
1 Attachment(s)
Well this is weird... I restarted my computer (usually I just suspend to ram) and now sound works in firefox. However, it does not work in vlc or amarok.
VLC complains "[0x2ff1488] oss audio output error: cannot open audio device (/dev/dsp)" even though I have it configured to use alsa. It looks like /dev/dsp should work: $ ls /dev/dsp -l crw-rw----+ 1 root audio 14, 3 2009-12-25 09:08 /dev/dsp $ groups mark audio Amarok causes a phonon notification to pop up (see attachment) The bit about "Falling back to ." looks like a problem, but google is very unhelpful there. Wine also has trouble: Quote:
|
Some alsa things go into /etc/alsa/* these days. Any sort of conf things should probably go into /etc/modprobe.d/ these days.
My graphics card HDMI out allows audio, but it's restricted to AC3 codecs for 5.1 and I don't recall what for stereo, but probably still AC3. Translation, unless you're playing a video with AC3 audio, you're a bit hosed. Or just use a different device / cable for audio. $ cat /proc/asound/cards (looking for your primary sound device to be card 0) $ ps -Al (looking for sound daemons that might not mesh aka conflict with how you thought you had it setup.) |
Shadow_7: Your information has helped me to solve my problem. I just opened /etc/modprobe.d/alsa-base.conf, and put "#" before
Quote:
|
Good to hear it's working for you, neuplnost.
Either we had two different problems, or there are two solutions. The errors I got led me to a hal bug https://bugs.launchpad.net/ubuntu/+s...al/+bug/334299 , and from there to something about udev. I installed the latest versions of hal and udev and deleted /etc/asound.conf, which I had created earlier. After rebooting, everything worked fine -- and it still does, several suspend-to-ram's later. |
All times are GMT -5. The time now is 08:05 PM. |