Bug 111621 - Strange glViewport behaviors with Lima driver
Summary: Strange glViewport behaviors with Lima driver
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/Lima (show other bugs)
Version: git
Hardware: ARM Linux (All)
: not set not set
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-10 02:55 UTC by Luke Tucker
Modified: 2019-09-18 18:35 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
test program, screenshots and debug traces (58.12 KB, application/x-gzip)
2019-09-10 02:55 UTC, Luke Tucker
Details

Description Luke Tucker 2019-09-10 02:55:11 UTC
Created attachment 145310 [details]
test program, screenshots and debug traces

When I use glViewport with non-zero x,y with the lima driver, everything appears to be clipped at unexpected locations (which does not align with the viewport).  I do not see this behavior with (for example) the llvmpipe driver.

I've attached a test program, a couple of screenshots (lima and llvmpipe output), the apitrace and other debug output.  Both show a 320x240 window with glViewport(80,60,160,120) containing a triangle. Apitrace replay also displays as expected. A Full window viewport works as expected.  The test program can be run with 4 arguments to change the arguments to glViewport.

For reference, this is running on an Allwinner R16 (aka A33 I think) which I gather has some rendition of Mali400 MP2.
Comment 1 GitLab Migration User 2019-09-18 18:35:56 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/260.


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.