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-12-04

Ah that one. Will add. I mixed you with the "speaker allocation mask guy".


RE: Radeon OSS with vdpau (howto) - libgradev - 2013-12-04

Oi Tongue

Thanks Smile


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

For the artifacts guys: https://bugs.freedesktop.org/show_bug.cgi?id=60389


RE: Radeon OSS with vdpau (howto) - locomot1f - 2013-12-04

@fritsch,

?uestion... Alex put out another patch for the artifacts problem.

how would I patch this to the current kernel -- that I'm running from the first post?
can I use the command:
cp /boot/config-3.12.0+

and follow the rest of the step? or do I need another git repo Huh

----------------------------------------------------------------------------
i think i got it... i'll keep you posted.


RE: Radeon OSS with vdpau (howto) - jaapp - 2013-12-04

Come on my friend. That has been explained to you just a few posts back. Don't be lazy.

http://forum.xbmc.org/showthread.php?tid=174854&pid=1565732#pid1565732
http://forum.xbmc.org/showthread.php?tid=174854&pid=1565776#pid1565776

Just use a tagged version from fritsch's repo.


RE: Radeon OSS with vdpau (howto) - locomot1f - 2013-12-04

little patience please.... i don't do this on a daily/weekly basis. Undecided

i don't see a "tagged" version on - https://github.com/fritsch/linux
i'm using - https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/?h=linux-3.12.y

is this wrong?
i can't use the 3.13, cause i already know that this version does not work for me.

i'm not very clear on what this line does:
Code:
cp /boot/config-3.13.0-031300rc2-generic .config

in reference to what git repo i use... does it matter which repo i use?


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

@locomotif: Currently building at home, already pushed it to my tree, so just follow the howto.


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

And here again, new kernels for the lazy ones.

Code:
wget https://dl.dropboxusercontent.com/u/55728161/linux-image-3.13.0-rc2%2B_0.3_amd64.deb https://dl.dropboxusercontent.com/u/55728161/linux-headers-3.13.0-rc2%2B_0.3_amd64.deb
sudo dpkg -i *13*0.3*deb
Changes see github

Edit: Make triple sure, that you boot that new kernel. As the mainline -rc1 kernel appears newer to update-grub.


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

(2013-12-04, 19:45)locomot1f Wrote: i'm not very clear on what this line does:
Code:
cp /boot/config-3.13.0-031300rc2-generic .config
The kernel is very customizable with a vast array of drivers, they can be compiled into the kernel or made into a module and loaded as needed.
unless you have knowledge of what settings to use it's easier to copy the config the ubuntu devs made to the kernel source we're about to compile.

/boot/config-3.13.0-031300rc2-generic is just a text file, open it in a reader and have a look.


(2013-12-04, 19:45)locomot1f Wrote: in reference to what git repo i use... does it matter which repo i use?

you could use http://cgit.freedesktop.org/~airlied/linux/?h=drm-fixes instead but you'd have to add in some patches that fritsch has already added to his.


RE: Radeon OSS with vdpau (howto) - locomot1f - 2013-12-04

@fritsch,
okay, i'm confused, was that kernel / comment for meHuh or am i to take you literally and use the kernel on the first post?
getting lost in what's for me, and if you feel that i'm lazy...
i can't use the 3.13 kernel...

i need this patch built again the 3.12 kernel.... is this possible?
my system doesn't even completely load with this kernel.
still getting the message about missing firmware.

i can't get you log files, cause I have no way
on my screen i get:
Code:
*ERROR* UVD not responding, trying to reset the VCPU!!!
this repeats until it gives up
then it says:
Code:
*ERROR* radeon: failed initializing UVD (-1)



RE: Radeon OSS with vdpau (howto) - jaapp - 2013-12-04

Strangely enough this last kernel(3.13-rc2 0.3) made my Live TV stream jerky. I reverted back to v 3.13-rc2 0.2 because if I mess up my GF's soap viewing experience there will be consequences...


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

@jaapp: Good catch, report this in the bugreport where it is coming from and provide some logs. I also have no luck for now with my Kabini and 3.13 - but no kernel faults detected.

Curious on the "Artifacts" People.


RE: Radeon OSS with vdpau (howto) - fatalsaint - 2013-12-04

(2013-12-04, 22:15)fritsch Wrote: Curious on the "Artifacts" People.

I've been following this thread for some time now as I wanted the Bitstream Audio for my sound system with an AMD A6-6400K.

But, I've been suffering the terrible Artifact problem since I started using the Radeon drivers so I've been monitoring this thread and the bug reports every day as it's extremely frustrating. I'm using Arch Linux though (so not this specific guide), with mesa10-git, xbmc-git, linux-mainline, etc from AUR to get all of these patches from upstream.

Today a new patch was released at this bug report by Alex Deucher (which the previous bug report in this thread was marked a duplicate of, as of today):
https://bugs.freedesktop.org/show_bug.cgi?id=60389

Here:
https://bugs.freedesktop.org/attachment.cgi?id=90247

I plan to try it as soon as I get home, no one has confirmed it yet on the bug report. But, if someone else suffering the artifact issues on here can do it before I get home and confirm/deny then that's cool too.

Edit: Sorry, missed your post last page with that link. Will update when I can try it.


RE: Radeon OSS with vdpau (howto) - locomot1f - 2013-12-04

using the kernel from the first post, the artifacts still remain...

but then, i'm not sure if that kernel has the patch....


RE: Radeon OSS with vdpau (howto) - beschmid - 2013-12-04

Geesh. I didn't know I was lazy. Guess I will proceed as a lazy ass from now on. Wink