On Tue, Mar 04, 2025 at 11:42:17AM +0100, Diederik de Haas wrote: > Hi, > > On Thu Feb 27, 2025 at 2:30 PM CET, Johannes Schauer Marin Rodrigues wrote: > > Source: mesa > > Version: 25.0.0-1 > > Severity: serious > > > > this is a regression from mesa 24.3.4-3. I'm filing with RC severity because > > this affects not only me but also other users on the BananaPI [1] and by > > I have a Pine64 PineTab2 (rk3566) which also has an Arm Mali-G52 GPU and > I was NOT able to reproduce the issue. I played the exact same MNT video > in Firefox, but also playing a (local) video in mpv didn't show any > issues. I'm using sway as wayland compositor. > > So I looked a bit further into the differences and noticed it's using an > Amlogic A311D SoC. That the bisected commit mentions "Some MTK display > controller drivers" indicates the problem could be in that direction.
Given the bisected commit, this is not actually a bug in panfrost/mesa. This is likely a bug in the display controller not handling the relevant AFBC formats correctly. We're seeing the same on Mediatek devices at the moment. If you could dump the output of /sys/kernel/debug/dri/*/framebuffer while running into these issues that would be very helpful (as that will show the modifiers in use). It would also be helpful if you could mention the display stack you're using (e.g. which compositor). At least in my testing gnome wasn't impacted as that didn't seem to be using modifiers. If you're using weston you could try with WESTON_DISABLE_GBM_MODIFIERS=1 set in the environment to avoid modifier usage. Regards, Sjoerd