Created attachment 78220 [details] [review] udv_fix.patch Hardware: AMD E-350 00:01.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Wrestler [Radeon HD 6310] 1) Kernel 3.9.0-rc7 + uvd v3 patches (Gentoo self compiled) 2) Libdrm-2.4.44 3) Mesa master git: e87015f5089a2c4a99e0288e1adeeabb5a7ca7e3 4) Xorg-server-1.13.4 5) ddx: xf86-video-ati git: 6e74aacc5e5da3b51744153dad1645caa6ea4ce3 I have been able to use UVD acceleration when it first appeared using mesa v2 of UVD code, but from the time it has been introduced in the mesa mainline with v5 it does not work anymore. I believe it has to do with mesa not properly detecting kernel support "[ 1.638460] [drm] UVD initialized successfully." and reverting to the vdpau support in shaders. Could it be that it requires some kernel option I am missing? As I have been trying to find exact reason I revered some changes that has been introduced in mesa after v2 and it works again. I am not sure if all of those are needed or which change in particular by itself would be enough but any way it gets it working again so it is in there somewhere
You are probably using an old set of kernel patches. There were several revisions. The mesa code checks to see if the kernel is new enough and the latest kernel patch revision bumps the kernel driver version. You can get everything you need from my kernel tree: http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-3.10
That indeed just sounds like you're kernel is outdated. The kernel interface changed while merging the patches and the patches in mesa uses the end result in drm-next-3.10, so it is highly likely that you just have a outdated kernel.
yes it in did seems like a coding frenzy took place in recent days ;). using kernel 3.9.0-rc7 and applying around ~50 newest patches from http://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-3.10 tree (which was way more then I originally found in the drm mailing list) did not require any changes in mesa to make uvd work again Thanks for great work!
k, then let's close this tracker.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.