Announcement

Collapse
No announcement yet.

TrueHD, DTS-HD, E-AC3 Over HDMI On Linux

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by Anssi View Post
    (I'm the poster of the patchset)

    We are in need of testers of TrueHD / DTS-HD passthrough (no ffmpeg patching needed).

    ...
    You can post the results here, in the nvnews thread, or send them to me at anssi.hannula@iki.fi.
    I have an Intel i3 with HDMI connected to an Onkyo SR607. I'll try this as soon as possible.

    And thanks a lot for all of you guys that spend time on this wonderful (much expected) feature.

    Cheers!

    Comment


    • #17
      Originally posted by Anssi View Post
      (I'm the poster of the patchset)

      We are in need of testers of TrueHD / DTS-HD passthrough (no ffmpeg patching needed).

      To the best of our knowledge, only two people (me and Carl Eugen) have tested this so far, and it isn't working for one of them (Carl Eugen). We don't know why; we need more testers to figure out what is going on.

      If you have
      • Intel or NVIDIA based graphics with HDMI output (e.g. GeForce G210, NVS 3100M, etc)
      • Not an old NVIDIA card that is connected to the motherboard audio card with an extra S/PDIF cable
      • Not GeForce 9400
      • You are using the open-source intel driver or the proprietary NVIDIA driver
      • Kernel 2.6.36 or newer
      • HDMI cable connected to a receiver that supports TrueHD and/or DTS-HD,
      it would be appreciated if you could try the following:

      You can find the two preprocessed test files in http://samples.mplayerhq.hu/hdmi/.

      For the duration of the test, add the following to ~/.asoundrc (You need to uncomment either "card NVidia" or "card Intel" line, depending on your hardware):
      Code:
      ## begin hdtest stuff
      pcm.hdmihdtest {
              @args [ DEVICE CTLINDEX ]
              @args.DEVICE { type integer }
              @args.CTLINDEX { type integer }
              type hooks
              slave.pcm {
                      type hw
      # Uncomment the correct one of the below lines:
      #                card NVidia
      #                card Intel
                      device $DEVICE
              }
              hooks.0 {
                      type ctl_elems
                      hook_args [
                      {
                              name "IEC958 Playback Default"
                              index $CTLINDEX
                              lock true
                              preserve true
                              value [ 0x06 0x82 0x00 0x01 ]
                      }
                      {
                              name "IEC958 Playback Switch"
                              index $CTLINDEX
                              lock true
                              preserve true
                              value true
                      }
                      ]
              }
      }
      pcm.hdmihdtest0 { @func refer name "pcm.hdmihdtest:DEVICE=3,CTLINDEX=0" }
      pcm.hdmihdtest1 { @func refer name "pcm.hdmihdtest:DEVICE=7,CTLINDEX=1" }
      pcm.hdmihdtest2 { @func refer name "pcm.hdmihdtest:DEVICE=8,CTLINDEX=2" }
      pcm.hdmihdtest3 { @func refer name "pcm.hdmihdtest:DEVICE=9,CTLINDEX=3" }
      ## end hdtest stuff
      Make sure the HDMI audio ports are all enabled with alsa mixer (the ports are commonly called "S/PDIF", possibly with a number), with one of the two following commands:
      Code:
      alsamixer -c NVidia
      alsamixer -c Intel
      Also, you must use enable the HDMI output and set a 1280x720 or higher mode into the HDMI output (you'll probably need a TV plugged into the A/V receiver for this).

      Then, you can try playing the test samples with the following commands (where "file.spdif" is replaced with one of the above test samples):
      Code:
      aplay -D hdmihdtest0 -c8 -fs16_le -r192000 file.spdif
      aplay -D hdmihdtest1 -c8 -fs16_le -r192000 file.spdif
      aplay -D hdmihdtest2 -c8 -fs16_le -r192000 file.spdif
      aplay -D hdmihdtest3 -c8 -fs16_le -r192000 file.spdif
      There are four different commands because there may be up to 4 HDMI codecs on board. Only one of them will work reliably, but it depends on the card and the HDMI port. Note that the files are only several seconds long; we are only interested in whether your receiver recognizes them.

      After testing, please provide the following information:
      • Card and GPU type or codename (GT218, etc. see e.g. /var/log/Xorg.0.log)
      • Display driver version
      • Kernel version and ALSA version (/proc/asound/version)
      • Model name of the receiver
      • Which of the test files work or won't work
      If you can't provide all information, partial reports are fine as well.

      You can post the results here, in the nvnews thread, or send them to me at anssi.hannula@iki.fi.
      Anssi,I assume your using (x264 developers) Kierank's (Kieran Kunhya) and Kemuri9's (Steven Walters) code-base as your basis for these patches ?, i don't see any mention of their contribution in the patch-set though!

      Comment


      • #18
        Originally posted by popper View Post
        Anssi,I assume your using (x264 developers) Kierank's (Kieran Kunhya) and Kemuri9's (Steven Walters) code-base as your basis for these patches ?, i don't see any mention of their contribution in the patch-set though!
        I'm not aware of any code by those people related to this. So, no, I don't think so.

        Comment


        • #19
          Originally posted by bridgman View Post
          Alex has mentioned that we are going to need some more code/docco in the hdmi audio area.

          It's on the list of things to look at, no ETA yet but IIRC it's fairly close to the top of the list.
          the simplest thing would to just ask Kierank, Kemuri9 how best to port it to your audio stack i suppose, Or here's a concept for AMD, actually pay them to do it for you they are always happy to take one off contracts for these porting/patching job's after all, just pop over to #x264dev and ping them about it is your simplest option.

          Comment


          • #20
            Originally posted by Anssi View Post
            I'm not aware of any code by those people related to this. So, no, I don't think so.

            i tried to find a direct link to Kierank's EAC3 and other related work to date for you, but cant seem to find it now, you have chatting with him i see in the log's before, so best just go and have a chat about what he's worked on ,and the status of any outstanding code he has etc, he's working on several things including the x262 Mpeg2 Encoder framework for x264 right now i beleave.

            Comment


            • #21
              I'm unable to run the test with ubuntu 10.10. Is it because of the kernel (2.6.35)? I guess that I need 2.6.36.

              Comment


              • #22
                Originally posted by marriouss View Post
                I have an Intel i3 with HDMI connected to an Onkyo SR607. I'll try this as soon as possible.

                And thanks a lot for all of you guys that spend time on this wonderful (much expected) feature.

                Cheers!
                Kernel: 2.6.37-020637rc2-generic #201011160905 SMP
                Alsa: 1.0.23
                Driver: xserver-xorg-video-intel 2.12.0
                Receiver: Onkyo SR 607
                Files that work: none


                aplay -D hdmihdtest0 -c8 -fs16_le -r192000 dts.spdif
                ALSA lib conf.c:4643snd_config_expand) Expand error (walk): File exists
                ALSA lib confmisc.c:1286snd_func_refer) Unable to find definition 'pcm.hdmihdtestEVICE=3,CTLINDEX=0'
                ALSA lib conf.c:4170_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
                ALSA lib conf.c:4649snd_config_expand) Evaluate error: No such file or directory
                ALSA lib pcm.c:2208snd_pcm_open_noupdate) Unknown PCM hdmihdtest0
                aplay: main:654: audio open error: No such file or directory

                -- the same for the other, just with different DEVICE/CTLINDEX


                aplay -L
                default
                pulse
                Playback/recording through the PulseAudio sound server
                front:CARD=Intel,DEV=0
                HDA Intel, ALC892 Analog
                Front speakers
                surround40:CARD=Intel,DEV=0
                HDA Intel, ALC892 Analog
                4.0 Surround output to Front and Rear speakers
                surround41:CARD=Intel,DEV=0
                HDA Intel, ALC892 Analog
                4.1 Surround output to Front, Rear and Subwoofer speakers
                surround50:CARD=Intel,DEV=0
                HDA Intel, ALC892 Analog
                5.0 Surround output to Front, Center and Rear speakers
                surround51:CARD=Intel,DEV=0
                HDA Intel, ALC892 Analog
                5.1 Surround output to Front, Center, Rear and Subwoofer speakers
                surround71:CARD=Intel,DEV=0
                HDA Intel, ALC892 Analog
                7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
                iec958:CARD=Intel,DEV=0
                HDA Intel, ALC892 Digital
                IEC958 (S/PDIF) Digital Audio Output
                hdmi:CARD=Intel,DEV=0
                HDA Intel, HDMI 0
                HDMI Audio Output
                hdmi:CARD=Intel,DEV=1
                HDA Intel, HDMI 1
                HDMI Audio Output
                dmix:CARD=Intel,DEV=0
                HDA Intel, ALC892 Analog
                Direct sample mixing device
                dmix:CARD=Intel,DEV=1
                HDA Intel, ALC892 Digital
                Direct sample mixing device
                dmix:CARD=Intel,DEV=3
                HDA Intel, HDMI 0
                Direct sample mixing device
                dmix:CARD=Intel,DEV=7
                HDA Intel, HDMI 1
                Direct sample mixing device
                dsnoop:CARD=Intel,DEV=0
                HDA Intel, ALC892 Analog
                Direct sample snooping device
                dsnoop:CARD=Intel,DEV=1
                HDA Intel, ALC892 Digital
                Direct sample snooping device
                dsnoop:CARD=Intel,DEV=3
                HDA Intel, HDMI 0
                Direct sample snooping device
                dsnoop:CARD=Intel,DEV=7
                HDA Intel, HDMI 1
                Direct sample snooping device
                hw:CARD=Intel,DEV=0
                HDA Intel, ALC892 Analog
                Direct hardware device without any conversions
                hw:CARD=Intel,DEV=1
                HDA Intel, ALC892 Digital
                Direct hardware device without any conversions
                hw:CARD=Intel,DEV=3
                HDA Intel, HDMI 0
                Direct hardware device without any conversions
                hw:CARD=Intel,DEV=7
                HDA Intel, HDMI 1
                Direct hardware device without any conversions
                plughw:CARD=Intel,DEV=0
                HDA Intel, ALC892 Analog
                Hardware device with all software conversions
                plughw:CARD=Intel,DEV=1
                HDA Intel, ALC892 Digital
                Hardware device with all software conversions
                plughw:CARD=Intel,DEV=3
                HDA Intel, HDMI 0
                Hardware device with all software conversions
                plughw:CARD=Intel,DEV=7
                HDA Intel, HDMI 1
                Hardware device with all software conversions



                What am I doing wrong?

                Comment


                • #23
                  Originally posted by marriouss View Post
                  Kernel: 2.6.37-020637rc2-generic #201011160905 SMP
                  Alsa: 1.0.23
                  Driver: xserver-xorg-video-intel 2.12.0
                  Receiver: Onkyo SR 607
                  Files that work: none


                  aplay -D hdmihdtest0 -c8 -fs16_le -r192000 dts.spdif
                  ALSA lib conf.c:4643snd_config_expand) Expand error (walk): File exists
                  ALSA lib confmisc.c:1286snd_func_refer) Unable to find definition 'pcm.hdmihdtestEVICE=3,CTLINDEX=0'
                  ALSA lib conf.c:4170_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
                  ALSA lib conf.c:4649snd_config_expand) Evaluate error: No such file or directory
                  ALSA lib pcm.c:2208snd_pcm_open_noupdate) Unknown PCM hdmihdtest0
                  aplay: main:654: audio open error: No such file or directory

                  -- the same for the other, just with different DEVICE/CTLINDEX

                  What am I doing wrong?
                  Sounds like something is wrong with ~/.asoundrc. Did you follow the instructions? If so, please attach the file.

                  Comment


                  • #24
                    Originally posted by Anssi View Post
                    Sounds like something is wrong with ~/.asoundrc. Did you follow the instructions? If so, please attach the file.
                    I think I did. Here is my .asoundrc:

                    Code:
                    ## begin hdtest stuff
                    pcm.hdmihdtest {
                            @args [ DEVICE CTLINDEX ]
                            @args.DEVICE { type integer }
                            @args.CTLINDEX { type integer }
                            type hooks
                            slave.pcm {
                                    type hw
                                    card Intel
                                    device $DEVICE
                            }
                            hooks.0 {
                                    type ctl_elems
                                    hook_args [
                                    {
                                            name "IEC958 Playback Default"
                                            index $CTLINDEX
                                            lock true
                                            preserve true
                                            value [ 0x06 0x82 0x00 0x01 ]
                                    }
                                    {
                                            name "IEC958 Playback Switch"
                                            index $CTLINDEX
                                            lock true
                                            preserve true
                                            value true
                                    }
                                    ]
                            }
                    }
                    pcm.hdmihdtest0 { @func refer name "pcm.hdmihdtest:DEVICE=3,CTLINDEX=0" }
                    pcm.hdmihdtest1 { @func refer name "pcm.hdmihdtest:DEVICE=7,CTLINDEX=1" }
                    pcm.hdmihdtest2 { @func refer name "pcm.hdmihdtest:DEVICE=8,CTLINDEX=2" }
                    pcm.hdmihdtest3 { @func refer name "pcm.hdmihdtest:DEVICE=9,CTLINDEX=3" }
                    ## end hdtest stuff

                    Comment


                    • #25
                      More info, maybe helps:


                      cat /proc/asound/Intel/codec#2
                      Codec: Realtek ALC892
                      Address: 2
                      AFG Function Id: 0x1 (unsol 1)
                      Vendor Id: 0x10ec0892
                      Subsystem Id: 0x1458a002
                      Revision Id: 0x100302
                      No Modem Function Group found
                      Default PCM:
                      rates [0x5f0]: 32000 44100 48000 88200 96000 192000
                      bits [0xe]: 16 20 24
                      formats [0x1]: PCM
                      Default Amp-In caps: N/A
                      Default Amp-Out caps: N/A
                      GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
                      IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
                      IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
                      Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
                      Control: name="Front Playback Volume", index=0, device=0
                      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
                      Device: name="ALC892 Analog", type="Audio", device=0
                      Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
                      Amp-Out vals: [0x40 0x40]
                      Converter: stream=5, channel=0
                      PCM:
                      rates [0x560]: 44100 48000 96000 192000
                      bits [0xe]: 16 20 24
                      formats [0x1]: PCM
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
                      Control: name="Surround Playback Volume", index=0, device=0
                      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
                      Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
                      Amp-Out vals: [0x40 0x40]
                      Converter: stream=5, channel=2
                      PCM:
                      rates [0x560]: 44100 48000 96000 192000
                      bits [0xe]: 16 20 24
                      formats [0x1]: PCM
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Node 0x04 [Audio Output] wcaps 0x41d: Stereo Amp-Out
                      Control: name="Center Playback Volume", index=0, device=0
                      ControlAmp: chs=1, dir=Out, idx=0, ofs=0
                      Control: name="LFE Playback Volume", index=0, device=0
                      ControlAmp: chs=2, dir=Out, idx=0, ofs=0
                      Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
                      Amp-Out vals: [0x40 0x40]
                      Converter: stream=5, channel=4
                      PCM:
                      rates [0x560]: 44100 48000 96000 192000
                      bits [0xe]: 16 20 24
                      formats [0x1]: PCM
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Node 0x05 [Audio Output] wcaps 0x41d: Stereo Amp-Out
                      Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
                      Amp-Out vals: [0x40 0x40]
                      Converter: stream=0, channel=0
                      PCM:
                      rates [0x560]: 44100 48000 96000 192000
                      bits [0xe]: 16 20 24
                      formats [0x1]: PCM
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital
                      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
                      Control: name="IEC958 Default PCM Playback Switch", index=0, device=0
                      Device: name="ALC892 Digital", type="SPDIF", device=1
                      Converter: stream=8, channel=0
                      Digital: Enabled GenLevel
                      Digital category: 0x2
                      PCM:
                      rates [0x5f0]: 32000 44100 48000 88200 96000 192000
                      bits [0xe]: 16 20 24
                      formats [0x1]: PCM
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
                      Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
                      Control: name="Capture Switch", index=1, device=0
                      Control: name="Capture Volume", index=1, device=0
                      Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
                      Amp-In vals: [0x90 0x90]
                      Converter: stream=0, channel=0
                      SDI-Select: 0
                      PCM:
                      rates [0x560]: 44100 48000 96000 192000
                      bits [0xe]: 16 20 24
                      formats [0x1]: PCM
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Connection: 1
                      0x23
                      Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
                      Control: name="Capture Switch", index=0, device=0
                      Control: name="Capture Volume", index=0, device=0
                      Device: name="ALC892 Analog", type="Audio", device=0
                      Amp-In caps: ofs=0x10, nsteps=0x2e, stepsize=0x03, mute=1
                      Amp-In vals: [0x80 0x80]
                      Converter: stream=1, channel=0
                      SDI-Select: 0
                      PCM:
                      rates [0x560]: 44100 48000 96000 192000
                      bits [0xe]: 16 20 24
                      formats [0x1]: PCM
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Connection: 1
                      0x22
                      Node 0x0a [Audio Input] wcaps 0x100711: Stereo Digital
                      Control: name="IEC958 Capture Switch", index=0, device=0
                      Control: name="IEC958 Capture Default", index=0, device=0
                      Device: name="ALC892 Digital", type="SPDIF", device=1
                      Converter: stream=4, channel=0
                      SDI-Select: 0
                      Digital:
                      Digital category: 0x0
                      PCM:
                      rates [0x560]: 44100 48000 96000 192000
                      bits [0xe]: 16 20 24
                      formats [0x1]: PCM
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Connection: 1
                      0x1f
                      Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
                      Control: name="CD Playback Volume", index=0, device=0
                      ControlAmp: chs=3, dir=In, idx=4, ofs=0
                      Control: name="CD Playback Switch", index=0, device=0
                      ControlAmp: chs=3, dir=In, idx=4, ofs=0
                      Control: name="Line Playback Volume", index=0, device=0
                      ControlAmp: chs=3, dir=In, idx=2, ofs=0
                      Control: name="Line Playback Switch", index=0, device=0
                      ControlAmp: chs=3, dir=In, idx=2, ofs=0
                      Control: name="Mic Playback Volume", index=0, device=0
                      ControlAmp: chs=3, dir=In, idx=0, ofs=0
                      Control: name="Mic Playback Switch", index=0, device=0
                      ControlAmp: chs=3, dir=In, idx=0, ofs=0
                      Control: name="Front Mic Playback Volume", index=0, device=0
                      ControlAmp: chs=3, dir=In, idx=1, ofs=0
                      Control: name="Front Mic Playback Switch", index=0, device=0
                      ControlAmp: chs=3, dir=In, idx=1, ofs=0
                      Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
                      Amp-In vals: [0x80 0x80] [0x80 0x80] [0x1e 0x1e] [0x80 0x80] [0x1e 0x1e] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
                      Connection: 10
                      0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17
                      Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
                      Control: name="Front Playback Switch", index=0, device=0
                      ControlAmp: chs=3, dir=In, idx=0, ofs=0
                      Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-In vals: [0x00 0x00] [0x00 0x00]
                      Connection: 2
                      0x02 0x0b
                      Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
                      Control: name="Surround Playback Switch", index=0, device=0
                      ControlAmp: chs=3, dir=In, idx=0, ofs=0
                      Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-In vals: [0x00 0x00] [0x00 0x00]
                      Connection: 2
                      0x03 0x0b
                      Node 0x0e [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
                      Control: name="Center Playback Switch", index=0, device=0
                      ControlAmp: chs=1, dir=In, idx=0, ofs=0
                      Control: name="LFE Playback Switch", index=0, device=0
                      ControlAmp: chs=2, dir=In, idx=0, ofs=0
                      Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-In vals: [0x00 0x00] [0x00 0x00]
                      Connection: 2
                      0x04 0x0b
                      Node 0x0f [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
                      Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-In vals: [0x00 0x00] [0x80 0x80]
                      Connection: 2
                      0x05 0x0b
                      Node 0x10 [Audio Output] wcaps 0x611: Stereo Digital
                      Converter: stream=0, channel=0
                      Digital:
                      Digital category: 0x0
                      PCM:
                      rates [0x5f0]: 32000 44100 48000 88200 96000 192000
                      bits [0xe]: 16 20 24
                      formats [0x1]: PCM
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Node 0x11 [Pin Complex] wcaps 0x400781: Stereo Digital
                      Pincap 0x00000014: OUT Detect
                      Pin Default 0x99430140: [Fixed] SPDIF Out at Int ATAPI
                      Conn = ATAPI, Color = Unknown
                      DefAssociation = 0x4, Sequence = 0x0
                      Misc = NO_PRESENCE
                      Pin-ctls: 0x40: OUT
                      Unsolicited: tag=00, enabled=0
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Connection: 1
                      0x10
                      Node 0x12 [Pin Complex] wcaps 0x400401: Stereo
                      Pincap 0x00000020: IN
                      Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
                      Conn = 1/8, Color = Black
                      DefAssociation = 0xf, Sequence = 0x0
                      Misc = NO_PRESENCE
                      Pin-ctls: 0x00:
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
                      Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
                      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-Out vals: [0x00 0x00]
                      Pincap 0x0001003e: IN OUT HP EAPD Detect Trigger
                      EAPD 0x2: EAPD
                      Pin Default 0x01014410: [Jack] Line Out at Ext Rear
                      Conn = 1/8, Color = Green
                      DefAssociation = 0x1, Sequence = 0x0
                      Pin-ctls: 0x40: OUT
                      Unsolicited: tag=00, enabled=0
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Connection: 1
                      0x0c
                      Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
                      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-Out vals: [0x00 0x00]
                      Pincap 0x00000036: IN OUT Detect Trigger
                      Pin Default 0x01011412: [Jack] Line Out at Ext Rear
                      Conn = 1/8, Color = Black
                      DefAssociation = 0x1, Sequence = 0x2
                      Pin-ctls: 0x40: OUT
                      Unsolicited: tag=00, enabled=0
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Connection: 1
                      0x0d
                      Node 0x16 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
                      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-Out vals: [0x00 0x00]
                      Pincap 0x00000036: IN OUT Detect Trigger
                      Pin Default 0x01016411: [Jack] Line Out at Ext Rear
                      Conn = 1/8, Color = Orange
                      DefAssociation = 0x1, Sequence = 0x1
                      Pin-ctls: 0x40: OUT
                      Unsolicited: tag=00, enabled=0
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Connection: 1
                      0x0e
                      Node 0x17 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
                      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-Out vals: [0x80 0x80]
                      Pincap 0x00000036: IN OUT Detect Trigger
                      Pin Default 0x01012414: [Jack] Line Out at Ext Rear
                      Conn = 1/8, Color = Grey
                      DefAssociation = 0x1, Sequence = 0x4
                      Pin-ctls: 0x20: IN
                      Unsolicited: tag=00, enabled=0
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Connection: 1
                      0x0f
                      Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
                      Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
                      Amp-In vals: [0x00 0x00]
                      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-Out vals: [0x00 0x00]
                      Pincap 0x00003736: IN OUT Detect Trigger
                      Vref caps: HIZ 50 GRD 80 100
                      Pin Default 0x01a19c50: [Jack] Mic at Ext Rear
                      Conn = 1/8, Color = Pink
                      DefAssociation = 0x5, Sequence = 0x0
                      Pin-ctls: 0x40: OUT VREF_HIZ
                      Unsolicited: tag=00, enabled=0
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Connection: 5
                      0x0c 0x0d 0x0e* 0x0f 0x26
                      Node 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
                      Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
                      Amp-In vals: [0x00 0x00]
                      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-Out vals: [0x80 0x80]
                      Pincap 0x0000373e: IN OUT HP Detect Trigger
                      Vref caps: HIZ 50 GRD 80 100
                      Pin Default 0x02a19c60: [Jack] Mic at Ext Front
                      Conn = 1/8, Color = Pink
                      DefAssociation = 0x6, Sequence = 0x0
                      Pin-ctls: 0x24: IN VREF_80
                      Unsolicited: tag=00, enabled=0
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Connection: 5
                      0x0c* 0x0d 0x0e 0x0f 0x26
                      Node 0x1a [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
                      Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
                      Amp-In vals: [0x00 0x00]
                      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-Out vals: [0x00 0x00]
                      Pincap 0x00003736: IN OUT Detect Trigger
                      Vref caps: HIZ 50 GRD 80 100
                      Pin Default 0x0181345f: [Jack] Line In at Ext Rear
                      Conn = 1/8, Color = Blue
                      DefAssociation = 0x5, Sequence = 0xf
                      Pin-ctls: 0x40: OUT VREF_HIZ
                      Unsolicited: tag=00, enabled=0
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Connection: 5
                      0x0c 0x0d* 0x0e 0x0f 0x26
                      Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
                      Control: name="Headphone Playback Switch", index=0, device=0
                      ControlAmp: chs=3, dir=Out, idx=0, ofs=0
                      Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
                      Amp-In vals: [0x00 0x00]
                      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-Out vals: [0x00 0x00]
                      Pincap 0x0001373e: IN OUT HP EAPD Detect Trigger
                      Vref caps: HIZ 50 GRD 80 100
                      EAPD 0x2: EAPD
                      Pin Default 0x02214c20: [Jack] HP Out at Ext Front
                      Conn = 1/8, Color = Green
                      DefAssociation = 0x2, Sequence = 0x0
                      Pin-ctls: 0xc0: OUT HP VREF_HIZ
                      Unsolicited: tag=00, enabled=0
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Connection: 5
                      0x0c* 0x0d 0x0e 0x0f 0x26
                      Node 0x1c [Pin Complex] wcaps 0x400481: Stereo
                      Pincap 0x00000024: IN Detect
                      Pin Default 0x593301f0: [N/A] CD at Int ATAPI
                      Conn = ATAPI, Color = Unknown
                      DefAssociation = 0xf, Sequence = 0x0
                      Misc = NO_PRESENCE
                      Pin-ctls: 0x20: IN
                      Unsolicited: tag=00, enabled=0
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Node 0x1d [Pin Complex] wcaps 0x400400: Mono
                      Pincap 0x00000020: IN
                      Pin Default 0x4005e601: [N/A] Line Out at Ext N/A
                      Conn = Optical, Color = White
                      DefAssociation = 0x0, Sequence = 0x1
                      Pin-ctls: 0x20: IN
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Node 0x1e [Pin Complex] wcaps 0x400781: Stereo Digital
                      Pincap 0x00000014: OUT Detect
                      Pin Default 0x014b6130: [Jack] SPDIF Out at Ext Rear
                      Conn = Comb, Color = Orange
                      DefAssociation = 0x3, Sequence = 0x0
                      Misc = NO_PRESENCE
                      Pin-ctls: 0x40: OUT
                      Unsolicited: tag=00, enabled=0
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Connection: 1
                      0x06
                      Node 0x1f [Pin Complex] wcaps 0x400681: Stereo Digital
                      Pincap 0x00000024: IN Detect
                      Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
                      Conn = 1/8, Color = Black
                      DefAssociation = 0xf, Sequence = 0x0
                      Misc = NO_PRESENCE
                      Pin-ctls: 0x20: IN
                      Unsolicited: tag=00, enabled=0
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
                      Processing caps: benign=0, ncoeff=24
                      Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
                      Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
                      Control: name="Input Source", index=0, device=0
                      Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-In vals: [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
                      Connection: 12
                      0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b 0x12
                      Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
                      Control: name="Input Source", index=1, device=0
                      Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-In vals: [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
                      Connection: 11
                      0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x17 0x0b
                      Node 0x24 [Vendor Defined Widget] wcaps 0xf00000: Mono
                      Node 0x25 [Audio Output] wcaps 0x41d: Stereo Amp-Out
                      Amp-Out caps: ofs=0x40, nsteps=0x40, stepsize=0x03, mute=0
                      Amp-Out vals: [0x40 0x40]
                      Converter: stream=0, channel=0
                      PCM:
                      rates [0x560]: 44100 48000 96000 192000
                      bits [0xe]: 16 20 24
                      formats [0x1]: PCM
                      Power states: D0 D1 D2 D3 EPSS
                      Power: setting=D0, actual=D0
                      Node 0x26 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
                      Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-In vals: [0x00 0x00] [0x80 0x80]
                      Connection: 2
                      0x25 0x0b




                      cat /proc/asound/Intel/codec#3
                      Codec: Intel IbexPeak HDMI
                      Address: 3
                      AFG Function Id: 0x1 (unsol 0)
                      Vendor Id: 0x80862804
                      Subsystem Id: 0x80860101
                      Revision Id: 0x100000
                      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 0x02 [Audio Output] wcaps 0x6611: 8-Channels Digital
                      Control: name="IEC958 Playback Con Mask", index=1, device=0
                      Control: name="IEC958 Playback Pro Mask", index=1, device=0
                      Control: name="IEC958 Playback Default", index=1, device=0
                      Control: name="IEC958 Playback Switch", index=1, device=0
                      Device: name="HDMI 0", type="HDMI", device=3
                      Converter: stream=7, channel=0
                      Digital: Enabled
                      Digital category: 0x0
                      PCM:
                      rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
                      bits [0x1e]: 16 20 24 32
                      formats [0x5]: PCM AC3
                      Power states: D0 D3
                      Power: setting=D0, actual=D0
                      Node 0x03 [Audio Output] wcaps 0x6611: 8-Channels Digital
                      Control: name="IEC958 Playback Con Mask", index=2, device=0
                      Control: name="IEC958 Playback Pro Mask", index=2, device=0
                      Control: name="IEC958 Playback Default", index=2, device=0
                      Control: name="IEC958 Playback Switch", index=2, device=0
                      Device: name="HDMI 1", type="HDMI", device=7
                      Converter: stream=0, channel=0
                      Digital: Enabled
                      Digital category: 0x0
                      PCM:
                      rates [0x7f0]: 32000 44100 48000 88200 96000 176400 192000
                      bits [0x1e]: 16 20 24 32
                      formats [0x5]: PCM AC3
                      Power states: D0 D3
                      Power: setting=D0, actual=D0
                      Node 0x04 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
                      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-Out vals: [0x00 0x00]
                      Pincap 0x09000094: OUT Detect HBR HDMI DP
                      Pin Default 0x58560010: [N/A] Digital Out at Int HDMI
                      Conn = Digital, Color = Unknown
                      DefAssociation = 0x1, Sequence = 0x0
                      Pin-ctls: 0x40: OUT
                      Unsolicited: tag=04, enabled=1
                      Power states: D0 D3
                      Power: setting=D0, actual=D0
                      Connection: 2
                      0x02* 0x03
                      Node 0x05 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
                      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-Out vals: [0x00 0x00]
                      Pincap 0x09000094: OUT Detect HBR HDMI DP
                      Pin Default 0x18560020: [Jack] Digital Out at Int HDMI
                      Conn = Digital, Color = Unknown
                      DefAssociation = 0x2, Sequence = 0x0
                      Pin-ctls: 0x40: OUT
                      Unsolicited: tag=05, enabled=1
                      Power states: D0 D3
                      Power: setting=D0, actual=D0
                      Connection: 2
                      0x02* 0x03
                      Node 0x06 [Pin Complex] wcaps 0x40778d: 8-Channels Digital Amp-Out CP
                      Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
                      Amp-Out vals: [0x00 0x00]
                      Pincap 0x09000094: OUT Detect HBR HDMI DP
                      Pin Default 0x58560030: [N/A] Digital Out at Int HDMI
                      Conn = Digital, Color = Unknown
                      DefAssociation = 0x3, Sequence = 0x0
                      Pin-ctls: 0x40: OUT
                      Unsolicited: tag=06, enabled=1
                      Power states: D0 D3
                      Power: setting=D0, actual=D0
                      Connection: 2
                      0x02* 0x03
                      Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono

                      Comment


                      • #26
                        Originally posted by devius View Post
                        I don't know if blu-ray is having a good acceptance rate, but for me DVD already has pretty good image quality.
                        DVD is going the way of VHS.

                        I don't think there's so much difference as was the case when switching from VHS to DVD.
                        Watch a Blu-Ray on an HD television, then make that assessment. You won't notice any difference if you are still using standard definition.

                        Comment


                        • #27
                          I've just found the following in the release notes for the newly released GStreamer Base Plug-ins 0.10.31:

                          Features of this release

                          * typefinding: detect enhanced AC-3

                          and

                          Bugs fixed in this release

                          * 623846 : typefinding: add support for " enhanced ac3 " (eac3)

                          That's a GNOME bug number - the corresponding bug report is at https://bugzilla.gnome.org/show_bug.cgi?id=623846

                          Does this mean that the new patches you have been discussing and testing will now also allow playback of E-AC3 in Gstreamer based applications as well as in MPlayer?

                          Comment


                          • #28
                            Originally posted by madbiologist View Post
                            GStreamer Base Plug-ins 0.10.31:
                            * typefinding: detect enhanced AC-3

                            Does this mean that the new patches you have been discussing and testing will now also allow playback of E-AC3 in Gstreamer based applications as well as in MPlayer?
                            No, the patches are for passthrough, which is a different thing from detecting or decoding E-AC3.

                            Comment


                            • #29
                              Heh, they add E-AC3 support, but forget about TrueHD.

                              Comment


                              • #30
                                Originally posted by Anssi View Post
                                After testing, please provide the following information:
                                • Card and GPU type or codename (GT218, etc. see e.g. /var/log/Xorg.0.log)
                                • Display driver version
                                • Kernel version and ALSA version (/proc/asound/version)
                                • Model name of the receiver
                                • Which of the test files work or won't work
                                1. EVGA GeForce GT240
                                2. NVIDIA 260.19.06
                                3. Linux 2.6.36 i386, ALSA 1.0.23
                                4. Yamaha RX-V667
                                5. Assuming dts.spdif is very brief and does not have much in it, both test files work:

                                Code:
                                $ aplay -D hdmihdtest0 -c8 -fs16_le -r192000 thd.spdif 
                                Playing raw data 'thd.spdif' : Signed 16 bit Little Endian, Rate 192000 Hz, Channels 8
                                $ aplay -D hdmihdtest0 -c8 -fs16_le -r192000 dts.spdif 
                                Playing raw data 'dts.spdif' : Signed 16 bit Little Endian, Rate 192000 Hz, Channels 8
                                $
                                Steps I used to get this (and all surround sound) working on my Xubuntu 10.10 HTPC:

                                0. Disabled on-board audio in BIOS (did this long ago before I even had two channel HDMI sound working).

                                1. Updated kernel to 2.3.36 using this guide

                                2. Uninstalled PulseAudio by searching for "pulseaudio" in Ubuntu Software Center and removing all installed items then using the two commands from this post

                                3. Followed all instructions in this post (including the ones in the linked XBMC Wiki article) then rebooted.

                                Comment

                                Working...
                                X