I am currently trying to switch from X11 to Wayland (again). As my GPU is quite fast, i was using downsampling when i was still on Windows, and on Linux i use xrandr scaling like this:
Code: Select all
xrandr --output DisplayPort-0 --scale 1.5 && gamemoderun mangohud %command% && xrandr --output DisplayPort-0 --scale 1>My Software
I am running Flatpak-Steam https://flathub.org/apps/com.valvesoftware.Steam to isolate the closed source software a bit more from my system, so i installed Flatpak-Gamescope https://flathub.org/apps/org.freedeskto ... .gamescope to match it.
>The Problem on Wayland
When i run gamescope -- %command% (In my case for Baldur's Gate 3 on Vulkan), a message appears:
Code: Select all
CreateSwapchainKHR: Creating swapchain for non-Gamescope swapchain.
Hooking has failed somewhere!
You may have a bad Vulkan layer interfering.
Press OK to try to power through this error, or Cancel to stop.
Code: Select all
QueuePresentKHR: Attempting to present to a non-hooked swapchain.
Hooking has failed somewhere!
You may have a bad Vulkan layer interfering.
Press OK to try to power through this error, or Cancel to stop.
Code: Select all
gamescope -w 3840 -h 2160 -W 2560 -H 1440 -f -e -- gamemoderun mangohud %command% >The Problem on X11
When i run gamescope -- %command% (In my case for Baldur's Gate 3 on Vulkan), the game crashes immediately. Then the game's crash reporter asks me to send a crash report.
>Potential Solution
I have found someone with a similar problem https://www.reddit.com/r/linux_gaming/c ... d_working/, but their solution does not work for me:
Code: Select all
user $ flatpak update --commit=0b3543a920d07271426945f9ebde207de89232475d6f6ba8bf98ff7cb3f2590e runtime/org.freedesktop.Platform.VulkanLayer.gamescope/x86_64/23.08
Searching for updates...
Error: Server returned 404
In Line 936 in https://github.com/ValveSoftware/gamesc ... pe_wsi.cpp there is the first error message displayed when "if (!gamescopeSurface)", so i suspect gamescope is off for me. Unfortunately i can't make much of the code.
>System:
- OS: Gentoo Linux 2.15
- Kernel: 6.1.90-gentoo
- Windowing System: Wayland and X11 tested
- Desktop Environment: KDE Plasma 5.27.11
- GPU: AMD RX 6800XT
- Display: 2560x1440@165FPS, VRR
