You are not logged in.

#1 2019-07-26 16:17:08

XWarzor
Member
Registered: 2018-09-20
Posts: 3

Random crashes on some games

Hi,
I'm the victim of random crashes on some Steam games like Rust, GTA5 (proton), Northgard, World of Warships (proton).
Some other games (like CS:GO) works well.
When the crash occurs, my computer reboot automatically and I see no logs in journalctl for the crash time.

My system configuration:
Kernel 5.2.2 (but I think it doesn't matter, I already have this problem with older kernels)
AMDGPU (RX 480 GPU)
Mesa 19.1.3
GNOME desktop

Thanks for help

Offline

#2 2019-08-05 18:44:52

66.exe
Member
Registered: 2016-06-14
Posts: 8

Re: Random crashes on some games

Hi,
I am experiencing the same issues.

For me CS:GO runs fine for about 25 minutes then it crashes. Tomb Raider crashes immediately and reboots my PC.

I've tried causing similar crashes by rendering complex scenes in Blender. That seems to work fine.

Running glxgears and glmark2 does not cause any issues.

I tried rolling back mesa a few times. Went all the way back to 18.xx. Didn't help.

I found a reliable way to reproduce the issue. If I run furmark then it crashes immediately and my PC restarts just like with the games.

Steps to reproduce:
Install gputest from AUR (contains furmark)

run the below command:

gputest /test=fur /width=1280 /height=1024 /benchmark /benchmark_duration_ms=5000 /no_scorebox /print_score

My system:

mesa : 19.1.3-1
Kernel : 5.2.5-arch1-1-ARCH
CPU : Intel i5-4460 (4) @ 3.400GHz
GPU : AMD RX580
RAM : 16GB
Power supply : 380W
WM : bspwm

Last edited by 66.exe (2019-08-09 14:05:18)

Offline

#3 2019-08-09 14:04:49

66.exe
Member
Registered: 2016-06-14
Posts: 8

Re: Random crashes on some games

After some more testing I have realized that the crashes are causing IO errors. (Any file that was written to soon before the crash is corrupted after the reboot)

This is also most likely why there is nothing in the journalctl. After booting I ran dmesg and I saw this interesting line:

[   46.152875] systemd-journald[305]: File /var/log/journal/f3aaec47759b4b03a4c3e7548a591810/user-1000.journal corrupted or uncleanly shut down, renaming and replacing.

In the mean time, I have also updated to linux 5.2.7.arch1-1 and mesa 19.1.4-1, but neither helped.

I have also tried setting the below kernel parameters (separately) , but they also did not help:

amdgpu.dc=0
amdgpu.vm_update_mode=3

Offline

#4 2019-08-10 11:42:01

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 7,135

Re: Random crashes on some games

run coredumpctl list

are there entries on it that coincide with crashes ?


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#5 2019-08-10 12:38:40

XWarzor
Member
Registered: 2018-09-20
Posts: 3

Re: Random crashes on some games

Lone_Wolf wrote:

run coredumpctl list

are there entries on it that coincide with crashes ?

Thanks for help.
I don't have any entries for the last 3 days with coredumpctl list, but I had some crashes so I think that this can't help me.

Offline

#6 2019-08-10 17:14:10

Ropid
Member
Registered: 2015-03-09
Posts: 594

Re: Random crashes on some games

@66.exe:

Does that 'gputest' command line you shared earlier always cause a crash? I tried it here like that, and it doesn't crash. I then next changed duration to one minute and then ten minutes and both of those tests worked as well.

Here's that ten minutes run:

$ gputest /test=fur /width=1280 /height=1024 /benchmark /benchmark_duration_ms=600000 /no_scorebox /print_score
sh: aticonfig: command not found
cat: /proc/ati/0/biosversion: No such file or directory

==================================
GpuTest 0.7.0
http://www.geeks3d.com

Module: FurMark
Score: 80397 points (FPS: 133)

Settings:
- 1280x1024 windowed
- antialiasing: Off
- duration: 600000 ms

Renderer:
- Radeon RX 580 Series (POLARIS10, DRM 3.32.0, 5.2.7-zen1-1-zen, LLVM 8.0.1)
- OpenGL: 4.5 (Core Profile) Mesa 19.1.4
==================================

My card is an RX480 with a tweaked BIOS (that's why it shows as RX580). I undervolt+underclock the card with a script at boot.

I wonder if your PSU might be the issue? Looking around online, I could find that reviewers saw power usage of about 200W for the default speed RX580 card alone and 300W for their whole system. The cards that are sold overclocked by the manufacturer instead of with AMD's default clocks might end up being really close to what your 360W PSU can do. There could also maybe be power spikes at certain moments that trip the PSU's overcurrent protection?

Offline

#7 2019-08-11 08:55:51

66.exe
Member
Registered: 2016-06-14
Posts: 8

Re: Random crashes on some games

Lone_Wolf wrote:

run coredumpctl list

are there entries on it that coincide with crashes ?

Thanks Lone_Wolf. Here is my output:

coredumpctl list | tail                                                                                                            [0]
Sun 2019-08-04 20:58:31 SAST   9171  1000   100  11 missing   /mnt/fattony/steam_lib/steamapps/common/Tomb Raider/bin/TombRaider
Sun 2019-08-04 21:04:28 SAST   8381  1000   100  11 missing   /mnt/fattony/steam_lib/steamapps/common/Tomb Raider/bin/TombRaider
Sun 2019-08-04 21:09:02 SAST   7035  1000   100  11 missing   /mnt/fattony/steam_lib/steamapps/common/Tomb Raider/bin/TombRaider
Sun 2019-08-04 21:14:05 SAST   7472  1000   100  11 missing   /mnt/fattony/steam_lib/steamapps/common/Tomb Raider/bin/TombRaider
Sun 2019-08-04 21:58:52 SAST  16670  1000   100  11 missing   /usr/bin/blender
Sun 2019-08-04 21:59:28 SAST  18666  1000   100  11 missing   /usr/bin/blender
Sun 2019-08-04 21:59:47 SAST  19524  1000   100  11 missing   /usr/bin/blender
Mon 2019-08-05 20:18:49 SAST   4276  1000   100   7 missing   /usr/lib/firefox/firefox
Tue 2019-08-06 21:24:53 SAST  12203  1000   100  11 missing   /usr/lib/firefox/firefox
Sat 2019-08-10 23:37:01 SAST   2460  1000   100  11 present   /mnt/fattony/steam_lib/steamapps/common/RimWorld/RimWorldLinux.x86_64

TombRaider always crashes my PC immediately on startup, and those coredumps line up with it. But as you can see the actually coredump files are missing due to the file corruption issue I mentioned earlier.

I also tried rendering a hectic scene with blender but it didn't cause any crashes that I was aware of.

The Firefox dumps were from me installing the AMD-PRO drivers to see if that would fix anything (it didn't) but I hadn't restarted my PC and firefox was still running, and didn't like that.

I can play rimworld without any issues, but I saw there was a segfault after I exited the game.

Offline

#8 2019-08-11 09:07:59

66.exe
Member
Registered: 2016-06-14
Posts: 8

Re: Random crashes on some games

Ropid wrote:

@66.exe:

Does that 'gputest' command line you shared earlier always cause a crash? I tried it here like that, and it doesn't crash. I then next changed duration to one minute and then ten minutes and both of those tests worked as well.

Hi Ropid, yes it still crashes my PC every time. I have not modded or tweaked my card at all. It is a brand new RX580.

I accidentally said I have a 300W PSU, but it is actually a 380W PSU. When I checked online I saw that it generally drew less than 250W of power when gaming, so I thought 380W would be enough. As far as I can tell it is not overclocked or anything. But I just checked now and on the GPU's box it recommends a minimum of a 500W PSU. I guess I'll have to buy a new PSU and see if that solves it.

Ropid wrote:

There could also maybe be power spikes at certain moments that trip the PSU's overcurrent protection?

It is possible. Where I live, the company that runs our electricity grid is very incompetent. But I don't think that's the issue since this always happens when gaming and not while doing non-GPU intensive tasks.

Last edited by 66.exe (2019-08-11 09:08:24)

Offline

#9 2019-08-11 09:10:46

66.exe
Member
Registered: 2016-06-14
Posts: 8

Re: Random crashes on some games

@XWarzor:

I'm just curious, how many Watts does your PSU supply? And what does the box for your GPU recommend?

Offline

#10 2019-08-11 11:58:17

XWarzor
Member
Registered: 2018-09-20
Posts: 3

Re: Random crashes on some games

66.exe wrote:

@XWarzor:

I'm just curious, how many Watts does your PSU supply? And what does the box for your GPU recommend?

This is a 750W PSU (CX750M)

I had the chance to test with another power supply, and no more crash problems with this other power supply (same power)
So my issue is solved, I just have to get another PSU.

Thanks guys, I let the subject open for your similar issue @66.exe
I recommand you to test with another PSU

Offline

#11 2019-08-11 17:35:00

Ropid
Member
Registered: 2015-03-09
Posts: 594

Re: Random crashes on some games

66.exe wrote:
Ropid wrote:

There could also maybe be power spikes at certain moments that trip the PSU's overcurrent protection?

It is possible. Where I live, the company that runs our electricity grid is very incompetent. But I don't think that's the issue since this always happens when gaming and not while doing non-GPU intensive tasks.


No, I meant something else with "power spikes", not what the power company is doing. I was thinking about the power usage from the graphics card. When those reviewers measured something like 250W of power usage for the card, maybe that isn't a flat 250W, maybe there are some moments where the card's power usage was higher for a split second.

Offline

#12 2019-08-12 05:26:27

66.exe
Member
Registered: 2016-06-14
Posts: 8

Re: Random crashes on some games

I have ordered a 600W PSU, it should arrive in about 2 days. I highly suspect that this is the issue. @XWarzor thanks for leaving the issue open in case it isn't.

Ropid wrote:

No, I meant something else with "power spikes", not what the power company is doing. I was thinking about the power usage from the graphics card. When those reviewers measured something like 250W of power usage for the card, maybe that isn't a flat 250W, maybe there are some moments where the card's power usage was higher for a split second.

That makes sense. I'll see what happens when my new PSU arrives. Thanks for your assistance.

Offline

#13 2019-08-14 17:40:27

66.exe
Member
Registered: 2016-06-14
Posts: 8

Re: Random crashes on some games

Hi,

I installed my new PSU. It was the solution. Everything is working now. Games no longer crash my PC and the furmark test also works fine. Thanks for all the assistance. This thread can be marked as solved.

Offline

Board footer

Powered by FluxBB