New: [bisected] rendering corrupted for windows larger than 2048 pixels in one dimension
https://bugs.freedesktop.org/show_bug.cgi?id=54877
Bug #: 54877
Summary: [bisected] rendering corrupted for windows larger than
2048 pixels in one dimension
Classification: Unclassified
Product: Mesa
Version: git
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/R600
AssignedTo: [email protected]
ReportedBy: [email protected]
I have a Radeon HD 6870 under Linux 3.6.0-rc5.
Since commit f44bda17f515c411071ca8744ebd96039d9c583b, the output of OpenGL applications is corrupted if the window is larger than 2048 pixels in at least one dimension.
All parts of the image with a coordinate larger than 2047 show garbage while the textures seem to be shifted for the remaining parts of the image.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 54877] [bisected] rendering corrupted for windows larger than 2048 pixels in one dimension
https://bugs.freedesktop.org/show_bug.cgi?id=54877
Andreas Boll <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected] Component|Drivers/DRI/R600 |Drivers/Gallium/r600
--- Comment #1 from Andreas Boll <[email protected]> 2012-09-13 16:27:30 UTC --- Cc Vadim
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 54877] [bisected] rendering corrupted for windows larger than 2048 pixels in one dimension
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=54877
--- Comment #2 from Alex Deucher <[email protected]> 2012-09-13 21:30:33 UTC --- Created attachment 67121
--> https://bugs.freedesktop.org/attachment.cgi?id=67121
fix
This fixes it. I need to find out how the quant mode affects the range of values.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 54877] [bisected] rendering corrupted for windows larger than 2048 pixels in one dimension
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=54877
--- Comment #3 from Vadim Girlin <[email protected]> 2012-09-14 06:35:08 UTC --- (In reply to comment #2)
Quoted 5 lines
Created attachment 67121 [details] [review]
fixThis fixes it. I need to find out how the quant mode affects the range of values.
My guess is that QUANT_MODE determines the position of fixed point for internal calculations in hw. Quantization precision 1/4096 means 12 bits, and it looks like we have 11 bits before the point in that case, with 23 bits total. So if we need to increase the range, we have to move the point lowering the precision.
I've tried 1/256 and other values on evergreen for initial implementation of that patch in hope that it'll be enough, but IIRC 1/4096 fixed more tests (though possibly some test results were simply random). If some tests are really failing due to lower precision, I guess we might want to adjust QUANT_MODE dynamically.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 54877] [bisected] rendering corrupted for windows larger than 2048 pixels in one dimension
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=54877
--- Comment #4 from Alex Deucher <[email protected]> 2012-09-14 13:47:19 UTC --- (In reply to comment #3)
Quoted 13 lines
(In reply to comment #2)
Quoted 5 lines
Created attachment 67121 [details] [review] [review] fix
This fixes it. I need to find out how the quant mode affects the range of values.
My guess is that
QUANT_MODEdetermines the position of fixed point for internal calculations in hw. Quantization precision 1/4096 means 12 bits, and it looks like we have 11 bits before the point in that case, with 23 bits total. So if we need to increase the range, we have to move the point lowering the precision.
Quoted 5 lines
I've tried 1/256 and other values on evergreen for initial implementation of that patch in hope that it'll be enough, but IIRC 1/4096 fixed more tests (though possibly some test results were simply random). If some tests are really failing due to lower precision, I guess we might want to adjust
QUANT_MODEdynamically.
That makes sense. The hw worked similarly on r300-r500. We should adjust the mode based on the size of the buffer I suppose.
Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
[Bug 54877] [bisected] rendering corrupted for windows larger than 2048 pixels in one dimension
In reply to [email protected]https://bugs.freedesktop.org/show_bug.cgi?id=54877
GitLab Migration User <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |MOVED--- Comment #5 from GitLab Migration User <[email protected]> --- -- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/418.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel