Linux Another HDMI & Sound plea for help..

  Thread Rating:
  • 2 Votes - 3.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Chainsawdave Offline
Junior Member
Posts: 9
Joined: May 2012
Reputation: 0
Post: #21
I just had a look using 'locate' and I found .asoundrc
Quote:xbmc@xbmc:~$ mv .asoundrc .asoundrc.bak
xbmc@xbmc:~$ sudo alsa force-reload
[sudo] password for xbmc:
Unloading ALSA sound driver modules: snd-hda-codec-hdmi snd-hda-codec-realtek sn d-hda-intel snd-hda-codec snd-hwdep snd-seq-midi snd-pcm snd-rawmidi snd-seq-mid i-event snd-seq snd-timer snd-seq-device snd-page-alloc (failed: modules still l oaded: snd-hda-codec-hdmi snd-hda-codec-realtek snd-hda-codec snd-hwdep snd-pcm snd-timer snd-page-alloc).
Loading ALSA sound driver modules: snd-hda-codec-hdmi snd-hda-codec-realtek snd- hda-intel snd-hda-codec snd-hwdep snd-seq-midi snd-pcm snd-rawmidi snd-seq-midi- event snd-seq snd-timer snd-seq-device snd-page-alloc.
Has that removed it?

asound.conf seems to appear in a few places
Quote:xbmc@xbmc:~$ locate asound.conf
/etc/asound.conf
/home/xbmc/asound.conf
/usr/share/doc/libasound2-plugins/examples/asound.conf_jack
/usr/share/doc/libasound2-plugins/examples/asound.conf_oss
/usr/share/xbmc/system/asound.conf
I think the /etc/asound.conf was made by me in an earlier attempt to get the sound working. Should i remove?
find quote
TheGremlyn Offline
Junior Member
Posts: 20
Joined: Aug 2011
Reputation: 0
Post: #22
try the speaker-test again first, if you still get an error referencing the .asoundrc file you already moved, try rebooting, though I THINK the alsa force-reload should be enough. If you get an error referencing asound.conf, then go ahead an mv them to asound.bak. Keep them in their respective folders, e.g.
Code:
user@host:~$ sudo mv /etc/asound.conf /etc/asound.bak

The asound.conf_jack and _oss can safely be ignored, the others mv to .bak to take them out of the picture. Moving them to .bak is safer than deleting them, because you can always go back and rename then back to the original file so you have the starting configuration point available, should it ever be needed. not that any of them are working as is Smile

With ALSA, you should be able to run sound without anything in those files, or without them existing, when using 'hw:2,3' device reference.
find quote
Chainsawdave Offline
Junior Member
Posts: 9
Joined: May 2012
Reputation: 0
Post: #23
:grin:Hi Gremlyn. Thank you so much for your help.I think I have found the solution. I did a full install in-situ rather than using a surrogate set up and my aplay -l changed. The NIVDIA sound card was on 1 and HDMI on 3. So I went back to your previous post and set custom at plughw:1,3 for audio output and for pass through. To my shock it just worked!!
I'm over the moon.

So for any others tracking this post. Here is what I learned. Asus GeForce 8400GS silent card works with Eden 11.0. Intital install needs to be using the equipment you plan to use. (in my experience). I did not have success with Radeon HD 6450 (others might espcially if they know what they are doing). A couple of other observations that if I had known would have saved me time.
1)One can change the audio setting in xbmc without having to reboot. Took me way too long to figure that out.
2)Pulse Audio can cause issues. This was not the case for me but, if you have issues then check this on in the diagnostic process with the command 'which pulseaudio'. If it returns something like '/usr/bin/pulseaudio', your first step will be to remove it. The caveat is that XBMC will lose it's menu sounds. To remove
user@host:~$ sudo apt-get purge pulseaudio
[insert all the stuff that apt does to remove pulseaudio, just say yes if it asks if you want to go through with it]
user@host:~$ sudo reboot
I have to thank TheGremlyn for all of this, way beyond me.

So for those still wth sound issues on xbmc, stay with it the guys here have been great.KeithLM and TheGremlyn in particular.
Big Grin
find quote
Post Reply