Kodi Community Forum
VDPAU API for Linux released by NVIDIA today - GPU hardware accelerated video decoder - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Feature Requests (https://forum.kodi.tv/forumdisplay.php?fid=9)
+--- Thread: VDPAU API for Linux released by NVIDIA today - GPU hardware accelerated video decoder (/showthread.php?tid=40362)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28


- spiff - 2009-02-11

nothing to do with each other.

one taps into the video stream decoding on the card (vdpau).
other allows general purpose code execution on gpu (cuda)


- loeppel - 2009-02-11

Decoding video with the CUDA doesn't make sense.
VDAPU takes the PureVideo HD (VP3 and up), this is a fixed part of the GPU, so it is very optimized in decoding videos.
If you use CUDA, you'll try to decode the video with shades, which is not as performant as a specific hardware solution (like pure video hd), and it consumes much more energy while decode!

The same problem as with Gallium3D, see: http://zrusin.blogspot.com/2009/02/video-and-other-apis.html

VDAPU (and VA-API, and XvBW) are the only way to decode HD video at low power consumption!

Otherwise you offload the work from CPU to GPU, which will not really help.

--
loeppel


- ashlar - 2009-02-11

Hmmm... so Nvidia released an open source solution for the Linux environment but stayed closed source for Windows. Do I get this right?

This is kind of sad for the Windows/Mac versions of XBMC, even if I know that Team XBMC has nothing to do with the choice. Sad Or is VDPAU somehow portable to other OSes?


- spiff - 2009-02-11

vdpau is just as closed as dxva. "open" (documented) api, closed backend


- gdachs - 2009-02-11

@motd2k
give me a patch, please, please, please.

Together with the patch from alwinus this would make my VDR perfect.

Gerald


- spiff - 2009-02-11

Me me me


- ashlar - 2009-02-11

spiff Wrote:vdpau is just as closed as dxva. "open" (documented) api, closed backend
Ok, thanks. So will this be made part of the official release of XBMC or not?


- spiff - 2009-02-11

yes, if a patch is submitted of course it will. not sure what gave you any other idea (my personal opinions perhaps?)


- ashlar - 2009-02-11

spiff Wrote:yes, if a patch is submitted of course it will. not sure what gave you any other idea (my personal opinions perhaps?)
I didn't have any idea in one direction or the other. Mainly I was wondering if something closed source would/could be included. In any case, your personal opinions are, more often than not, quite the joy to read. Big Grin

For me it's all academics anyway, as I'm happy with CPU decoding (on a 3 GHz dual core, that is).


- joolz - 2009-02-11

the included code will not be closed source.


- gdachs - 2009-02-11

ashlar Wrote:Mainly I was wondering if something closed source would/could be included.
It is not possible to include closed source into something that is not closed source, because it is not available. You can't include something you don't get.

All you can get is a binary blob in form of a driver or library. The driver in this case has an API that is documented, so you can interface it with open source applications. In this way the closed source driver and the open source application are still separated completely, only during runtime they comunicate over the API.

Gerald


mplayer & VDPAU - nunu - 2009-02-11

despite i'am a linux newbee user, i have recompiled mplayer with the last driver from nvidia ( 180.29 ) and the last patch for mplayer (mplayer-vdpau-3482714.tar.bz2)

So i have running the killa sample (3s before it crashes).

the CPU seems go up to 27-30 % on the AMD64 3200+ and a 9500GT & animation seems smooth

with the classic player, le CPU is overloaded and animation with frame low.

I will take a look to errors but i'am not a specialist of that type a things.


- e-bart - 2009-02-12

Excellent work, motd2k! Smile


- malloc - 2009-02-12

spiff Wrote:Me me me

you you you


- ads_german - 2009-02-12

motd2k Wrote:I'm running it on AMD5000+ and integrated NVIDIA8200. I'd recommend a 9400 integrated mobo (and enough system memory to allow you to assign 512MB to the GPU). If you want an add-on card, perhaps an 8400 with PCI-E 2.0 support and 512MB... (i.e. a G98)

hey motd2k, do you happen to know offhand if that's a windsor or brisbane core 5000+ that you have? I'm just wondering how important the difference in L2 cache (drop from 2MB to 1MB total) might be, or if VDPAU makes such a difference it won't matter...

cheers,
adam.