Author Topic: [SOLVED] another hdmi audio issue?  (Read 1176 times)

joerod

  • Guru
  • ****
  • Posts: 153
    • View Profile
[SOLVED] another hdmi audio issue?
« on: September 06, 2011, 05:15:11 am »
http://wiki.linuxmce.org/index.php/Audio_over_HDMI

refers to: All of them should be unmuted. Press 'm' to unmute, and the right and left arrows to navigate. Then select 'HDA NVidia NVIDIA HDMI (ALSA)' as output for all items in 'Sound Prefrences' and select 'HDA NVidia (Alsa mixer)' as the mixer.

whats 'Sound Prefrences'?

heres the results of aplay -l

root@moon122:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I set hdmi in avwizard and umuted everything, am I missing something???
« Last Edit: September 13, 2011, 02:51:07 am by joerod »

joerod

  • Guru
  • ****
  • Posts: 153
    • View Profile
Re: another hdmi audio issue?
« Reply #1 on: September 10, 2011, 04:05:07 pm »
help... hdmi still not working... alsamixer shows "Nvidia GPU 0b HDMI/DP", but not as default i have to hit F6 to see that card and everything is unmuted... Ive installed the lastest nvidia drivers.

Shouldnt alsamixer show HDA NVidia first instead of HDA Intel?

m3freak

  • Veteran
  • ***
  • Posts: 125
    • View Profile
Re: another hdmi audio issue?
« Reply #2 on: September 11, 2011, 08:15:07 pm »
help... hdmi still not working... alsamixer shows "Nvidia GPU 0b HDMI/DP", but not as default i have to hit F6 to see that card and everything is unmuted... Ive installed the lastest nvidia drivers.

Shouldnt alsamixer show HDA NVidia first instead of HDA Intel?

I can't get HDMI audio working on MD either.  My MD has an ION 2.  My aplay output looks similar to yours.  My alsamixer says nothing us muted, but the volume is at 0.  I can't turn it up - it just refuses to budge from 0.

The wiki instructions you mentioned don't make any sense, at all.  I bet the person that wrote them was using a GUI, but neglected to mention it in the wiki article.

All I can think of to try next is to update the nvidia drivers.

joerod

  • Guru
  • ****
  • Posts: 153
    • View Profile
Re: another hdmi audio issue?
« Reply #3 on: September 13, 2011, 02:49:59 am »
FYI: Got hdmi working by doing this (after trying everything else in the wiki/forums):

First I updated alsa using this method: http://forum.linuxmce.org/index.php/topic,11932.0.html
and installed nvidia update

Then I followed the HDMI Output Does Not Work instructions on: https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#HDMI_Output_Does_Not_Work to find my card number and device number

Then i wrote those numbers down and created the ~/.asoundrc file in /root and /home/<kubuntu user directory>

Then I edited /etc/pluto/xine.conf and set:

audio.driver:alsa
audio.alsa_front_device:plughw:1,9 (1 being your card number and 9 being the device number you found with aplay)

Hope this helps someone.

m3freak

  • Veteran
  • ***
  • Posts: 125
    • View Profile
Re: another hdmi audio issue?
« Reply #4 on: October 23, 2011, 03:33:32 am »
FYI: Got hdmi working by doing this (after trying everything else in the wiki/forums):

First I updated alsa using this method: http://forum.linuxmce.org/index.php/topic,11932.0.html
and installed nvidia update

Then I followed the HDMI Output Does Not Work instructions on: https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture#HDMI_Output_Does_Not_Work to find my card number and device number

Then i wrote those numbers down and created the ~/.asoundrc file in /root and /home/<kubuntu user directory>

Then I edited /etc/pluto/xine.conf and set:

audio.driver:alsa
audio.alsa_front_device:plughw:1,9 (1 being your card number and 9 being the device number you found with aplay)

Hope this helps someone.

Creating the ~/.asoundrc files didn't help me.  I had to put the following into /etc/asound.conf:

plug pcm.!default {
   type hw
   card 0
   device 7
}

After rebooting the MD (reloading the alsa modules didn't work and I didn't want to waste time figuring out why), HDMI sound finally works!

I know /etc/asound.conf can be overwritten, so I would lose my custom config in that event.  But, I my changes will survive MD reboots.  So, if I rebuild the MD image, I'll likely lose the customization.  Am i right?