Looking for any help or advice for this problem. I've first noticed it in Flight Gear, where upon loading into the map, the game will stutter for a bit, then completely freeze up. My keyboard completely becomes unresponsive as well, requiring me to hold the power button on my PC. This isn't the only game I've experienced this in either. I can play Xonotic for about 10-15 minutes before it freezes my system. Games run through WINE/Proton will freeze too. However, some native and WINE games will run fine. I'm not sure why, because it doesn't seem to be affected by how graphically intensive the game is. Prison Architect as a native game for instance - is a 2d game that doesn't require much to run at all, but will also crash my whole system. Nothing else seems to be affected by this strangeness. I can use my browser, make music, write in word, etc. The system runs fine until I start playing some games.
My neofetch is included below but before anyone asks. This also happened on 21.04, using kernel 5.11 during that period, and it still done what I've described.To clarify what GPU I have, I have an AMD r9 270.
lele@lele-G50:~$ lsmod | grep "gpu"
amdgpu 6385664 45
iommu_v2 24576 1 amdgpu
gpu_sched 36864 1 amdgpu
i2c_algo_bit 16384 2 amdgpu,radeon
drm_ttm_helper 16384 2 amdgpu,radeon
ttm 69632 3 amdgpu,radeon,drm_ttm_helper
drm_kms_helper 262144 2 amdgpu,radeon
drm 561152 19 gpu_sched,drm_kms_helper,amdgpu,radeon,drm_ttm_helper,ttm
lele@lele-G50:~$ glxinfo | grep Mesa
client glx vendor string: Mesa Project and SGI
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.2.4 - kisak-mesa PPA
OpenGL version string: 4.6 (Compatibility Profile) Mesa 21.2.4 - kisak-mesa PPA
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 21.2.4 - kisak-mesa PPA
`.:/ossyyyysso/:. lele@lele-G50
.:oyyyyyyyyyyyyyyyyyyo:` -------------
-oyyyyyyyodMMyyyyyyyysyyyyo- OS: Kubuntu 21.10 x86_64
-syyyyyyyyyydMMyoyyyydmMMyyyyys- Kernel: 5.13.0-20-generic
oyyysdMysyyyydMMMMMMMMMMMMMyyyyyyyo Uptime: 43 mins
`oyyyydMMMMysyysoooooodMMMMyyyyyyyyyo` Packages: 3306 (dpkg), 16 (flatpak)
oyyyyyydMMMMyyyyyyyyyyyysdMMysssssyyyo Shell: bash 5.1.8
-yyyyyyyydMysyyyyyyyyyyyyyysdMMMMMysyyy- Resolution: 1600x900
oyyyysoodMyyyyyyyyyyyyyyyyyyydMMMMysyyyo DE: Plasma 5.23.1
yyysdMMMMMyyyyyyyyyyyyyyyyyyysosyyyyyyyy WM: KWin
yyysdMMMMMyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy Theme: Layan [Plasma], Breeze [GTK2/3]
oyyyyysosdyyyyyyyyyyyyyyyyyyydMMMMysyyyo Icons: [Plasma], breeze [GTK2/3]
-yyyyyyyydMysyyyyyyyyyyyyyysdMMMMMysyyy- Terminal: konsole
oyyyyyydMMMysyyyyyyyyyyysdMMyoyyyoyyyo CPU: Intel Xeon X3450 (8) @ 2.668GHz
`oyyyydMMMysyyyoooooodMMMMyoyyyyyyyyo GPU: AMD ATI Radeon R7 370 / R9 270/370 OEM
oyyysyyoyyyysdMMMMMMMMMMMyyyyyyyyo Memory: 2298MiB / 11967MiB
-syyyyyyyyydMMMysyyydMMMysyyyys-
-oyyyyyyydMMyyyyyyysosyyyyo-
./oyyyyyyyyyyyyyyyyyyo/.
`.:/oosyyyysso/:.`
I can't seem to capture anything too abnormal in my logs either from what I can see. Maybe it crashes too quickly to even write a log? I'm not sure. But maybe someone more experienced can detect any abnormalies in the logs below. I'm not sure what logs to include so I included the two basic ones. I'll include anything else if asked.
Also to give some more information, I've added the following parameters to grub - "amdgpu.gpu_recovery=1 amdgpu.dpm=0 amdgpu.runpm=0 amdgpu.bapm=0 processor.max_cstate=1 idle=nomwait"
But that didn't seem to make any difference in the crashing.
Dmesg - https://pastebin.com/X9LYMh5r
Journalctl - https://pastebin.com/q4p5JAB4
I hope I can finally get this ironed out. I suspect it's my GPU. My SSD SMART shows it's healthy, I've done a memtest and while I had to disable HT for some reason in order to get it to run, the memtest came back good too. Also, I have two R9 270's and I've swapped both of them to see if it makes a difference, and it doesn't. So I'm not sure if it's GPU related either. I'm stumped. Any help would be much appreciated!