Kodi Community Forum

Full Version: [Solved] No Audio No Passthrough via Nvidia Hdmi
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pulse audio and Alsa were working, not sure if an update or what broke. Now Pulse audio works but video can be slow or glitchy. Pass through does not work at all. When not using Pulse, I can sometimes get one track of audio such as the laugh track of a tv show. If playing a movie using HD DTS audio, i get nothing. Turning off DTS and using pulse seems to work. I re-installed Linux, tried another video/sound card, and Removed pulse audio. Have since re-installed pulse.

Nvidia GT520 - 325.xx driver
Integra 30.3 receiver
Linux 13.04
Kernel: was 3.8.0-29 now 3.10.x
XBMC 12.2


debug: http://xbmclogs.com/show.php?id=50717

aplay -l:
**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: ALC889A Analog [ALC889A Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: SB [HDA ATI SB], device 1: ALC889A Digital [ALC889A Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0

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

Sorry - Just noticed my debug log gets a bad gateway error. i will post another tonight after work.
Code:
sudo apt-get remove --purge pulseaudio libasound2-plugins
sudo apt-add-repository ppa:wsnipex/xbmc-xvba-frodo
sudo apt-get update
sudo apt-get install xbmc
sudo apt-get upgrade
I performed the cmd's suggested by fritsch, still no audio. This is a fresh ubuntu 13.03 install, removed pulseaudio, and using the provided repository.
Logs:
http://xbmclogs.com/show.php?id=51404
http://xbmclogs.com/show.php?id=51403
Quote:08:20:04 T:140118612522880 NOTICE: Device 5
08:20:04 T:140118612522880 NOTICE: m_deviceName : hdmi:CARD=NVidia,DEV=1
08:20:04 T:140118612522880 NOTICE: m_displayName : HDA NVidia
08:20:04 T:140118612522880 NOTICE: m_displayNameExtra: ONK DTR-30.3 on HDMI
08:20:04 T:140118612522880 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
08:20:04 T:140118612522880 NOTICE: m_channels : FL,FR,LFE,FC,BL,BR,SL,SR
08:20:04 T:140118612522880 NOTICE: m_sampleRates : 32000,44100,48000,88200,96000,176400,192000
08:20:04 T:140118612522880 NOTICE: m_dataFormats : AE_FMT_LPCM,AE_FMT_AC3,AE_FMT_DTS,AE_FMT_EAC3,AE_FMT_DTSHD,AE_FMT_TRUEHD,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE

Looks really fine now. Make sure you choose ONK DTR-30.3 on HDMI in the audio settings.
select the correct HDMI device in audio settings. You have 2 listed and the 2nd one looks like your Onkyo AVR
Still wasnt working so i tried another machine (windows) and had the same issue. So i decided to try another hdmi input on my receiver and all is well. Oddly enough i switched back to that input and its still working correctly now. In addition, was able to re-install pulseaudio so i have OS and browser audio. Everything just works now. Not sure why my hdmi input was only allowing, im assuming 2 ch audio using pulse only until i unplugged/replugged from the receiver. Maybe it was a combination of things? Idunno
Sorry if i wasted anyone's time, but your help is much appreciated.