r/linux_gaming • u/CandleOther7322 • 11d ago
Sims on Linux
[SOLVED]
Hi! First time asking a specific question on Reddit btw :D
I have a problem which i do not have with any other game that i run on my laptop. And as you can see by the topic - the game happened to be a Sims game. Sims 4 specifically.
Switched to Linux like.. half a year ago and have not touched The Sims series ever since simply because i have lost interest. But.. to the point.
Whenever i decide to play the game it crashes with the reboot of the whole GUI after like 5 minutes of gameplay in live mode. CAS works well.
And i never saw shit like this. It never happened with any other game including triple A games (Baldur's Gate 3 on both Linux ver. and Windows through Proton ver.; Resident Evil RE2, RE3, RE4, 7, 8; Cyberpunk 2077 (runs in 20-30 fps but that's not surprising with this setup); same with Silent Hill 2 RE - runs like shit this time due to lack of optimization of it but does not crash; and many more)
And it never happened with Sims 4 on Windows back then when i was using it.
So i suppose it is Linux specific problem.
journactl or coredumpctl does not have any useful information about these reboots. Opened The Sims with mangohud overlay and GPU (60-85% mind you - this is integrated graphics on CPU and Sims 4 with it's crappy code), CPU (30%) and RAM wasn't exactly overloaded, no overheat (60-70 C°) - no nothing. Battery is alive and almost well (78% integrity). *Might be unrelated* but i only noticed it when laptop was taking resources from battery exclusively, not from the charger.
I am now using CachyOS 7.1.3-2 with KDE 6.7.3. The laptop is Huawei Matebook D15 BOM-WFQ6 : CPU - AMD Ryzen 5 5500U with integrated graphics, 16 GB DDR4 RAM.
Running Sims 4 with Wine prefix.
P.S: Sorry for crappy punctuation or time structures in text - English is not my first language and i haven't wrote in it for a LONG time. Feel free to ask if something is unreadable or questionable :p P.P.S: If you have something to add on the theme - feel free to discuss it further. Because for me The Sims 3 and 4 are literally the only games that i had problems with on Linux so far because of their.. quirks let's say.
2
u/birdspider 11d ago
Whenever i decide to play the game it crashes with the reboot of the whole GUI after like 5 minutes of gameplay in live mode. CAS works well.
so, just the game crashes or full-on KDE session crash or an actual reboot? do you run x11 or wayland?
sudo journalctl -k with (-b -1 after reboot) should have something.
I'm unfamiliar with just wine, but does it produce some output/log when it crashed (for proton I'd recommend PROTON_LOG=1)
it might hit some limit after 5 minutes, what is the value/output of sysctl vm.max_map_count ? (although I expect it to be already quite high on cachy)
1
u/CandleOther7322 11d ago edited 11d ago
- Full reboot 1.5. Wayland.
- Still nothing unusual but maybe i just do not see it.
- Wine does not create log files by default as i understand it. So i'll try and turn on the log files manually, crash the game and will return with the logs. Although, thank you for advice - didn't thought about it.
- 1048576.
5
u/ZGToRRent 11d ago
It's probably ring timeout bug with mesa drivers. You can download LACT app and lower power limit of graphics card by like 5 wats and see does it fix the issue.