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)



- SofaKng - 2009-03-05

That's weird. I also got a bunch of compile errors but when I restarted make it's going along with just now.


- 3guk - 2009-03-05

Just wanted to say, just tried out this on my Ubuntu box and it is awesome, even though I can't really contribute much as a developer, this is the sort of development that makes XBMC no1


- MrIcka - 2009-03-05

I can't get it to work perfect. I'm running a motherboard with Geforce 8300 and my 3200+ Athlon @ 2000Ghz. It decodes 1080p nice when I run XBMC in 720p resolution but when I go 1080 in XBMC i get alot of frame drops and a jerky play =\

This is on Ubuntu 8.10 with Nvidia 180.35 drivers.


- papaf - 2009-03-05

As stated before, in order to play 1080 content you have to be sure your videocard has 512Mb available. Check your BIOS settings.


- Katagia - 2009-03-05

Why is that high amount of video ram neccessarry?

4MB Videoram is enough for 1024x768x24bitx100Hz. 1920x1080x24bit has x2,63 times more pixel. 16MB Video Ram should be really enough to handle 1080p.

The next lower video ram would be 256MB. Does vdpau really require more than 240MB of video ram? I can't understand that.

Modern GPUs require this large amount of ram to cache textures etc but this shouldn't be needed in video playback.


- motd2k - 2009-03-05

Katagia, the decoding is taking place on the GPU. The GPU therefore needs to store not only the surface that you're rendering to, but also part of the video stream. Read up on the x264 specs and you'll see why this amount of RAM is necessary, particularly at level 4.1 and higher.

(PS... 16MB for 1080p - sorry.. but lol!)


- ashlar - 2009-03-05

mot2k, two questions:

1) Will this development work nicely with the work being done on the Smoothvideo branch?

2) Will 512MB (I have an 8800GT) be 100% guarantee for all 1080p content?


- DDM123 - 2009-03-05

Not sure how, but I got a 1080p x264 file to play perfectly on a 8400 GS with 256mb RAM and VDPAU. It used a mere 5% CPU time on my Core 2 Duo @ 2.1 Ghz


- succo - 2009-03-05

just a little request, as many are running xbmc-vdpau together with xbmc 'pure'... could it be possible to edit Makefile.in to install a differently named startup script, so that if i make install on xbmc-vdpau i don't get pure xbmc overwritten?
it's a mere substitution of
Code:
@echo "Copying XBMC binary to $(prefix)/share/xbmc/xbmc.bin"
        @cp -f xbmc.bin $(prefix)/share/xbmc/xbmc.bin
        @mkdir -p $(prefix)/bin
        @cp tools/Linux/xbmc.sh $(prefix)/bin/xbmc
        @cp tools/Linux/FEH.py $(prefix)/share/xbmc/FEH.py
        @chmod 755 $(prefix)/bin/xbmc
        @echo "Copying support and legal files,,,"
        @cp README.linux LICENSE.GPL *.txt xbmc-xrandr $(prefix)/share/xbmc/
        @echo "Done!"
        @echo "You can run XBMC with the command 'xbmc'"

with
Code:
@echo "Copying XBMC binary to $(prefix)/share/xbmc/xbmc.bin"
        @cp -f xbmc.bin $(prefix)/share/xbmc/xbmc.bin
        @mkdir -p $(prefix)/bin
        @cp tools/Linux/xbmc.sh $(prefix)/bin/xbmc-vdpau
        @cp tools/Linux/FEH.py $(prefix)/share/xbmc/FEH.py
        @chmod 755 $(prefix)/bin/xbmc-vdpau
        @echo "Copying support and legal files,,,"
        @cp README.linux LICENSE.GPL *.txt xbmc-xrandr $(prefix)/share/xbmc/
        @echo "Done!"
        @echo "You can run XBMC with the command 'xbmc-vdpau'"
in Makefile.in, so that xbmc will be run with xbmc and xbc-vdpau with xbmc-vdpau
the only problem would be that this way xbmc-vdpau will look for stuff in ~/.xbmc and write its own settings there, but i don't know how much of a problem that would be


- shagworthy_uk - 2009-03-05

Hi,

Not sure if you track bugs through Trac for this branch so I will post here, i appologise if it is the wrong place.

In SVN 18219 - 18246 When ever a video ends (so watched the whole file) it bombs out back to the desktop. Also any video (HD or SD) takes a bit longer to start and sometimes just black screen (or static frame from the video) with the audio playing.

In SVN 18158 everything seems perfect, video starts first time almost everytime, and finishes and drops back to the xbmc menu. This version is my fall back version as it does everything for that i have tried with all the VDPAU goodness! Even the killa sample is perfect as far as my eyes can tell! 1 Frame dropped and that is upon start of the video.

The debug log is here for SVN 18246 issue:
http://pastebin.com/m4ea183ea

I am running the nvidia 180.29 drivers still as the 180.35 drivers dont seem to be in any PPA yet and i always have issues installing nvidia drivers, I always mess something up.

Thanks for all your hard work on this branch, hardware acceleration is awesome! Cant wait for the first small form factor machine with a capable NVIDA chipset to come out so i can replace my big a55 machine with something tiny like an eee box!


- tslayer - 2009-03-05

If you read back a bit, the 180.35 are required with some recent changes to VDPAU branch.


- shagworthy_uk - 2009-03-05

Fair enough. Thought that might be the case. I will wait for the PPA of 180.35 and try again, but i have a version that works perfect in the mean time so im happy. Thanks!


- shagworthy_uk - 2009-03-05

OK, now running 180.35 (found another PPA) and it does the same thing.

in the debug log it ends with:
20:00:23 T:3050182464 M: 59293696 ERROR: (pthread_mutex_destroy(&m_mutex)): [XCriticalSection.cpp:86] 16

Debug Log: http://pastebin.com/d1ad53fe


- olympia - 2009-03-05

shagworthy_uk Wrote:OK, now running 180.35 (found another PPA) and it does the same thing.

in the debug log it ends with:
20:00:23 T:3050182464 M: 59293696 ERROR: (pthread_mutex_destroy(&m_mutex)): [XCriticalSection.cpp:86] 16

Do you want me to post another debug log or will the first suffice?

exactly the same here.

Debug log:
http://pastebin.com/m74e068df


- asandir - 2009-03-06

shagworthy_uk Wrote:Fair enough. Thought that might be the case. I will wait for the PPA of 180.35 and try again, but i have a version that works perfect in the mean time so im happy. Thanks!

You could consider this ppa - http://www.avenard.org/media/Ubuntu_Repository/Ubuntu_Repository.html

I haven't tried them though.