HDMI passthrough doesn't work on Dharma 10.0
#1
Sad 
Hi formites,

First things first. Yes, I've spend the last 4 days googling and reinstalling and trying every possible trick I could find to get it going, and, no luck. The sad thing was that this was not a problem with Dharma Beta 4 or even the XBMCFreak versions based on the old beta's. But, yes, upgrading to the release version had broken my HDMI completely. (Don't even start with un-muting channels, I've tried that 4 days ago.)

Ok, so, my equipment:

Asus AT3N7A-I - Intel Atom 330 CPU - 2GB RAM - 32GB SSD
Yamaha RXV3800 Amp
Hitachi Plasma screen

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

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

cat /proc/asound/version
Code:
Advanced Linux Sound Architecture Driver Version 1.0.23.

cat /proc/driver/nvidia/version
Code:
NVRM version: NVIDIA UNIX x86 Kernel Module  195.36.24  Thu Apr 22 09:18:20 PDT 2010
GCC version:  gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)

cat /etc/modprobe.d/alsa-base.conf
Code:
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
options snd-usb-caiaq index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2

# options snd-hda-intel enable_msi=0 probe_mask=0xffff,0xfff2

XBMC is setup to HDMI on all three options. I've tried custom options as well, no luck. I've tried the suggestions people had editing the .asoundrc in the home folder, nope, no luck.

The worst part is that the following does work :
aplay -Dhdmi SURROUNDTEST_DD_640.wav (Dolby)
aplay -Dhdmi SURROUNDTEST_011212.wav (DTS)

I can also play MP3 file from XBMC, but any movie that uses AC3 or DTS doesn't work. It has to be something with the HDMI passthrough.

Does anybody have any ideas ... I'm so fedup ... I don't know what to do anymore. My googling skills are also starting to let me down.

Please help ... pritty please ... Sad
Reply
#2
Please post a debug log (don't forget to turn on debug logging).
Reply
#3
PeekNPoke Wrote:cat /proc/driver/nvidia/version
Code:
NVRM version: NVIDIA UNIX x86 Kernel Module  195.36.24  Thu Apr 22 09:18:20 PDT 2010
GCC version:  gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
Wasn't there a problem with the 195 series Nvidia Drivers and HDMI?
Try updating to the current (260.19.36)
May solve your problem.
Good Luck.
Reply
#4
Star 
Hi formites,

Thanks for the responses. Sorry for this log post but I need to explain exactly how I came to be in my dilemma. I've reinstalled again and listed every step I took installing XBMCLive on my ASUS AT3N7A-I setup. At the end of the post I've got a link to the debug log file created with XBMC. This post might also be helpfull for people batteling to get higher resolutions from there plasma via a AV amplifier.

  1. Download XBMC Dharma 10.0 Live from (http://xbmc.org/download/). File is called : xbmc-10.0-live.iso and is 413MB in size
  2. Download latest UNetbootin from (http://sourceforge.net/projects/unetbootin/files/). File is called : unetbootin-windows-494.exe and is 4.6MB in size
  3. Format USB memory stick
  4. Run Unetbootin and select Diskimage (ISO) and browse to the xbmc-10.0-live.iso file.
  5. Select the USB memory stick just formated as destination and click OK.
  6. Click on Exit when finished (not reboot, since the machine I'm working on is not the XBMC machine).
  7. Savely remove the USB memory stick
  8. Insert Memory stick into Asus AT3N7A-I USB socket and switch unit on.
  9. Press F8 repeatedly until boot menu shows all possible boot devices
  10. Select the USB memory stick as boot device.
  11. On the boot menu select Install XBMCLive
  12. Follow all onscreen instructions, select country, keyboard etc.
  13. I selected "use entire disc" for the installation.
  14. Full Username I made : XBMC User
  15. Username I made : xbmc
  16. Assigned a password to the xbmc user and verified it
  17. On the installation complete screen I removed the USB stick and selected Continue.
  18. After a few scripts executed the unit shutsdown.
  19. Press power button on unit and wait for it to startup into XBMC
  20. Now we can SSH into the XBMC with something like putty.exe (http://www.chiark.greenend.org.uk/~sgtat...nload.html)
  21. At this stage the systems configuration is like so:

    Code:
    uname -a
    Linux XBMCLive 2.6.32-26-generic #48-Ubuntu SMP Wed Nov 24 09:00:03 UTC 2010 i686 GNU/Linux

    Code:
    cat /proc/asound/version
    Advanced Linux Sound Architecture Driver Version 1.0.23.
    Compiled on Nov 19 2010 for kernel 2.6.32-26-generic (SMP).

    Code:
    lspci -nn -k
    00:00.0 Host bridge [0600]: nVidia Corporation MCP79 Host Bridge [10de:0a82] (rev b1)
    00:00.1 RAM memory [0500]: nVidia Corporation MCP79 Memory Controller [10de:0a88] (rev b1)
    00:03.0 ISA bridge [0601]: nVidia Corporation MCP79 LPC Bridge [10de:0aad] (rev b2)
    00:03.1 RAM memory [0500]: nVidia Corporation MCP79 Memory Controller [10de:0aa4] (rev b1)
    00:03.2 SMBus [0c05]: nVidia Corporation MCP79 SMBus [10de:0aa2] (rev b1)
            Kernel driver in use: nForce2_smbus
            Kernel modules: i2c-nforce2
    00:03.3 RAM memory [0500]: nVidia Corporation MCP79 Memory Controller [10de:0a89] (rev b1)
    00:03.5 Co-processor [0b40]: nVidia Corporation MCP79 Co-processor [10de:0aa3] (rev b1)
            Kernel driver in use: nvidia
            Kernel modules: nvidia-current
    00:04.0 USB Controller [0c03]: nVidia Corporation MCP79 OHCI USB 1.1 Controller [10de:0aa5] (rev b1)
            Kernel driver in use: ohci_hcd
    00:04.1 USB Controller [0c03]: nVidia Corporation MCP79 EHCI USB 2.0 Controller [10de:0aa6] (rev b1)
            Kernel driver in use: ehci_hcd
    00:06.0 USB Controller [0c03]: nVidia Corporation MCP79 OHCI USB 1.1 Controller [10de:0aa7] (rev b1)
            Kernel driver in use: ohci_hcd
    00:06.1 USB Controller [0c03]: nVidia Corporation MCP79 EHCI USB 2.0 Controller [10de:0aa9] (rev b1)
            Kernel driver in use: ehci_hcd
    00:08.0 Audio device [0403]: nVidia Corporation MCP79 High Definition Audio [10de:0ac0] (rev b1)
            Kernel driver in use: HDA Intel
            Kernel modules: snd-hda-intel
    00:09.0 PCI bridge [0604]: nVidia Corporation MCP79 PCI Bridge [10de:0aab] (rev b1)
    00:0b.0 IDE interface [0101]: nVidia Corporation MCP79 SATA Controller [10de:0ab4] (rev b1)
            Kernel driver in use: ahci
            Kernel modules: ahci
    00:10.0 PCI bridge [0604]: nVidia Corporation MCP79 PCI Express Bridge [10de:0aa0] (rev b1)
            Kernel modules: shpchp
    00:15.0 PCI bridge [0604]: nVidia Corporation MCP79 PCI Express Bridge [10de:0ac6] (rev b1)
            Kernel driver in use: pcieport
            Kernel modules: shpchp
    02:00.0 VGA compatible controller [0300]: nVidia Corporation ION VGA [10de:087d] (rev b1)
            Kernel driver in use: nvidia
            Kernel modules: nvidia-current, nvidiafb, nouveau
    03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 03)
            Kernel driver in use: r8169
            Kernel modules: r8169

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

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

    Code:
    cat /proc/driver/nvidia/version
    NVRM version: NVIDIA UNIX x86 Kernel Module  195.36.24  Thu Apr 22 09:18:20 PDT 2010
    GCC version:  gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)

Continue on next post
Reply
#5
Star 
At this stage (a bare XBMC installation), XBMC does not detect my Hitachi Plasma screens potential resolutions and defaults to a maximum of 720x480. This is quite anoying. The funny thing is that this only happens when the XBMC is plugged into my Yamaha amp and not directly to my Hitachi plasma. I moved my connection directly to the Hitachi and I extracted the edid.bin file by running nvidia-settings from within XBMC (else your mouse and keyboard doesn't work) and selecting the "Acquire EDID" button. I save the edid.bin file to my home directory.

  1. To fix the screen resolution problem I edit xorg.conf in the /etc/X11/ folder like so:

    Change this section:
    Code:
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
    EndSection

    To look like so:
    Code:
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        Option         "CustomEDID" "DFP-0:/home/xbmc/edid.bin"
    EndSection

    Changed this section:
    Code:
    Section "Screen"
        Option      "FlatPanelProperties" "Scaling = Native"
        Option      "HWCursor" "Off"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        Option         "NoLogo" "True"
        Option         "DynamicTwinView" "False"
        SubSection     "Display"
            Depth       24
        EndSubSection
    EndSection

    To look like so:
    Code:
    Section "Screen"
        Option      "FlatPanelProperties" "Scaling = Native"
        Option      "HWCursor" "Off"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        Option         "ConnectedMonitor" "DFP-0"
        Option         "metamodes" "DFP-0: 1920x1080_60_0 +0+0"
        DefaultDepth    24
        Option         "NoLogo" "True"
        Option         "DynamicTwinView" "False"
        SubSection     "Display"
            Depth       24
        EndSubSection
    EndSection

    Save the changes by pressing Cntr-X and pressing Y for yes - save changes. Now I restart the unit and screen resolution is now what I'd expect, 1920x1080.

  2. At this stage the sound settings in XBMC is set to Analog, 2.0, no AC3, no DTS, default and greyed out passthrough iec958. Playing any kind of audio at this stage doesn't work, as you would expect, since the XBMC unit is connected via HDMI alone and the alsamixer is probably muted.
  3. Now I unmute all channels by running "sudo alsamixer". I made all channels un-muted and made all volume bars 100%.

    Code:
    Master Front        Unmuted       100%
    Headphone           Greyed        81%
    PCM                 Unmuted       100%
    Front               Unmuted       100%
    Front Mic           Unmuted       100%
    Surround            Unmuted       100%
    Center              Unmuted       100%
    LFE                 Unmuted       100%
    Side                Unmuted       100%
    Line                Unmuted       100%
    Mic                 Muted         100%
    S/PDIF              Unmuted       -
    S/PDIF Default PCM  Unmuted       -
    S/PDIF 1            Unmuted       -
    Independent HP      On            -
    Smart 5.1           Unmuted       -

  4. Exit by pressing esc and then entring : sudo alsactl store
  5. Reboot
  6. Playing any music still doesn't work at this stage. On XBMC I go to System/Settings/System/Audio Output and change the sound settings to HDMI, 5.1, AC3, DTS, hdmi and hdmi.
  7. Playing an MP3 file now works, but playing any AC3 or DTS source does not. The movie displays but without sound.
  8. Now let's test the sound card from the console with these two files, downloadable from :

    http://www.sr.se/laddahem/MultiKanal/DD/...DD_640.zip
    http://sverigesradio.se/laddahem/multika...011212.zip

    Extract them and then play them from the console via:

    Code:
    aplay -D hdmi SURROUNDTEST_DD_640.wav
    Playing WAVE 'SURROUNDTEST_DD_640.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

    This file results in my amp desplaying "Dolby Digital" and playing the file on all 5.1 speakers as expected. Running the following:

    Code:
    aplay -D hdmi SURROUNDTEST_011212.wav
    Playing WAVE 'SURROUNDTEST_011212.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

    This file results in my amp desplaying "DTS" and playing the file on all 5.1 speakers as expected.

    Trying the following also all work:

    Code:
    aplay -D hdmi:CARD=NVidia SURROUNDTEST_DD_640.wav
    Playing WAVE 'SURROUNDTEST_DD_640.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

    aplay -D hdmi:CARD=NVidia SURROUNDTEST_011212.wav
    Playing WAVE 'SURROUNDTEST_011212.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

    aplay -D hw:0,3 SURROUNDTEST_DD_640.wav
    Playing WAVE 'SURROUNDTEST_DD_640.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

    aplay -D hw:0,3 SURROUNDTEST_011212.wav
    Playing WAVE 'SURROUNDTEST_011212.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo

  9. Try playing the two files above from XBMC. Lo and behold, it plays both files but in PCM Stereo only. My amp also just says receiving PCM Stereo. wtf?
  10. Ok, so now I go back to the Audio Output settings and change the hdmi settings for "AUdio output device" and "Passthrough output device" to Custom and adding hw:0,3 for both. But this gives me the same result as above, only PCM Stereo.

I've done a debug log and saved it at http://pastebin.com/cMgpm5Jy . In this log I played the two wav files, the AC3 and DTS file from within XBMC as well as 'n movie that requires HDMI passthrough to work for audio.

Any help would be mind blowingly appreciated.
Reply
#6
update your nvidia driver. I had similar issues with 19x.x.
Reply
#7
Hi Deppan,

Thanks for the reply. Problem is, I've done it before, I've even upgraded the kernel at one point. Anyway, just to make 100% sure, this is what I've done.

1. Downloaded latest nVidia drivers from : http://www.nvidia.com/content/DriverDown...pe=GeForce
2. Exit XBMC to console.
3. Executed the nvidia driver file like so : sudo ./NVIDIA-Linux-x86-260.19.36.run
4. Allowed nvidia-xconfig to modify my xorg.conf file.
3. Reboot.

XBMC doesn't start anymore. dmesg has dit at the bottom of the file ... :

Code:
[    9.744241] NVRM: API mismatch: the client has the version 260.19.36, but
[    9.744248] NVRM: this kernel module has the version 195.36.24.  Please
[    9.744252] NVRM: make sure that this kernel module and all NVIDIA driver
[    9.744256] NVRM: components have the same version
Grrrr .... I'll have to remove the driver and retry. I'll do that a bit later and get back to this thread.
Reply
#8
I had the same issue,

in my case the HTPC gots the EDID (Device) Informations from my TV and not from the Amplifier.
My TV does not support Dolby and DTS and so somehow there was no pathtrough and no sound when playing DTS or DD5.1 content.
MP3 and stereo sources worked well.

After overriding the EDID Information with the Amplifier ones all worked well.

1.) i used a Windows programm to get the right EDID Information from the Amplifier as binary file

2.) transfered it to the linx box

3.) modifierd the xorg.conf with following lines

Code:
Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "ConnectedMonitor"   "DFP-1"
    Option         "CustomEDID"         "DFP-1:/etc/X11/denonavr.bin"
EndSection

I am using suse 11.3 with the 260.19.12 Nvidia Drivers.
Reply
#9
I'm no expert, having the same issue myself, but with noise playing instead of 5.1 ac3. There was a bug in the trac but I can't find it, to do with ac3 headers not being correct, although apparently it was fixed with patch r35739, which will be in 10.1

I'm personally going to try and fix it by upgrading to the latest git source using this guide to see if it fixes it:

http://forum.xbmc.org/showthread.php?tid=89817

Hope this helps!
Reply
#10
Sad 
I've managed to fix the driver issue in my previous post by doing the following:

  1. There was no need to exit to the console from XBMC since it wouldn't start up anyway.
  2. On the console I removed the kernel module like so:

    Code:
    sudo rmmod nvidia

  3. Then I purged all nvidia drivers from the system

    Code:
    sudo apt-get --purge remove nvidia-*

  4. Restart the machine to make sure there's no nvidia drivers being loaded

    Checked to make sure there's no nvidia drivers loaded by the kernel by running the following on the console:

    Code:
    sudo lsmod | grep nvidia

    No output, so no driver loaded, great !

  5. Then I re-installed the nvidia drivers like so:

    Code:
    sudo ./NVIDIA-Linux-x86-260.19.36.run

    This managed to finish without errors. I also selected the have my xorg.conf file updated.

  6. Reboot machine

  7. XBMC started up again without any complaints.

    To verify the driver did install I ran the following on the console:

    Code:
    cat /proc/driver/nvidia/version
    NVRM version: NVIDIA UNIX x86 Kernel Module  260.19.36  Tue Jan 18 17:10:40 PST 2011
    GCC version:  gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5)

    And yes, it was updated.

  8. Testing the audio files from within XBMC had a slight improvement (SURROUNDTEST_DD_640.wav {Dolby Digital 5.1} and SURROUNDTEST_011212.wav {DTS}) both played as PCM 5.1 accoudring to my amp LCD display.

  9. Testing the audo files via aplay on the console gave the same results as in my previous post. The amp recognized the SURROUNDTEST_011212.wav as DTS, where as via XBMC it's PCM 5.1 and the SURROUNDTEST_DD_640.wav as Dolby Digital 5.1 and in XBMC also as PCM 5.1.

    The movies with AC3 and DTS still doesn't have any sound.

    I checked the alsamixer from the console again, but there was nothing new. I did try and disable the "Smart 5.1" feature in the mixer, but that had no effect.

I'm realy stuck here, does anybody have any suggestions. If I'm not going to be able to get this right I'll have to revert back to the old versions of XBMC (and this I don't realy want to do Sad , Dharma has some awsome new features).
Reply
#11
Hi nat601,

Thanks for the link. I'm doing the source compile now. I'll post my results on this thread.
Reply
#12
Compiling the source was a little more tricky than what I thought. The default dependencies specified in the README.linux document in the source code was not quite enough. You have to install the following as well:

Code:
sudo apt-get install libsdl-mixer1.2 libsdl-mixer1.2-dev libglew1.5-dev libsdl-image1.2 libsdl-image1.2-dev

I still had problem running ./bootstrap, but that was because I had some broken sym links in my /usr/lib/* folder. Most of them got broken when I install the latest nvidia driver a few post back. To find all the broken sym links in dit /usr/lib/ folder run the following:

Code:
find /usr/lib -type l | while read f; do if [ ! -e "$f" ]; then ls -l "$f"; fi; done

All the broken sym links was quite obvious and was easy to fix. The sym links on my machine that was broken was libGL.so and libvdpau_trace.so. They where pointing to the previous nvidia driver files and not to the new nvidia files.

After that the first part (./bootstrap) of the compile process should work fine. The next problem was that "./configure --prefix=/usr --enable-vdpau --disable-pulse" part. This failed with a funny error right at the end. To fix this do the following:

Code:
export MAKE=make
./configure --prefix=/usr --enable-vdpau --disable-pulse

After running the above it's time to realy compile the code by running:

Code:
make -j4

This takes roughly .. forever .. If you didn't fallen asleep or chewed your wrists off then it's time to install the compiled XBMC with:

Code:
make install prefix=/usr

This gave me a nice little error "/bin/bash: gtk-update-icon-cache: command not found". To fix this install the following:

Code:
sudo apt-get install libgtk2.0-bin

and run this again:

Code:
make install prefix=/usr

Finally we've compiled and installed the new XBMC. Now let's test ... XBMC starts up and the version reads "XBMC Pre-11.0 Git:24f87ad (Compiled Feb 1 : 2011)".

The Sound settings now says "hdmi (ALSA)" for both options. Testing the audio ... absolutely NO DIFFERENCE ... aaagggghhhhhh ! Everything is exactly the same as my previous posts.

Maybe it's time to give up and go back to the old release unless anybody has more ideas.
Reply
#13
Coming from another line of expertise..... I think you may have created an HDMi handshake problem. Old installs of XBMC worked fine from what i read. But possibbly all of a sudden your Yamaha does not like to talk to your XBMC with this new install. As dumb as this sounds if you havent tried this yet please use a different HDMI cable short as possible so less than 12ft. if that doesnt work, as much as a pain this sounds.... could you take your system over to a buddy's house with a 5.1 setup and try their. If he has an Onkyo you may get same problem. Lower end Onkyo's ( so anything less than a 7 series i have noticed )have low end HDMi boards for the last few years and have had problems with HDMI as well. This may sound like a waste but it will help rule some problems out. For those wondering you can still get Video thru HDMi at any resolution even without a propper Handshake, and it can have no Audio as well and display video still. Funny thing is one HTPC can handshake fine with your yamaha, but say a Revo.... wont work at all. HDMI industry is still a pain in the ass, always causes problems. Worst invention for HOME THEATER EVER. cant wait for the new HD BASE T. everything plugged in with a Cat 5 Cable. Oh boy wont MONSTER Hate that.

On another note, i guarantee an old release will work fine. Different HDMI handshake coding.
Reply
#14
Guy's ....

I'm sad to say, but I've downgraded to xbmc-9.11-live-repack. Everything works as expected. HDMI passthrough doesn't seem to be a problem.

I did try and play the two audio files listed in one of my previous post and they DONT'T WORK. But the rest, movies, mp3, all working 100%.

What I'll be doing next would be a bit by bit upgrade to find where the problem starts.

Anybody would like to comment on how to upgrade from now? Maybe alsa first, kernel, xbmc ?
Reply
#15
Sad 
Ok, stuff-it, just for fun .. I've done a dist upgrade from 9.11-live. You can find the ISO file from here: http://downloads.sourceforge.net/project...irror=garr

Code:
sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  xbmc-web-pm3
The following NEW packages will be installed:
  devicekit-disks devicekit-power libarchive-zip-perl libass4 libatasmart4 libclass-methodmaker-perl libclass-singleton-perl libcompress-bzip2-perl libconvert-binhex-perl
  libcrypt-ssleay-perl libdate-manip-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl libdatetime-timezone-perl libdevkit-power-gobject1
  libdigest-hmac-perl libdigest-sha1-perl libemail-address-perl libemail-find-perl libemail-valid-perl libexporter-lite-perl libfcgi-perl libfile-slurp-perl libfont-afm-perl
  libgudev-1.0-0 libhtml-format-perl libhtml-fromtext-perl libhtml-parser-perl libhtml-tableextract-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cache-transparent-perl
  libhttp-response-encoding-perl libhttp-server-simple-perl libio-socket-ssl-perl libio-stringy-perl liblingua-preferred-perl liblist-moreutils-perl liblog-tracemessages-perl
  libmailtools-perl libmicrohttpd5 libmime-tools-perl libmodplug0c2 libmpeg2-4 libnet-dns-perl libnet-domain-tld-perl libnet-ip-perl libnet-libidn-perl libnet-ssleay-perl
  libossp-uuid-perl libossp-uuid15 libparams-validate-perl libparted1.8-12 libpcrecpp0 libpolkit-backend-1-0 libregexp-common-perl librtmp0 libsgutils2-2 libsoap-lite-perl
  libterm-progressbar-perl libterm-readkey-perl libtext-bidi-perl libtie-ixhash-perl libtk-tablematrix-perl libunicode-string-perl liburi-perl libvdpau1 libwavpack1
  libwww-mechanize-perl libwww-perl libxml-dom-perl libxml-libxml-common-perl libxml-libxml-perl libxml-libxslt-perl libxml-namespacesupport-perl libxml-parser-perl libxml-perl
  libxml-regexp-perl libxml-sax-expat-perl libxml-sax-perl libxml-twig-perl libxml-writer-perl libxml-xpath-perl libxmltv-perl libxslt1.1 linux-headers-2.6.31-22
  linux-headers-2.6.31-22-generic linux-image-2.6.31-22-generic perl-tk policykit-1 xmltv xmltv-gui xmltv-util
The following packages have been kept back:
  linux-generic linux-image-generic
The following packages will be upgraded:
  base-files bsdutils bzip2 cpp-4.4 dbus dhcp3-client dhcp3-common dkms dpkg fuse-utils gcc-4.4 gcc-4.4-base gzip hts-tvheadend language-pack-en language-pack-en-base
  libavahi-client3 libavahi-common-data libavahi-common3 libblkid1 libbz2-1.0 libc-bin libc-dev-bin libc6 libc6-dev libc6-i686 libdbus-1-3 libexpat1 libfreetype6 libfuse2
  libgcc1 libgomp1 libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0 liblcms1 libldap-2.4-2 libmikmod2 libmysqlclient16 libpam-modules libpam-runtime libpam0g libpng12-0
  libsmbclient libssl0.9.8 libstdc++6 libtiff4 libuuid1 libwbclient0 libxml2 linux-headers-generic linux-libc-dev mount mysql-common openssl sudo util-linux uuid-runtime wget
  xbmc xbmc-bin xbmc-data xbmc-live xbmc-skin-confluence xbmc-standalone xserver-common xserver-xorg-core
68 upgraded, 94 newly installed, 1 to remove and 2 not upgraded.
Need to get 132MB of archives.
After this operation, 244MB of additional disk space will be used.
Do you want to continue [Y/n]? Y [color=green][b](Yes Baby ... yes)[/b][/color]

Oo and .... And .... AND ... you might ask .... LOL ...

Well, to start, the install process asked this:

Code:
Choose a username for Tvheadend administrator.

After entring a username and password it states:

Code:
From this machine you can point your web-browser to http://localhost:9981/

... ehhheeee .... well ... cool ... installing .... intsalling ... installing .... Eek

The installer asked about the Grub file. It said it was modified and should I install the installers version or keep the old one. What the hell, install the installers version. (I haven't changed anything on the machine since installing 9.11) ... REWRITE ... whoohooo

Anyway, rebooted after install and : .. well .. it doesn't work. I end up with a console screen. Checked the /var/log/Xorg.0.log file and it states at the end of the file:

Code:
Fatal server error:
no screens found

Anyway, long story short, DONT UPGRADE ...IT DOESN'T WORK ... (I feel like the "forever alone" character) : http://knowyourmeme.com/system/icons/361...1288903617

Downgrading to 9.11 .... ironic ..
Reply

Logout Mark Read Team Forum Stats Members Help
HDMI passthrough doesn't work on Dharma 10.00