Kodi Community Forum

Full Version: Unable to get hdmi passthrough on GT520
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I'm tring to have hdmi passthrough on my nvidia gt520. With aplay -l and aplay -D i identified my card.
Code:
famille@media-center:~/.xbmc/temp$ aplay -l
**** Liste des Périphériques Matériels PLAYBACK ****
carte 0: Intel [HDA Intel], périphérique 0: VT1708S Analog [VT1708S Analog]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 0: Intel [HDA Intel], périphérique 1: VT1708S Digital [VT1708S Digital]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 0: Intel [HDA Intel], périphérique 2: VT1708S HP [VT1708S HP]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 1: NVidia [HDA NVidia], périphérique 3: HDMI 0 [HDMI 0]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 1: NVidia [HDA NVidia], périphérique 7: HDMI 1 [HDMI 1]
  Sous-périphériques: 0/1
  Sous-périphérique #0: subdevice #0
Testing both nvidia device, this command produce sound :
Code:
famille@media-center:~/.xbmc/temp$ aplay -D plughw:1,7 /usr/share/sounds/alsa/Front_Right.wav
Lecture WAVE '/usr/share/sounds/alsa/Front_Right.wav' : Signed 16 bit Little Endian, Fréquence 48000 Hz, Mono

But if xbmc is running (just displaying home screen), the command return the following :
Code:
famille@media-center:~/.xbmc/temp$ aplay -D plughw:1,7 /usr/share/sounds/alsa/Front_Right.wav
aplay: main:682: erreur à l'ouverture audio: Périphérique ou ressource occupé
wich means ressource busy.

Playing a mp3 from xbmc works fine, but if i try to play a video with dts or ac3 sound, i get errors in logs
Code:
17:42:21 T:2880813888   ERROR: Initialize - failed to open custom device plughw:1,7,AES0=0x6,AES1=0x82,AES2=0x0,AES3=0x2 (error:No such file or directory), retry with default plughw:1,7
17:42:21 T:2880813888   ERROR: Initialize - pcm_open_lconf, alsa error: -16 - Device or resource busy
17:42:21 T:2880813888   ERROR: Creating a Null Audio Renderer, Check your audio settings as this should not happen

From my point of view, xbmc lock the sound card, and never release it, even when playing dts/ac3 movie. Does anyone have a solution for this problems ?

Thanks for reading Wink

edit : my system is ubuntu 12.04 with pulse height xbmc. kernel 3.2.0-32-generic-pae
Try the latest nightly build instead, it contains major changes to the audio subsystem which will most likely fix that problem for you. I have a GT520 as well and everything works just fine.