[Mesa-dev] [Bug 111621] Strange glViewport behaviors with Lima driver

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 10 02:55:11 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=111621

            Bug ID: 111621
           Summary: Strange glViewport behaviors with Lima driver
           Product: Mesa
           Version: 19.1
          Hardware: ARM
                OS: Linux (All)
            Status: NEW
          Severity: not set
          Priority: not set
         Component: Drivers/Gallium/Lima
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: voxluci at gmail.com

Created attachment 145310
  --> https://bugs.freedesktop.org/attachment.cgi?id=145310&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190910/de27b3a0/attachment-0001.html>


More information about the mesa-dev mailing list