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

+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Feature Suggestions (/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


VDPAU API for Linux released by NVIDIA today - GPU hardware accelerated video decoder - Deanjo - 2008-11-14 20:17

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:

http://www.phoronix.com/scan.php?page=article&item=nvidia_180_vdpau&num=1

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.


Nvidia PureVideo on Linux, finally - gfairbanks - 2008-11-14 20:23

http://www.phoronix.com/scan.php?page=article&item=nvidia_180_vdpau&num=1

I haven't seen any discussion on this yet, but I hope this makes its way into ffmpeg soon.


- theuni - 2008-11-14 20:45

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


- rodalpho - 2008-11-14 20:58

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.


- theuni - 2008-11-14 21:07

Building patch mplayer sources at the moment, will report back after it's finished and i've restarted X with new driver

TheUni


NEWS: NVIDIA Driver Brings PureVideo Features To Linux - einhänder - 2008-11-14 21:10

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=article&item=nvidia_180_vdpau&num=1

greetings,
einhänder


- theuni - 2008-11-14 21:34

Well..

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

Code:
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

Update:

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

TheUni


- Bahndit - 2008-11-14 22:15

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.

-Bahndit


- onesojourner - 2008-11-14 22:30

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


- theuni - 2008-11-14 22:44

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.

TheUni


Possible NVIDIA h.264 Hardware decoding - Duduke - 2008-11-14 23:24

Hi,

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!.


- tslayer - 2008-11-14 23:44

Any reason why you started another thread instead of posting in the already existing ones?


- Duduke - 2008-11-15 00:04

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.


- althekiller - 2008-11-15 02:54

Merged. No need for three of these threads.


- BLKMGK - 2008-11-15 07:26

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=article&item=amd_xvmc_xvba&num=1

Obviously this is all separate from the GSoC stuff. <shrug>