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)



- cyba - 2009-03-21

Haggy Wrote:Sure it was in the log:
http://trac.xbmc.org/changeset/18605

and yes: you need 185.13 because of that change i think - but motd2k is more into the drivers features. also, 180.41 is another stable release, while 185.13 is called beta from nvidia itself.

Ok, thanks for pointing it out, I don't know how I didn't see that Smile

Using this driver repo at the moment, but it doesn't (yet) have the latest drivers:
http://www.avenard.org/files/ubuntu-repos/

This one seems to have them though. Anyone using it, any good/bad experiences using it?
http://ppa.launchpad.net/thefirstm/ppa/ubuntu


- xnappo - 2009-03-21

cyba Wrote:Ok, thanks for pointing it out, I don't know how I didn't see that Smile

Using this driver repo at the moment, but it doesn't (yet) have the latest drivers:
http://www.avenard.org/files/ubuntu-repos/

This one seems to have them though. Anyone using it, any good/bad experiences using it?
http://ppa.launchpad.net/thefirstm/ppa/ubuntu

Hi cyba - I use the instructions on the min install wiki here:
http://wiki.xbmc.org/?title=HOW-TO:_Install_XBMC_for_Linux_on_Ubuntu_8.10_(Intrepid)_step-by-step#Nvidia

Just replace the version numbers with what you want. This is direct from Nvidia, so it will always have the latest.

Olympia - if you are reading this thread - you should probably update the Wiki with the 185.13 version since the Wiki now 'supports' VDPAU.

xnappo


- BLKMGK - 2009-03-21

Wiki version doesn't say to kill X either I don't think.

As an aside - I really hate swapping NVIDIA drivers. My install is complaining that I don't have libglx.so.xserver-xorg-core which doesn't bother me except when X tries to start it claims there's an issue and I'm now stuck in low graphics. NVIDIA-xconfig was run and the x.config file looks right. Hate this crap and have no time to play with it now so this must wait to be fixed. Using prepackaged versions certainly has some attraction!

Edit: I use this post to help me -> http://forum.xbmc.org/showpost.php?p=284805&postcount=38 with thanks to rodalpho!


- Haggy - 2009-03-21

Hehe this is so my experience with ubuntu. Last night i installed 8.10 at a friend of mine on the exactly same hardware. However only 177.xx was available and since that one has issues with geforce 8xxx igp, i wanted to upgrade to at least 180.29. Either i'm too stupid or there are simply no debs for recent drivers and so i had to install 180.41 directly from nvidia. After several reboots, rmmods, modprobes and 'feelings' about ubuntu i finally had it running. In that time i easily would have been able to install a whole arch or whatever system.


- sinarquia - 2009-03-21

As for newer Nvidia packages, I'm using the packages kindly offered by Avenard (these are for enabling Mythtv to take advantage of VDPAU, but the obviously work for other purposes). Just a matter of following the directions to enable the repository, and I'm using 180.41 NVIDIA driver, all with deb packages, DKMS.


- johnny2 - 2009-03-22

beefke Wrote:That's true. The G98 and all the IGP's have this issue. In windows there is some fallback to software, in linux not (yet). See also:

http://www.nvnews.net/vbulletin/showpost.php?p=1963112&postcount=1012

So what happens in XBMC when a 1024x576 file is played?


- Brezhonneg - 2009-03-22

Hi forum,

I am trying to compile SVN 18786 but 'make' gets stuck at the following step:

make[5]: Entering directory `/home/sylvain/SVNxbmc/18786/XBMC/xbmc/cores/dvdplayer/Codecs/libdvdnav/src/dvdread'
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -DDVDNAV_COMPILE -I../../src/vm -O3 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_XBOX -DHAVE_DVDCSS_DVDCSS_H -MT dvd_reader.lo -MD -MP -MF .deps/dvd_reader.Tpo -c -o dvd_reader.lo dvd_reader.c

There is no error message, nothing in /var/log/messages. top shows a crazy system load and trillions of bash processes. ssh eventually stops responding and I am lucky when Ctrl+C gets through.

Am I the only one seeing this? Maybe this is not VDPAU branch specific as I see there has been some merging recently (SVN 18776).

Cheers


- Haggy - 2009-03-22

This is a common failure, have a look here: http://forum.xbmc.org/showthread.php?tid=46498
This normally happens on non-ubuntu platforms with a newer build environment. I had that on Arch Linux recently.


- nipnup - 2009-03-22

It works beautifully for me now but I get occasional tearing in scenes with fast movement. This is with a GeForce 8200, driver 180.35 on Ubuntu 8.10. I have disabled Composite which fixes the tearing issue with mplayer but does not seem to help XBMC.

Maybe I need to force VSYNC?


- Haggy - 2009-03-22

sure, set xbmc to forced vsync (that will also solve your cpu being maxed out @100% in the gui), and disable composite by xorg.conf. also disable any compiz stuff - that way it should work.


- miguel - 2009-03-22

Hi all,

I'm having a problem when trying to enable VDPAU, I hope someone can lend me a hand.

I have an Acer X3200 with a dual core AMD 4850e, 3Gb RAM and a NVIDIA 9300GE PCI-e (G98).

I followed the guide

http://wiki.xbmc.org/?title=HOW-TO_install_XBMC_for_Linux_on_Ubuntu_8.04_(Hardy)_and_8.10_(Intrepid)_step-by-step

to build and install XBMC and everything is working fine but VDPAU itself.

I'm running Ubuntu Intrepid (amd64)

Quote:$ uname -a
Linux xbmc 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux

Got source with Subversion from
https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/xbmc-vdpau/XBMC


Compiled r18779 as shown in source status.
Quote:------------------------------------------------------------------------
r18779 | elupus | 2009-03-21 20:42:59 +0100 (sáb, 21 mar 2009) | 2 lines

changed: only lock rendermanager section when we need to on open
------------------------------------------------------------------------

NVidia driver version is 185.13. I've set framebuffer size (BIOS) of NVIDIA card to 512Mb and disabled composite.

The problem is that when I try to play the killa sample, 140% CPU is used and
frames are dropped making the video choppy. This make me guess VDPAU is not working.

Moreover, in settings, when I set video player render to "VDPAU" it stay ok,
but when I change the screen to another option, and go back to video player
render the marked option is "Software".

Could anyone point some clues? What I'm doing wrong? Is there any way to check if VDPAU in XBMC is working? I've tried vdpinfo and output seems to be normal.

Thanks in advance.

Cheers,

miguel

xorg.conf is here: http://pastebin.com/m2531119e
Xorg.0.log is here: http://pastebin.com/m69dcd886
xbmc-xbmc.log is here: http://pastebin.com/m4f3d57a


- nunu - 2009-03-22

Hello,
i come back to my troubles (http://forum.xbmc.org/showthread.php?tid=45525&page=61).
Q6600 + 8800GTS512 512Mo + 180.35 + 8.10 32 Bits

I made several compilation of XBMC to identify the regresionn and it seems that it cames with the transition 18729 -> 18732

http://trac.xbmc.org/changeset/18732/branches/xbmc-vdpau.

I use killa sample for my tests. Anmiation is perfect on 18729 but not smooth on 18732 (CPU overloaded etc...).

regards


- beefke - 2009-03-22

johnny2 Wrote:So what happens in XBMC when a 1024x576 file is played?

I have no idea, I suppose xbmc will crash (since there is no fallback to software) or at least a graphical corruption will occur

Since I don't have nvidia hardware (yet), I can't try. Maybe someone else is willing to try with such a sample?


- rodercot - 2009-03-22

r18670, r18779

Still hanging at the end of regular dvd's and will not return to library window.

r18779

crashed to desktop (closes xbmc) on several vc1 files with autorefresh on

with autorefesh off, the movies will play but are slowed down terribly and the frame drops are in the 4-600's

Dave


- rschwarz_jr - 2009-03-22

miguel Wrote:Hi all,

I'm having a problem when trying to enable VDPAU, I hope someone can lend me a hand.

I have an Acer X3200 with a dual core AMD 4850e, 3Gb RAM and a NVIDIA 9300GE PCI-e (G98).

I followed the guide

http://wiki.xbmc.org/?title=HOW-TO_install_XBMC_for_Linux_on_Ubuntu_8.04_(Hardy)_and_8.10_(Intrepid)_step-by-step

to build and install XBMC and everything is working fine but VDPAU itself.

I'm running Ubuntu Intrepid (amd64)



Got source with Subversion from
https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/xbmc-vdpau/XBMC


Compiled r18779 as shown in source status.


NVidia driver version is 185.13. I've set framebuffer size (BIOS) of NVIDIA card to 512Mb and disabled composite.

The problem is that when I try to play the killa sample, 140% CPU is used and
frames are dropped making the video choppy. This make me guess VDPAU is not working.

Moreover, in settings, when I set video player render to "VDPAU" it stay ok,
but when I change the screen to another option, and go back to video player
render the marked option is "Software".

Could anyone point some clues? What I'm doing wrong? Is there any way to check if VDPAU in XBMC is working? I've tried vdpinfo and output seems to be normal.

Thanks in advance.

Cheers,

miguel

xorg.conf is here: http://pastebin.com/m2531119e
Xorg.0.log is here: http://pastebin.com/m69dcd886
xbmc-xbmc.log is here: http://pastebin.com/m4f3d57a


I had the same problem. The only thing that worked was putting it on Auto. It seemed to use VDPAU after that. My cpu dropped to 8% so it must be.