You are not logged in.

#1 2014-12-04 17:41:20

Yrz0
Member
Registered: 2014-12-04
Posts: 4

Unavoidable system freezes when playing games

Hi all,

I recently switched from Windows to Arch Linux for good and it's been an enjoyable experience so far. My only problem is system freezes that sometimes occur when putting load on the system.
Mostly I'm having the problem that games I'm playing will inevitably freeze at some point, might be 5 minutes after launching them, might be 2h. It isn't exclusive to games though, once or twice Chrome crashed when having a couple of tabs open and opening another YouTube tab or something like that.

Here's how it happens:
- My frame rate (in games) drops over a couple of seconds until I only see a slide show, then it's only a matter of seconds until the system (X?) freezes completely.
- simultaneously the sound begins to stutter and stops as well
- if I see it coming and manage to Alt+F4 out of the game it goes back to running normally, otherwise it freezes completely and my only option is to reboot or Alt+SysRq+R, Alt+SysRq+E which brings me back to my login manager.

About my system:
- latest Arch, upgraded a couple of times which didn't change anything
- Intel i5 CPU, Nvidia GPU with proprietary drivers
- Openbox as WM, no DE, but I had the same problem with GNOME and KDE before as well

Games I played on this system (and all crashed):
- CS:GO, Prison Architect, WoW on Wine

If someone could give me any hints how I could go about diagnosing/removing this problem I would be very grateful!

P.S. I didn't have any problems like this at all on Windows (7)

Offline

#2 2014-12-04 17:52:08

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 12,082
Website

Re: Unavoidable system freezes when playing games

If someone could give me any hints how I could go about diagnosing/removing this problem I would be very grateful!

The journal should be your first port of call. https://wiki.archlinux.org/index.php/Sy … al#Journal

Check the entries for the times when you experienced this behaviour, and see if there is anything that would indicate a cause. e.g. segfaults, lockups, read errors, etc.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2014-12-04 18:18:56

Yrz0
Member
Registered: 2014-12-04
Posts: 4

Re: Unavoidable system freezes when playing games

Dec 04 18:48:39 archie dbus[239]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.NetworkManager.service': Unit dbus-org.freedesktop.NetworkManager.service failed to load: No such file or directory.
Dec 04 19:08:33 archie kernel: SysRq : Keyboard mode set to system default
Dec 04 19:08:36 archie kernel: SysRq : Terminate All Tasks
Dec 04 19:08:36 archie systemd-journal[155]: Journal stopped
Dec 04 19:08:36 archie systemd-journal[9737]: Permanent journal is using 232.0M (max allowed 4.0G, trying to leave 4.0G free of 63.2G available → current limit 4.0G).
Dec 04 19:08:36 archie systemd-journald[155]: Received SIGTERM.
Dec 04 19:08:36 archie systemd-journal[9737]: Journal started
Dec 04 19:08:36 archie dhcpcd[299]: received signal TERM from PID 0, stopping
Dec 04 19:08:36 archie dhcpcd[299]: enp2s0: removing interface
Dec 04 19:08:36 archie dhcpcd[299]: exited
Dec 04 19:08:36 archie lightdm[5302]: pam_unix(lightdm:session): session closed for user ricardo
Dec 04 19:08:36 archie dhcpcd[9725]: dhcpcd not running
Dec 04 19:08:36 archie lightdm[5302]: pam_systemd(lightdm:session): Failed to release session: Connection reset by peer
Dec 04 19:08:36 archie pulseaudio[5357]: Unable to read or parse data from client.
Dec 04 19:08:36 archie pulseaudio[5357]: PulseAudio information vanished from X11!
Dec 04 19:08:36 archie systemd[272]: Stopping Default.
Dec 04 19:08:36 archie systemd[5316]: Stopping Default.
Dec 04 19:08:36 archie systemd[272]: Stopped target Default.
Dec 04 19:08:36 archie systemd[5316]: Stopped target Default.
Dec 04 19:08:36 archie systemd[272]: Stopping Basic System.
Dec 04 19:08:36 archie systemd[5316]: Stopping Basic System.
Dec 04 19:08:36 archie systemd[272]: Stopped target Basic System.

Thanks for the hint, didn't know the journal yet. Just had another crash. The journal unfortunately doesn't seem to show anything fruitful concerning the crash. (which occured between the first two entries)

Offline

#4 2014-12-04 19:29:48

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Unavoidable system freezes when playing games

How much memory do you have? Do you have a swap partition/file?

Offline

#5 2014-12-04 20:17:51

starbreaker
Member
From: Harrisburg, PA
Registered: 2014-11-30
Posts: 48
Website

Re: Unavoidable system freezes when playing games

Could your machine be overheating? If it uses an Intel CPU, thermald might be helpful as a stopgap.


Matthew Graybosch
matthewgraybosch.com (personal) | starbreakerseries.com (my epic SF series)
"I ain't got a drinking problem. I got a doing stupid shit when I'm drunk problem." --Edmund Cohen

Offline

#6 2014-12-04 21:31:38

Yrz0
Member
Registered: 2014-12-04
Posts: 4

Re: Unavoidable system freezes when playing games

lucke wrote:

How much memory do you have? Do you have a swap partition/file?

4 GB. And no swap partition.

starbreaker wrote:

Could your machine be overheating? If it uses an Intel CPU, thermald might be helpful as a stopgap.

I don't think so. I checked once after rebooting the machine and the CPU had very normal temperature values. I will definitely check that one more time, though.

Offline

#7 2014-12-04 21:38:21

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Unavoidable system freezes when playing games

Read https://bbs.archlinux.org/viewtopic.php?id=190247.

If the freeze happens, see if Alt-SysRq-f helps.

Offline

#8 2014-12-04 21:53:47

Yrz0
Member
Registered: 2014-12-04
Posts: 4

Re: Unavoidable system freezes when playing games

lucke wrote:

Read https://bbs.archlinux.org/viewtopic.php?id=190247.

If the freeze happens, see if Alt-SysRq-f helps.

Thanks, that looks very promising. When the next freeze happen's I'll try to find out if it's a memory problem. Or create a swap file anyway.

//I created a swap file (4GB) and I haven't experienced any further crashes yet. Looks like that was the problem.

Last edited by Yrz0 (2014-12-07 16:43:41)

Offline

Board footer

Powered by FluxBB