Can't use gamescope
Hi im trying to play Red alert 3: Uprising, but due to an issue with weird artefacts + exclusive full screen - i need to use gamescope. (issue not specific to the game, but to apps using exclusive fullscreen)
i've set the launch options to
any ideas how i can resolve this here's my neofetch:
gamescope -w 2560 -h 1440 -W 5120 -H 1440 -b -- %command%
and the play button just goes back to play when pressed.
i've launched the steam client via the terminal in hopes to gleam some information and only found the following:
3 Uprising\RA3EP1.exe: /usr/include/vkroots.h:13981: void vkroots::tables::CreateDispatchTable(PFN_vkGetInstanceProcAddr, PFN_GetPhysicalDeviceProcAddr, VkInstance): Assertion `res == VK_SUCCESS' failed.
gamescope: children shut down!
(EE) failed to read Wayland events: Broken pipe
3 Uprising\RA3EP1.exe: /usr/include/vkroots.h:13981: void vkroots::tables::CreateDispatchTable(PFN_vkGetInstanceProcAddr, PFN_GetPhysicalDeviceProcAddr, VkInstance): Assertion `res == VK_SUCCESS' failed.
gamescope: children shut down!
(EE) failed to read Wayland events: Broken pipe
bingham@brens-pc-fedora
................. -----------------------
.;;;;;;;;;;;;;;;;;;;;;;;. OCI: Bazzite (Desktop Edition) x86_64
,;;;;;;;; ;;;;;;;;;;;;;;;. OS: Fedora release 39 (Thirty Nine) x86_64
.;;;;;;;;; ▲ ;;;;;;;;;;;;;;;;;; Kernel: 6.6.7-200.fc39.x86_64
';;;;;;;;; ;;;;;;;;;;;;;;;;;:; Uptime: 18 mins
';; ;; .;;;;;;;: Packages: 2218 (rpm), 21 (steam), 82 (flatpak)
';; ◄ ► ;; .;;;;;' Shell: bash 5.2.21
';; ;; .;;;;; Resolution: 2560x1440, 5120x1440
';;;;;;;;; ;;;;;;;;;;;;, ,;;;;. DE: GNOME 45.2 (wayland)
';;;;;;;;; ▼ ;;;;;;;;;;;;. ;;;;;, WM: Mutter
.;;;;;;;;; ;;;;;;;;;;;' ,;;;;;. WM Theme: Catppuccin-Macchiato-Standard-Lavender-Dark
';;;;;;;;;;;;;;;;;;;;;;;. ;;;;;, Theme: Catppuccin-Macchiato-Standard-Lavender-Dark [GTK2/3]
.;;;;;;;; ;;;;;;;;. .;;;;;;. Icons: candy-icons [GTK2/3]
.;;;;;;;; ;;;;;;;. Terminal: gnome-terminal
;;;;;;;; .;;;;;;;; CPU: AMD Ryzen 9 7950X3D (32) @ 5.7GHz
.;;;;;;;;; ;;;;:;;;;;;. GPU: AMD ATI Radeon RX 7900 XT/7900 XTX
;;;;;;;;;;;;;;;;;;;;;; Memory: 5.99 GiB / 62.51 GiB (9%)
.;;;;;;;;;;;;;;.
bingham@brens-pc-fedora
................. -----------------------
.;;;;;;;;;;;;;;;;;;;;;;;. OCI: Bazzite (Desktop Edition) x86_64
,;;;;;;;; ;;;;;;;;;;;;;;;. OS: Fedora release 39 (Thirty Nine) x86_64
.;;;;;;;;; ▲ ;;;;;;;;;;;;;;;;;; Kernel: 6.6.7-200.fc39.x86_64
';;;;;;;;; ;;;;;;;;;;;;;;;;;:; Uptime: 18 mins
';; ;; .;;;;;;;: Packages: 2218 (rpm), 21 (steam), 82 (flatpak)
';; ◄ ► ;; .;;;;;' Shell: bash 5.2.21
';; ;; .;;;;; Resolution: 2560x1440, 5120x1440
';;;;;;;;; ;;;;;;;;;;;;, ,;;;;. DE: GNOME 45.2 (wayland)
';;;;;;;;; ▼ ;;;;;;;;;;;;. ;;;;;, WM: Mutter
.;;;;;;;;; ;;;;;;;;;;;' ,;;;;;. WM Theme: Catppuccin-Macchiato-Standard-Lavender-Dark
';;;;;;;;;;;;;;;;;;;;;;;. ;;;;;, Theme: Catppuccin-Macchiato-Standard-Lavender-Dark [GTK2/3]
.;;;;;;;; ;;;;;;;;. .;;;;;;. Icons: candy-icons [GTK2/3]
.;;;;;;;; ;;;;;;;. Terminal: gnome-terminal
;;;;;;;; .;;;;;;;; CPU: AMD Ryzen 9 7950X3D (32) @ 5.7GHz
.;;;;;;;;; ;;;;:;;;;;;. GPU: AMD ATI Radeon RX 7900 XT/7900 XTX
;;;;;;;;;;;;;;;;;;;;;; Memory: 5.99 GiB / 62.51 GiB (9%)
.;;;;;;;;;;;;;;.
4 Replies
just for some more "stuff" here's what happens if i try to run firefox with gamescope:
vblank: Using timerfd.
No CAP_SYS_NICE, falling back to regular-priority compute and threads.
Performance will be affected.
wlserver: [backend/headless/backend.c:67] Creating headless backend
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.
vulkan: selecting physical device 'AMD Radeon RX 7900 XTX (RADV NAVI31)': queue family 1 (general queue family 0)
vulkan: physical device supports DRM format modifiers
vulkan: supported DRM formats for sampling usage:
vulkan: AR24 (0x34325241)
vulkan: XR24 (0x34325258)
vulkan: AB24 (0x34324241)
vulkan: XB24 (0x34324258)
vulkan: RG16 (0x36314752)
vulkan: NV12 (0x3231564E)
vulkan: AB4H (0x48344241)
vulkan: XB4H (0x48344258)
vulkan: AB48 (0x38344241)
vulkan: XB48 (0x38344258)
vulkan: AB30 (0x30334241)
vulkan: XB30 (0x30334258)
vulkan: AR30 (0x30335241)
vulkan: XR30 (0x30335258)
vulkan: Creating Gamescope nested swapchain with format 64 and colorspace 0
wlserver: Running compositor on wayland display 'gamescope-0'
wlserver: [backend/headless/backend.c:17] Starting headless backend
wlserver: [xwayland/server.c:108] Starting Xwayland on :2
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Could not resolve keysym XF86CameraAccessEnable
> Warning: Could not resolve keysym XF86CameraAccessDisable
> Warning: Could not resolve keysym XF86CameraAccessToggle
> Warning: Could not resolve keysym XF86NextElement
> Warning: Could not resolve keysym XF86PreviousElement
> Warning: Could not resolve keysym XF86AutopilotEngageToggle
> Warning: Could not resolve keysym XF86MarkWaypoint
> Warning: Could not resolve keysym XF86Sos
> Warning: Could not resolve keysym XF86NavChart
> Warning: Could not resolve keysym XF86FishingChart
> Warning: Could not resolve keysym XF86SingleRangeRadar
> Warning: Could not resolve keysym XF86DualRangeRadar
> Warning: Could not resolve keysym XF86RadarOverlay
> Warning: Could not resolve keysym XF86TraditionalSonar
> Warning: Could not resolve keysym XF86ClearvuSonar
> Warning: Could not resolve keysym XF86SidevuSonar
> Warning: Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
wlserver: [types/wlr_compositor.c:692] New wlr_surface 0x55c1d4e80550 (res 0x55c1d49c0120)
wlserver: [xwayland/server.c:273] Xserver is ready
pipewire: stream state changed: connecting
pipewire: stream state changed: paused
pipewire: stream available on node ID: 70
xwm: execvp failed: No such file or directory
gamescope: children shut down!
(EE) failed to read Wayland events: Broken pipe
vblank: Using timerfd.
No CAP_SYS_NICE, falling back to regular-priority compute and threads.
Performance will be affected.
wlserver: [backend/headless/backend.c:67] Creating headless backend
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.
vulkan: selecting physical device 'AMD Radeon RX 7900 XTX (RADV NAVI31)': queue family 1 (general queue family 0)
vulkan: physical device supports DRM format modifiers
vulkan: supported DRM formats for sampling usage:
vulkan: AR24 (0x34325241)
vulkan: XR24 (0x34325258)
vulkan: AB24 (0x34324241)
vulkan: XB24 (0x34324258)
vulkan: RG16 (0x36314752)
vulkan: NV12 (0x3231564E)
vulkan: AB4H (0x48344241)
vulkan: XB4H (0x48344258)
vulkan: AB48 (0x38344241)
vulkan: XB48 (0x38344258)
vulkan: AB30 (0x30334241)
vulkan: XB30 (0x30334258)
vulkan: AR30 (0x30335241)
vulkan: XR30 (0x30335258)
vulkan: Creating Gamescope nested swapchain with format 64 and colorspace 0
wlserver: Running compositor on wayland display 'gamescope-0'
wlserver: [backend/headless/backend.c:17] Starting headless backend
wlserver: [xwayland/server.c:108] Starting Xwayland on :2
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Could not resolve keysym XF86CameraAccessEnable
> Warning: Could not resolve keysym XF86CameraAccessDisable
> Warning: Could not resolve keysym XF86CameraAccessToggle
> Warning: Could not resolve keysym XF86NextElement
> Warning: Could not resolve keysym XF86PreviousElement
> Warning: Could not resolve keysym XF86AutopilotEngageToggle
> Warning: Could not resolve keysym XF86MarkWaypoint
> Warning: Could not resolve keysym XF86Sos
> Warning: Could not resolve keysym XF86NavChart
> Warning: Could not resolve keysym XF86FishingChart
> Warning: Could not resolve keysym XF86SingleRangeRadar
> Warning: Could not resolve keysym XF86DualRangeRadar
> Warning: Could not resolve keysym XF86RadarOverlay
> Warning: Could not resolve keysym XF86TraditionalSonar
> Warning: Could not resolve keysym XF86ClearvuSonar
> Warning: Could not resolve keysym XF86SidevuSonar
> Warning: Could not resolve keysym XF86NavInfo
Errors from xkbcomp are not fatal to the X server
wlserver: [types/wlr_compositor.c:692] New wlr_surface 0x55c1d4e80550 (res 0x55c1d49c0120)
wlserver: [xwayland/server.c:273] Xserver is ready
pipewire: stream state changed: connecting
pipewire: stream state changed: paused
pipewire: stream available on node ID: 70
xwm: execvp failed: No such file or directory
gamescope: children shut down!
(EE) failed to read Wayland events: Broken pipe
Why are you trying to run Firefox inside gamescope
Will try this on my end soon, should work
as a test - i get the same output regardless of what application i use
actually
gamescope -e -- steam
"works" (but doesn't because it doesnt actually show anything and my terminal is full of vulkan: Creating Gamescope nested swapchain with format 64 and colorspace 0
repeating forever and no window)