Wayland GL apps appear corrupt on Raspberry Pi 4B (v3d driver)

Bug #1896171 reported by Daniel van Vugt
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Mutter
Fix Released
Unknown
mesa (Ubuntu)
Won't Fix
High
Unassigned
mutter (Ubuntu)
Fix Released
High
Daniel van Vugt

Bug Description

Wayland GL apps appear corrupt on Raspberry Pi 4B (v3d driver).

Seen in glmark2-wayland, glmark2-es2-wayland, weston-simple-egl.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Actually weston works so maybe this is just mutter.

tags: added: groovy
tags: added: raspi raspi-gfx raspi4
Changed in mutter (Ubuntu):
status: New → Confirmed
Changed in mesa (Ubuntu):
status: New → Confirmed
summary: - Wayland 3D apps appear corrupt on Raspberry Pi 4B (v3d driver)
+ Wayland GL apps appear corrupt on Raspberry Pi 4B (v3d driver)
description: updated
tags: added: hirsute
Changed in mesa (Ubuntu):
importance: Undecided → High
Changed in mutter (Ubuntu):
importance: Undecided → High
Changed in mesa (Ubuntu):
status: Confirmed → Triaged
Changed in mutter (Ubuntu):
status: Confirmed → Triaged
Changed in mutter (Ubuntu):
assignee: nobody → Daniel van Vugt (vanvugt)
status: Triaged → In Progress
Changed in mutter (Ubuntu):
status: In Progress → Triaged
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in mutter (Ubuntu):
status: Triaged → In Progress
Changed in mutter (Ubuntu):
status: In Progress → Fix Committed
tags: added: fixed-in-40.1 fixed-upstream
Changed in mesa (Ubuntu):
status: Triaged → Won't Fix
Changed in mutter (Ubuntu):
status: Fix Committed → In Progress
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

The fix is now coming in https://launchpad.net/ubuntu/+source/mutter/3.38.4-1ubuntu1 but note you will also need to do:

  gsettings set org.gnome.mutter experimental-features "['kms-modifiers']"

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

^^^
That should be done automatically in some future release after https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1792

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mutter - 3.38.4-1ubuntu1

---------------
mutter (3.38.4-1ubuntu1) hirsute; urgency=medium

  * Merge with debian, containing new upstream release.
  * debian/tests: Adapt autopkgtest name and linked library to current soname
  * debian/tests/control: Update references to libmutter-7-dev
  * debian/patches: Remove Input Thread backport patches.
    It has been fun, but we decided to revert this, so here it is.
    (LP: #1918874, LP: #1919310)
  * debian/control: Set breaks on gnome-shell 3.38.4.
    That's the first version on which we'll remove the input thread patches
  * debian/libmutter-7-0.symbols: Revert symbol changes due to input thread
  * debian/patches: Add support for ABFR2101010 in v3d used by Raspberry Pi 4
    (LP: #1896171)
  * debian/patches: Handle NVIDIA's zero presentation times (LP: #1880086)
  * debian/patches: Properly handle configuration events on windows
    (LP: #191793)
  * Remaining changes with debian:
    - debian/gbp.conf: update upstream branch to point to ubuntu/master
    - debian/patches/x11-Add-support-for-fractional-scaling-using-Randr.patch:
      + X11: Add support for fractional scaling using Randr

mutter (3.38.4-1) unstable; urgency=medium

  * Team upload
  * New upstream release
    - Fix Wayland spec compliance when reordering subsurfaces.
      This is likely to be required by future Firefox versions in native
      Wayland mode.
    - Many other fixes that we already had via debian/patches
  * Drop most patches, included in the new upstream release

mutter (3.38.3-5) unstable; urgency=medium

  * Team upload

  [ Marco Trevisan (Treviño) ]
  * debian/patches: Include a missing commit from upstream gnome-3-38
    branch to fix X11 UI stutters

mutter (3.38.3-4) unstable; urgency=medium

  * Team upload

  [ Marco Trevisan (Treviño) ]
  * debian/patches: cherry-pick more upstream gnome-3-38 fixes
    - Correctly restore focus to applications that use globally active
      input handling, such as AWT/Swing Java apps
    - Disable double buffered shadow buffering, which was intended to
      improve performance with e.g. llvmpipe but currently makes it worse
  * debian/tests: Adapt autopkgtest name and linked library to current soname
  * debian/tests/control: Update references to libmutter-7-dev

  [ Simon McVittie ]
  * d/patches: Update to commit 3.38.3-26-g30c542ddc from gnome-3-38 branch
    - Fix X11 frame timing getting stuck if frames are skipped, resulting
      in X11 applications not always being redrawn when they should be
    - Fix a crash when clicking below titlebar with broken GTK themes

 -- Marco Trevisan (Treviño) <email address hidden> Fri, 26 Mar 2021 07:17:54 +0100

Changed in mutter (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Reopened (like the upstream bug) to avoid confusion about the fix not being enabled by default. You just need to run:

  gsettings set org.gnome.mutter experimental-features "['kms-modifiers']"

But we can close this again after that's been done automatically in a future release.

Changed in mutter (Ubuntu):
status: Fix Released → Triaged
Changed in mutter (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :
Changed in mutter (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mutter - 3.38.4-1ubuntu2

---------------
mutter (3.38.4-1ubuntu2) hirsute; urgency=medium

  [ Daniel van Vugt ]
  * Revert "debian/patches: Properly handle configuration events on windows"
    to fix a regression making some windows to move on resize (LP: #1922034).
  * Add 61-mutter.rules-Enable-KMS-modifiers-for-Raspberry-P.patch.
    To enable KMS modifiers on Raspberry Pi, which means to enable the
    first fix in wayland-dma-buf-Add-support-for-DRM_FORMAT_ABGR2101010.patch
    (LP: #1896171)

  [ Marco Trevisan (Treviño) ]
  * debian/patches: Backport workspace fixes from upstream gnome-3-38 branch
  * debian/patches: Use Xwayland pkg-config if available
  * debian/patches: Use -listenfd to invoke XWayland if available (LP: #1922539)

 -- Marco Trevisan (Treviño) <email address hidden> Thu, 15 Apr 2021 06:28:51 +0200

Changed in mutter (Ubuntu):
status: Fix Committed → Fix Released
Changed in mutter:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.