Vulkan + Wayland = Bad buffer tiling
Brief summary of the problem:
I've got double AMD GPU in my laptop: Vega 8 and RX 560. Any application that uses both wayland and vulkan has it output corrupted. That's a really longstanding bug, previously XWayland (all X11 apps) was also affected, but in this case it resolved in some update some time ago.
Hardware description:
- CPU: AMD Ryzen 5 3550H
- GPU: Vega 8 and RX 560
- System Memory: 16 GB
- Display(s): FullHD
- Type of Diplay Connection: laptop display
System information:
- Distro name and Version: several distributions during long period of time
- Kernel version: 4.19 - 5.10
- Custom kernel: nope
- AMD package version: mesa 21.1.4
How to reproduce the issue:
Image attached is what I'm getting with:
window above - every X11 app or wayland app with opengl
window below - every wayland app using vulkan