Skip to contentSkip to conversation

New: UVD acceleration does not properly detect kernel support

Bug 63714 [email protected] 1 participant 5 messages Apr 19, 2013 – Apr 22, 2013

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=63714

Priority: medium
Bug ID: 63714
Assignee: [email protected]
Summary: UVD acceleration does not properly detect kernel
support
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Drivers/Gallium/r600
Product: Mesa

Created attachment 78220
--> https://bugs.freedesktop.org/attachment.cgi?id=78220&action=edit
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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 63714] UVD acceleration does not properly detect kernel support

https://bugs.freedesktop.org/show_bug.cgi?id=63714

--- Comment #1 from Alex Deucher <[email protected]> ---
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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 63714] UVD acceleration does not properly detect kernel support

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=63714

Christian König <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #2 from Christian König <[email protected]> --- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 63714] UVD acceleration does not properly detect kernel support

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=63714

--- Comment #3 from [email protected] ---
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!

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 63714] UVD acceleration does not properly detect kernel support

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=63714

Christian König <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED

--- Comment #4 from Christian König <[email protected]> --- k, then let's close this tracker.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel