Bug 93740 - weston client egl corruption above certain window size since radeonsi: Enable DCC.
Summary: weston client egl corruption above certain window size since radeonsi: Enable...
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-16 22:36 UTC by Andy Furniss
Modified: 2016-07-02 22:44 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Andy Furniss 2016-01-16 22:36:05 UTC
Apologies if this isn't a radeonsi issue.

Before today I've never tested weston so have no knowledge of past behavior.

R9285. Issue happens with weston alone or started from within X.

Weston its self renders OK.

If I start weston-simple-egl it renders OK, but if I enlarge its window the output becomes corrupted, not totally, I can see the triangle is enlarged, but there is lots of random looking memory rendered as well. If shrink it back down it renders OK once it hits original size and is OK smaller.

Output from kodi/mpv is also 90% junk. In the case of mpv I can reduce the vid window down in size, and when it hits the small size that simple-egl starts at it also starts to render OK.

All the wayland/weston code is release. Mesa/llvm gits.
Comment 1 Andy Furniss 2016-01-17 10:58:31 UTC
I found it

Author: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Date:   Wed Oct 21 00:10:39 2015 +0200

    radeonsi: Enable DCC.
Comment 2 Andy Furniss 2016-01-17 11:00:00 UTC
with commit id this time -

commit 48b5f104ac4e0c3ddbff87520adb7a9d2a254c67
Author: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Date:   Wed Oct 21 00:10:39 2015 +0200

    radeonsi: Enable DCC.
Comment 3 Andy Furniss 2016-01-25 22:45:27 UTC
Re tested with git wayland/weston and the issue persists.

Testing from mesa head R600_DEBUG=nodcc fixes.

nodccclear does not fix.
Comment 4 Marek Olšák 2016-02-25 12:27:59 UTC
I'm working on this.
Comment 5 Andy Furniss 2016-07-02 22:44:45 UTC
This is working OK now, not sure which commit fixed it.


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.