You are not logged in.

#1 2023-07-31 20:23:14

SozDIN
Member
Registered: 2023-07-31
Posts: 6

Complete system crash when playing video games

Hey,

I've been trying several other outlets to solve my problem, but I just can't find a solution that fits my problem.
The issue is that when gaming, eventually, not just the games, but the whole system will crash. This issue did not happen until about ~ 2-3 weeks ago.

This crash starts with a weird slowing down of the game, alarming me to it and usually giving me enough time to save. Then, the audio will glitch out.
After about 1-2 minutes, the complete OS is frozen. I can no longer do anything, forcing me to restart.
These problems show with relative intense games, such as Anno 1800 and Red Dead Redemption 2. I use Steam and Proton Experimental for these.

So far I've tried:
1. Completely reformatting my drive and reinstalling Arch entirely
2. Tried memtest86, nothing reported as wrong
3. Changed Steam launch options to RADV_DEBUG=syncshaders %command%
4. Switched kernel to LTS, no change here
5. Update my firmware using fwupd

Here's my specs:
Kernel: 6.1.39-1-lts
CPU: AMD Ryzen 5 3600X (12) @ 3.800GHz
GPU: AMD ATI Radeon RX 6800
RAM: 16 GB

Here's the journalctl of my last time I played Anno 1800, leading in a complete system crash.
I started playing Anno around 20:26.

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon RX 6800 (navi21, LLVM 15.0.7, DRM 3.49, 6.1.39-1-lts) (0x73bf)
    Version: 23.1.4
    Accelerated: yes
    Video memory: 16384MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 15848 MB, largest block: 15848 MB
    VBO free aux. memory - total: 7910 MB, largest block: 7910 MB
    Texture free memory - total: 15848 MB, largest block: 15848 MB
    Texture free aux. memory - total: 7910 MB, largest block: 7910 MB
    Renderbuffer free memory - total: 15848 MB, largest block: 15848 MB
    Renderbuffer free aux. memory - total: 7910 MB, largest block: 7910 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 16384 MB
    Total available memory: 24341 MB
    Currently available dedicated video memory: 15848 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 6800 (navi21, LLVM 15.0.7, DRM 3.49, 6.1.39-1-lts)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 23.1.4
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.1.4
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 23.1.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

Any help and pointers would be greatly appreciated. I've only been using Arch for about two months, so please understand that I might need a bit more hand-holding.

Hope that whoever reading this is having a good week!

Last edited by SozDIN (2023-07-31 21:00:20)

Offline

#2 2023-07-31 20:36:35

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,120

Re: Complete system crash when playing video games

Please use [code][/code] tags, not "quote" tags. Edit your post in this regard.

Do you play that game from an optical disc?

Jul 31 20:26:00 danielpc kernel: sr 4:0:0:0: [sr0] scsi3-mmc drive: 48x/12x writer dvd-ram cd/rw xa/form2 cdda tray
Jul 31 20:26:00 danielpc kernel: sr 4:0:0:0: Attached scsi CD-ROM sr0
Jul 31 20:27:22 danielpc kernel: sr 4:0:0:0: [sr0] tag#2 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
Jul 31 20:27:22 danielpc kernel: sr 4:0:0:0: [sr0] tag#2 Sense Key : Not Ready [deferred] 
Jul 31 20:27:22 danielpc kernel: sr 4:0:0:0: [sr0] tag#2 Add. Sense: Medium not present - tray closed
Jul 31 20:27:22 danielpc kernel: sr 4:0:0:0: [sr0] tag#2 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Jul 31 20:27:22 danielpc kernel: I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 3 prio class 2
Jul 31 20:27:22 danielpc kernel: sr 4:0:0:0: [sr0] tag#4 unaligned transfer
Jul 31 20:27:22 danielpc kernel: I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Jul 31 20:27:22 danielpc kernel: Buffer I/O error on dev sr0, logical block 0, async page read
Jul 31 20:27:22 danielpc kernel: sr 4:0:0:0: [sr0] tag#6 unaligned transfer
Jul 31 20:27:22 danielpc kernel: I/O error, dev sr0, sector 1 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Jul 31 20:27:22 danielpc kernel: Buffer I/O error on dev sr0, logical block 1, async page read
Jul 31 20:27:22 danielpc kernel: sr 4:0:0:0: [sr0] tag#7 unaligned transfer
Jul 31 20:27:22 danielpc kernel: I/O error, dev sr0, sector 2 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Jul 31 20:27:22 danielpc kernel: Buffer I/O error on dev sr0, logical block 2, async page read
Jul 31 20:27:22 danielpc kernel: sr 4:0:0:0: [sr0] tag#14 unaligned transfer
Jul 31 20:27:22 danielpc kernel: I/O error, dev sr0, sector 3 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Jul 31 20:27:22 danielpc kernel: Buffer I/O error on dev sr0, logical block 3, async page read
Jul 31 20:27:22 danielpc kernel: sr 4:0:0:0: [sr0] tag#15 unaligned transfer
Jul 31 20:27:22 danielpc kernel: I/O error, dev sr0, sector 4 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Jul 31 20:27:22 danielpc kernel: Buffer I/O error on dev sr0, logical block 4, async page read
Jul 31 20:27:22 danielpc kernel: sr 4:0:0:0: [sr0] tag#16 unaligned transfer
Jul 31 20:27:22 danielpc kernel: I/O error, dev sr0, sector 5 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Jul 31 20:27:22 danielpc kernel: Buffer I/O error on dev sr0, logical block 5, async page read
Jul 31 20:27:22 danielpc kernel: sr 4:0:0:0: [sr0] tag#17 unaligned transfer
Jul 31 20:27:22 danielpc kernel: I/O error, dev sr0, sector 6 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Jul 31 20:27:22 danielpc kernel: Buffer I/O error on dev sr0, logical block 6, async page read
Jul 31 20:27:22 danielpc kernel: sr 4:0:0:0: [sr0] tag#18 unaligned transfer
Jul 31 20:27:22 danielpc kernel: I/O error, dev sr0, sector 7 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 2
Jul 31 20:27:22 danielpc kernel: Buffer I/O error on dev sr0, logical block 7, async page read
Jul 31 20:27:27 danielpc kernel: sr 4:0:0:0: [sr0] tag#13 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
Jul 31 20:27:27 danielpc kernel: sr 4:0:0:0: [sr0] tag#13 Sense Key : Not Ready [deferred] 
Jul 31 20:27:27 danielpc kernel: sr 4:0:0:0: [sr0] tag#13 Add. Sense: Medium not present - tray closed
Jul 31 20:27:27 danielpc kernel: sr 4:0:0:0: [sr0] tag#13 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
Jul 31 20:27:27 danielpc kernel: I/O error, dev sr0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 3 prio class 2
Jul 31 20:27:27 danielpc kernel: sr 4:0:0:0: [sr0] tag#14 unaligned transfer
Jul 31 20:27:27 danielpc kernel: Buffer I/O error on dev sr0, logical block 0, async page read
Jul 31 20:27:27 danielpc kernel: sr 4:0:0:0: [sr0] tag#15 unaligned transfer
Jul 31 20:27:27 danielpc kernel: Buffer I/O error on dev sr0, logical block 1, async page read
Jul 31 20:27:27 danielpc kernel: sr 4:0:0:0: [sr0] tag#19 unaligned transfer
Jul 31 20:27:27 danielpc kernel: sr 4:0:0:0: [sr0] tag#20 unaligned transfer
Jul 31 20:27:27 danielpc kernel: sr 4:0:0:0: [sr0] tag#21 unaligned transfer
Jul 31 20:27:27 danielpc kernel: sr 4:0:0:0: [sr0] tag#22 unaligned transfer
Jul 31 20:27:27 danielpc kernel: sr 4:0:0:0: [sr0] tag#23 unaligned transfer
Jul 31 20:27:27 danielpc kernel: sr 4:0:0:0: [sr0] tag#31 unaligned transfer

FYI: please don't copy and paste out of the pager, redirect the journal into a file or a pastebin service (1st link below)

Online

#3 2023-07-31 20:40:17

SozDIN
Member
Registered: 2023-07-31
Posts: 6

Re: Complete system crash when playing video games

Thank you for letting me know. I've updated the OP.
I do not play it on an optical disk at all. In fact, I don't even use it, ever. This isn't the only journalctl where this error showed up, and I have been meaning to remove it tomorrow entirely because of it.

Offline

#4 2023-07-31 20:47:19

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,120

Re: Complete system crash when playing video games

More like

sudo journalctl -b | curl -F 'file=@-' 0x0.st

(the pager truncates lines and the copy/paste interferes w/ the scroll buffer, to the log ends with a copy of the start and the notion that this is "lines 1-23/1882 1%", while the entire paste, incl. the copy, is only 1000 lines  - likely your scrollback buffer limit)

Online

#5 2023-07-31 21:03:43

SozDIN
Member
Registered: 2023-07-31
Posts: 6

Re: Complete system crash when playing video games

seth wrote:

More like

sudo journalctl -b | curl -F 'file=@-' 0x0.st

(the pager truncates lines and the copy/paste interferes w/ the scroll buffer, to the log ends with a copy of the start and the notion that this is "lines 1-23/1882 1%", while the entire paste, incl. the copy, is only 1000 lines  - likely your scrollback buffer limit)

Thanks for letting me know - edited again.

Offline

#6 2023-07-31 21:15:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,120

Re: Complete system crash when playing video games

Jul 31 20:26:08 danielpc systemd-logind[554]: New session 2 of user daniel.
…
Jul 31 20:26:57 danielpc dbus-daemon[553]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.82' (uid=1000 pid=1982 comm="/home/daniel/.local/share/Steam/ubuntu12_32/steam")
Jul 31 20:26:58 danielpc systemd[1]: proc-sys-fs-binfmt_misc.automount: Got automount request for /proc/sys/fs/binfmt_misc, triggered by 2009 (steamwebhelper)
…
Jul 31 20:27:22 danielpc kernel: sr 4:0:0:0: [sr0] tag#2 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s
…
Jul 31 20:27:23 danielpc sudo[2732]:   daniel : TTY=pts/0 ; PWD=/home/daniel ; USER=root ; COMMAND=/usr/bin/journalctl

You logged in 20:26:08 and I guess the journalctl call at 20:27:23 is right after the problem occurred?
Inbetween we've some steam, incl. and automount request and 24s later (25 is the dbus timeout) a flurry or sr0 errors.
=> See what happens w/o the optical drive.

Online

#7 2023-08-01 11:51:40

SozDIN
Member
Registered: 2023-07-31
Posts: 6

Re: Complete system crash when playing video games

Unfortunately, I still had a complete system crash playing RDR2 today after removing the optical drive.
Here is the full journalctl of last boot. I'm kind of at a loss on what to do because now there aren't even any errors as far as I can see. Nothing is overheating either.

Offline

#8 2023-08-01 12:08:26

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,120

Re: Complete system crash when playing video games

Aug 01 12:25:02 danielpc kernel: [drm] Unknown EDID CEA parser results
Aug 01 12:26:15 danielpc kernel: [drm] Unknown EDID CEA parser results
xrandr --verbose

Then try to simplify the setup:
- cut out SDDM, use starts (last link below)
- use openbox or at least disable the xfwm4 compositor, https://wiki.archlinux.org/title/Xfwm#Composite_manager
- if there're multiple monitors attached, try only one

Online

#9 2023-08-01 14:09:10

SozDIN
Member
Registered: 2023-07-31
Posts: 6

Re: Complete system crash when playing video games

Here's my xrandr.
I removed SDDM and disabled the compositor. No changes in the crashes.

Offline

#10 2023-08-01 14:19:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,120

Re: Complete system crash when playing video games

Did you try only one (and then the other) monitor?

Online

#11 2023-08-02 18:19:39

SozDIN
Member
Registered: 2023-07-31
Posts: 6

Re: Complete system crash when playing video games

Just wanted to give a quick update. I'll check more tomorrow with the left monitor; unfortunately I don't have that much time to check out the problem. But today has been the first time in what feels like an eternity in which I was able to play RDR2 for a few hours in peace.
I unplugged the left monitor (HDMI-1) and just let it run on the right one (DP-2) . I was able to play uninterrupted and on 60 FPS and it felt stable.

Thank you for your wonderful help so far. I'll check in with the left monitor tomorrow. smile

Offline

#12 2023-08-02 18:59:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,120

Re: Complete system crash when playing video games

How's the weather where you live? Got colder?

Online

Board footer

Powered by FluxBB