Kodi Community Forum

Full Version: Radeon OSS with vdpau (howto)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
UVD3 does use the UVD itself to decode the mpeg-2. So it does not have that issue at all.
(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!
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!
@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...
(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...
@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.
(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/co...b3b0124687

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
(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?
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.
(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?!
@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.
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.
Sounds great. Then I'll wait for the "go, it's out there". Thanks again.
(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/
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.