LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-12-2009, 10:29 AM   #1
neuplnost
LQ Newbie
 
Registered: Dec 2009
Posts: 6

Rep: Reputation: 0
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:
Unloading ALSA sound driver modules: snd-hda-codec-atihdmi snd-intel8x0 snd-ac97-codec snd-seq-dummy snd-seq-oss snd-hda-intel snd-hda-codec snd-hwdep snd-pcm-oss snd-mixer-oss snd-pcm snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device snd-page-alloc (failed: modules still loaded: snd-hda-codec-atihdmi snd-hda-codec snd-hwdep snd-pcm snd-timer snd-page-alloc).
Loading ALSA sound driver modules: snd-hda-codec-atihdmi snd-intel8x0 snd-ac97-codec snd-seq-dummy snd-seq-oss snd-hda-intel snd-hda-codec snd-hwdep snd-pcm-oss snd-mixer-oss snd-pcm snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device snd-page-alloc.
After this sound either begin to work everywhere, or nothing change except that KDE gives me this:
Quote:
KDE detected that one or more internal sound devices were removed.
Do you want KDE to permanently forget about these devices?
This is the list of devices KDE thinks can be removed:
Capture: NVidia CK804 with ALC655 (NVidia CK804)
Output: HDA ATI HDMI, ATI HDMI (HDMI Audio Output)
Output: NVidia CK804 with ALC655 (NVidia CK804)
After system restart it won't work again anyway.

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.

Last edited by neuplnost; 12-28-2009 at 03:19 PM.
 
Old 12-14-2009, 11:31 AM   #2
sonichedgehog
Member
 
Registered: Oct 2007
Location: London UK
Distribution: Fedora Core 17
Posts: 296

Rep: Reputation: 32
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.
 
Old 12-15-2009, 02:45 AM   #3
neuplnost
LQ Newbie
 
Registered: Dec 2009
Posts: 6

Original Poster
Rep: Reputation: 0
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.

Last edited by neuplnost; 12-15-2009 at 02:50 AM.
 
Old 12-16-2009, 10:03 AM   #4
map250r
Member
 
Registered: Aug 2007
Distribution: Debian Squeeze
Posts: 46

Rep: Reputation: 15
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!

Last edited by map250r; 12-16-2009 at 10:04 AM.
 
Old 12-17-2009, 02:32 AM   #5
sonichedgehog
Member
 
Registered: Oct 2007
Location: London UK
Distribution: Fedora Core 17
Posts: 296

Rep: Reputation: 32
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.
 
Old 12-25-2009, 04:24 PM   #6
map250r
Member
 
Registered: Aug 2007
Distribution: Debian Squeeze
Posts: 46

Rep: Reputation: 15
Question

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:
wine Plasma\ Pong.exe
fixme:wave:ALSA_ComputeCaps Device has a minimum of 2 channels
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
fixme:mixer:ALSA_MixerInit No master control found on HDA ATI HDMI, disabling mixer
<snip normal app output>
An error has occured in the sound sub-system: (52) Error initializing output device.
The FMOD sound system could not be initialized.
An error has occured in the sound sub-system: (34) An invalid parameter was passed to this function.
An error has occured in the sound sub-system: (34) An invalid parameter was passed to this function.
The last line repeats over and over.
Attached Images
File Type: png hda audio crop.png (33.3 KB, 4 views)

Last edited by map250r; 12-25-2009 at 04:32 PM. Reason: wine
 
Old 12-26-2009, 07:17 AM   #7
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 1,545

Rep: Reputation: 238Reputation: 238Reputation: 238
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.)
 
1 members found this post helpful.
Old 12-28-2009, 03:12 PM   #8
neuplnost
LQ Newbie
 
Registered: Dec 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Thumbs up

Shadow_7: Your information has helped me to solve my problem. I just opened /etc/modprobe.d/alsa-base.conf, and put "#" before
Quote:
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
Thank you very much!
 
Old 12-29-2009, 10:25 AM   #9
map250r
Member
 
Registered: Aug 2007
Distribution: Debian Squeeze
Posts: 46

Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Non drm/conversion "mp3 players"/portable media players Hairulfr General 5 12-12-2007 10:12 AM
Linux Sound - Test works, but no mp3 players work wfernley Linux - Software 4 02-13-2006 09:37 AM
Sound players don't work stevesk Suse/Novell 2 08-01-2005 05:35 PM
no sound in media players headshot Linux - Software 3 07-25-2003 06:12 PM


All times are GMT -5. The time now is 11:44 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration