VDPAU API for Linux released by NVIDIA today - GPU hardware accelerated video decoder

  Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
Deanjo Offline
Junior Member
Posts: 43
Joined: Sep 2008
Reputation: 0
Information  VDPAU API for Linux released by NVIDIA today - GPU hardware accelerated video decoder
Post: #1
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.
find
gfairbanks Offline
Junior Member
Posts: 49
Joined: Jun 2007
Reputation: 0
Post: #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
find
theuni Offline
Team-XBMC Communication Manager
Posts: 1,105
Joined: Oct 2007
Reputation: 2
Location: Atlanta, Ga, USA
Post: #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
find
rodalpho Offline
Fan
Posts: 602
Joined: Nov 2006
Reputation: 17
Post: #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.
find
theuni Offline
Team-XBMC Communication Manager
Posts: 1,105
Joined: Oct 2007
Reputation: 2
Location: Atlanta, Ga, USA
Post: #5
Building patch mplayer sources at the moment, will report back after it's finished and i've restarted X with new driver

TheUni
find
einhänder Offline
Senior Member
Posts: 169
Joined: Sep 2008
Reputation: 0
Post: #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
find
theuni Offline
Team-XBMC Communication Manager
Posts: 1,105
Joined: Oct 2007
Reputation: 2
Location: Atlanta, Ga, USA
Post: #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
(This post was last modified: 2008-11-14 21:48 by theuni.)
find
Bahndit Offline
Donor
Posts: 128
Joined: Jul 2008
Reputation: 0
Location: Salt Lake City, UT
Post: #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
find
onesojourner Offline
Aeon Group
Posts: 296
Joined: Jul 2008
Post: #9
oh this is incredible news. when xbmc can implement this it will make for ultimate cheap media center pcs.

ﻪﻥﻋﺸﻷﻜﻈﭚ
find
theuni Offline
Team-XBMC Communication Manager
Posts: 1,105
Joined: Oct 2007
Reputation: 2
Location: Atlanta, Ga, USA
Post: #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
find
Duduke Offline
Senior Member
Posts: 120
Joined: Oct 2004
Reputation: 0
Location: Israel
Post: #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!.
find
tslayer Offline
Team-XBMC Developer
Posts: 3,557
Joined: Oct 2003
Reputation: 12
Post: #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.
find
Duduke Offline
Senior Member
Posts: 120
Joined: Oct 2004
Reputation: 0
Location: Israel
Post: #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.
find
althekiller Offline
Retired Team-Kodi Member
Posts: 5,002
Joined: May 2004
Reputation: 12
Post: #14
Merged. No need for three of these threads.
find
BLKMGK Offline
Donor
Posts: 1,740
Joined: Jul 2006
Reputation: 4
Location: USA Virginia
Post: #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)
find
Thread Closed