The Wayback Machine - https://web.archive.org/web/20090228052803/http://xbmc.org:80/forum/showthread.php?t=45525
XBMC Community Forum  

Go Back   XBMC Community Forum > Support and Help Corner for XBMC end-users > XBMC for Linux - Help and Support

XBMC for Linux - Help and Support Need help with XBMC for Linux, or think you've found a bug? Post here.

Reply
 
Thread Tools Display Modes
Old 2009-02-15, 20:14   #1
Team-XBMC Developer
 
Join Date: Dec 2008
Posts: 88
motd2k is on a distinguished road
Default XBMC for Linux VDPAU support (ongoing development in an separate SVN branch)

First of all - this is a work in progress. Code will be changing frequently and as such this branch may not always be functional.

VDPAU is a hardware video decoding library, provided by NVIDIA. Currently it only functions on their 8xxx and later GPUs.

Current state-of-play:
h264 decoding
mpeg1/2 decoding
VC1 decoding (xbmc currently seems unable to play WMA3 though)
Hardware deinterlacing
VDPAU post-processing

Instructions:

Make sure you have the latest NVIDIA driver. This link will point you in the direction of the current version.

PHP Code:
cd 
svn co https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/xbmc-vdpau xbmc-vdpau 
cd xbmc-vpdau/XBMC 
./configure 
make 
To run, type...
PHP Code:
./xbmc.bin 

Last edited by motd2k; 2009-02-21 at 03:24.
motd2k is offline   Reply With Quote
Old 2009-02-15, 21:37   #2
Member
 
Join Date: May 2007
Posts: 60
knatsch is on a distinguished road
Default

WOW
Ordering ASAP a sufficient video card
Are there any xbmc-specific minimum requirements to this card except VDPAU compatibility? Or will the cheapest VDPAU card do the trick?
knatsch is offline   Reply With Quote
Old 2009-02-15, 22:05   #3
Senior Member
 
Join Date: Apr 2008
Posts: 123
natethomas is on a distinguished road
Default

Good work!

What's the news on the color and other various syncing issues using the VDPAU renderer?
natethomas is offline   Reply With Quote
Old 2009-02-15, 22:11   #4
Team-XBMC Skinner
 
Jezz_X's Avatar
 
Join Date: Jun 2006
Posts: 1,799
Jezz_X is on a distinguished road
Default

most of the answers can be found to the end of the development thread
http://xbmc.org/forum/showthread.php?t=40362

but yes it currently has small sync issues (for me) and also doe snot play avi files at all (seg fault) so its not really a main xbmc use thing yet like motd2k says
__________________
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.
Jezz_X is online now   Reply With Quote
Old 2009-02-15, 22:12   #5
Member
 
Join Date: Jan 2009
Location: Ottawa, Ontario, Canada
Posts: 59
fasteddy is on a distinguished road
Default

Quote:
Originally Posted by motd2k View Post
Current state-of-play:
h264 decoding enabled
mpeg12/WMV decoding not enabled
currently no fallback to none-VDPAU mode
Very interesting, I was wondering when someone would start this (sooner than I expected). Quick question, though. When you say decoding not enabled, does that mean this version cannot decode - that is to say, play - mpeg12/WMV, or merely that they are not decoded using VDPAU (so using the cpu, instead)?

Again, thanks for the start on this!
fasteddy is offline   Reply With Quote
Old 2009-02-15, 22:53   #6
Team-XBMC Developer
 
Join Date: Dec 2008
Posts: 88
motd2k is on a distinguished road
Default

This branch will currently (15-FEB-09) only play h264 files. Obviously thats high on the priority list.

EDIT: 16-FEB-09 -- Should now play most files that XBMC would play before

Last edited by motd2k; 2009-02-16 at 11:08.
motd2k is offline   Reply With Quote
Old 2009-02-16, 01:08   #7
Junior Member
 
Join Date: Sep 2007
Posts: 28
brandonj is on a distinguished road
Default

Very nice! I just tried it with my GeForce 9500 GT/AMD 5600+ X2 and it seems to be a vary good start!

Using the cloverfield sample, i think it dropped only 1 frame, with both CPU's sitting at about 16%. On Atlantis, the CPU's go up to about 80%, dropping frames the whole way.

I also tried a BD Rip of National Treasure 2, which caused more problems than the cloverfield one, but a very significant and noticable improvement over the Atlantis build. With VDPAU, it used the same 16% on both CPUs, and on Atlantis, one CPU was pegged at 100%, and the other at about 60% (strange?).

Finally, 2Mbps/H.264 high profile DVD rip of X-Men 3 produced flawless results, at the same 16% CPU, while Atlantis gave flawless results with about 40-50% CPU.

There were some audio syncing issues in all but the X3 video, but that is an already known issue, so i didn't pay much attention to it. I did not notice any colorspace issues, but again, wasn't really looking for them.

In all, I am very impressed! I realize this is pretty new stuff, but I thought I would congratulate the authors and thank them for their awesome work, and share my findings.

-Brandon

Last edited by brandonj; 2009-02-16 at 01:10.
brandonj is offline   Reply With Quote
Old 2009-02-16, 04:26   #8
Team-XBMC Developer
 
Join Date: Dec 2008
Posts: 88
motd2k is on a distinguished road
Default

  • Now supports accelerated MPEG1/2 and VC1.
  • Fallback to GLSL for formats which VDPAU doesnt accelerate - meaning that the branch will now playback all formats once more.
  • Changed the code to default to having the renderer set to VDPAU for machines with the libs installed.
  • Ability to change the renderer dynamically within XBMC
motd2k is offline   Reply With Quote
Old 2009-02-16, 05:37   #9
Fan
 
Join Date: Nov 2006
Posts: 405
rodalpho is on a distinguished road
Default

Just tried the new branch on my 2.93Ghz C2D with a 9500GT. It plays the killa sample absolutely flawlessly with roughly 25% total CPU usage; 15% CPU0, 10% CPU1. It also seamlessly fails back to software on formats unsupported by VDPAU. I didn't get a single crash and everything played, although compilation had a ton of warnings and whatnot. I'd even consider using this branch as my primary at this point, if we weren't directly cautioned not to do so. Great work!!
rodalpho is offline   Reply With Quote
Old 2009-02-16, 09:52   #10
Member
 
Join Date: Oct 2008
Posts: 42
EMK0 is on a distinguished road
Default

I know this is the linux forum but i just want to know is this going to be able to be ported to windows and mac?
EMK0 is offline   Reply With Quote
Reply

Bookmarks

Tags
dxva, ffmpeg, future, gpgpu, gpu, gpu acceleration, va api, vaapi, vdpau, xvba, xvmc


Currently Active Users Viewing This Thread: 3 (1 members and 2 guests)
philter
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT +2. The time now is 07:28.