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
philter Offline
Member
Posts: 90
Joined: Feb 2009
Reputation: 0
Post: #256
What is the model of the card? ...so people can buy it or not.
find
mythmaster Offline
Senior Member
Posts: 110
Joined: Dec 2008
Reputation: 0
Post: #257
philter Wrote:What is the model of the card? ...so people can buy it or not.

Got it here --> http://www.amazon.com/Nvidia-Geforce-930...457&sr=1-1
find
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,508
Joined: Feb 2008
Reputation: 64
Post: #258
Me too, me too;

VGA SPARKLE SF-PC84GS512U2LP

http://www.sparkle.com.tw/product_detail...sub_id=239

Code:
display: :0.0   screen: 0
API version: 0
Information string: Unknown

Video surface:

name   width height types
-------------------------------------------
420     4096  4096  NV12 YV12
422     4096  4096  UYVY YUYV

Decoder capabilities:

name          level macbs width height
------------------------------------
MPEG1             0  8192  2048  2048
MPEG2_SIMPLE      3  8192  2048  2048
MPEG2_MAIN        3  8192  2048  2048
H264_MAIN        41  8190  2032  2048
H264_HIGH        41  8190  2032  2048
VC1_SIMPLE        1  8190  2048  2048
VC1_MAIN          2  8190  2048  2048
VC1_ADVANCED      4  8190  2048  2048

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8          8192  8192    y  Y8U8V8A8 V8U8Y8A8
R10G10B10A2       8192  8192    y  Y8U8V8A8 V8U8Y8A8

Bitmap surface:

name              width height
------------------------------
B8G8R8A8          8192  8192
R8G8B8A8          8192  8192
R10G10B10A2       8192  8192
B10G10R10A2       8192  8192
A8                8192  8192

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     y
INVERSE_TELECINE                 y
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y         1     4096
VIDEO_SURFACE_HEIGHT             y         1     4096
CHROMA_TYPE                      y  
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y  
CSC_MATRIX                       y  
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y  
LUMA_KEY_MAX_LUMA                y


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find
tslayer Online
Team-XBMC Developer
Posts: 3,557
Joined: Oct 2003
Reputation: 12
Post: #259
Apparently this card: http://www.newegg.com/Product/Product.as...6814127293



Code:
display: :0.0   screen: 0
API version: 0
Information string: Unknown

Video surface:

name   width height types
-------------------------------------------
420     4096  4096  NV12 YV12
422     4096  4096  UYVY YUYV

Decoder capabilities:

name          level macbs width height
------------------------------------
MPEG1             0  8192  2048  2048
MPEG2_SIMPLE      3  8192  2048  2048
MPEG2_MAIN        3  8192  2048  2048
H264_MAIN        41  8192  2048  2048
H264_HIGH        41  8192  2048  2048

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8          8192  8192    y  Y8U8V8A8 V8U8Y8A8
R10G10B10A2       8192  8192    y  Y8U8V8A8 V8U8Y8A8

Bitmap surface:

name              width height
------------------------------
B8G8R8A8          8192  8192
R8G8B8A8          8192  8192
R10G10B10A2       8192  8192
B10G10R10A2       8192  8192
A8                8192  8192

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     y
INVERSE_TELECINE                 y
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y         1     4096
VIDEO_SURFACE_HEIGHT             y         1     4096
CHROMA_TYPE                      y
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y
CSC_MATRIX                       y
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y
LUMA_KEY_MAX_LUMA                y

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
motd2k Offline
Team-XBMC Developer
Posts: 666
Joined: Dec 2008
Reputation: 0
Location: England
Post: #260
I added code to the view the decode capabilities of your card to the vdpau branch on svn.

Pull svn, configure/make, run xbmc and select vdpau as the renderer in video settings, and then open a h264 file... the card capabilities will be shown in the logfile. note that the current code only supports h264 and theres no fallback to GLSL rendering yet.
find
nunu Offline
Member
Posts: 92
Joined: Feb 2009
Reputation: 0
Post: #261
there is a possiblity to have VDPAU with XBMC ?
i have just recomplied mplayer for VDPAU, but with killa.sampla.x264 that crash.

Is there a procedure to integrate HW Acceleration with XBMC ?
find
tslayer Online
Team-XBMC Developer
Posts: 3,557
Joined: Oct 2003
Reputation: 12
Post: #262
nunu, are you serious?

Did you even read any of the last few pages of this thread that you are posting in?

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
nunu Offline
Member
Posts: 92
Joined: Feb 2009
Reputation: 0
Post: #263
sorry to be stupid !

i'am not friendly with linux and video stuff...

good job for XBMC, that rocks !!


regards
(This post was last modified: 2009-02-14 23:47 by nunu.)
find
enkil Offline
Junior Member
Posts: 45
Joined: Nov 2008
Reputation: 0
Post: #264
Thank you for the great work on the vdpau-branch so far!

I have some questions though: Is it possible that the GPU is not fast enough to decode certain videos? I was trying to play a x264-encoded 1080p movie that spikes somewhere around 50MBit/s. The OSD doesn't show any dropped frames, but the video itself is choppy as if frames are being dropped (revision 17735). My GPU is a Geforce 8500GT with 512MB VRAM.
I noticed that in your screens the OSD reads "video: h264_vdpau". I only get "h264" (without the vpdau). Does that mean that it is using the wrong codec? CPU-load was about ~8% on both cores. Some parts from the logfile:

Code:
NOTICE: Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)
NOTICE: VDPAU Decoder capabilities:
NOTICE: name          level macbs width height
NOTICE: MPEG1             0  8192  2048  2048
NOTICE: MPEG2_SIMPLE      3  8192  2048  2048
NOTICE: MPEG2_MAIN        3  8192  2048  2048
NOTICE: H264_MAIN        41  8192  2048  2048
NOTICE: H264_HIGH        41  8192  2048  2048
(This post was last modified: 2009-02-15 14:32 by enkil.)
find
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,508
Joined: Feb 2008
Reputation: 64
Post: #265
enkil Wrote:Thank you for the great work on the vdpau-branch so far!

I have some questions though: Is it possible that the GPU is not fast enough to decode certain videos? I was trying to play a x264-encoded 1080p movie that spikes somewhere around 50MBit/s. The OSD doesn't show any dropped frames, but the video itself is choppy as if frames are being dropped (revision 17735). My GPU is a Geforce 8500GT with 512MB VRAM.
I noticed that in your screens the OSD reads "video: h264_vdpau". I only get "h264" (without the vpdau). Does that mean that it is using the wrong codec? CPU-load was about ~8% on both cores. Some parts from the logfile:

Code:
NOTICE: Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)
NOTICE: VDPAU Decoder capabilities:
NOTICE: name          level macbs width height
NOTICE: MPEG1             0  8192  2048  2048
NOTICE: MPEG2_SIMPLE      3  8192  2048  2048
NOTICE: MPEG2_MAIN        3  8192  2048  2048
NOTICE: H264_MAIN        41  8192  2048  2048
NOTICE: H264_HIGH        41  8192  2048  2048


Use MediaInfo to fully quality your video content. If you see 5.1 profile, that might be your problem. From above, vdpau does not support h.264 5.1 profile.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find
davilla Offline
Retired-Team-XBMC Developer
Posts: 11,508
Joined: Feb 2008
Reputation: 64
Post: #266
motd2k Wrote:I added code to the view the decode capabilities of your card to the vdpau branch on svn.

Pull svn, configure/make, run xbmc and select vdpau as the renderer in video settings, and then open a h264 file... the card capabilities will be shown in the logfile. note that the current code only supports h264 and theres no fallback to GLSL rendering yet.

configure is broke, need to make the changes to configure.in, then autoconf which then makes the proper configure.


MediaInfo : http://mediainfo.sourceforge.net/
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
find
BLKMGK Offline
Donor
Posts: 1,740
Joined: Jul 2006
Reputation: 4
Location: USA Virginia
Post: #267
Stupid question: In order to pull in the code from SVN can I do a pull from the top level branch or must I do something specific to choose the VDAPU branch? I am VERY interested in testing this out to say the least!! My thanks for the hard work put into this thus far.

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
motd2k Offline
Team-XBMC Developer
Posts: 666
Joined: Dec 2008
Reputation: 0
Location: England
Post: #268
PHP Code:
cd ~
svn co https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/xbmc-vdpau xbmc-vdpau
cd xbmc-vpdau/XBMC
./configure
make 

I then suggest you do *not* run make install (for the moment at least), just type (in the ~/xbmc-vdpau/XBMC folder...

PHP Code:
./xbmc.bin 
find
nunu Offline
Member
Posts: 92
Joined: Feb 2009
Reputation: 0
Post: #269
thanks alot motd2k.

i'am discovering the linux world, and today i have understood some very basic things and i have regenerated the xbmc-vdpau. But i have a green green while playing a movie into xbmc windows. I have will try from scratch the xbmc-vdpau to be sure !!!


tkanks ...
find
BLKMGK Offline
Donor
Posts: 1,740
Joined: Jul 2006
Reputation: 4
Location: USA Virginia
Post: #270
Ah, gotcha'! This way it won't overwrite the more mainstream xbmc binaries - a good idea. I think that rather than test it on my girlfriend's box I will wait until I am home and can give it a shot. She REALLY enjoys the machine I built for her and breaking it would be "bad"! She has the same hardware as I do though so if it works well on mine I will know it's fine for her's.

Would you also suggest I build this in a different directory than I have the standard XBMC? That too would seem to make some sense so that I can keep both separate for now. Any ideas on when we might see this merged into the main trunk? IMO this is pretty exciting stuff!

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