Results 1 to 10 of 57

Thread: ion2 hdmi audio alsa/snd_hda_intel doesn't think my tv is connected

Threaded View

  1. #1
    Join Date
    Jun 2010
    Beans
    244

    ion2 hdmi audio alsa/snd_hda_intel doesn't think my tv is connected

    ****SEE THIS FIRST (unfortunately this information wasn't posted until after this thread was created) http://www.nvnews.net/vbulletin/show...20&postcount=7

    ** See post #8 in this thread to enable HDMI audio with an Ion2 in Ubuntu 10.04. (upgrade alsa to 1.0.23 via ubuntu backport) ubuntu wiki link https://wiki.ubuntu.com/Audio/Instal...aDriverModules

    ** See post #21 for an alternate solution by upgrading the kernel to 2.6.35 via ubuntu kernel backport. (do this if the alsa 1.0.23 backport doesn't work)

    **Follow this thread (thanks to zAPPzAPP) for the final touches about setting up the dmix/hw and default sound
    http://ubuntuforums.org/showthread.php?t=1620926


    Hello,

    I have a nvidia ion2 and I can't get audio over hdmi to work. I think I've narrowed it down to the snd_hda_intel module and it's hdmi management but I can't be sure so I'm posting here.

    To cover the basics.

    I understand alsa 1.0.23 or a 2.6.35 kernel is required for the updated driver. I've also discovered the probemask info but to simplify things I just disabled the onboard sound leaving only the ion2.

    I'm currently trying to use a backported maverick 2.6.35-14 kernel from the ppa on a 10.04 base with nvidia 256.44 drivers.

    Code:
    xbmc@xbmc-HTPC:~$ uname -r; cat /proc/asound/version
    2.6.35-14-generic-pae
    Advanced Linux Sound Architecture Driver Version 1.0.23.
    Code:
    xbmc@xbmc-HTPC:~$ aplay -l; aplay -L
    **** List of PLAYBACK Hardware Devices ****
    card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    pulse
        Playback/recording through the PulseAudio sound server
    hdmi:CARD=NVidia
        HDA NVidia, NVIDIA HDMI
        HDMI Audio Output
    Code:
    xbmc@xbmc-HTPC:~$ lsmod
    Module                  Size  Used by
    snd_hda_codec_nvhdmi    12879  1 
    nvidia              10195166  40 
    snd_hda_intel          22203  0 
    snd_hda_codec          87392  2 snd_hda_codec_nvhdmi,snd_hda_intel
    snd_hwdep               5040  1 snd_hda_codec
    snd_pcm                71603  2 snd_hda_intel,snd_hda_codec
    snd_seq_midi            4588  0 
    snd_rawmidi            17783  1 snd_seq_midi
    snd_seq_midi_event      6047  1 snd_seq_midi
    snd_seq                47206  2 snd_seq_midi,snd_seq_midi_event
    snd_timer              19067  2 snd_pcm,snd_seq
    snd_seq_device          5744  3 snd_seq_midi,snd_rawmidi,snd_seq
    snd                    49006  8 snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
    soundcore                880  1 snd
    snd_page_alloc          7216  2 snd_hda_intel,snd_pcm
    lp                      7342  0 
    parport                31492  1 lp
    psmouse                58969  0 
    intel_agp              25589  0 
    joydev                  8735  0 
    agpgart                32075  2 nvidia,intel_agp
    serio_raw               4022  0 
    usbhid                 37234  0 
    hid                    67742  1 usbhid
    e100                   30676  0 
    ahci                   19013  0 
    libahci                20107  4 ahci
    mii                     4425  1 e100
    lspci and lspci -nv
    Code:
    02:00.0 VGA compatible controller: nVidia Corporation GT218 [GeForce 310M] (rev a2)
    02:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
    Code:
    02:00.0 0300: 10de:0a75 (rev a2)
        Subsystem: 17aa:3605
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Memory at ce000000 (64-bit, prefetchable) [size=32M]
        I/O ports at ec00 [size=128]
        [virtual] Expansion ROM at feb00000 [disabled] [size=512K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
        Capabilities: [78] Express Endpoint, MSI 00
        Capabilities: [b4] Vendor Specific Information <?>
        Capabilities: [100] Virtual Channel <?>
        Capabilities: [128] Power Budgeting <?>
        Capabilities: [600] Vendor Specific Information <?>
        Kernel driver in use: nvidia
        Kernel modules: nvidia, nouveau, nvidiafb
    
    02:00.1 0403: 10de:0be3 (rev a1)
        Subsystem: 17aa:3605
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at febfc000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [60] Power Management version 3
        Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
        Capabilities: [78] Express Endpoint, MSI 00
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel
    The results from aplay.

    Code:
    xbmc@xbmc-HTPC:~$ aplay -D plughw:0,3 /usr/share/sounds/alsa/Noise.wav
    Playing WAVE '/usr/share/sounds/alsa/Noise.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
    xbmc@xbmc-HTPC:~$ aplay -D hdmi:NVidia /usr/share/sounds/alsa/Noise.wav
    Playing WAVE '/usr/share/sounds/alsa/Noise.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
    aplay: set_params:996: Channels count non available
    xbmc@xbmc-HTPC:~$ aplay -D hdmi:CARD=NVidia /usr/share/sounds/alsa/Noise.wav
    Playing WAVE '/usr/share/sounds/alsa/Noise.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
    aplay: set_params:996: Channels count non available
    However even with plughw:0,3 there is still no sound coming out of my tv. The nvidia card is unmuted in alsamixer.


    Code:
    xbmc@xbmc-HTPC:/proc/asound/card0$ ls
    codec#1  eld#1.0  id  pcm3p
    xbmc@xbmc-HTPC:/proc/asound/card0$ cat codec#1
    Codec: Nvidia GT21x HDMI
    Address: 1
    Function Id: 0x1
    Vendor Id: 0x10de000b
    Subsystem Id: 0x10de0101
    Revision Id: 0x100100
    No Modem Function Group found
    Default PCM:
        rates [0x0]:
        bits [0x0]:
        formats [0x0]:
    Default Amp-In caps: N/A
    Default Amp-Out caps: N/A
    GPIO: io=0, o=0, i=0, unsolicited=0, wake=0
    Node 0x04 [Audio Output] wcaps 0x72b1: 8-Channels Digital Stripe CP
      Control: name="IEC958 Playback Con Mask", index=0, device=0
      Control: name="IEC958 Playback Pro Mask", index=0, device=0
      Control: name="IEC958 Playback Default", index=0, device=0
      Control: name="IEC958 Playback Switch", index=0, device=0
      Device: name="NVIDIA HDMI", type="HDMI", device=3
      Converter: stream=6, channel=0
      Digital: Enabled GenLevel
      Digital category: 0x2
      PCM:
        rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
        bits [0xe]: 16 20 24
        formats [0x5]: PCM AC3
      Unsolicited: tag=00, enabled=0
    Node 0x05 [Pin Complex] wcaps 0x407381: 8-Channels Digital CP
      Pincap 0x09000094: OUT Detect HBR HDMI DP
      Pin Default 0x18560010: [Jack] Digital Out at Int HDMI
        Conn = Digital, Color = Unknown
        DefAssociation = 0x1, Sequence = 0x0
      Pin-ctls: 0x40: OUT
      Unsolicited: tag=05, enabled=1
      Connection: 1
         0x04
    xbmc@xbmc-HTPC:/proc/asound/card0$ cat eld#1.0
    monitor_present        0
    eld_valid        0
    monitor_name        
    connection_type        HDMI
    eld_version        [0x0] reserved
    edid_version        [0x0] no CEA EDID Timing Extension block present
    manufacture_id        0x0
    product_id        0x0
    port_id            0x0
    support_hdcp        0
    support_ai        0
    audio_sync_delay    0
    speakers        [0x0]
    sad_count        0
    I think that monitor_present 0 means that snd_hda_intel has failed to detect that the tv is connected? I've tried physically toggling the connection with no luck. I also grabbed an edid.bin generated from win 7 registry (where the hdmi sound works) and used it in the xorg.conf with CustomEDID just incase the nvidia driver in linux wasn't grabbing it properly.

    It's my assumption the graphics driver grabs the edid from the display and shares it with alsa who generates the eld#1.0

    Leading me back to /proc/asound/card0/eld#1.0

    I tried alsa force-reload that just cleared all the snd_hda_intel options. eg. empties out /proc/asound/card0 leaving no eld at all.

    I also tried modprobe -r snd_hda_intel and reloading it. It was the same effect as restarting alsa.

    So I was wondering if anybody knows how to force the hdmi connection and the eld information to be set in alsa/snd_hda_intel. I can't seem to find any information on this.
    Last edited by tjones00; January 9th, 2011 at 03:05 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •