@MoleMan said in Possible regression in Mesa 24.2.8 GL drivers: sluggish X11 behavior:
I've personally experienced Dosbox-Staging crashing any time I attempt to launch it as a result of the move to Mesa 24
I can see the issue with Staging, there's a SDL issue opened for a similar error during initialization of the video renderer (EGL), however downgrading SDL to an older version doesn't have any effect. I haven't downgraded Mesa since other SDL2 apps work fine, but it seems related to the upgrade and perhaps will be solved when the issue opened on the RPI repos will also be solved.
EDIT: a new version of the Mesa libs in RaspiOS has been released, but they don't solve the Dosbox issue. I can confirm that using the old version, Dosbox works fine.
FWIW, here's my little script used to dowgrade the libs:
ver=23.2.1-1~bpo12+rpt3
arch=arm64
for i in libgbm1 libgles2-mesa-dev libglx-mesa0 libgbm-dev libgl1-mesa-dev libegl1-mesa-dev mesa-vulkan-drivers libglapi-mesa libegl-mesa0 libgl1-mesa-dri; do
wget -c https://archive.raspberrypi.com/debian/pool/main/m/mesa/${i}_${ver}_${arch}.deb
done
sudo dpkg -i *.deb
NOTE: run this from an empty folder, since it will download and bulk downgrade the packages. These are the packages that have been upgraded on my Lite system, but if you're running a desktop system there might be more - you can check in /var/log/apt/history.log and find the upgrade entry with the list of packages.