Kodi Community Forum
XBMC for Linux VDPAU - NVIDIA GPU video decoding support (now in the mainline SVN) - Printable Version

+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Kodi General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Linux and Live support (/forumdisplay.php?fid=52)
+---- Thread: XBMC for Linux VDPAU - NVIDIA GPU video decoding support (now in the mainline SVN) (/showthread.php?tid=45525)



- h.udo - 2009-02-27 16:58

I'm running xbmc-vdpau r18118 with 180.35 on Intrepid x86_64 and have no problems at all. I even compiled xbmc-vdpau r18118 with alwinus patches for vdr.

And still no problems. Plays HD movies and killa sample just fine.


- motd2k - 2009-02-27 17:49

you really need to update that, massive memory leak fixed in [18131] and [181318] helps with some juddering issues.


- The_Rebel - 2009-02-27 20:03

VC-1 playback is choppy at best with my NV 9500GT.

./vdpinfo Wrote: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
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

mplayer seems to work fine though.


- danillll - 2009-02-27 22:26

The_Rebel Wrote:VC-1 playback is choppy at best with my NV 9500GT.



mplayer seems to work fine though.

What revision you are using, motd2k made recent changes 2 days ago to VC-1 playback and now most of my VC-1 movies work perfectly, check out and build the latest one.


- mythmaster - 2009-02-28 00:59

r18146 not working for me.

No display and 100% CPU on one core.

Using Kubuntu 8.10 KDE 4.2 with all current updates.

EDIT: 180.29...do I need to go back to 180.35 for this version to work?


- danillll - 2009-02-28 01:22

mythmaster Wrote:r18146 not working for me.

No display and 100% CPU on one core.

Using Kubuntu 8.10 KDE 4.2 with all current updates.

EDIT: 180.29...do I need to go back to 180.35 for this version to work?

r18146 ? where did you get this from? I built mine from the latest code and it's r18137


- tslayer - 2009-02-28 01:26

Maybe not the right branch!


- mythmaster - 2009-02-28 01:45

Am I doing something wrong? Oo
Code:
user@office:~/src/xbmc-vdpau/XBMC$ svn info
Path: .
URL: https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/xbmc-vdpau/XBMC
Repository Root: https://xbmc.svn.sourceforge.net/svnroot/xbmc
Repository UUID: 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Revision: 18146
Node Kind: directory
Schedule: normal
Last Changed Author: motd2k
Last Changed Rev: 18138
Last Changed Date: 2009-02-27 04:33:59 -0600 (Fri, 27 Feb 2009)



- mythmaster - 2009-02-28 02:59

OK, I loaded 180.35, recompiled, and it's working again. Smile


- kalross - 2009-02-28 04:24

Thanks for this MOTD2K. I've dumped my VMC install and partimaged back my Ubuntu to my HTPC after a long wait.

Really appreciate your work.

K


- schmoko - 2009-02-28 11:58

motd2k,

i really appreciate your work. the fix for the judder issue helped a lot. my biggest issue with VDPAU was choppy playback; which is definitely much improved. im stilling crossing my fingers an XRandR solution can be figured out so that 24p playback can be done without headaches. anyway, i digress...

everyone else,

the 512 MB fanless 8400GS seems to be the most recommended card. i'm wondering if im the only one experiencing the following issues with it. two are possibly (probably) VDPAU related, the other two are not. I only mention this here because 8400GS seems to be the prevailing advice and i feel like ive wasted $40 and dont want others to do the same. (not that i blame anyone but myself).

(none of these issues existed with my 256 MB 8600GT using GLSL, all are present with the fanless ASUS 512 MB 8400GS):

1. pauses while video is buffered
once a video is initially loaded, and often while it has played, video rendering will pause completely for a few seconds. eventually it will unpause, and "catch up" by rendering all frames very quickly. seems to happen 100% within the five minutes of loading a 720P or higher video, and then intermittently every hour playing back the same video. 8600 GT did not exhibit similiar behavior.

2. GUI is choppy.
this is not VDPAU related but would definitely be an issue for anyone using the 8400GS on a 1080P display. transitions between screens, loading of fan art, and other actions are just plain slow on the 8400GS at 1080P, even at 60Hz. Same issue was not present on higher end card. seen on both MediaStream and PM3.HD

3. HOT
these fanless cards are incredibly hot. i expected a slight increase in ambient temperature, but it was far worse. i experienced sound drops because my northbridge was overheating. i had to increase my system fans to much higher levels, and the total Db output from my HTPC is now far higher then it was with the single heatsink fan the 8600 GT had on it before.

4. playback is still far from silky smooth
video is definitely better (and much better with thursday's fix from motd2k) but it is not as good as GL with a more powerful card. im wondering how may of those coming out in favor of these "lightweight" cards are on displays > 32" and with 1080p video? anyone expecting blu-ray quality playback of 1080p sources is going to be disapointed.

(system specs are 690G gigabyte board, 2Gb dual channel RAM, amd 5600+, integrated intel_hda sound)


- motd2k - 2009-02-28 12:51

schmoko Wrote:motd2k,

i really appreciate your work. the fix for the judder issue helped a lot. my biggest issue with VDPAU was choppy playback; which is definitely much improved. im stilling crossing my fingers an XRandR solution can be figured out so that 24p playback can be done without headaches. anyway, i digress...

everyone else,

the 512 MB fanless 8400GS seems to be the most recommended card. i'm wondering if im the only one experiencing the following issues with it. two are possibly (probably) VDPAU related, the other two are not. I only mention this here because 8400GS seems to be the prevailing advice and i feel like ive wasted $40 and dont want others to do the same. (not that i blame anyone but myself).

(none of these issues existed with my 256 MB 8600GT using GLSL, all are present with the fanless ASUS 512 MB 8400GS):

1. pauses while video is buffered
once a video is initially loaded, and often while it has played, video rendering will pause completely for a few seconds. eventually it will unpause, and "catch up" by rendering all frames very quickly. seems to happen 100% within the five minutes of loading a 720P or higher video, and then intermittently every hour playing back the same video. 8600 GT did not exhibit similiar behavior.

2. GUI is choppy.
this is not VDPAU related but would definitely be an issue for anyone using the 8400GS on a 1080P display. transitions between screens, loading of fan art, and other actions are just plain slow on the 8400GS at 1080P, even at 60Hz. Same issue was not present on higher end card. seen on both MediaStream and PM3.HD

3. HOT
these fanless cards are incredibly hot. i expected a slight increase in ambient temperature, but it was far worse. i experienced sound drops because my northbridge was overheating. i had to increase my system fans to much higher levels, and the total Db output from my HTPC is now far higher then it was with the single heatsink fan the 8600 GT had on it before.

4. playback is still far from silky smooth
video is definitely better (and much better with thursday's fix from motd2k) but it is not as good as GL with a more powerful card. im wondering how may of those coming out in favor of these "lightweight" cards are on displays > 32" and with 1080p video? anyone expecting blu-ray quality playback of 1080p sources is going to be disapointed.

(system specs are 690G gigabyte board, 2Gb dual channel RAM, amd 5600+, integrated intel_hda sound)

To be honest, this advice was based on drivers prior to 180.35 - which mandated having a G98 (or later) chipset card. As it happened, I assume purely because of NVIDIA's product life-cycle, the lower spec cards we're actually *more* capable than the higher spec cards, simply because they were newer.

In 180.35 that changed, VC1 decoding is supported by all VDPAU capable cards, so you are free to pick and choose. As it happens, i'm running a 9500GT with 512MB on one of my systems - this is available with passive cooling and is fairly low power consumption. Feel free to pick and choose but be aware that, like most everything else in IT, there's diminishing returns on this stuff; spending twice as much wont necessarily get you twice the performance, and personally I think that the 'sweet spot' for VDPAU (price/performance-wise) is very low in NVIDIAs range - a 8400 is fine, a 9500 is good.

Hope this helps,

motd


- dbldown768 - 2009-02-28 20:16

i just updated to nvidia 180.35 and the new svn of 18156. I started up my xbmc and I cannot see any of my movies in the library. I have attached information from my xbmc.log file. it appears its having problems updating my database:

#
Attempting to update the database MyVideos34.db from version 23 to 24
#
12:14:44 T:3052324672 M:126648320 ERROR: SQLite: SQL error or missing database
#
Query: ALTER TABLE settings ADD (Sharpness float, NoiseReduction float, InverseTelecine bool)

http://pastebin.com/m7387ccc1


- dbldown768 - 2009-02-28 20:22

looks like i had to blow away my ~/.xbmc/userdata/Database/MyVideo* files. Good thing i use MediaCompanion Smile


- motd2k - 2009-02-28 21:16

Again, thats why I said not to 'make install'!

Oh, and fixed on SVN... sorry its too late for you!