• 1(current)
  • 2
  • 3
  • 4
  • 5
  • 28
VDPAU API for Linux released by NVIDIA today - GPU hardware accelerated video decoder
#1
Information 
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=ar...dpau&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.
#2
http://www.phoronix.com/scan.php?page=ar...dpau&num=1

I haven't seen any discussion on this yet, but I hope this makes its way into ffmpeg soon.
XBMC machine: ABIT AN-M2HD with nVidia 7050 onboard (Ubuntu Hardy + latest nVidia driver), AMD Athlon BE-2350, Microsoft MCE IR Remote, Logitech PS3 USB keyboard, 33w idle, 53w max, 720p plasma over HDMI
#3
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
#4
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.
#5
Building patch mplayer sources at the moment, will report back after it's finished and i've restarted X with new driver

TheUni
#6
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

greetings,
einhänder
#7
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
#8
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
#9
oh this is incredible news. when xbmc can implement this it will make for ultimate cheap media center pcs.
ﻪﻥﻋﺸﻷﻜﻈﭚ
#10
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
#11
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!.
#12
Any reason why you started another thread instead of posting in the already existing ones?
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
#13
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.
#14
Merged. No need for three of these threads.
#15
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>
Openelec Gotham, MCE remote(s), Intel i3 NUC, DVDs fed from unRAID cataloged by DVD Profiler. HD-DVD encoded with Handbrake to x.264. Yamaha receiver(s)
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 28

Logout Mark Read Team Forum Stats Members Help
VDPAU API for Linux released by NVIDIA today - GPU hardware accelerated video decoder3