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)
- pyrates - 2009-03-25 09:31
Just got this compiled and installed. Had to wait for a MSI NX8400GS 512 MB to come in, but now that I've got that and this working. It was well worth the wait.
Now my cpu usage is barely above 5% per core, average is 1-2% per core. I got an AMD Athlon x64 4600+ cpu. It even works with movies I had encoded before at the maximum 5.1 level.
The only problem I'm encountering is that 24p movies aren't totally smooth on my 1920x1080i60 HDTV and it doesn't support a 24 Hz refresh rate.
Jerky, suttering playback with 24p movies - noeikujoo - 2009-03-25 12:47
This is my first post to this forum. Sorry for my bad english...
I am running XBMC VDPAU 18735 revision in Ubuntu 8.10 2.6.27-14-generic and the problem is that 24p (23.976 fps MKV's) movies aren't smooth. I am using XBMC's auto refresh property and I have a Full HD projector, whitch supports 24Hz, 50Hz and 60Hz refresh rates at 1920x1080 resolution. I am using Nvidia 185.13 beta drivers.
When I am watching 24p movies, CPU usage is only 2-4% per core, but the movement is not smooth. My 1080p MKV's occasionally judder and it is very annoying. The movement can be smooth for minute (or two), but sometimes playback slows down for short time. It looks like that movie jumps suddenly forward one or two frames. XBMC's info shows that frames aren't dropping.
When playback judders, XBMC info shows that frame rate varies between 23-25 fps. 25 fps and 29.997 fps movies playback is fine and XBMC's info shows that frame rate is stable.
I checked from projectors menu that resolution is 1920x1080@24Hz with 24p movies. I got an Intel E6600 C2D dual core prosessor and PALIT GF 8400 GS PCIE 512M DDR2 DVI HDMI VGA-card.
Without VDPAU support my processor has not enough power to play smoothly 1080p h.264 29.997 fps content.
- Haggy - 2009-03-25 12:52
noeikujoo: I second that. For me, playing back some files (especially the killasample) is even bader. I also get the experience of the movie 'jumping' back and forth to keep sync with the audio. this only happens on vdpau.
one question: are you on x86_64 or 32bit?
- rodercot - 2009-03-25 12:56
Haggy Wrote:Ah now i get it, sorry. Always thought you stayed in xbmc-vdpau. Did you open a trac ticket?
I did not open a Trac. I have done a debug log, but it still shows nothing about the problem. It is still there in Linuxport 18910 as of yesterday.
I guess I'll have to revert back to the 18158 vdpau build.
I tried everything to see if it was my system. I got rid of my .asoundrc, advancedsettings.xml. Changed from hdmi audio to spdif again but the problem is still around.
- noeikujoo - 2009-03-25 13:03
Haggy Wrote:noeikujoo: I second that. For me, playing back some files (especially the killasample) is even bader. I also get the experience of the movie 'jumping' back and forth to keep sync with the audio. this only happens on vdpau.I am on 32bit.
I agree that juddering is badder for some files, but all 24p clips that I have been tested stutters at some point on vdpau.
- Haggy - 2009-03-25 13:58
Well, your current build is rather old regarding lots of improvements that were made since. vdpau is now part of mainline linuxport and i suggest you try out a very recent checkout of that branch. i just compiled 18925 and will have a look at it tonight.
- mythmaster - 2009-03-25 17:32
I've been helping someone try to get vdpau going with their new 8200gs pci card on an older system (P4 2Ghz). He's running Ubuntu Intrepid with 185.13 drivers and linuxport r18884. The file he is testing with is the 480p artbeats demo (http://movies.apple.com/movies/us/hd_gallery/gl1800/480p/artbeats_m480p20081003.mov) which is H.264 HIGH.
Whenever he plays the clip, he says the video is just static, and he has confirmed that vdpau is being used. The xbmc.log verifies that (http://pastebin.com/m5c926d67) and it shows "NOTICE: screenWidth:800 widWidth:854" right before "ERROR: (VDPAU) Error: A catch-all error, used when no other error code applies.(25) at VDPAU.cpp:617" and then later tons of "ERROR: (VDPAU) Error: An invalid handle value was provided.(3) at VDPAU.cpp:829"
He runs at 800x600 (fullscreen) on a tube tv, and I notice the video's width is 854. Could vdpau not be scaling down this clip?
It won't play in mplayer, either, if that helps:
- Haggy - 2009-03-25 17:36
just heard in the irc channel, that the 8400gs (not 8200, that's an igp) has issues at some resolutions. iirc motd2k posted that resolution as 'non working'.
- mythmaster - 2009-03-25 17:46
You're right...it's the 8400gs, my bad. (I'd forget my own name if it wasn't printed on my driver's license )
Is that list of non-working resolutions posted somewhere?
EDIT: do you mean the display or clip rez?
Funny blue screen overlay - Mikey - 2009-03-25 18:10
ok i have debian lenny x86 updated fully as of 26/03
kernel version 2.6.26-1-686
q6600, 4 gig ram, nvidia 8800gt
nvidia drivers 180.41 (same has happened on 180.22 & 180.29 drivers)
when i enable vdpau acceleration and play a mkv there will be a funny blue colour over the top of the screen
svn version 18926m
/var/tmp/log : http://paste2.org/p/171090
screenshot of the video
this happens with all mkvs in xbmc xvids are fine, using the patched mplayer it will play 100% normal and smooth
any ideas. i read earlier on that some of you were having green screens is this the same as what i am experiencing?
- Maxim - 2009-03-25 18:27
Oh man, just want to say Great Job on this everyone. I look forward to taking advantage of this in the near future.
- xnappo - 2009-03-25 18:32
Mikey Wrote:nvidia drivers 180.41 (same has happened on 180.22 & 180.29 drivers)
Not sure if this would cause the problem, but VDPAU requires Nvidia driver beta 185.13.
- Haggy - 2009-03-25 18:34
Not necesserily anymore since motd2k added a switch into advancedsettings.xml to enable/disable strict binding. it is disabled as default now.
- xnappo - 2009-03-25 18:36
Haggy Wrote:Not necesserily anymore since motd2k added a switch into advancedsettings.xml to enable/disable strict binding. it is disabled as default now.
Ooops. thanks - I missed that. Sorry for the misinformation.
- Haggy - 2009-03-25 18:38
Naa, no problem. That switch is so new it's still smokin'