HDMI Audio doesn't work on startup
#1
Hey gang.

So I finally got my Nvidia 210 working with HDMI audio by updating to alsa 1.0.23. Now that that works, however, It seems that on startup my sound doesn't work...

This is a list of what I did from install of Ubuntu 10.04:

1. Upgraded Alsa
2. Switched ubuntu from pulseaudio to alsa using gstreamer-properties
3. Tested the HDMI sound cards (it lists 4 of them)
4. Ran XBMC and it worked.

Now every startup, I have to oepn gstreamer-properties, set the default card from the third Nvidia HDMI to any other HDMI.. then back again. Bam, it works fine after that.

Any idea how i can troubleshoot this?

aplay -l
Code:
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

For the record, 7 is the one that works... i'd like to find a way to get rid of the rest of them.

Thanks!
Reply
#2
It seems that this issue is even weirder... its only the right channel thats overdriven as far as I can tell... anyone have any ideas?
Reply
#3
Find right device with aplay -L command:

Code:
aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=NVidia
    HDA NVidia, ALC1200 Analog
    Default Audio Device
front:CARD=NVidia,DEV=0
    HDA NVidia, ALC1200 Analog
    Front speakers
surround40:CARD=NVidia,DEV=0
    HDA NVidia, ALC1200 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
    HDA NVidia, ALC1200 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
    HDA NVidia, ALC1200 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
    HDA NVidia, ALC1200 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
    HDA NVidia, ALC1200 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
    HDA NVidia, ALC1200 Digital
    IEC958 (S/PDIF) Digital Audio Output
    [color=Red]hdmi:CARD=NVidia,DEV=0[/color]
    HDA NVidia, NVIDIA HDMI
    HDMI Audio Output

Set this device to xbmc audio outputs in guisettings.xml.
For example:
Code:
<audiooutput>
        <ac3passthrough>true</ac3passthrough>
        <audiodevice>[color=Red]hdmi:CARD=NVidia[/color]</audiodevice>
        <customdevice></customdevice>
        <custompassthrough></custompassthrough>
        <downmixmultichannel>false</downmixmultichannel>
        <dtspassthrough>true</dtspassthrough>
        <mode>1</mode>
        <passthroughdevice>[color=Red]hdmi:CARD=NVidia[/color]</passthroughdevice>
        <sep1></sep1>
        <sep2></sep2>
        <sep3></sep3>
    </audiooutput>
Reply
#4
hm.. didn't work. Here is my aplay -L output:

Code:
root@xbmc:~# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
hdmi:CARD=NVidia
    HDA NVidia, NVIDIA HDMI
    HDMI Audio Output

I put what you put in your example and it didn't work. "Failed to initialize audio device."
Reply
#5
Have you read HOW-TO set up HDMI audio on nVidia GeForce G210, GT220, or GT240?
Reply
#6
Yes i did. Tried it many times
Reply

Logout Mark Read Team Forum Stats Members Help
HDMI Audio doesn't work on startup0