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) - fritsch - 2013-11-22

UVD3 does use the UVD itself to decode the mpeg-2. So it does not have that issue at all.


RE: Radeon OSS with vdpau (howto) - dubsides - 2013-11-22

(2013-11-22, 15:47)fritsch Wrote: UVD3 does use the UVD itself to decode the mpeg-2. So it does not have that issue at all.

awesome! thanks so much again!


RE: Radeon OSS with vdpau (howto) - pyrodex - 2013-11-22

Since I've the leap to the Linux world from Windows I noticed a darker screen. It was recommended to make changes to the Black levels from 0-255 to 16-235 and when I did that I've noticed an occasional greying effect during video playback. Best way to describe it would be like a grey haze and then without intervention it returns to normal with different durations. Not sure if this is related to XBMC or the video drivers so looking for the best place to submit or report this bug with the setup.

NOTE: Since the pastes were taken I've upgraded to the latest kernel in the first post since I started with 1.0 and now at 4.0, however this didn't improve anything.

dmesg:
http://paste.ubuntu.com/6445386/
xbmc.log:
http://paste.ubuntu.com/6445387/
Xorg.0.log:
http://paste.ubuntu.com/6445388/
vdpauinfo:
http://paste.ubuntu.com/6445389/
dpkg w/mesa:
http://paste.ubuntu.com/6445391/

Please let me know if there is any guidance you can provide. Thanks in advance!


RE: Radeon OSS with vdpau (howto) - locomot1f - 2013-11-22

@toka,
when i experienced this, it was because I wasn't using the correct drivers.

could be something within the full install of linux mint that is interfering with the Mesa drivers...

you could try to force the drivers to load:
Code:
* To test the XvMC (e.g.) r600 driver edit the file /etc/X11/XvMCConfig and insert:
/usr/lib/dri/libXvMCr600.so

and restart the X server.

if you go to your System Info, under Video, what does it say for OpenGL vendor / versionHuh

i don't think you'll get any help around here with a full install, when this forum is specific about the mini install...


RE: Radeon OSS with vdpau (howto) - universam - 2013-11-22

(2013-11-22, 15:47)fritsch Wrote: UVD3 does use the UVD itself to decode the mpeg-2. So it does not have that issue at all.

I'm the other guy with the mpeg-2 issues, not with myth but tvheadend - should be same.

Actually I have a [AMD/ATI] Caicos [Radeon HD 6450] which has UVD3 for sure! wiki
So either radeon driver uses the wrong methode to decode with Caicos or UVD3 has the same problem...


RE: Radeon OSS with vdpau (howto) - fritsch - 2013-11-22

@universam: Your issue should in deed be a different one.

@pyrodex: Your issue is not xbmc related. In the next kernel 3.13 there will be a possibility to enable dithering for hdmi outputs, where the TV just sucks - in order to improve image quality. It is already in linus master.


RE: Radeon OSS with vdpau (howto) - libgradev - 2013-11-22

(2013-11-22, 17:42)universam Wrote:
(2013-11-22, 15:47)fritsch Wrote: UVD3 does use the UVD itself to decode the mpeg-2. So it does not have that issue at all.

I'm the other guy with the mpeg-2 issues, not with myth but tvheadend - should be same.

Actually I have a [AMD/ATI] Caicos [Radeon HD 6450] which has UVD3 for sure! wiki
So either radeon driver uses the wrong methode to decode with Caicos or UVD3 has the same problem...

I believe fritsch is referring to me!

The original patch for MPEG-2 (hasn't fixed it) is here: http://cgit.freedesktop.org/mesa/mesa/commit/?id=754eb6a67de83c3045fdfb30794f76b3b0124687

My bugreport is here: https://bugs.freedesktop.org/show_bug.cgi?id=71796

Pop along and add your voice to it!

@fritsch I don't forget things, I just get sidetracked sometimes ;D


RE: Radeon OSS with vdpau (howto) - pyrodex - 2013-11-22

(2013-11-22, 19:27)fritsch Wrote: @pyrodex: Your issue is not xbmc related. In the next kernel 3.13 there will be a possibility to enable dithering for hdmi outputs, where the TV just sucks - in order to improve image quality. It is already in linus master.

Thanks! Will this be compiled or pulled by you with your releases you are offering from the dropbox or should I compile this myself to test out the fix?


RE: Radeon OSS with vdpau (howto) - fritsch - 2013-11-22

I won't release any further kernels. At the End of November this howto will be obsolete, as all the bits are either a) in mainline xbmc b) in linux kernel c) in mesa.


RE: Radeon OSS with vdpau (howto) - libgradev - 2013-11-22

(2013-11-22, 21:20)fritsch Wrote: I won't release any further kernels. At the End of November this howto will be obsolete, as all the bits are either a) in mainline xbmc b) in linux kernel c) in mesa.

Ohhh, does that mean a Gotham release is close-ish then?!


RE: Radeon OSS with vdpau (howto) - toka - 2013-11-22

@locomot1f

Thanks for your help. glxinfo says
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 an AMD PALM
OpenGL core profile version string: 3.1 (Core Profile) Mesa 10.0.0-devel

tried your suggestion r600 as well, no changes.

@fritsch
tried ubuntu mini. can't install it. after selecting "install" from the start menu, my usb keyboard doesn't work anymore.

(2013-11-22, 21:20)fritsch Wrote: I won't release any further kernels. At the End of November this howto will be obsolete, as all the bits are either a) in mainline xbmc b) in linux kernel c) in mesa.

Ooohkey. Can you suggest me what i should do at the end of November? I need a "usable" desktop linux with fluent xbmc on my AMD Radeon 6320 machine. Do I have to catch an ubuntu based linux version with kernel number X (will it be 3.13 then?), install xbmc gotham and I'm good to go?

Thank you for your effort.


Edit: my solution i found while waiting in case someone's got the same problem: fritch was right, linuxmint (cinnamon in my case) was a too "full blown" installation. tried xubuntu 13.10 and redid the howto from page 1 -> everything went well. Can't tell if it's really just the window manager that makes a difference though.


RE: Radeon OSS with vdpau (howto) - fritsch - 2013-11-22

The answer is yes.

- If all goes well, you can just use kernel 3.13 from ubuntu mainline archive
- Use xbmc from official team xbmc repo
- Install mesa from either wsnipex or somewhere else.


RE: Radeon OSS with vdpau (howto) - toka - 2013-11-22

Sounds great. Then I'll wait for the "go, it's out there". Thanks again.


RE: Radeon OSS with vdpau (howto) - Kib - 2013-11-23

(2013-11-22, 21:26)libgradev Wrote: Ohhh, does that mean a Gotham release is close-ish then?!

http://xbmc.org/gotham-13-0-feature-freeze/


RE: Radeon OSS with vdpau (howto) - RedCat - 2013-11-23

fritsch:I found out what is causingmy htpc sleep problem. Missing a package: pm-utils
After apt-get install pm-utils, my htpc can sleep Smile
Pls upgrade first post.

Thx for help.