-
Notifications
You must be signed in to change notification settings - Fork 169
Description
gamescope does not work with AMDVLK. See this and this bug report for gamescope. On my system it fails with:
$ gamescope
[gamescope] [Info] console: gamescope version (gcc 14.2.1)
No CAP_SYS_NICE, falling back to regular-priority compute and threads.
Performance will be affected.
[gamescope] [Info] scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts'
[gamescope] [Info] scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope'
[gamescope] [Info] scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope/common'
[gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/common/inspect.lua' (id: 0)
[gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/common/modegen.lua' (id: 1)
[gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/common/util.lua' (id: 2)
[gamescope] [Info] scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope/displays'
[gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/asus.rogally.lcd.lua' (id: 3)
[gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/deckhd.steamdeck.deckhd-lcd.lua' (id: 4)
[gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/valve.steamdeck.lcd.lua' (id: 5)
[gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/valve.steamdeck.oled.lua' (id: 6)
[gamescope] [Info] scriptmgr: Loading scripts from: '/etc/gamescope/scripts'
[gamescope] [Warn] scriptmgr: Directory '/etc/gamescope/scripts' does not exist
[gamescope] [Info] scriptmgr: Loading scripts from: '/home/mareksapota/.config/gamescope/scripts'
[gamescope] [Warn] scriptmgr: Directory '/home/mareksapota/.config/gamescope/scripts' does not exist
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
[gamescope] [Info] vulkan: selecting physical device 'AMD Radeon RX 7600': queue family 1 (general queue family 0)
[gamescope] [Info] vulkan: physical device supports DRM format modifiers
[gamescope] [Error] vulkan: vkAllocateDescriptorSets failed
SDL_Vulkan_CreateSurface failed: VK_KHR_wayland_surface extension is not enabled in the Vulkan instance.terminate called without an active exception
[1] 184037 IOT instruction (core dumped) gamescope
It works just fine when forcing RADV usage with env VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.x86_64.json gamescope. Both RADV and AMDVLK are installed on the system with AMDVLK taking priority.
I'd like to request support for whatever Vulkan extensions are required for gamescope to run under AMDVLK. It's a great piece of software that allows fooling unruly applications into thinking my display is different from what it actually is. Both old and new games can benefit from it, old ones because they don't understand what 4k is, new ones because they really try to run at 4k but my graphics card can't handle it so I fool them into thinking I have a 1080p screen. There are multiple popular games I've seen performance improvements in when running gamescope. 1080p in gamescope beats the performance of 1080p full screen on a 4k display in games like Baldur's Gate 3, Fallout 4 or Warframe. gamescope also comes stock with AMD FSR1 support for any application run through it bringing AMD FSR1 support to any game/software that doesn't natively support AMD FSR.