XBMC for Linux VDPAU - NVIDIA GPU video decoding support (now in the mainline SVN) - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- 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)
- bobo1on1 - 2009-04-11 15:34
Disable the composite extension, turn on sync to vblank for opengl in nvidia-settings and don't enable triple buffering for opengl.
- cejstrup - 2009-04-12 12:54
alanwww1 Wrote:It is the beggining part of Starwars ep 3, where the letters are scrolling. It is a great part to check stutter, because it is long enough to see any dropped frame. Sometimes i have to run it 2 times to see, but it is certainly there. Dropped frames with vdpau and no dropped frames without it.
I don't see any stutter and there's no dropped frames. Plays just fine on my hardware
- gotoman00 - 2009-04-12 17:58
been gone for a while guys but good news! after trying several different svn's and switching back and forth between stable and beta nvidia drivers, the solution to my problem was to set vsync from 'always on' to 'let the driver decide'... vdpau works very well now, the only 2 vids i have any problems with are the killa sample (still stutters, but not nearly as bad as before) and the 1080p rip of the new batman (but i have several other 1080p movies and they seem to play fine, i'm gonna guess it has to do with how it was encoded)... can't believe it was such a simple fix... even the gui is way smoother now... thanks for all the help ...
- nipnup - 2009-04-13 09:43
Where can I set let the driver decide? With V_SYNC on, I still get occasional tearing on my G8200. Can you comment whether you see any tearing, gotoman?
What should I be setting the video resolution etc to? Native of my projector?
- alanwww1 - 2009-04-13 10:09
cejstrup Wrote:I don't see any stutter and there's no dropped frames. Plays just fine on my hardware
Hi Cejstrup !
Can you please pastebin your xorg.conf ?
Are you using the onboard soundcard ?
Is suspend working for you ?
- SpaceMonkey - 2009-04-13 10:40
If renderer is set to vdpau and software upscaling is enabled for sd videos, does it actually activate when watching "non-vdpau" sd videos? I don't see any difference in picture quality and cpu usage is too low. Using lanczos it should be much higher.
Another thing i've been wondering about is "set as defaults" option in video osd. Vdpau postprocessing options doesn't seem to stick. Or they do until i play content which not decoded using vdpau and change some options. Next time i play vdpau stuff sharpness and noise reduction is back at zero. :confused2:
- djurny - 2009-04-13 11:25
mr.b Wrote:i posted this question about a week ago and either no one saw or no one cared I'm ok if no one cared, but I'll try one more time in case it was just missed.i have got no idea whatsoever.. but i have read somewhere that the noise reduction option can improve p.q. somewhat..
- cejstrup - 2009-04-13 13:12
alanwww1 Wrote:Hi Cejstrup !
Sure. Here's the xorg.conf
(ignore the fact that it says gf 6200,I haven't bothered to change it since it's only a comment )
I'm using the onboard sound. Just the analog sound output though since I only have a regular stereo amp.
I don't use suspend,but I've just checked and it works fine as well
I'm running this xbmc version: xmbc pre-9.04 svn:18429
- alanwww1 - 2009-04-13 15:24
cejstrup Wrote:Sure. Here's the xorg.conf
Good to know there is someone who can have this mobo work properly. I have major problems with hdmi audio and suspend on all disrtos and newest Alsa.
What is aplay -l givies you out ? For me the onboard audio is wrogly detected as ALC883/885 but it is ALC889A.
I see you use only one modeline with 50hz refresh rate. How do you watch 24fps content on this refresh rate ?
Whick XBMCLive version are you using ?
Whatever i do i have visible framedrops with vdpau and without i don't.
- cejstrup - 2009-04-13 16:53
alanwww1 Wrote:Good to know there is someone who can have this mobo work properly. I have major problems with hdmi audio and suspend on all disrtos and newest Alsa.
Soundcard is detected as ALC883,so the same as for you.No issues with sound though.But again,I only use the analog output so that's probably why.
My TV is unfortunately not 24p capable However it's not a problem watching 24p content though, the small judder while panning is barely noticeable at all.
I'm running xbmc live 8.10.2 beta1. But I didn't have issues with the previous version either.
In fact I've never seen problems with vdpau until I tried a more recent nvidia driver. That's why I'm now back on version 180.37 which works just fine.
The more recent one maxed out my CPU and apparently it was because it didn't render using vdpau somehow. But I don't have the CPU horsepower to render without vdpau anymore.
- gotoman00 - 2009-04-13 18:46
nipnup Wrote:Where can I set let the driver decide? With V_SYNC on, I still get occasional tearing on my G8200. Can you comment whether you see any tearing, gotoman?
in the display settings in xbmc just turn the vsync setting to let the driver decide and restart xbmc.... i didn't add any vsync settings to my xorg.conf, and i get no tearing in xbmc... the gui is snappier and vdpau works well too....
as far as resolution you should probably try auto first... however if i do auto i get 1080 at 30hz instead of 60 i have to manually set it to 1080 @ 60hz to get it to work properly
- nipnup - 2009-04-13 20:44
Oh I had not seen that option. I set it, had a few seg faults but now it seems to play just fine without any tearing.
If I can get it to dump core, I will submit the dumps.
Edit: there is still occasional (like every 30 to 90s) tearing but not necessarily related to the amount of movement. Will see how to get rid of that.
- SpaceMonkey - 2009-04-14 22:44
toiva Wrote:If renderer is set to vdpau and software upscaling is enabled for sd videos, does it actually activate when watching "non-vdpau" sd videos? I don't see any difference in picture quality and cpu usage is too low. Using lanczos it should be much higher.
I tested sharpness control a little bit more. If i set it to max and save it as default setting, stop the video and start it again the slider is in maximum position, but the sharpening isn't applied. I have to drop it down to 0.99, for instance, to activate.
Also, when vdpau is used as a renderer, image from dvd iso's is complete off-centered. Only the top half of the picture is shown. It should fall back to GLSL or whatever when watching mpeg2 content, right?
I wonder if i'm doing something wrong since i seem to have so many issues.
I compile XBMC from the main branch, with pulse disabled. Intrepid/GF9400GT/Nvidia driver 185.13. Xorg.conf is same as in the wiki, i only changed HorizSync and VertRefresh to match my projector.
Auto refresh rate is always on, and strictbindings are enabled in advancedsettings.xml.
Vdpau playback itself works very well, no dropped frames or cpu usage issues or artifacts or anything like that.
- biggles - 2009-04-15 22:06
What is the syntax for adding strictbindings? I cannot find any reference to it...
- olympia - 2009-04-15 22:20
biggles Wrote:What is the syntax for adding strictbindings? I cannot find any reference to it...