Summary: | [bisected] rendering corrupted for windows larger than 2048 pixels in one dimension | ||
---|---|---|---|
Product: | Mesa | Reporter: | Niels Ole Salscheider <niels_ole> |
Component: | Drivers/Gallium/r600 | Assignee: | Default DRI bug account <dri-devel> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | niels_ole, ptpzz |
Version: | git | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | fix |
Description
Niels Ole Salscheider
2012-09-13 15:36:11 UTC
Cc Vadim Created attachment 67121 [details] [review] fix This fixes it. I need to find out how the quant mode affects the range of values. (In reply to comment #2) > 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_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. (In reply to comment #3) > (In reply to comment #2) > > Created attachment 67121 [details] [review] [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_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. That makes sense. The hw worked similarly on r300-r500. We should adjust the mode based on the size of the buffer I suppose. -- 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. |
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.