Summary: | Certain Mesa Demos Rendering Inverted (vertically) | ||
---|---|---|---|
Product: | Mesa | Reporter: | Jesus Cortez <jesus.cortezjr> |
Component: | Demos | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | medium | ||
Version: | 9.1 | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Demonstrates readpix text inversion
demonstrates winpos inversion Demonstrates readpix text inversion output of /usr/lib64/glinfo |
Created attachment 81484 [details]
demonstrates winpos inversion
Created attachment 81485 [details]
Demonstrates readpix text inversion
Mesa 9.0 isn't really maintained any longer. Can you try current 9.1 branch? There were some fixes on master that I recently cherry picked over to the branch. Also, what driver are you using? The output of "glxinfo | grep renderer" should provide the necessary information. Created attachment 81511 [details]
output of /usr/lib64/glinfo
I am on Scientific Linux 6.3. How can I install the 9.1 version? I'm not able to find that on the Add/Remove software, and trying to compile the source results in errors such as "Requested 'libdrm_radeon >= 2.4.42' but version of libdrm_radeon is 2.4.39" Here's some more (hopefully helpful) information: If I start the drawpix example, everything looks fine. But the second I hit f to draw to the GL_FRONT buffer, the image becomes vertically inverted, and the keyboard controls are inverted as well. I think the problem is happening in the glDrawPixels function, based on the amount of debugging I've done into the issue so far. (In reply to comment #4) > Also, what driver are you using? The output of "glxinfo | grep renderer" > should provide the necessary information. According to glinfo, GL_RENDERER: Software Rasterizer Should be fixed by: commit a43b49dfb13dc7e6d2d6d7ceee892077038d7102 Author: Dave Airlie <airlied@redhat.com> Date: Wed Nov 13 12:53:52 2013 +1000 mesa/swrast: fix inverted front buffer rendering with old-school swrast I've no idea when this broke, but we have some people who wanted it fixed, so here's my attempt. reproducer, run readpix with swrast hit f, or run trival tri -sb things are upside down, after this patch they aren't. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=62142 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=66213 Cc: <mesa-stable@lists.freedesktop.org>" Signed-off-by: Dave Airlie <airlied@redhat.com> |
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.
Created attachment 81483 [details] Demonstrates readpix text inversion After upgrading to Mesa-9.0 drivers, we noticed that rendering was flipped vertically in our application. Upon further investigation, I found similar behavior in the following Mesa demos: readpix : press f, and notice the text / images being drawn upside down tessdemo: Clicking on the mouse places a point on the correct X coordinate, but on the opposite Y coordinate winpos: running the example, the images are upside down.