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) - wsnipex - 2014-02-01

unimatrix27: http://cgit.freedesktop.org/mesa/mesa/log/
http://cgit.freedesktop.org/mesa/drm/
linux kernel, etc


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

(2014-01-31, 12:59)kEph13 Wrote: I'm using the Gallium developers' PPA: ppa:oibaf/graphics-drivers.

That's your problem. All you get is a black surface, nothing else. Follow the howto. We had a reason to package ourselves.


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

Btw. we recently switched to ffmpeg 2.x (thx to wsnipex and fernetmenta). Happy testing for proper HEVC / VC-1 interlaced (sw decoding support). No changes for VDPAU obviously, just informal.


RE: Radeon OSS with vdpau (howto) - schnappi - 2014-02-01

(2014-01-26, 12:46)schnappi Wrote: moin fritsch,
unfortunately after booting my ubuntu I immediately enter root console with only possible action ctrl+d to reboot Sad
I will definitely havte to reinstall ubuntu 13.10 but question is if it is worth to fiddle around with radeon at the moment or immediately use fglrx regarding 3D acceleration...

I finally got vdpau working, needed to format disk completely and reinstall.
oibafs ppa is not working as well, I only had sound without video.

unfortunately I encouter the same sound problems I had with XVBA and fglrx, sound is interrupted heavily by scraping/squeaking. no problems with that on windows+xbmc.
any ideas about that?
I already tried your marantz.edid (I own an SR5007) but no change Sad


RE: Radeon OSS with vdpau (howto) - locomot1f - 2014-02-01

@schnappi -- question, are you using passthrough?


i believe this is a known issue with linux + passthrough
i too am having the same issues.


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

It's not a linux issue. It works fine for me on my intel / nvidia setups. It should also work with the correct mesa packages on AMD hardware (currently those in wsnipex test ppa, which is again the stable mesa version 10.0.2).


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

I just updated the mesa ppa:
- Mesa was _downgraded_ to 10.0.2 stable
- LLVM upgraded to 3.4 stable
- X drivers and glamor updated to recent git versions


RE: Radeon OSS with vdpau (howto) - schnappi - 2014-02-01

(2014-02-01, 18:28)locomot1f Wrote: @schnappi -- question, are you using passthrough?


i believe this is a known issue with linux + passthrough
i too am having the same issues.
yes, I do. did you find a workaround?

(2014-02-01, 19:03)fritsch Wrote: It's not a linux issue. It works fine for me on my intel / nvidia setups. It should also work with the correct mesa packages on AMD hardware (currently those in wsnipex test ppa, which is again the stable mesa version 10.0.2).
with my integrated intel hda it also works flawlessly! just amd is troublesome...


RE: Radeon OSS with vdpau (howto) - unimatrix27 - 2014-02-01

i have not encountered any passthrough issues after installing my AMD Kavari box following the howto with XBMC and using DTS. of course no long-time-testing but watched 2 movies without any interruptiono whatsoever.

@wsnipex Thanks for the hints/references above!


RE: Radeon OSS with vdpau (howto) - schnappi - 2014-02-01

(2014-02-01, 20:53)unimatrix27 Wrote: i have not encountered any passthrough issues after installing my AMD Kavari box following the howto with XBMC and using DTS. of course no long-time-testing but watched 2 movies without any interruptiono whatsoever.

@wsnipex Thanks for the hints/references above!
good to know that in principle it works.
I am using not an APU but a dedicated AMD HD7850 gpu. I have no idea why I face this strange bug but it happens neither with my integrated intel hd and vaapi nor with the HD7850 on win7 using xvba.

any suggestions for logs? I get no obvious error message...


RE: Radeon OSS with vdpau (howto) - locomot1f - 2014-02-01

(2014-01-17, 18:39)fritsch Wrote: @locomot1f: Sadly I don't know. The code is correct - it works on all platforms despite Ubuntu :-( Will need to find some time to fiddle with the PA modules on ubuntu.

this is what i was referring to as for the passthrough. did I read this wrong?


RE: Radeon OSS with vdpau (howto) - schnappi - 2014-02-01

just a small note: with "software encoding" meaning without vdpau sound is fine in ubuntu.
latest update of wsnipex mesa didn't help either...


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

(2014-02-01, 23:35)locomot1f Wrote:
(2014-01-17, 18:39)fritsch Wrote: @locomot1f: Sadly I don't know. The code is correct - it works on all platforms despite Ubuntu :-( Will need to find some time to fiddle with the PA modules on ubuntu.

this is what i was referring to as for the passthrough. did I read this wrong?

Yes. That was for PulseAudio _only_


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

sorry, i should have mentioned that i do not use audio over HDMI but I use optical out so my working configuration might not say anything.


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

Hi! I'm having an issue with XBMC, the problem is that when i try to play some videos nothing happens, but other videos work without any problem. When I enable the GUI debug i can see that when i try to play the video XBMC starts using a lot of RAM ( like if it has loaded the video ) and never decrease the usage. I tried using the multi-thread mode, to disable the hw acceleration but nothing changed.


I have a Zotac Nano AD12 with an AMD E2 1800 and i'm using Ubuntu 13.10. I followed all the steps in the guide so i'm using ppa:wsnipex/mesa, ppa:wsnipex/xbmc-fernetmenta-master and Kernel 3.13.1

The video use H264 - MPEG - 4 AVC video codec and MPEG ACC audio codec. I can play it without any problem with other players.

My Info:

% dmesg | pastebinit
http://paste.ubuntu.com/6858146/

% cat ~/.xbmc/temp/xbmc.log | pastebinit
http://paste.ubuntu.com/6858147/

% cat /var/log/Xorg.0.log | pastebinit
http://paste.ubuntu.com/6858148/

% DISPLAY=:0 vdpauinfo | pastebinit
http://paste.ubuntu.com/6858149/

% dpkg -l |grep mesa | pastebinit
http://paste.ubuntu.com/6858150/