You are not logged in.

#1 2023-11-09 10:01:08

25pwn
Member
Registered: 2023-01-22
Posts: 26

CS2 hangs after tabbing out inside a game

I am running:
nvidia-dkms
KDE Plasma Wayland
Flatpak Steam

My laptop has an AMD CPU with an iGPU and an Nvidia dGPU.

In CS2, when fullscreen, tabbing out while inside a game causes it to hang(multiple attempts may be neccesary), with the following in the journal:

REDACTED_TIME archlinux kernel: NVRM: Xid (PCI:0000:01:00): 31, pid=14763, name=cs2, Ch 00000016, intr 00000000. MMU Fault: ENGINE GRAPHICS GPCCLIENT_PROP_0 faulted @ 0x0_08e04000. Fault is of type FAULT_PDE ACCESS_TYPE_VIRT_READ 

The same also happens when switching to fullscreen.

When doing the same with fullscreen windowed:

REDACTED_TIME archlinux kwin_wayland[1462]: libkwinglutils: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"                                                                                           
REDACTED_TIME archlinux kwin_wayland[1462]: libkwinglutils: Can't enable invalid framebuffer object!        
REDACTED_TIME archlinux kwin_wayland[1462]: libkwinglutils: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
REDACTED_TIME archlinux kwin_wayland[1462]: libkwinglutils: Can't enable invalid framebuffer object!

None of this happens in windowed mode, CS:GO or with the AMD GPU.

Last edited by 25pwn (2023-11-09 10:05:21)

Offline

#2 2023-11-09 11:35:59

25pwn
Member
Registered: 2023-01-22
Posts: 26

Re: CS2 hangs after tabbing out inside a game

With either of AMD or Nvidia GPU, CS2 now crashes with either:

REDACTED_TIME archlinux krunner[4495]: free(): invalid pointer

or:

REDACTED_TIME archlinux krunner[5904]: double free or corruption (out)

This may be unrelated but these are also memory problems. Nothing else if off on my system, but nobody else is reporting these issues, so I'm assuming something is wrong with my system

Offline

#3 2023-11-09 13:38:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,715

Re: CS2 hangs after tabbing out inside a game

If something gets minimized in a wayland session that usually leads to the compositor stopping to render the invisible information. Some games have core logic tied to their rendering loop which will make them crash. I'd assume the nvidia issues are some general wayland woes. I'm assuming you'll have neither issue in a xorg session.

Offline

#4 2024-06-28 13:21:15

C0rn3j
Member
Registered: 2016-02-14
Posts: 24

Re: CS2 hangs after tabbing out inside a game

Would be nice if this were reported to upstream earlier, it still happens on Plasma 6.1 and Nvidia 555.58

https://bugs.kde.org/show_bug.cgi?id=489374

Offline

Board footer

Powered by FluxBB