Graphics queue does not support presenting a swapchain image
Brief summary of the problem:
Dota 2 fails to start when trying to run it on wayland with vulkan.
Hardware description:
- CPU: Intel i7-6700K
- iGPU: 00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:1912] (rev 06)
- dGPU: 02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] [1002:67df] (rev c7)
- System Memory: 32GB
System information:
- Fedora 35
- DE: Gnome 41.3
- mutter-41.3-1.fc35.x86_64
- gnome-shell-41.3-1.fc35.x86_64
- Kernel version: 5.15.14-200.fc35.x86_64
- Custom kernel: no
- AMD official driver version: I am using the default opensource 'amdgpu' driver from the kernel + mesa
How to reproduce the issue:
- install steam
- install dota 2
- set steam launch options for dota 2: DRI_PRIME=1 LD_PRELOAD=/lib64/libSDL2-2.0.so.0 SDL_VIDEODRIVER=wayland %command%
(when '-gl' is added to the launch options it uses OpenGL instead of Vulkan and runs without issues)
Attached files:
Screenshots/video files
Crash error right after starting (game doesn't come up at all)