ValveSoftware / gamescope

SteamOS session compositing window manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gamescope appears to crash Deep Rock Galactic frequently

Riven-Spell opened this issue · comments

Hi there. I've recently discovered that running DRG under Gamescope consistently causes crashes. This doesn't appear to happen in other games, but it occurs extremely frequently under newer proton versions.

System information:

Computer Information:
Manufacturer: ASUSTeK COMPUTER INC.
Model: PRIME Z790-A WIFI
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: 13th Gen Intel(R) Core(TM) i9-13900K
CPU Family: 0x6
CPU Model: 0xb7
CPU Stepping: 0x1
CPU Type: 0x0
Speed: 5500 MHz
32 logical processors
24 physical processors
Hyper-threading: Supported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Unsupported
SSE41: Supported
SSE42: Supported
AES: Supported
AVX: Supported
AVX2: Supported
AVX512F: Unsupported
AVX512PF: Unsupported
AVX512ER: Unsupported
AVX512CD: Unsupported
AVX512VNNI: Unsupported
SHA: Supported
CMPXCHG16B: Supported
LAHF/SAHF: Supported
PrefetchW: Unsupported
Operating System Version:
"CachyOS" (64 bit)
Kernel Name: Linux
Kernel Version: 6.9.1-2-cachyos
X Server Vendor: The X.Org Foundation
X Server Release: 12401000
X Window Manager: KWin
Steam Runtime Version: <Runtime disabled>
Video Card:
Driver: NVIDIA Corporation NVIDIA GeForce RTX 4090/PCIe/SSE2
Driver Version: 4.6.0 NVIDIA 555.42.02
OpenGL Version: 4.6
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 174 Hz
VendorID: 0x10de
DeviceID: 0x2684
Revision Not Detected
Number of Monitors: 2
Number of Logical Video Cards: 1
Primary Display Resolution: 3440 x 1440
Desktop Resolution: 5360 x 1440
Primary Display Size: 31.89" x 13.78" (34.72" diag), 81.0cm x 35.0cm (88.2cm diag)
Primary VRAM: 24564 MB
Sound card:
Audio device: Realtek ALC1220
Memory:
RAM: 31830 Mb
VR Hardware:
VR Headset: None detected
Miscellaneous:
UI Language: English
LANG: en_US.UTF-8
Total Hard Disk Space Available: 950840 MB
Largest Free Hard Disk Block: 713082 MB
Storage:
Number of SSDs: 4
SSD sizes: 2000G,2000G,1000G,500G
Number of HDDs: 0
Number of removable drives: 0

Gamescope command:

gamemoderun gamescope -W 3440 -H 1440 -f -e --mangoapp --hdr-enabled --adaptive-sync -- %command%

Shortly before crash, notably:

wlserver: [types/wlr_pointer_constraints_v1.c:278] new confined_pointer 0x643f4d9991d0 (res 0x643f4d93c7f0)
wlserver: [types/wlr_pointer_constraints_v1.c:378] constrained 0x643f4d9991d0
wlserver: [types/wlr_pointer_constraints_v1.c:46] destroying constraint 0x643f4d9991d0
wlserver: [types/wlr_pointer_constraints_v1.c:278] new locked_pointer 0x643f4d8cf260 (res 0x643f4d93c910)
wlserver: [types/wlr_pointer_constraints_v1.c:378] constrained 0x643f4d8cf260
[Gamescope WSI] VkHdrMetadataEXT: display primaries:
                                      r: 0.708 0.292
                                      g: 0.17 0.797
                                      b: 0.131 0.046
                                      w: 0.3127 0.329
                                  mastering luminance: min 0 nits, max 1e+07 nits
                                  maxContentLightLevel: 0 nits
                                  maxFrameAverageLightLevel: 0 nits
winegstreamer: failed to create decodebin, are 64-bit GStreamer "base" plugins installed?
winegstreamer: failed to create decodebin, are 64-bit GStreamer "base" plugins installed?
wlserver: [types/wlr_pointer_constraints_v1.c:46] destroying constraint 0x643f4d8cf260
└─[$] yay -Q | grep gst                                                                                                                                                                                                                                                                                                                                                              [1:28:06]
gst-libav 1.24.3-1
gst-plugin-pipewire 1:1.0.6-1.1
gst-plugins-bad 1.24.3-1
gst-plugins-bad-libs 1.24.3-1
gst-plugins-base 1.24.3-1
gst-plugins-base-libs 1.24.3-1
gst-plugins-good 1.24.3-1
gst-plugins-ugly 1.24.3-1
gstreamer 1.24.3-1
lib32-gst-plugins-base-libs 1.24.3-1
lib32-gstreamer 1.24.3-1

Settting GAMESCOPE_ENABLE_WSI=0 seems to prevent hanging, but doesn't really solve the issue because that also breaks HDR.

As suggested in #1200, disabling vsync appears to resolve the issue (at least, as far as immediate crashes go). Doing an extended test now.

I'll call that conclusive enough. Got about 25 minutes of gameplay without a crash, gotta head to work now.

Seems like it also works with --adaptive-sync, but still feels oddly not as smooth as when vsync was on.