Regression from Mesa 23.3.4 to 24.x affecting Xemu emulator on AMD GPUs
Hello,
I am experiencing an issue with the Xemu emulator on systems using AMD GPUs, which appears to be related to a regression between Mesa versions 23.3.4 and 24.x. This issue has been identified while using Batocera and confirmed with Manjaro Linux for additional testing clarity.
Environment: Operating System: Manjaro Linux (also observed on Batocera Linux v39 and v40) Mesa Versions Affected: 24.x series GPUs Tested: AMD Radeon RX550, Ryzen iGPUs (e.g., Ryzen 5560U, Ryzen 7 5800H) Symptoms: Launching any Xbox game via the Xemu emulator leads to the game freezing or crashing back to the emulator's GUI after the initial splash screens. Audio may cut out, and the system can experience brief flashes before the crash. Steps to Reproduce: Install Manjaro Linux on a system with an affected AMD GPU. Update all system packages to ensure the latest Mesa drivers (24.x) are installed. Install the Xemu emulator via the package manager. Attempt to launch any Xbox game through Xemu. Expected Behaviour: Games should launch and run as expected without crashing, similar to the behaviour observed with Mesa version 23.3.4 used in Batocera Linux v38.
Actual Behaviour: Games either freeze during the initial loading phase or crash back to the emulator's GUI, indicating a failure in the graphical processing that was not present in Mesa 23.3.4.
Additional Information: This issue was not present in Batocera Linux v38, which uses Mesa 23.3.4, but appears in v39 and v40, aligning with the update to Mesa 24.x. A direct comparison using Batocera Linux on identical hardware but different Mesa versions isolates the regression to the Mesa driver update. Testing on different hardware and with different AMD GPUs (both iGPUs and discrete GPUs like the AMD RX550) consistently reproduces the issue under Mesa 24.x.
I kindly request assistance in identifying and resolving this regression, as it significantly impacts the usability of emulation software reliant on Mesa for AMD GPU users. Thank you for your attention to this matter.
More info here: https://github.com/batocera-linux/batocera.linux/issues/11167