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) - uuzi - 2014-02-06

just a quick question, i've already asked in another thread specific to this setup but i had an idea that it may have something to do with the setup i used from this tutorial.

all info is here: http://forum.xbmc.org/showthread.php?tid=153801&pid=1620906#pid1620906

i can't seem to get SD channels to work. HD channels work just fine but SD channels crash xbmc. i thought it may have something to do with mpeg2 not being properly decoded?

any thoughts?

thx in advance


RE: Radeon OSS with vdpau (howto) - uuzi - 2014-02-06

sorry repost


RE: Radeon OSS with vdpau (howto) - emmjott - 2014-02-07

Hi there,

i just wanted to ask if there is already a release date for libg3dvl-mesa for Ubuntu 14.04 in the wsnipex mesa ppa?
As of now, i have a perfectly working XBMC 13 VDPAU build with radeon oss drivers on the Trusty Alpha 2 release, yet i had to install libg3dvl-mesa from the oibaf graphics-drivers ppa. Nod

Regards,
Markus


RE: Radeon OSS with vdpau (howto) - mikefreeman - 2014-02-07

undefined


RE: Radeon OSS with vdpau (howto) - wsnipex - 2014-02-07

(2014-02-07, 03:35)emmjott Wrote: Hi there,

i just wanted to ask if there is already a release date for libg3dvl-mesa for Ubuntu 14.04 in the wsnipex mesa ppa?
As of now, i have a perfectly working XBMC 13 VDPAU build with radeon oss drivers on the Trusty Alpha 2 release, yet i had to install libg3dvl-mesa from the oibaf graphics-drivers ppa. Nod

Regards,
Markus

no, I didn't have time to port all the DRI3 dependencies yet. Oibaf just builds without that.


RE: Radeon OSS with vdpau (howto) - libgradev - 2014-02-07

(2014-02-06, 20:37)uuzi Wrote: just a quick question, i've already asked in another thread specific to this setup but i had an idea that it may have something to do with the setup i used from this tutorial.

all info is here: http://forum.xbmc.org/showthread.php?tid=153801&pid=1620906#pid1620906

i can't seem to get SD channels to work. HD channels work just fine but SD channels crash xbmc. i thought it may have something to do with mpeg2 not being properly decoded?

any thoughts?

thx in advance

Yup, you're tripping the MPEG-2 VDPAU bug (happens with certain cards)... https://bugs.freedesktop.org/show_bug.cgi?id=71796

This was showing improvement with 10.1-devel see here: http://forum.xbmc.org/showthread.php?tid=174854&pid=1613084#pid1613084


RE: Radeon OSS with vdpau (howto) - blm14 - 2014-02-07

Quick question - when will this code get into mainline? In time for gotham? And when it ultimately does, will there be support (software decode maybe?) for those WMV files that seem to never be playable? Other than that I am loving this new code. Runs on my APU fantastically, thanks a lot for all the hard work!


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-02-07

It's already in ... and a PR to "deselect" specific codecs is also currently on github.

Most packages of this howto help users to install Mesa + vdpau packages, which Ubuntu - even 14.04 refuses to ship.


RE: Radeon OSS with vdpau (howto) - Packet Loss - 2014-02-07

I've been running smooth since initial build using this guide, however haven't updated mesa yet but doesn't appear I need to as I'm already getting great performance on an A6 6400k.

However I do notice a high volume of the following error which doesnt appear to be affecting playback, before I post the full debugs I thought I'd check if anyone knows.

15:06:32 T:140473926665984 ERROR: VDPAU::COutput error mapping surface
15:06:32 T:140473926665984 ERROR: VDPAU::COutput error mapping surface
15:06:32 T:140473926665984 ERROR: VDPAU::COutput error mapping surface
15:06:32 T:140473926665984 ERROR: VDPAU::COutput error mapping surface
15:06:32 T:140473926665984 ERROR: VDPAU::COutput error mapping surface
15:06:32 T:140473926665984 ERROR: VDPAU::COutput error mapping surface


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-02-07

Post logfiles as the first page wants you to do.


RE: Radeon OSS with vdpau (howto) - Packet Loss - 2014-02-07

(2014-02-07, 17:09)fritsch Wrote: Post logfiles as the first page wants you to do.

Yeah yeah I know, thought it would be a quickie, I'll post Wink

root@LISA:/home/xbmc/.xbmc/temp# dmesg|pastebinit
http://paste.ubuntu.com/6891766/
root@LISA:/home/xbmc/.xbmc/temp# cat xbmc.log |pastebinit
http://paste.ubuntu.com/6891765/
root@LISA:/home/xbmc/.xbmc/temp# cat /var/log/Xorg.0.log|pastebinit
http://paste.ubuntu.com/6891774/
root@LISA:/home/xbmc/.xbmc/temp# DISPLAY=:0 vdpauinfo|pastebinit
http://paste.ubuntu.com/6891775/


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-02-07

Please update your xbmc, you are on a January 20th build which had some "experimental AMD unmapping / mapping fixes" which were not 100% right.

If you are at it, make sure you run 10.0.3 mesa by wsnipex (you did not post those) cause there we included the 1.5 times faster "performance fix" by christian of amd.


RE: Radeon OSS with vdpau (howto) - Packet Loss - 2014-02-07

Many thanks fritsch for taking a look at this!

The XBMC update seems to have done the trick, not had a single error yet and typically these would of been almost instantaneous.

I'd been following the mesa updates via this thread but is it under a different ppa as apt is telling me its up to date?


RE: Radeon OSS with vdpau (howto) - fritsch - 2014-02-07

dpkg -l |grep mesa will tell


RE: Radeon OSS with vdpau (howto) - Packet Loss - 2014-02-07

I know it's not the latest as I hadn't updated since I built this system on the 20th January but apt states its up to date

ii libg3dvl-mesa 10.0~git1310201320.c325aa5d+glvdpau~raring amd64 xvmc and vdpau Gallium3D video acceleration drivers

root@LISA:/etc/apt/sources.list.d# more wsnipex-mesa-raring.list
deb http://ppa.launchpad.net/wsnipex/mesa/ubuntu raring main

Maybe because I'm still running Raring?