Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Certain game question: DayZ crashes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
steveo314
n00b
n00b


Joined: 08 Sep 2006
Posts: 56

PostPosted: Mon Nov 11, 2024 4:29 am    Post subject: Certain game question: DayZ crashes Reply with quote

Does anyone have DayZ running on Gentoo ~amd64? I have everything installed. Launcher opens. When i go to launch a server the load screen starts and then it crashes.

I have the game Vigor running fine. I need to see if this happens with any others.

[Administrator edit: Changed title to try to attract relevant answers. The original title of Certain game question did not mention the game's name or what was wrong with it. -Hu]
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 981
Location: The Village, Portmeirion

PostPosted: Tue Nov 12, 2024 6:25 pm    Post subject: Reply with quote

I haven't played it in a while, but it would crash like that before bumping up vm.max_map_count.

You can check what it's currently set to with:
Code:
 sysctl vm.max_map_count

And change it with:
Code:
sysctl -w vm.max_map_count=524288

you can add it to /etc/sysctl.conf if you want the change to persist through a reboot.
Here is a good table for choosing a value to use.
https://memgraph.com/docs/database-management/system-configuration#increasing-memory-map-areas

Some distros yeet it right up to 1048576...
Back to top
View user's profile Send private message
steveo314
n00b
n00b


Joined: 08 Sep 2006
Posts: 56

PostPosted: Wed Nov 13, 2024 9:36 pm    Post subject: Reply with quote

skellr wrote:
I haven't played it in a while, but it would crash like that before bumping up vm.max_map_count.

You can check what it's currently set to with:
Code:
 sysctl vm.max_map_count

And change it with:
Code:
sysctl -w vm.max_map_count=524288

you can add it to /etc/sysctl.conf if you want the change to persist through a reboot.
Here is a good table for choosing a value to use.
https://memgraph.com/docs/database-management/system-configuration#increasing-memory-map-areas

Some distros yeet it right up to 1048576...


This is exactly what it was. Thank you.
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1958
Location: 127.0.0.1

PostPosted: Thu Nov 14, 2024 10:31 am    Post subject: Reply with quote

This is also documented on the wiki : https://wiki.gentoo.org/wiki/Steam/Client_troubleshooting#Increase_virtual_memory_mapping
Recently Arch Linux also increase this value : https://archlinux.org/news/increasing-the-default-vmmax_map_count-value/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum