[anv] Vulkan (WSI?) issues with Doom 2016 on Proton
System information
- OS: Fedora Silverblue 34 (game launched in Flatpak)
- GPU: Tiger Lake Iris Xe 96EU [8086:9a49]
- Kernel version:
5.13.4
- Mesa version:
Mesa 21.2.99 devel
(commit 74245ca0) - Desktop manager and compositor: GNOME 40/Mutter, Wayland/X11 (see issue description)
- Proton version: v6.12-GE-1
Describe the issue
Game has either high CPU frametimes or broken rendering, not both at the same time, when using the Vulkan renderer.
High CPU frametimes on:
- Wayland fullscreen (~50ms on CPU, ~20ms on GPU)
- X11 single-monitor fullscreen (~26ms on CPU, ~20ms on GPU)
In this setup, the game renders mostly correctly (barring some minor issues like reflections on pipes), but CPU frametimes are really high, and drag down framerate.
Flickering objects on:
- Wayland windowed (~8ms on CPU, ~20ms on GPU)
- X11 multi-monitor fullscreen (~8ms on CPU, ~20ms on GPU)
- X11 windowed (~8ms on CPU, ~20ms on GPU)
Objects flicker in and out, making the game basically unplayable.
Here's a (somewhat sloppy) video recording on my phone demonstrating the issue on X11; notice how the flickering stops and CPU frametime increases when I unplug the external display.
On all of the above configurations with GL, the game renders correctly and has ~8ms CPU frametimes.