Kodi Community Forum
Linux Radeon OSS with vdpau (howto) - 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: Linux Radeon OSS with vdpau (howto) (/showthread.php?tid=174854)



RE: Radeon OSS with vdpau (howto) - deadite66 - 2013-12-07

from googling it looks like xbmcbuntu-12.2 is ubuntu 13.04 based, you need a 13.10 based system.


RE: Radeon OSS with vdpau (howto) - Mysqo - 2013-12-07

(2013-12-07, 19:28)deadite66 Wrote: from googling it looks like xbmcbuntu-12.2 is ubuntu 13.04 based, you need a 13.10 based system.

Ok but if i upgrade the system using regular upgrade method: do-release-upgrade -d
it should work to use the mesa upgrade? in those two steps?


RE: Radeon OSS with vdpau (howto) - laric - 2013-12-07

(2013-12-07, 19:38)Mysqo Wrote: Ok but if i upgrade the system using regular upgrade method: do-release-upgrade -d
it should work to use the mesa upgrade? in those two steps?

It might work.. But it is better if you start from scratch as an xbmcbuntu installs fglrx and that doesn't always come away cleanly. And secondly you won't get any support here when you don't base it on the 13.10 x64 mini.iso Smile


RE: Radeon OSS with vdpau (howto) - beigeman - 2013-12-07

Just wanted to say a quick thank you! Took the plunge moving across to a full open source software stack on my media PC today, and this guide worked great. I had some trouble with the the minimal saucy ISOs refusing to detect any of my USB keyboards - but grabbing a raring one and upgrading with do-release-upgrade on the command line after the install worked fine.

Having the HDMI audio is awesome, and my idle CPU usage dropped from around ~25% to ~6%, which should save me a nice chunk of juice!

Big thanks to both the devs and those sharing their expertise!


RE: Radeon OSS with vdpau (howto) - mystefix - 2013-12-08

deleted


RE: Radeon OSS with vdpau (howto) - laric - 2013-12-08

(2013-12-08, 00:54)mystefix Wrote: there is a small typo in the howto on the first post:

thanks for the really good work as we get all these features now Smile

It is quite right the way it is now.... you are wrong as far as I can see..


if you refer to apt-add-repository vs add-apt-repository then that is kinda moot as there is a symlink between them.


RE: Radeon OSS with vdpau (howto) - Mysqo - 2013-12-08

Awesome, just made an upgrade to this version.
Thanks for a very good job...


RE: Radeon OSS with vdpau (howto) - gradinaruvasile - 2013-12-08

Just a question:

Why does xbmc play a dvd encoded with mpeg2
- WITHOUT vdpau acceleration when i play the disc directly or play the copied VIDEO_TS folder (using ff-mpeg2video ccodec) and
- WITH vdpau (using ff-mpeg2video-vdpau codec) if i play the .VOB file directly (VTS_01_1.VOB)?


RE: Radeon OSS with vdpau (howto) - deadite66 - 2013-12-08

from what i searched a little while back it's due to using overlays with the DVD menus which doesn't work with hardware decoding, so software decode only with DVD.


RE: Radeon OSS with vdpau (howto) - fritsch - 2013-12-08

The exact reason you find here: https://github.com/xbmc/xbmc/pull/399


RE: Radeon OSS with vdpau (howto) - gradinaruvasile - 2013-12-08

(2013-12-08, 20:23)fritsch Wrote: The exact reason you find here: https://github.com/xbmc/xbmc/pull/399

Well. Now i get it.
D/l ed the clip from the link on that list and attempting to play it i got a gpu reset loop with xbmc where i had to restart and a "softer" gpu reset with mplayer (after 3 times partially playing the file with no problems except garbled green images) where i managed to kill -9 it and x recovered.
Now until now i had no issues with mpeg2 clips, i have some SD dvds that have no issues and so far all mpeg2 clips i downloaded worked ok with vdpau. Probably there is a certain format vdpau doesnt like.

Posted a "me too" on the mpeg2 gpu reset bug list with dmesg and all. I have an A8-5500 APU with Radeon 7560D IGP.


RE: Radeon OSS with vdpau (howto) - fritsch - 2013-12-08

na! that's something else. And don't post "me too" ... That's a bug tracker.


RE: Radeon OSS with vdpau (howto) - gradinaruvasile - 2013-12-08

(2013-12-08, 22:00)fritsch Wrote: na! that's something else. And don't post "me too" ... That's a bug tracker.

It was figurative speech. The problem is that a driver should NOT be allowed in any circumstances to mess up something that doesnt belong to the program that causes the error condition (crash the video player for example in worst case, but not the whole session). Being mpeg2 related error i figured it belongs there (does it have a separate bug?).


RE: Radeon OSS with vdpau (howto) - fritsch - 2013-12-09

Concerning Limited Range, have a look here: https://github.com/xbmc/xbmc/pull/3793

That should work fine with xbmc's internal 16..235 option.


RE: Radeon OSS with vdpau (howto) - fritsch - 2013-12-09

All the patches mentioned in this thread are now in drm-intel-nightly, available here: http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-intel-nightly/current

I will stop building new kernels starting right now. All remaining bugs, that are still in 3.13-rc3 _need_ to be filed upstream, so that we can get a perfectly working 3.13 kernel in time of release.