zink: Screen corruption with antialiasing enabled in Xonotic
System information
- OS: Arch Linux
- GPU: AMD Renoir (the iGPU in my Ryzen 5 4600H)
- Kernel version: 5.10.0-rc6-1-mainline
- Mesa version: 20.3.0
- Desktop manager and compositor: GDM/GNOME 3.38.2
Describe the issue
When antialiasing is enabled in Xonotic's video settings with Zink driver loaded, the game shows random screen corruption (including parts of my desktop)
If I disable anti-aliasing, the issue goes away
The default OpenGL driver for my GPU (radeonsi) obviously works fine
Log files as attachment
The backtrace/dmesg/journal doesn't return anything helpful, but the apitrace might be somewhat helpful
I see a few errors when running the trace with Zink driver and eglretrace, but the trace replays without corruption
Here's the link to the trace: https://drive.google.com/file/d/1T20TQ9oROeynjGcyM43ZwKOuv1-SxAKs/view?usp=sharing (I'm not sure if I should upload it to your servers)
Screenshots/video files (if applicable)
I just noticed that the screenshots have a transparency layer which is weird, so I'll use my phone to show this
Any extra information would be greatly appreciated
i use SDL_VIDEODRIVER=wayland for Wayland support in SDL games