Bug 63702

Summary: tiling2d in radeon trash vdpau UVD textures
Product: Mesa Reporter: Rafael Castillo <jrch2k10>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: CLOSED FIXED QA Contact:
Severity: blocker    
Priority: highest    
Version: git   
Hardware: x86-64 (AMD64)   
OS: other   
Whiteboard:
i915 platform: i915 features:
Attachments: image of the corruption
Possible fix

Description Rafael Castillo 2013-04-19 01:49:07 UTC
Created attachment 78204 [details]
image of the corruption

after update today to enable 2dcolortling UVD show extreme corruption

OS: 
Gentoo

my PC:
GPU: 
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Cape Verde XT [Radeon HD 7770 GHz Edition]

Mesa:
Git llvm-compiler Opencl
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD CAPE VERDE
OpenGL version string: 2.1 Mesa 9.2.0 (git-d0e9aaa)
OpenGL shading language version string: 1.20

Dmesg:
clean of CS errors

VDPAU:
clean of CS or any errors on Mplayer2

LLVM:
3.3 svn same mesa day with r600 support

Kernel:
kernel a5gfd drm-next-3.10-wip

Fix: can't find any even disable colortiling and colortiling2D corruption persist

Xorg:
Glamor Accel

if someone can direct me in how to debug VDPAU i could provide more helpful information

Attached image showing corruption:

additionally not related to this issue but persistant since im testing:

Mpeg1 is corrupted always
divx present minimal corruption
h264 + VC1 black screen[maybe 10bit]
WMV.X hang gpu
Comment 1 Rafael Castillo 2013-04-19 01:56:45 UTC
could be this patch too radeonsi: add support for compressed texture v2
Comment 2 Rafael Castillo 2013-04-19 01:58:06 UTC
or this one st/mesa: optionally apply texture swizzle to border color v2
Comment 3 Christian König 2013-04-19 14:07:10 UTC
That just looks like incorrect tilling parameters, what did you do to trigger that?

Did you update anything? Different parameters?
Comment 4 Rafael Castillo 2013-04-19 14:41:15 UTC
i just emerged mesa/drm/llvm git i did not modify the source code
Comment 5 Rafael Castillo 2013-04-24 02:24:47 UTC
you need any additional info or debug info on this issue (please include instructions)??
Comment 6 Christian König 2013-04-24 08:11:12 UTC
Created attachment 78408 [details] [review]
Possible fix

Oh sorry, the fix is on the maillinglist for over a week. Just forgotten to attach it to this bugreport as well.

Christian.
Comment 7 Rafael Castillo 2013-04-24 15:35:38 UTC
very nice thx, ill test tonight and share the result, thank you very much for your time
Comment 8 Rafael Castillo 2013-04-25 02:28:29 UTC
effectively this patch restore UVD to its previous state, thx

on another subject since the begin Mpeg1 and WMV3 does not work [mpeg1 green block and random color blocks dancing ] and WMV3[blackscreen and few secs later high chance of hard lock]

h264, divx and Mpeg2 works peachy so far, should i open another bug report? you need any info or example or debug info?

again thanks for your dedication
Comment 9 Christian König 2013-04-25 07:11:13 UTC
If you got other bugs then please open up a new bug report.

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.