Bug 97568 - read pixels of MSAAx8 surface stretched horizontally/vertically
Summary: read pixels of MSAAx8 surface stretched horizontally/vertically
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/nouveau (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact: Nouveau Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-01 19:50 UTC by Tim Rowley
Modified: 2019-09-18 20:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Tim Rowley 2016-09-01 19:50:14 UTC
vtk ctest has many failures which appear to be caused by its selection of a MSAA visual and a missing resolve on the read pixels - the image it gets is stretched 4x horizontally and 2x vertically.

https://open.cdash.org/viewTest.php?onlyfailed&buildid=4530390

Tested with ubuntu-16.04 nouveau driver and a GeForce GTX 750 Ti (GM107).
Comment 1 Ilia Mirkin 2016-09-01 19:53:33 UTC
As I mentioned on IRC, I strongly believe this is due to the following issue:

https://trello.com/c/jzBpfrzL/134-resolve-on-transfer-map-upscale-on-transfer-unmap

Basically we're supposed to do a resolve on transfer_map, return the resolved image, and if any of it is changed, copy back at unmap time while up-scaling.

We do none of that right now, and 8x MSAA is laid out in a 4x2 grid for each pixel, so it makes sense that the output would be "scaled up" that way.
Comment 2 GitLab Migration User 2019-09-18 20:43:05 UTC
-- 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/1111.


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.