Jump to content

Matthieu Crapet

Vintarian
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Matthieu Crapet

    • Distro / Kernel release:                           Debian GNU/Linux 11 (bullseye) / 5.10.0-8-amd64
    • Mono / .NET package version:               mono-complete (6.12.0.122 from www.mono-project.com)
    • Graphics driver version:                        Mesa 20.3.5-1 [Intel HD Graphics 6000 (BDW GT3) (0x1626)]
    • Works for client, mp server or both:     Client, server untested
    • Installation method used:                       tar zxvf vs_archive_*.tar.gz (no need to use install.sh script)
    • Hacks (if needed):                                   crash due to memory issue, see below
    • Vintage version:                                      1.16.4

    For mono installation I followed:
    https://www.mono-project.com/download/stable/#download-lin-debian
    (took Debian 10 settings, I'm on Debian 11 but that worked fine)

    After launching run.sh, I experienced systematic crashes when joining a Multiplayer game.
    In output traces I could see:
    * Assertion at lock-free-alloc.c:145, condition `sb_header' not met, function:alloc_sb, Failed to allocate memory for the lock free allocator

    Found solution here:
    https://github.com/anegostudios/VintageStory-Issues/issues/1742
    https://github.com/mono/mono/issues/12947

    As root user:

    # sysctl vm.max_map_count
    vm.max_map_count = 65530
    # sysctl -w vm.max_map_count=262144
    vm.max_map_count = 262144
    # sysctl vm.max_map_count
    vm.max_map_count = 262144

    So increasing soft limit from 65530 to 262144 fixed my issue.

    Note: My PC has 16GB physical RAM + 16GB swap configured

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.