New: Screen corruptions in OpenGL reliant applications
https://bugs.freedesktop.org/show_bug.cgi?id=85526
Bug ID: 85526
Summary: Screen corruptions in OpenGL reliant applications
Product: Mesa
Version: unspecified
Hardware: x86 (IA32)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: Drivers/Gallium/r600
Assignee: [email protected]
Reporter: [email protected]
Created attachment 108536
--> https://bugs.freedesktop.org/attachment.cgi?id=108536&action=edit
Image corruptions in Chromium, Blood II: The Chosen through WINE, and Quake III Arena
I have been having a very confusing problem with the version of Mesa packaged with Arch Linux. I am using a Diamond Radeon HD 4670 with R600g.
Yesterday I updated the various Mesa packages from 10.3.1-1 to 10.3.2-1 and upon doing so I started to encounter screen corruptions in all of the games I tested as well as the browser Chromium.
Reverting to the previous version packaged by Arch Linux fixes the issue:
cd /var/cache/pacman/pkg/
pacman -U mesa-10.3.1-1-i686.pkg.tar.xz mesa-dri-10.3.1-1-i686.pkg.tar.xz mesa-libgl-10.3.1-1-i686.pkg.tar.xz mesa-vdpau-10.3.1-1-i686.pkg.tar.xz
While the bug itself is of course distressing, the main thing that is confusing me is that I am even having trouble finding mention of Mesa 10.3.2 release as the website does not mention it and I can not even find an entry for Mesa 10.3 in the Version field of this very submission form.
Games seem to run without any stated errors in spite of the corruptions, something which is making it difficult for me to find any additional information. I have attached screenshots showing off some of the problems I am talking about.
I apologize if this report is too vague or if I am missing something with regards to the Mesa version information, but this is the best I can figure out for the moment. Any suggestions as to deriving more useful information would of course be appreciated.
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
[Bug 85526] Screen corruptions in OpenGL reliant applications
https://bugs.freedesktop.org/show_bug.cgi?id=85526
--- Comment #1 from Hamish Wilson <[email protected]> ---
Seeing as attaching an image did not seem to work, the screenshots in question can also be seen here:
http://www.phoronix.com/forums/showthread.php?108068-Help-diagnosing-problems-with-a-Readon-HD-4670-on-Mesa-10-3-2-1&p=448863#post448863
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
[Bug 85526] Screen corruptions in OpenGL reliant applications
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=85526
Dieter Nützel <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #108536|text/plain |image/png
mime type| |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
[Bug 85526] Screen corruptions in OpenGL reliant applications
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=85526
--- Comment #2 from Alex Deucher <[email protected]> ---
Can you bisect mesa to indentify the problematic commit between 10.3.1 and 10.3.2? there are only a few changes between the two versions:
http://cgit.freedesktop.org/mesa/mesa/log/?h=10.3
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
[Bug 85526] Screen corruptions in OpenGL reliant applications
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=85526
--- Comment #3 from Hamish Wilson <[email protected]> --- (In reply to Alex Deucher from comment #2)
Quoted 3 lines
Can you bisect mesa to indentify the problematic commit between 10.3.1 and 10.3.2? there are only a few changes between the two versions:
http://cgit.freedesktop.org/mesa/mesa/log/?h=10.3
[hamish@Griffindor mesa]$ git bisect good
Bisecting: 0 revisions left to test after this (roughly 1 step) [85d7eb730a1cbfbd4c9b2ecd017f6b8dab40b20d] i965: Add a BRW_MOCS_PTE #define. [hamish@Griffindor mesa]$
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
[Bug 85526] Screen corruptions in OpenGL reliant applications
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=85526
--- Comment #4 from Hamish Wilson <[email protected]> --- [hamish@Griffindor mesa]$ git bisect bad
Bisecting: 0 revisions left to test after this (roughly 0 steps) [64c2bdc334ba472603b1e7cd2c3046cfbce285b6] r600g,radeonsi: Always use GTT again for PIPE_USAGE_STREAM buffers
[hamish@Griffindor mesa]$
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
[Bug 85526] Screen corruptions in OpenGL reliant applications
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=85526
--- Comment #5 from Hamish Wilson <[email protected]> ---
So it looks like "r600g,radeonsi: Always use GTT again" is the culprit. Sorry for doing it is as two posts; this my first time bisecting and I did not realize at first I needed to do one more step.
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
[email protected]
Reviewed-by Alex Deucher[Bug 85526] Screen corruptions in OpenGL reliant applications
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=85526
--- Comment #6 from Hamish Wilson <[email protected]> --- [hamish@Griffindor mesa]$ git bisect bad 64c2bdc334ba472603b1e7cd2c3046cfbce285b6 is the first bad commit commit 64c2bdc334ba472603b1e7cd2c3046cfbce285b6
Author: Michel Dänzer <[email protected]> Date: Tue Aug 26 18:21:50 2014 +0900
r600g,radeonsi: Always use GTT again for PIPE_USAGE_STREAM buffers
Putting those in VRAM can cause long pauses due to buffers being moved into / out of VRAM.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=84662
:040000 040000 3d09f050c7cf6907d82aebab6bd1d4f719729712290288e425b6751de0c5f8e02f9d50f566a8d2f3 M src
[hamish@Griffindor mesa]$
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
[Bug 85526] Screen corruptions in OpenGL reliant applications
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=85526
--- Comment #7 from Aaron B <[email protected]> ---
I don't have bad rendering during normal renders like you guys, but when mousing over the bookmarks bar in chromium the overlayed boxes are usually corrupt for me now. R9 270X.
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
[Bug 85526] Screen corruptions in OpenGL reliant applications
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=85526
--- Comment #8 from Emil Velikov <[email protected]> --- (In reply to Hamish Wilson from comment #0)
Quoted 5 lines
While the bug itself is of course distressing, the main thing that is confusing me is that I am even having trouble finding mention of Mesa 10.3.2 release as the website does not mention it and I can not even find an entry for Mesa 10.3 in the Version field of this very submission form.
Sometime the website takes a bit of time to update as I don't the have access to it atm. Similar story for bugzilla. I'll take a look into getting those resolved.
Announcements can bee seen in the mesa-announce ML archive [1], which includes mesa 10.3.2. If you're interest in testing mesa just before it's released, keep an eye open for "New stable branch X candidate" style messages on the mesa-stable ML [2]
Pardon for the off topic gents.
-Emil
[1] http://lists.freedesktop.org/archives/mesa-announce/
[2] http://lists.freedesktop.org/archives/mesa-stable/
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
[Bug 85526] Screen corruptions in OpenGL reliant applications
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=85526
--- Comment #9 from Michel Dänzer <[email protected]> ---
Does running the affected apps with the environment variable RADEON_THREAD=0 work around the problem?
(In reply to Aaron B from comment #7)
Quoted 3 lines
I don't have bad rendering during normal renders like you guys, but when mousing over the bookmarks bar in chromium the overlayed boxes are usually corrupt for me now. R9 270X.
And that's caused by the same Git commit? I.e. if you revert that commit, the problem goes away?
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
[Bug 85526] Screen corruptions in OpenGL reliant applications
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=85526
--- Comment #10 from Hamish Wilson <[email protected]> --- (In reply to Michel Dänzer from comment #9)
Quoted 2 lines
Does running the affected apps with the environment variable RADEON_THREAD=0 work around the problem?
Running "RADEON_THREAD=0 quake3" from the terminal still produces image corruptions for me with 10.3.2.
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
[Bug 85526] Screen corruptions in OpenGL reliant applications
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=85526
--- Comment #11 from John <[email protected]> --- (In reply to Aaron B from comment #7)
Quoted 3 lines
I don't have bad rendering during normal renders like you guys, but when mousing over the bookmarks bar in chromium the overlayed boxes are usually corrupt for me now. R9 270X.
I've had the same issue in chromium with a 280x. (well I haven't tried on bookmarks, but on any other overlay)
I found a way to get around it, just move the cursor away, and move it back on, then your overlay should be fine.
I *felt* that this issue came from chromium's new ui library, but truly I never tested it so maybe it came from gallium3d.
I'll subscribe to this and maybe I'll try building mesa without that commit later this week.
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
[Bug 85526] Screen corruptions in OpenGL reliant applications
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=85526
--- Comment #12 from Michel Dänzer <[email protected]> --- Hamish, please attach the /var/log/Xorg.0.log file and the output of dmesg.
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
[Bug 85526] Screen corruptions in OpenGL reliant applications
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=85526
--- Comment #13 from Michel Dänzer <[email protected]> ---
This may be the same or at least related to bug 84627, which seems caused by something subtle in the 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
[Bug 85526] Screen corruptions in OpenGL reliant applications
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=85526
--- Comment #14 from Hamish Wilson <[email protected]> --- Created attachment 108547
--> https://bugs.freedesktop.org/attachment.cgi?id=108547&action=edit
Xorg.0.log file for Hamish Wilson
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
[Bug 85526] Screen corruptions in OpenGL reliant applications
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=85526
--- Comment #15 from Hamish Wilson <[email protected]> --- Created attachment 108548
--> https://bugs.freedesktop.org/attachment.cgi?id=108548&action=edit
dmesg output for Hamish Wilson
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
[Bug 85526] Screen corruptions in OpenGL reliant applications
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=85526
--- Comment #16 from Michel Dänzer <[email protected]> --- Can you try a 64-bit kernel? Does it happen with that as well?
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
[Bug 85526] Screen corruptions in OpenGL reliant applications
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=85526
--- Comment #17 from Hamish Wilson <[email protected]> --- (In reply to Michel Dänzer from comment #16)
Quoted 1 line
Can you try a 64-bit kernel? Does it happen with that as well?
Booting into the exact same kernel for 64-bit does indeed make the problems go away for me. Gentleman, I think we have a suspect...
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
[Bug 85526] Screen corruptions in OpenGL reliant applications
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=85526
Michel Dänzer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE--- Comment #18 from Michel Dänzer <[email protected]> ---
*** This bug has been marked as a duplicate of bug 84627 ***
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