ValveSoftware/gamescope

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

tastyhub opened this issue · 9 comments

Is there an existing issue for this?

  • I have searched the existing issues

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

  • The issue occurs on upstream gamescope without any modifications

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?

  • Wayland (default for nested gamescope)
  • DRM (default for embedded gamescope, i.e. gamescope-session)
  • SDL
  • OpenVR

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

did you mis-spell "env"?

did you mis-spell "env"?

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

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

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] [�[0;34mInfo�[0m]  �[0;37mconsole:�[0m gamescope version 7dd1bcd+ (gcc 14.2.1)
Tracing is enabled
[gamescope] [�[0;34mInfo�[0m]  �[0;37mscriptmgr:�[0m Loading scripts from: '/usr/share/gamescope/scripts'
[gamescope] [�[0;34mInfo�[0m]  �[0;37mscriptmgr:�[0m Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope'
[gamescope] [�[0;34mInfo�[0m]  �[0;37mscriptmgr:�[0m Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope/common'
[gamescope] [�[0;34mInfo�[0m]  �[0;37mscriptmgr:�[0m Running script file '/usr/share/gamescope/scripts/00-gamescope/common/inspect.lua' (id: 0)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mscriptmgr:�[0m Running script file '/usr/share/gamescope/scripts/00-gamescope/common/modegen.lua' (id: 1)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mscriptmgr:�[0m Running script file '/usr/share/gamescope/scripts/00-gamescope/common/util.lua' (id: 2)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mscriptmgr:�[0m Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope/displays'
[gamescope] [�[0;34mInfo�[0m]  �[0;37mscriptmgr:�[0m Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/asus.rogally.lcd.lua' (id: 3)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mscriptmgr:�[0m Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/deckhd.steamdeck.deckhd-lcd.lua' (id: 4)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mscriptmgr:�[0m Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/valve.steamdeck.lcd.lua' (id: 5)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mscriptmgr:�[0m Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/valve.steamdeck.oled.lua' (id: 6)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mscriptmgr:�[0m Loading scripts from: '/etc/gamescope/scripts'
[gamescope] [�[0;33mWarn�[0m]  �[0;37mscriptmgr:�[0m Directory '/etc/gamescope/scripts' does not exist
[gamescope] [�[0;34mInfo�[0m]  �[0;37mscriptmgr:�[0m Loading scripts from: '/root/.config/gamescope/scripts'
[gamescope] [�[0;33mWarn�[0m]  �[0;37mscriptmgr:�[0m Directory '/root/.config/gamescope/scripts' does not exist
[gamescope] [�[0;34mInfo�[0m]  �[0;37mvulkan:�[0m selecting physical device 'AMD Radeon RX 7800 XT (RADV NAVI32)': queue family 1 (general queue family 0)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mvulkan:�[0m physical device supports DRM format modifiers
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [backend/headless/backend.c:67] Creating headless backend
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [libseat] [libseat/libseat.c:73] Seat opened with backend 'seatd'
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [libseat] [libseat/backend/seatd.c:212] Enabling seat
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [backend/session/session.c:108] Successfully loaded libseat session
[gamescope] [�[0;34mInfo�[0m]  �[0;37mdrm:�[0m opening DRM node '/dev/dri/card1'
[gamescope] [�[0;34mInfo�[0m]  �[0;37mdrm:�[0m Connector DP-3 -> AOC - Q27G3XMN
[gamescope] [�[0;34mInfo�[0m]  �[0;37mdrm:�[0m [colorimetry]: EDID with colorimetry detected. Using it
[gamescope] [�[0;34mInfo�[0m]  �[0;37mdrm:�[0m [colorimetry]: r 0.677734 0.313477
[gamescope] [�[0;34mInfo�[0m]  �[0;37mdrm:�[0m [colorimetry]: g 0.248047 0.688477
[gamescope] [�[0;34mInfo�[0m]  �[0;37mdrm:�[0m [colorimetry]: b 0.149414 0.057617
[gamescope] [�[0;34mInfo�[0m]  �[0;37mdrm:�[0m [colorimetry]: w 0.313477 0.329102
[gamescope] [�[0;34mInfo�[0m]  �[0;37mdrm:�[0m Connector DP-3 -> AOC - Q27G3XMN
[gamescope] [�[0;34mInfo�[0m]  �[0;37mdrm:�[0m [colorimetry]: EDID with colorimetry detected. Using it
[gamescope] [�[0;34mInfo�[0m]  �[0;37mdrm:�[0m [colorimetry]: r 0.677734 0.313477
[gamescope] [�[0;34mInfo�[0m]  �[0;37mdrm:�[0m [colorimetry]: g 0.248047 0.688477
[gamescope] [�[0;34mInfo�[0m]  �[0;37mdrm:�[0m [colorimetry]: b 0.149414 0.057617
[gamescope] [�[0;34mInfo�[0m]  �[0;37mdrm:�[0m [colorimetry]: w 0.313477 0.329102
[gamescope] [�[0;34mInfo�[0m]  �[0;37mdrm:�[0m Connectors:
[gamescope] [�[0;34mInfo�[0m]  �[0;37mdrm:�[0m   HDMI-A-1 (disconnected)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mdrm:�[0m   DP-2 (disconnected)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mdrm:�[0m   DP-3 (connected)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mdrm:�[0m   DP-1 (disconnected)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mdrm:�[0m selecting connector DP-3
[gamescope] [�[0;34mInfo�[0m]  �[0;37mdrm:�[0m selecting mode 2560x1440@170Hz
[gamescope] [�[0;34mInfo�[0m]  �[0;37mvulkan:�[0m supported DRM formats for sampling usage:
[gamescope] [�[0;34mInfo�[0m]  �[0;37mvulkan:�[0m   AR24 (0x34325241)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mvulkan:�[0m   XR24 (0x34325258)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mvulkan:�[0m   AB24 (0x34324241)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mvulkan:�[0m   XB24 (0x34324258)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mvulkan:�[0m   RG16 (0x36314752)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mvulkan:�[0m   NV12 (0x3231564E)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mvulkan:�[0m   AB4H (0x48344241)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mvulkan:�[0m   XB4H (0x48344258)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mvulkan:�[0m   AB48 (0x38344241)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mvulkan:�[0m   XB48 (0x38344258)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mvulkan:�[0m   AB30 (0x30334241)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mvulkan:�[0m   XB30 (0x30334258)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mvulkan:�[0m   AR30 (0x30335241)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mvulkan:�[0m   XR30 (0x30335258)
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m Using explicit sync when available
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;34mInfo�[0m]  �[0;37mwlserver:�[0m [wayland] error: XDG_RUNTIME_DIR is invalid or not set in the environment
[gamescope] [�[0;31mError�[0m] �[0;37mwlserver:�[0m Unable to open wayland socket: No such file or directory
Failed to initialize wlserver

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

just "env" not "-env"

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?

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

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.