Installed 21.04 on P348 and reproduced this issue, after upgraded to proposed 
packages, this issue is fixed.
$ 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 509, 0x1fd
305 frames in 5.0 seconds = 60.917 FPS
300 frames in 5.0 seconds = 59.809 FPS
301 frames in 5.0 seconds = 60.000 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.11.0-25-generic, LLVM 12.0.0)
GL_VERSION    = 4.6 (Compatibility Profile) Mesa 21.0.3
GL_VENDOR     = AMD
GL_EXTENSIONS = GL_ARB_multisample ...
VisualID 509, 0x1fd
304 frames in 5.0 seconds = 60.782 FPS
300 frames in 5.0 seconds = 59.800 FPS

** Tags removed: verification-needed verification-needed-hirsute
** Tags added: verification-done verification-done-hirsute

-- 
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     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to