XBMC PulseAudio passthrough support (including Nvidia) is available - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93) +--- Thread: XBMC PulseAudio passthrough support (including Nvidia) is available (/showthread.php?tid=96316) |
- cbxbiker61 - 2011-12-03 sjongele Wrote:Some SD DD5.1 movies (they still exist) no longer want to play correctly: the frame rate drops from 25fps to 4fps. The same content plays correctly in the current XBMC nightly, so there might be a little error somewhere in Audiofilter. I can't reproduce the problem here. I can play my Smallville DD-5.1 media without problems. I would need a sample of a file to test. - sjongele - 2011-12-03 50fps and 60fps material work fine (as far as I have seen). 25fps material fails pretty consistently; I'm using DVD ISOs to test this. Do you have some 25fps material? - Forsaken - 2011-12-03 boulogne75 Wrote:As promised last week: I've been trying to get this to work but no luck, I have a intel card though. Where did you set the "hdmi:CARD=NVidia,DEV=1" parameter ? - cbxbiker61 - 2011-12-03 sjongele Wrote:50fps and 60fps material work fine (as far as I have seen). 25fps material fails pretty consistently; I'm using DVD ISOs to test this. Do you have some 25fps material? No, unfortunately all of my material that is DD-5.1 is interlaced 60fps. On a maybe related note... FFmpeg no longer exports ff_vdpau_vc1_decode_picture. So if you're building with the latest external FFmpeg, xbmc will not turn on vdpau support. In my case I patched configure.in to use a simpler detection method. I wonder if that may be your issue. Code: --- ./configure.in.orig 2011-11-16 01:48:58.000000000 -0700 - cbxbiker61 - 2011-12-03 Forsaken Wrote:I've been trying to get this to work but no luck, I have a intel card though. Where did you set the "hdmi:CARD=NVidia,DEV=1" parameter ? He was setting the "custom pass-through device", which was only necessary because he was using "native" Alsa rather than the PulseAudio device. If you're using PulseAudio you would select the Intel device in the pass-through device list. If you're using Intel/native Alsa, then the custom pass-through device line would be different than "hdmi:CARD=NVidia,DEV=1". I'm guessing it would be more like "hdmi:CARD=Intel,DEV=1". You should be able to identify it with "aplay -l". - Forsaken - 2011-12-04 cbxbiker61 Wrote:He was setting the "custom pass-through device", which was only necessary because he was using "native" Alsa rather than the PulseAudio device. If you're using PulseAudio you would select the Intel device in the pass-through device list. If you're using Intel/native Alsa, then the custom pass-through device line would be different than "hdmi:CARD=NVidia,DEV=1". I'm guessing it would be more like "hdmi:CARD=Intel,DEV=1". You should be able to identify it with "aplay -l". Yes I've tried both with pulseaudio and with alsa only, it works fine with "vanilla" xbmc and hdmi(ALSA) but I'm not getting any audio with your xbmc and the same settings and if I set the custom device to "hdmi:CARD=Intel,DEV=3" then I get an error about not being able to open device. aplay -l tells me it's card 0 and device 3. Something I'm missing ? - cbxbiker61 - 2011-12-04 Forsaken Wrote:Yes I've tried both with pulseaudio and with alsa only, it works fine with "vanilla" xbmc and hdmi(ALSA) but I'm not getting any audio with your xbmc and the same settings and if I set the custom device to "hdmi:CARD=Intel,DEV=3" then I get an error about not being able to open device. post the output of: Code: for f in /proc/asound/card*/eld*; do That should tell me more about what you can and can't do with your config. At some point I expect to parse that output in my pass-through code and theoretically do the "right" thing. - Forsaken - 2011-12-04 cbxbiker61 Wrote:post the output of: This is the output, its connected to a Onkyo 709. ***** /proc/asound/card0/eld#3.0 ***** monitor_present 1 eld_valid 1 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 [0xffff] FL/FR LFE FC RL/RR RC FLC/FRC RLC/RRC FLW/FRW FLH/FRH TC FCH sad_count 0 - cbxbiker61 - 2011-12-04 Forsaken Wrote:This is the output, its connected to a Onkyo 709. It should look more like this: (note the receiver name is specified, and the supported pass-through formats are listed). My wiring is: hdmi cable from computer to receiver and then hdmi cable from receiver to tv. Did you connect it like that? I can't remember if there's a configuration option in the receiver configuration to allow pass-through, that could also be the problem. Code: ***** /proc/asound/card1/eld#1.0 ***** - Forsaken - 2011-12-04 cbxbiker61 Wrote:It should look more like this: (note the receiver name is specified, and the supported pass-through formats are listed). I have the same wiring, well except I have a projector at the other end of the receiver. I restarted the computer with a newer kernel, 3.1.4 and now it gave me some more info but not nearly as much as you have. I've tried the different "adjust picture" settings for HDMI but they don't change the info in eld. I use "direct" mode as I don't want the receiver to do anything with the picture. Code: monitor_present 1 - cbxbiker61 - 2011-12-04 Forsaken Wrote:I have the same wiring, well except I have a projector at the other end of the receiver. Now I'm wondering if "direct" mode is the culprit. To me that would imply don't process "any" part of the signal, and that would include audio. In that case the video card is probably getting the capabilities of the projector, rather than what you want, which is the capabilities of the receiver. Try turning direct mode off, and reboot the computer (It polls the device for capabilites when the video card driver loads). - Forsaken - 2011-12-04 cbxbiker61 Wrote:Now I'm wondering if "direct" mode is the culprit. To me that would imply don't process "any" part of the signal, and that would include audio. In that case the video card is probably getting the capabilities of the projector, rather than what you want, which is the capabilities of the receiver. Try turning direct mode off, and reboot the computer (It polls the device for capabilites when the video card driver loads). No difference unfortunately. - cbxbiker61 - 2011-12-04 Forsaken Wrote:No difference unfortunately. OK. At this point I'm not sure what you need to do to get your receiver to offer up pass-through support. Until you can see those pass-through features show up in /proc/asound/card*/eld* it isn't going to work. You can turn off pass-through support in xbmc until you figure it out. - jawilljr - 2011-12-04 Forsaken, On your Onkyo receiver, make sure that the "Audio TV Out" is set to "OFF". I got that from pages 58 and 59 of the Reciever's manual. I would probably set RIHD a "Audio Return Channel" to off also. Also here is an excellent thread for your receiver. I would also ask there on what the proper HDMI Audio settings should be. Of-course when you change audio settings in the receiver you should reboot XBMC so the NVIDIA drivers could re-read the EDID from your receiver. Hope the info helps... and good luck. Jerry - Forsaken - 2011-12-04 jawilljr Wrote:Forsaken, On your Onkyo receiver, make sure that the "Audio TV Out" is set to "OFF". I got that from pages 58 and 59 of the Reciever's manual. Yes they are off, I'll see if I can find something else. cbxbiker, ok I'm going to play around with the settings on the receiver and see if I can't get it to work. |