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

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



- Haggy - 2009-03-31

Guys, this is all known. I also suffer from this and motd2k knows about it. I got a patch via irc you might want to try:
Code:
11:38 < motd2k> haggy i have a line you could change and try
11:39 < motd2k> VDPAU.cpp ~line 941
11:39 < motd2k> change outputSurface, to presentSurface,

I cannot test it myself because my machine is down for the moment. Nevertheless, if it helps report back so motd2k has a hint in the right directions.


- gotoman00 - 2009-03-31

well haggy i haven't touched your patch... but installing the new nvidia drivers (180.44) that just came out yesterday seems to have fixed the problem.... the ONLY thing that seems to stutter now is a 1080p rip of dark knight, but my star wars and casino royale 1080p rips seem to be playing fine... perhaps it's just the way the dark knight was encoded?

edit: and this patch, is it pre-compile? assuming it must be cuz i can't locate it


- Haggy - 2009-03-31

well - great news. which driver version is it? 180.44 ? I'm running 185.13 but that is a rather old beta in nvidia-speech :-). could you please try the infamous 'killasampla.mkv' and that one: http://www.apple.com/quicktime/guide/hd/artbeats.html

please make sure you download the 1080p version (115mb) and you run xbmc in 1920x1080 using 'auto' render method. that way vdpau should be used if detected.

I'm curious about your results. Those two files are the most stressing...

as for the patch: yes, you have to change XBMC/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp by hand.


- gotoman00 - 2009-03-31

ok it's set to 1920x1080 now, you're saying i should switch that to auto? and vdpau should be selected correct? what about adjust refresh rate? not sure what you meant by auto render...


- Haggy - 2009-03-31

Forget about the patch - i don't find the right line either.


- Haggy - 2009-03-31

gotoman00 Wrote:ok it's set to 1920x1080 now, you're saying i should switch that to auto? and vdpau should be selected correct? what about adjust refresh rate? not sure what you meant by auto render... and where do i get the killasamapla?

i got killasampla.mkv via google/torrent. i think it is also somewhere on rapidshare. just google it. by 'auto' i meant 'render method: auto'. which should use vdpau if available and supported on the file, but leave glsl/software for dvd for example. you can verify in the logfile which renderer is used. there is/was a bug not being able to use vdpau if vdpau is select as renderer, don't know if that is fixed, but i suppose as you don't have issues with that.


- fasteddy - 2009-03-31

Haggy Wrote:Forget about the patch - i don't find the right line either.

Try line 909.


- gotoman00 - 2009-03-31

Haggy Wrote:i got killasampla.mkv via google/torrent. i think it is also somewhere on rapidshare. just google it. by 'auto' i meant 'render method: auto'. which should use vdpau if available and supported on the file, but leave glsl/software for dvd for example. you can verify in the logfile which renderer is used. there is/was a bug not being able to use vdpau if vdpau is select as renderer, don't know if that is fixed, but i suppose as you don't have issues with that.

ok so i downloaded both of those... the one from apple had some minor stuttering here and there but looked pretty decent, the killasampla however was stuttering bigtime after playing for about 5 secs Oo

edit: ok so i see you must make the change pre-compile, should i build from the latest svn?


- Haggy - 2009-03-31

yes, pre-compile as it is in the source code - after won't help you much :-) worried about 180.44 not helping much Sad


- motd2k - 2009-03-31

951, and include your xbmc.log file - its normally in ~/.xbmc/temp


- xnappo - 2009-03-31

gotoman00 Wrote:ok so i downloaded both of those... the one from apple had some minor stuttering here and there but looked pretty decent, the killasampla however was stuttering bigtime after playing for about 5 secs Oo

edit: ok so i see you must make the change pre-compile, should i build from the latest svn?

Try selecting 1080i.

xnappo


- gotoman00 - 2009-03-31

xnappo Wrote:Try selecting 1080i.

xnappo

little better, but not much


- Haggy - 2009-03-31

Is this massive multiplayer bughunting or what? Smile


- xnappo - 2009-03-31

gotoman00 Wrote:little better, but not much
If you go to the 'shutdown' menu, then go to 'info' then 'video' - what frequency does it say the video card is running at?

Haggy Wrote:Is this massive multiplayer bughunting or what? Smile
Best kind right?

xnappo


- motd2k - 2009-03-31

Haggy Wrote:Is this massive multiplayer bughunting or what? Smile

let me dig out my healbot, that should help.