the fix in https://launchpad.net/~xueshengyao/+archive/ubuntu/mesa is much easier for Focal(only 2 lines changed), but it was based on a workaround cannot upstream.
And the latest upstream mesa fixed this issue, so I cherry-picked 4 Mesa's upstream commits to Focal: a3a4517f4147a0a7c1b34a4bcd42de45d552df5f 55d1b8f929bbba58734bc7b1f79a6f53ab5aa0e8 0e856b95c59d4b9d1909bd96eca0296dd14b41ff f1a66e7c90ceb4796085989d0d8374689753121e and made a new package: https://launchpad.net/~xueshengyao/+archive/ubuntu/mesa2 it fixed this issue in my testing. I also attached the debdiff. @Timo, could you please help on the SRU process? many thanks. ** Patch added: "mesa_20.2.6-0ubuntu0.20.04.1to2.debdiff" https://bugs.launchpad.net/oem-priority/+bug/1937988/+attachment/5515520/+files/mesa_20.2.6-0ubuntu0.20.04.1to2.debdiff -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mesa in Ubuntu. https://bugs.launchpad.net/bugs/1937988 Title: The image is distorted while use iGPU rendering and output via AMD GPU Status in OEM Priority Project: In Progress Status in OEM Priority Project focal series: New Status in mesa package in Ubuntu: New Bug description: [Steps to reproduce] 1. Connect a monitor on the AMD GPU. 2. Power on the system and boot into OS. 3. Run below command to launch glxgear Cmd> DRI_PRIME=1 glxgears -info [Expected result] The image is not distrorted while running the glxgears [Actual result] The image is distrorted while running the glxgears --- Here is the upstream bug for tracking this issue. https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11942?commit_id=505f815e5ead8c9872bbda4c1ff3aeaee7223d64 To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1937988/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp