Kodi Community Forum

Full Version: VDPAU API for Linux released by NVIDIA today - GPU hardware accelerated video decoder
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Finally Video Acceleration on linux. Nvidia just released new drivers today that allow GPU acceleration. It would be absolutely fantastic if this can be introducted into XBMC.

Quick little write up is here:


Can we get this added support on the fast track incorporated into xbmc for linux?

The necessary header files, wrapper library, and library / driver files ship with this just-released 180.06 driver.

I haven't seen any discussion on this yet, but I hope this makes its way into ffmpeg soon.
If anyone's interested, i grabbed the headers out of the package

vdpau.h: http://pastebin.com/m4c0a4608
vdpau_x11.h: http://pastebin.com/m207a9155
Very exciting stuff! I'm happy I've got a 9500GT in my XBMC box.

Nvidia published patches for mplayer through ffmpeg; hopefully they're accepted quickly so we can get GPU offloading into XBMC 9.04.
Building patch mplayer sources at the moment, will report back after it's finished and i've restarted X with new driver

hi folks,

Quote:...Over the course of the past few months we have been saying that the NVIDIA 180 Linux driver to be released in the fourth quarter of 2008 would hold in store a few interesting features. Well, today that closed-source driver has been released in beta form. This driver adds a new VDPAU API, which provides PureVideo-like features on Linux, adds in CUDA 2.1 support, new workstation performance optimizations, X Render improvements, and other improvements...

Source: http://www.phoronix.com/scan.php?page=ar...dpau&num=1


Module built an inserted fine, mplayer built fine, but no joy on playback, just crash:
Error at libvo/vo_vdpau.c:826

VDec: vo config request - 1280 x 688 (preferred colorspace: H.264 HIGH VDPAU acceleration)
VDec: using H.264 HIGH VDPAU acceleration as output csp (no 2)
Movie-Aspect is 1.86:1 - prescaling to correct movie aspect.
VO: [vdpau] 1280x688 => 1280x688 H.264 HIGH VDPAU acceleration
Encouraging anyway... will keep playing


Accellerated mpeg2 works! cpu sits at 1%. Code seems very buggy, crashes on h264 or vc1, but it's a start!

Wow, that is awesome news!!! Keep up the good work. I wish I knew enough about linux to help out in some way. Anyway, very exciting news.

oh this is incredible news. when xbmc can implement this it will make for ultimate cheap media center pcs.
Last update for now-

Some h264 samples from the mplayer site DO play, and cut the cpu TO anywhere from 10% to 40% of regular usage.

This is indeed going to be a big deal, but it seems there's still a good bit of work to do to get it stable, then still a while after that before we see it in xbmc.


After reading this article in www.phoronix.com.

Will it be possible to integrate the patches discussed there with the FFMPEG version that is used in XBMC.

And before I forget, Good luck for the new version, Great Effort!.
Any reason why you started another thread instead of posting in the already existing ones?
No particular reason, just felt it might be useful if any devs are reading this forum to be aware of this new development.
but you can feel free to move this post to another section if you feel it is inappropriate.

sorry for the trouble.
Merged. No need for three of these threads.
More info for NVIDIA -> http://www.nvnews.net/vbulletin/showthread.php?t=123091 I admit I'm interested in how this might perform as well!

AMD is talking about XvMC which as I recall XBMC isn't using, not sure what UVD2 is however. Anyway, info on that -> http://www.phoronix.com/scan.php?page=ar...xvba&num=1

Obviously this is all separate from the GSoC stuff. <shrug>
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