ValveSoftware / gamescope

SteamOS session compositing window manager
Other
2.99k stars 198 forks source link

`--openvr` does nothing #936

Open 2-3-5-41 opened 1 year ago

2-3-5-41 commented 1 year ago

Problem

I don't know if i'm missing a step or not, but when using --openvr when creating a gamescope instance while SteamVR is running, there is no new overlay in SteamVR.

Steps

  1. Open Steam, and start SteamVR
  2. Open terminal and use command: gamescope --steam --hdr-enabled --openvr --vr-overlay-icon "/home/<user>/.steam/root/public/steam_tray.ico" -- dolphin
  3. Put on headset, or use vr view, and see no change to SteamVR dash/overlay.

Terminal output

Input: gamescope --steam --hdr-enabled --openvr --vr-overlay-icon "/home/<user>/.steam/root/public/steam_tray.ico" -- dolphin

Output:

No CAP_SYS_NICE, falling back to regular-priority compute and threads.
Performance will be affected.
wlserver: [backend/headless/backend.c:68] Creating headless backend
vulkan: selecting physical device 'AMD Radeon RX 6800 XT (RADV NAVI21)': queue family 1
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:   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)
wlserver: Running compositor on wayland display 'gamescope-0'
wlserver: [backend/headless/backend.c:16] Starting headless backend
wlserver: [xwayland/sockets.c:63] Failed to bind socket @/tmp/.X11-unix/X0: Address already in use
wlserver: [xwayland/server.c:108] Starting Xwayland on :2
wlserver: [types/wlr_compositor.c:681] New wlr_surface 0x55c5f2c4d4c0 (res 0x55c5f2c0f770)
wlserver: [xwayland/server.c:273] Xserver is ready
pipewire: stream state changed: connecting
pipewire: stream state changed: paused
pipewire: stream available on node ID: 98
pipewire: renegotiating stream params (size: 1280x720)
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_STAYS_ON_TOP
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_BELOW
wlserver: [types/wlr_compositor.c:681] New wlr_surface 0x55c5f2c91f00 (res 0x55c5f2c374a0)

My system

OS: Arch Linux x86_64 Kernel: 6.4.12-arch1-1 DE: Plasma 5.27.7 WM: Kwin CPU: AMD Ryzen 9 5900x (24) @ 3.700GHz GPU: AMD ATI Radeon Rx 6800 XT

SteamVR and Client info

just in case it's relevant to anyone

SteamVR: beta 1.27.5 Steam Client Version: 1693527575 Steam Client Build Date: Thu, Aug 31 5:03 PM UTC -08:00

Extra notes

This is the same result between the official Arch package gamescope and the AUR gamescope-git that builds from this repo.

EyasDmour commented 9 months ago

same or similar error when running gamescope -e -- steam on my Laptop Nvidia 3050 Linux 6.6 kernel with kernel modules and the nvidia kernel modeset thingy X11 Gnome Arch Linux.

it opens a "transparant"? window that shows what was behind it and doesn't refresh it.

on Wayland with same input i get 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 vulkan: physical device 10de:25e2 compute queue doesn't support presenting on our surface, using graphics queue vulkan: selecting physical device 'NVIDIA GeForce RTX 3050 Laptop GPU': queue family 0 (general queue family 0) vulkan: physical device supports DRM format modifiers fish: Job 1, 'gamescope -e -- steam' terminated by signal SIGSEGV (Address boundary error)

super confusing and inconvenient, i have no idea what's wrong.