After upgraded to latest mesa, this issue is fixed. Now it works fine on
5.10.0-oem or 5.13.0-oem kernel. Thanks!
$ DRI_PRIME=1 glxgears -info
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
GL_RENDERER = Mesa Intel(R) Graphics (RKL GT1)
GL_VERSION = 4.6 (Compatibility Profile) Mesa 21.0.3
GL_VENDOR = Intel
GL_EXTENSIONS = GL_ARB_multisample ...
VisualID 1337, 0x539
305 frames in 5.0 seconds = 60.916 FPS
300 frames in 5.0 seconds = 59.999 FPS
300 frames in 5.0 seconds = 59.986 FPS
$ glxgears -info
Running synchronized to the vertical refresh. The framerate should be
approximately the same as the monitor refresh rate.
GL_RENDERER = AMD Radeon (TM) Pro WX 3200 Series (POLARIS12, DRM 3.40.0,
5.10.0-1038-oem, LLVM 12.0.0)
GL_VERSION = 4.6 (Compatibility Profile) Mesa 21.0.3
GL_VENDOR = AMD
GL_EXTENSIONS = GL_ARB_multisample ...
VisualID 1337, 0x539
350 frames in 5.0 seconds = 69.915 FPS
300 frames in 5.0 seconds = 59.959 FPS
300 frames in 5.0 seconds = 59.979 FPS
** Tags removed: verification-needed-focal
** Tags added: verification-done-focal
** Changed in: oem-priority
Status: In Progress => Fix Committed
--
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:
Fix Committed
Status in mesa package in Ubuntu:
Fix Committed
Status in mesa source package in Focal:
Fix Committed
Status in mesa source package in Hirsute:
Fix Committed
Bug description:
[Impact]
Image is distorted with PRIME, caused by mismatch in stride alignment between
intel and amdgpu/nvidia after intel bumped the alignment to 256 bytes.
[Fix]
Upstream fixed it in 21.2-series, and backport to 21.0.x needs four commits
in total.
[Test case]
1. Connect a monitor on the AMD GPU.
2. Power on the system and boot into OS.
3. Run below command to launch glxgears
Cmd> DRI_PRIME=1 glxgears -info
* Expected result
The image is not distorted while running the glxgears
* Actual result
The image is distorted while running the glxgears
[Where things might go wrong]
This is a regression caused by the intel driver, so the backports merely fix
what got broken. Regressions would only manifest on hybrid graphics platforms.
---
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 : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp