Skip to content

[Death Stranding 2] Instant crash when enabling ray tracing specifically in gamescope-session #13

Description

@Riebeck-one

When launching Death Stranding 2 in steam specifically from gamescope-session with the following workaround (necessary to enable RT) :

DXVK_CONFIG='dxgi.hideAmdGpu = True;' %command%

Enabling ray tracing causes an instant game crash.

This issue occurs only in Death Stranding 2 with this DXVK_CONFIG workaround and when enabling RT inside gamescope-session. Death Stranding 2 itself works in other contexts:

  • Desktop mode: Death Stranding 2 runs fine, ray tracing works without crash
  • Embedded gamescope (launched manually via script in a new TTY): Death Stranding 2 runs fine, ray tracing works without crash
  • Gamescope-session : Death Stranding 2 crashes when enabling ray tracing
  • Other games on gamescope-session: work correctly

The script I use to start gamescope embedded in a new TTY :

#!/bin/sh

export PROTON_XESS_UPGRADE=1
export PROTON_FSR4_RDNA3_UPGRADE=4.1.0
export PROTON_USE_WOW64=1

pgrep -x steam >/dev/null && steam -shutdown

gamescope -f -e -O DP-1 -W 5120 -H 1440 -r 70 --xwayland-count 2 --hdr-enabled --hdr-itm-enabled --hdr-sdr-content-nits 250 --sdr-gamut-wideness 1 --adaptive-sync -- steam -gamepadui -pipewire-dmabuf

Below are two logs, the first one when running DS2 from desktop, in which it doesn't crash, and the second one when running DS2 inside gamescope-session, in which it crashes.
DS2 started from desktop (working).log
DS2 started from gamescope-session (crash).log

Other informations :

     -`                     david@archlinux
                 .o+`                    ---------------
                `ooo/                    OS: Arch Linux x86_64
               `+oooo:                   Kernel: Linux 6.19.12-1-cachyos
              `+oooooo:                  Uptime: 9 mins
              -+oooooo+:                 Packages: 1541 (pacman), 6 (flatpak)
            `/:-:++oooo+:                Shell: fish 4.6.0
           `/++++/+++++++:               Display (): 1920x1080 in 16", 60 Hz [External]
          `/++++++++++++++:              Display (LS49AG95): 5120x1440 in 49", 240 Hz [External, HDR] *
         `/+++ooooooooooooo/`            DE: KDE Plasma 6.6.4
        ./ooosssso++osssssso+`           WM: KWin (Wayland)
       .oossssso-````/ossssss+`          WM Theme: Breeze
      -osssssso.      :ssssssso.         Theme: Breeze (MaterialYouDark) [Qt], Breeze-Dark [GTK2], Breeze [GT]
     :osssssss/        osssso+++.        Icons: breeze [Qt], breeze [GTK2/3/4]
    /ossssssss/        +ssssooo/-        Font: Noto Sans (10pt) [Qt], Noto Sans (10pt) [GTK2/3/4]
  `/ossssso+/:-        -:/+osssso+-      Cursor: breeze (24px)
 `+sso+:-`                 `.-/+oso:     Terminal: konsole 25.12.3
`++:.                           `-/+/    Terminal Font: Iosevka Nerd Font Mono (10pt)
.`                                 `/    CPU: AMD Ryzen 7 7800X3D (16) @ 5.05 GHz
                                         GPU: AMD Radeon RX 7900 XTX [Discrete]
                                         Memory: 5.89 GiB / 62.45 GiB (9%)
                                         Swap: 19.01 MiB / 8.00 GiB (0%)
                                         Disk (/): 778.82 GiB / 1.82 TiB (42%) - btrfs
                                         Local IP (eno1): 192.168.50.214/24
                                         Locale: fr_FR.UTF-8

gamescope version : 3.16.23-1.1

env variables I use :

  • PROTON_XESS_UPGRADE=1
  • PROTON_ENABLE_WAYLAND=1
  • PROTON_FSR4_RDNA3_UPGRADE=4.1.0
  • PROTON_USE_WOW64=1
  • PROTON_ENABLE_HDR=1
  • OUTPUT_CONNECTOR=DP-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions