Stuck on loading screen(Linux)

Post Reply
linuggamer
Posts: 3
Joined: Sat May 28, 2022 7:02 pm

Sat May 28, 2022 8:09 pm

First of all, I am a Gnu/Linux user who play the game thanks to the proton-experimental. It is a fresh Void Linux install, so I do not know if I messed up something or not, but I wanted to share the dump file anyway because I thought, it might not be explicit to my system. It doesn't matter which GPU I use, the error occurs.

I tried to create a new game then I stuck at loading screen.

Validated the game files.
Tried different GPUs.
checked 32-bit and 64-bit vulkan, mesa, nvidia, amd drivers/softwares.
enabled and disabled mods.


Hardware:

Code: Select all

  *-display
       description: VGA compatible controller
       product: TU116M [GeForce GTX 1660 Ti Mobile]
       vendor: NVIDIA Corporation
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:85 memory:f6000000-f6ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:f000(size=128) memory:f7000000-f707ffff
  
  *-display
       description: VGA compatible controller
       product: Picasso
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       version: c2
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi msix vga_controller bus_master cap_list rom
       configuration: driver=amdgpu latency=0
       resources: irq:24 memory:e0000000-efffffff memory:f0000000-f01fffff ioport:c000(size=256) memory:f7500000-f757ffff memory:c0000-dffff
 
  *-cpu
  	AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx
 
 *-disk
	 512GB NVMe disk

 *-memory
	64KiB BIOS
	16GiB System Memory
	8GiB SODIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0.4 ns)
	8GiB SODIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0.4 ns)
Linux 5.15.41_1 x86_64
Thanks.
Attachments
crashDump1.0.55_x64.zip
(33.63 KiB) Downloaded 151 times
Last edited by linuggamer on Sat May 28, 2022 11:08 pm, edited 1 time in total.

User avatar
Shidan
Moderator
Posts: 1234
Joined: Mon Oct 22, 2012 1:41 pm

Sat May 28, 2022 9:36 pm

Looks like the error code is "0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s."

Not a particularly helpful error, looking online. Best guess is something off about how it is emulating windows, since it's a windows error. Or Proton may simply not work with Kenshi, I'm not sure.

linuggamer
Posts: 3
Joined: Sat May 28, 2022 7:02 pm

Sat May 28, 2022 9:52 pm

I solve it using PROTON_NO_ESYNC=1 %command% in launch options, but it was buggy, low fps etc. I am still trying to solve the issue. wanted to share the progress :).

linuggamer
Posts: 3
Joined: Sat May 28, 2022 7:02 pm

Sat May 28, 2022 11:02 pm

SOLUTION:
I found out that the issue is caused by max open files permission.
Not that I am using Void Linux which is using runit as its init system.

Check if the issue is relevant to you:

Code: Select all

ulimit -Hn
if the output is under than 524288 probably it is. My output was 4096.
To increase the limit edit the limits.conf (vim is my text editor)

Code: Select all

sudo vim /etc/security/limits.conf
Now u can read the config file it explains itself. If you want to do something different do it.
I added this line=

Code: Select all

myusername        hard     nofile          524288
save it and quit.
Now edit the login file

Code: Select all

sudo vim /etc/pam.d/login
add the line:

Code: Select all

session         required        /lib/security/pam_limits.so 
Lastly edit your display manager under /etc/pam.d/ (note: lightdm is my display manager if you don't use lightdm and currently using different dm it won't work. Edit your display manager under /etc/pam.d/)

Code: Select all

sudo vim /etc/pam.d/lightdm
add the same line

Code: Select all

session         required        /lib/security/pam_limits.so

Reboot.

I hope it helps someone.
Last edited by linuggamer on Sat May 28, 2022 11:22 pm, edited 2 times in total.

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 12 guests