ValveSoftware / gamescope

SteamOS session compositing window manager
Other
3.18k stars 214 forks source link

Failed to start process "enc": No such file or directory #1638

Open tastyhub opened 2 days ago

tastyhub commented 2 days ago

Is there an existing issue for this?

Are you using any gamescope patches or a forked version of gamescope?

Current Behavior

I’m on Bazzite with Gnome, trying to run game scope in a TTY. I get the following error: edit: I apologize if the formating is screwed up. I attached a screenshot with proper formating. ``` [gamescope] [Info] console: gamescope version 7dd1bcd+ (gcc 14.2.1) [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/ryanw/.config/gamescope/scripts' [gamescope] [Warn] scriptmgr: Directory '/home/ryanw/.config/gamescope/scripts' does not exist [gamescope] [Info] vulkan: selecting physical device 'AMD Radeon RX 7800 XT (RADV NAVI32)': queue family 1 (general queue family 0) [gamescope] [Info] vulkan: physical device supports DRM format modifiers [gamescope] [Info] wlserver: [backend/headless/backend.c:67] Creating headless backend [gamescope] [Info] wlserver: [libseat] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory [gamescope] [Info] wlserver: [libseat] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping [gamescope] [Info] wlserver: [libseat] [libseat/libseat.c:73] Seat opened with backend 'logind' [gamescope] [Info] wlserver: [backend/session/session.c:108] Successfully loaded libseat session [gamescope] [Info] drm: opening DRM node '/dev/dri/card1' [gamescope] [Info] drm: Connector HDMI-A-1 -> ACR - Acer XF270H B [gamescope] [Info] drm: [colorimetry]: EDID with colorimetry detected. Using it [gamescope] [Info] drm: [colorimetry]: r 0.648438 0.332031 [gamescope] [Info] drm: [colorimetry]: g 0.326172 0.624023 [gamescope] [Info] drm: [colorimetry]: b 0.157227 0.057617 [gamescope] [Info] drm: [colorimetry]: w 0.313477 0.329102 [gamescope] [Info] drm: Connector HDMI-A-1 -> ACR - Acer XF270H B [gamescope] [Info] drm: [colorimetry]: EDID with colorimetry detected. Using it [gamescope] [Info] drm: [colorimetry]: r 0.648438 0.332031 [gamescope] [Info] drm: [colorimetry]: g 0.326172 0.624023 [gamescope] [Info] drm: [colorimetry]: b 0.157227 0.057617 [gamescope] [Info] drm: [colorimetry]: w 0.313477 0.329102 [gamescope] [Info] drm: Connectors: [gamescope] [Info] drm: HDMI-A-1 (connected) [gamescope] [Info] drm: DP-2 (disconnected) [gamescope] [Info] drm: DP-3 (disconnected) [gamescope] [Info] drm: DP-1 (disconnected) [gamescope] [Info] drm: selecting connector HDMI-A-1 [gamescope] [Info] drm: selecting mode 1920x1080@144Hz [gamescope] [Info] vulkan: supported DRM formats for sampling usage: [gamescope] [Info] vulkan: AR24 (0x34325241) [gamescope] [Info] vulkan: XR24 (0x34325258) [gamescope] [Info] vulkan: AB24 (0x34324241) [gamescope] [Info] vulkan: XB24 (0x34324258) [gamescope] [Info] vulkan: RG16 (0x36314752) [gamescope] [Info] vulkan: NV12 (0x3231564E) [gamescope] [Info] vulkan: AB4H (0x48344241) [gamescope] [Info] vulkan: XB4H (0x48344258) [gamescope] [Info] vulkan: AB48 (0x38344241) [gamescope] [Info] vulkan: XB48 (0x38344258) [gamescope] [Info] vulkan: AB30 (0x30334241) [gamescope] [Info] vulkan: XB30 (0x30334258) [gamescope] [Info] vulkan: AR30 (0x30335241) [gamescope] [Info] vulkan: XR30 (0x30335258) [gamescope] [Info] wlserver: Using explicit sync when available [gamescope] [Info] wlserver: Running compositor on wayland display 'gamescope-0' [gamescope] [Info] wlserver: [backend/headless/backend.c:17] Starting headless backend [gamescope] [Info] wlserver: Successfully initialized libei for input emulation! [gamescope] [Info] wlserver: [xwayland/server.c:107] Starting Xwayland on :2 [gamescope] [Info] pipewire: stream state changed: connecting [gamescope] [Info] pipewire: stream state changed: paused [gamescope] [Info] pipewire: stream available on node ID: 85 [gamescope] [Info] xwm: Embedded, no cursor set. Using left_ptr by default. [gamescope] [Info] vblank: Using timerfd. [gamescopereaper] [Error] process: Failed to start process "enc": No such file or directory [gamescope] [Info] launch: Primary child shut down! (EE) failed to read Wayland events: Broken pipe [gamescope] [Error] drm: drmModeRmFB failed: Bad file descriptor [gamescope] [Error] drm: drmModeRmFB failed: Bad file descriptor [gamescope] [Error] drm: drmModeRmFB failed: Bad file descriptor [gamescope] [Error] drm: drmModeRmFB failed: Bad file descriptor ```

Steps To Reproduce

Ctrl-Alt-F3 to enter TTY. Log in and enter command:

gamescope --hdr-enabled -f -W 3840 -H 2160 -r 160 --force-grab-cursor --adaptive-sync --steam -- env DXVK_HDR=1 steam -tenfoot

Hardware information

- Distro: Bazzite-Gnome 41.20241118.0
- CPU: Ryzen 5 5600X
- GPU: AMD Radeon 7800 XT
- Driver Version: 24.2.4

Software information

- Desktop environment: Gnome 47.1
- Session type: wayland
- Gamescope version: 7dd1bcd+ (gcc 14.2.1)
- Gamescope launch command(s): gamescope --hdr-enabled -f -W 3840 -H 2160 -r 160 --force-grab-cursor --adaptive-sync --steam -- env DXVK_HDR=1 steam -tenfoot

Which gamescope backends have the issue you are reporting?

Logging, screenshots, or anything else

Screenshot From 2024-11-24 16-42-17

I’m running in TTY, is that considered embedded? I’ve also tried the command in Gnome looking glass alt-F2 Type ‘lg’ Enter ‘global.context.get_debug_control().enable_hdr=true

misyltoad commented 2 days ago

did you mis-spell "env"?

tastyhub commented 2 days ago

did you mis-spell "env"?

Stupid mistake on my part. Thanks for pointing it out! But now I get this error: IMG_6272

matte-schwartz commented 2 days ago

You forgot to launch steam in front of -tenfoot, and used --tenfoot accidentally this time

tastyhub commented 2 days ago

I was receiving seatd errors, so I installed seatd $rpm ostree install seatd

I adjusted my launch command per above instructions to: $ sudo gamescope --hdr-enabled -f -W 2160 -H 1440 -r 170 --force-grab-cursor --adaptive-sync --steam -- -env DXVK_HDR=1 steam -tenfoot &> hdr.txt

I'm now receiving the following error: ``` [gamescope] [Info] console: gamescope version 7dd1bcd+ (gcc 14.2.1) Tracing is enabled [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: '/root/.config/gamescope/scripts' [gamescope] [Warn] scriptmgr: Directory '/root/.config/gamescope/scripts' does not exist [gamescope] [Info] vulkan: selecting physical device 'AMD Radeon RX 7800 XT (RADV NAVI32)': queue family 1 (general queue family 0) [gamescope] [Info] vulkan: physical device supports DRM format modifiers [gamescope] [Info] wlserver: [backend/headless/backend.c:67] Creating headless backend [gamescope] [Info] wlserver: [libseat] [libseat/libseat.c:73] Seat opened with backend 'seatd' [gamescope] [Info] wlserver: [libseat] [libseat/backend/seatd.c:212] Enabling seat [gamescope] [Info] wlserver: [backend/session/session.c:108] Successfully loaded libseat session [gamescope] [Info] drm: opening DRM node '/dev/dri/card1' [gamescope] [Info] drm: Connector DP-3 -> AOC - Q27G3XMN [gamescope] [Info] drm: [colorimetry]: EDID with colorimetry detected. Using it [gamescope] [Info] drm: [colorimetry]: r 0.677734 0.313477 [gamescope] [Info] drm: [colorimetry]: g 0.248047 0.688477 [gamescope] [Info] drm: [colorimetry]: b 0.149414 0.057617 [gamescope] [Info] drm: [colorimetry]: w 0.313477 0.329102 [gamescope] [Info] drm: Connector DP-3 -> AOC - Q27G3XMN [gamescope] [Info] drm: [colorimetry]: EDID with colorimetry detected. Using it [gamescope] [Info] drm: [colorimetry]: r 0.677734 0.313477 [gamescope] [Info] drm: [colorimetry]: g 0.248047 0.688477 [gamescope] [Info] drm: [colorimetry]: b 0.149414 0.057617 [gamescope] [Info] drm: [colorimetry]: w 0.313477 0.329102 [gamescope] [Info] drm: Connectors: [gamescope] [Info] drm: HDMI-A-1 (disconnected) [gamescope] [Info] drm: DP-2 (disconnected) [gamescope] [Info] drm: DP-3 (connected) [gamescope] [Info] drm: DP-1 (disconnected) [gamescope] [Info] drm: selecting connector DP-3 [gamescope] [Info] drm: selecting mode 2560x1440@170Hz [gamescope] [Info] vulkan: supported DRM formats for sampling usage: [gamescope] [Info] vulkan: AR24 (0x34325241) [gamescope] [Info] vulkan: XR24 (0x34325258) [gamescope] [Info] vulkan: AB24 (0x34324241) [gamescope] [Info] vulkan: XB24 (0x34324258) [gamescope] [Info] vulkan: RG16 (0x36314752) [gamescope] [Info] vulkan: NV12 (0x3231564E) [gamescope] [Info] vulkan: AB4H (0x48344241) [gamescope] [Info] vulkan: XB4H (0x48344258) [gamescope] [Info] vulkan: AB48 (0x38344241) [gamescope] [Info] vulkan: XB48 (0x38344258) [gamescope] [Info] vulkan: AB30 (0x30334241) [gamescope] [Info] vulkan: XB30 (0x30334258) [gamescope] [Info] vulkan: AR30 (0x30335241) [gamescope] [Info] vulkan: XR30 (0x30335258) [gamescope] [Info] wlserver: Using explicit sync when available [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Info] wlserver: [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment [gamescope] [Error] wlserver: Unable to open wayland socket: No such file or directory Failed to initialize wlserver ```
misyltoad commented 2 days ago

you're now launching "-env" because you typo'ed again.

misyltoad commented 2 days ago

just "env" not "-env"

tastyhub commented 2 days ago

just "env" not "-env"

Ahh ok. So I fixed that, and it returned with no errors. I ctrl-alt-F1 back into gnome, but steam isnt running. Should it be?

matte-schwartz commented 2 days ago

steam does not like being run with sudo, which is what happens with sudo gamescope. you should instead use:

gamescope --hdr-enabled -f -W 3840 -H 2160 -r 160 --force-grab-cursor --adaptive-sync --steam -- steam -tenfoot

which will achieve the same thing you're trying to do already without installing seatd or using sudo. I don't think env DXVK_HDR=1 is necessary if you're already using --hdr-enabled, but it should not cause issues when used correctly:

gamescope --hdr-enabled -f -W 3840 -H 2160 -r 160 --force-grab-cursor --adaptive-sync --steam -- env DXVK_HDR=1 steam -tenfoot
tastyhub commented 2 days ago

gamescope --hdr-enabled -f -W 3840 -H 2160 -r 160 --force-grab-cursor --adaptive-sync --steam -- steam -tenfoot

Great! That command launched Steam in Big Picture mode. My monitor's OSD reports HDR now. However, the game i'm trying is Horizon Zero Dawn, and it reports HDR Unavailable.

Do I need to set any steam launch commands? Edit: Monster Hunter Rise also reports HDR not supported.