1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.39 Bug Reporting thread
    Solutions and more information may already be available.

Linux Port – Feedback, Known Issues, and FAQ

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by Car_Killer, Jun 13, 2022.

  1. Oriki

    Oriki
    Expand Collapse

    Joined:
    Apr 23, 2024
    Messages:
    6
    I have no sound on native linux binary, but have it on proton version.

    OS ~ Arch Linux x86_64
    KER ~ Linux 6.14.4-arch1-2
    PKG ~ 1045 (pacman)
    SH ~ zsh 5.9
    TER ~ st 0.8.4
    WM ~ dwm (X11)

    pactl list short sinks
    56 alsa_output.pci-0000_07_00.4.analog-stereo PipeWire s32le 2ch 48000Hz SUSPENDED
    68 alsa_output.pci-0000_05_00.1.hdmi-stereo PipeWire s32le 2ch 48000Hz SUSPENDED
     
  2. Blenux

    Blenux
    Expand Collapse

    Joined:
    Oct 29, 2021
    Messages:
    145
    Does this happen on all applications or just BeamNG?
    Does it happen after a restart? (incase you updated arch??)
    Try need to go into alsamixer and unmute it perhaps (press F6 to change sound card etc) ?
     
  3. hummer010

    hummer010
    Expand Collapse

    Joined:
    May 13, 2025
    Messages:
    3
    I can't get 0.35 to open at all.

    Gentoo
    Kernel 6.14.5
    Mesa 25.0.5
    Hyprland 0.48.1
    nVidia Quadro T2000 card with official nvidia drivers 570.144

    It always exits with an invalid_pointer error. This is on laptop with integrated Intel graphics. I get the same error if I try and run it using Intel graphics instead of nvidia.
     

    Attached Files:

  4. zavo_sh

    zavo_sh
    Expand Collapse

    Joined:
    May 17, 2025
    Messages:
    1
    Hi,
    is it possible to change the location of the user files folder?
    Instead of ~/.local/share/BeamNG.drive/ I would like to specify another location.
    Thanks
     
  5. snoutie

    snoutie
    Expand Collapse

    Joined:
    Dec 3, 2021
    Messages:
    49
    Change UserPath in startup.ini. Avoid trailing slashes
     
    • Like Like x 1
  6. Q__Q

    Q__Q
    Expand Collapse

    Joined:
    Mar 24, 2025
    Messages:
    4
    I'm here on Arch and having the same "invalid_pointer" crash that Sylence and hummer010 have reported. The former mentioned in his post that some people had better luck with environment variables, but I haven't been able to find any. Any leads on fixing this crash? Beam was working with no issues 2 weeks ago max. Have tried downgrading to no avail

    6.14.10-arch1-1
    ryzen5 7235HS + nvidia RTX3050 laptop 6gb
     
  7. fillman86

    fillman86
    Expand Collapse

    Joined:
    Apr 18, 2020
    Messages:
    316
    packing mods is fraught with peril in linux. I have started zipping my own mods currently, but it was just more convenient to use the in game functions
     
  8. aivora

    aivora
    Expand Collapse
    Research Software Engineer
    BeamNG Team

    Joined:
    Dec 14, 2021
    Messages:
    54
    Hi, sorry to hear about the issues :/ Usually the error messages related to invalid memory at this point in startup are not the actual cause of the error, but the aftereffect of the cleanup code not expecting some early initialization to fail. Can you try to run with the `-cefdev` argument and see if you get some other error message on stdout to check whether this could be related to CEF initialization?
     
  9. Sylence

    Sylence
    Expand Collapse

    Joined:
    Apr 17, 2025
    Messages:
    4
    no visible difference to me

    updated versions:
    Kernel 6.14.10-arch1-1
    NVIDIA driver 575.57.08

    The environment variables I referred to were "SDL_VIDEODRIVER=wayland" and "SDL_VIDEODRIVER=x11".
     

    Attached Files:

  10. aivora

    aivora
    Expand Collapse
    Research Software Engineer
    BeamNG Team

    Joined:
    Dec 14, 2021
    Messages:
    54
    Thank you sm! Ah now I see there is a suspicious error all the error logs have (the "Failed to init default system:" one). Can you please share your `~/.local/share/BeamNG.drive/0.35/settings/game-settings.cs`? And after that, you can also try to clean the whole userfolder (`rm -r ~/.local/share/BeamNG.drive`) to see whether it's related to some wrongly saved settings.
     
  11. Q__Q

    Q__Q
    Expand Collapse

    Joined:
    Mar 24, 2025
    Messages:
    4
    I had already nuked my install and user folder and reinstalled the game, so I don't have game-settings.cs. I can say the game still crashes for me. the 0.35 folder gets made but it is incomplete

    kernel 6.15.1-arch1-2 + nvidia 575.57.08
     
  12. Sylence

    Sylence
    Expand Collapse

    Joined:
    Apr 17, 2025
    Messages:
    4
    Same for me, no such file.
    After removing the entire ~/.local/share/BeamNG.drive folder the result is the same.
     
  13. Hudsonator72

    Hudsonator72
    Expand Collapse

    Joined:
    Mar 1, 2025
    Messages:
    2
    Im on a steam deck (that i also use as my daily driver so there is a bunch of other random apps + usb hub with hdmi out that i am using + keyboard and mouse) and in desktop mode, launching the linux binary outside of steam (double clicking in dolphin or running in konsole) it runs fine, except that i have to manually re-enable them even if they were already enabled to get them to load. But when i try to run it through steam as a non-steam game it just doesn't start. I can see one beamng process in system monitor, using up no cpu and about 210 mb of memory. Running it through the original steam page by setting the launch options to './BinLinux/BeamNG.drive.x64 %command%' (which ive heard on the internet is supposed to launch the linux executable instead of proton->windows exe) launches the game but it immediatley crashes. looking at the logs, they show this at the end:
    124.42137|E|update| Timeout on CefTexture renderer: mRendererTimeout 120.021 > 120.000
    124.42140|E|OnRenderProcessTerminated| CEF client ID: "MainGEUI"
    TerminationStatus: -2
    Description: Timeout in CefTexture::update()
    124.42147|E|fatalSubprocessError| CefManager::fatalSubprocessError, reason: CEF client ID: "MainGEUI"
    TerminationStatus: -2
    Description: Timeout in CefTexture::update()​
    Ive already deleted my userfolder and it still crashed under steam
    if i need to provide anything else i probobaly can
     
  14. aivora

    aivora
    Expand Collapse
    Research Software Engineer
    BeamNG Team

    Joined:
    Dec 14, 2021
    Messages:
    54
    Hi, I don't think these launch options work, if you want to run the native Linux binary through Steam, you can add the `BinLinux/BeamNG.drive.x64` executable as a non-Steam game instead.
     
  15. Hudsonator72

    Hudsonator72
    Expand Collapse

    Joined:
    Mar 1, 2025
    Messages:
    2
    I read online more and found that whenever you put the %command% it runs whatever executable you put in the launch options, and I was able to confirm that because using '/bin/pavucontrol # %command%' it launched pavucontrol so the './BinLinux/BeamNG.drive.x64 # %command%' definetly launched the Linux version. That and there was no launcher when trying the Linux version, and the tilebar saying it's using vulkan. So the steam launch options does work but the game crashes when doing so and only sometimes launches as a non steam game before crashing and other times not at all
     
  16. Pessima lover aka blob

    Pessima lover aka blob
    Expand Collapse

    Joined:
    Dec 25, 2023
    Messages:
    29
    Also one question, is there anyway to use 1440p res on my 1080p monitor? I've been using windows and I use something called AMD VSR (basically you choose a higher res than your display), I need it cuz I want to minimize the cpu bottlenecks i have in the game and it does fix some anti aliasing issues i have with the game, I've been trying to switch to linux for the second time now coming back to windows so i really want some help with this, thanks!
     
  17. fillman86

    fillman86
    Expand Collapse

    Joined:
    Apr 18, 2020
    Messages:
    316
    okay I've tried my sim rig with native beamng in mint now, most of it works, just not my fanatec clubsport V3 pedals still (they are directly connected via usb to my PC, not going through my wheel base, which is moza). During trouble shooting, I installed boxflat, then this - https://github.com/gotzl/hid-fanatecff , restarted a few times, didn't work. Then I tried launching native beamng with "env SDL_HINT_JOYSTICK_DEVICE=0x0eb7:0x183b" added to the desktop shortcut, and it still didn't see it. I finally launched in proton, and it sees works over there.

    Because of the order I did things, I don't know what was making a difference or not, but I'd like it to work in native anyway. Am I doing something wrong, or will it never work in native because of the no buttons thing?
     
  18. pepepper

    pepepper
    Expand Collapse

    Joined:
    Jun 17, 2025
    Messages:
    3
    I experienced "invalid_pointer" crash too.
    You can supress "Failed to init default system:" message by adding
    Code:
    $pref::lightManager = "Advanced Lighting";
    to ".local/share/BeamNG.drive/0.35/settings/game-settings.cs".
    But this doesn't help crash problem.

    Actual problem seems to be in the cef library. This is the suspicious stack trace.

    Code:
                    Stack trace of thread 107035:
                    #0  0x00007f3a7e4a774c n/a (libc.so.6 + 0x9774c)
                    #1  0x00007f3a7e44ddc0 raise (libc.so.6 + 0x3ddc0)
                    #2  0x00007f3a7e43557a abort (libc.so.6 + 0x2557a)
                    #3  0x00007f3a7e4365c9 n/a (libc.so.6 + 0x265c9)
                    #4  0x00007f3a7e4b1a35 n/a (libc.so.6 + 0xa1a35)
                    #5  0x00007f3a7e4b1d7c n/a (libc.so.6 + 0xa1d7c)
                    #6  0x00007f3a7e4b6ea2 __libc_free (libc.so.6 + 0xa6ea2)
                    #7  0x00005592cd08b0d5 png_destroy_read_struct (/mnt/games/SteamLibrary/steamapps/common/BeamNG.drive/BinLinux/BeamNG.drive.x64 + 0x1a710d5)
                    #8  0x00007f3a0001e68d n/a (libgdk_pixbuf-2.0.so.0 + 0x1d68d)
                    #9  0x00007f3a0001290f gdk_pixbuf_loader_close (libgdk_pixbuf-2.0.so.0 + 0x1190f)
                    #10 0x00007f3a000133d4 n/a (libgdk_pixbuf-2.0.so.0 + 0x123d4)
                    #11 0x00007f3a00013572 gdk_pixbuf_new_from_stream (libgdk_pixbuf-2.0.so.0 + 0x12572)
                    #12 0x00007f39bdb583ab n/a (libgtk-3.so.0 + 0x3583ab)
                    #13 0x00007f39bdb5858a n/a (libgtk-3.so.0 + 0x35858a)
                    #14 0x00007f39bdb54e81 n/a (libgtk-3.so.0 + 0x354e81)
                    #15 0x00007f39bdb3e6b3 n/a (libgtk-3.so.0 + 0x33e6b3)
                    #16 0x00007f39bdb75cd1 n/a (libgtk-3.so.0 + 0x375cd1)
                    #17 0x00007f39bdb56950 n/a (libgtk-3.so.0 + 0x356950)
                    #18 0x00007f39bdb5be32 n/a (libgtk-3.so.0 + 0x35be32)
                    #19 0x00007f39bdb5c150 n/a (libgtk-3.so.0 + 0x35c150)
                    #20 0x00007f39bdcb3883 gtk_render_background (libgtk-3.so.0 + 0x4b3883)
                    #21 0x00007f3a8895e402 n/a (libcef.so + 0x9f5e402)
                    #22 0x00007f3a8895e752 n/a (libcef.so + 0x9f5e752)
                    #23 0x00007f3a8894ee3d n/a (libcef.so + 0x9f4ee3d)
                    #24 0x00007f3a873653af n/a (libcef.so + 0x89653af)
                    #25 0x00007f3a87364f2d n/a (libcef.so + 0x8964f2d)
                    #26 0x00007f3a88958e1b n/a (libcef.so + 0x9f58e1b)
                    #27 0x00007f3a88955a23 n/a (libcef.so + 0x9f55a23)
                    #28 0x00007f3a8894e844 n/a (libcef.so + 0x9f4e844)
                    #29 0x00007f3a8894e6ff n/a (libcef.so + 0x9f4e6ff)
                    #30 0x00007f3a8894e59b n/a (libcef.so + 0x9f4e59b)
                    #31 0x00007f3a8ae5e137 n/a (libcef.so + 0xc45e137)
                    #32 0x00007f3a874d6018 n/a (libcef.so + 0x8ad6018)
                    #33 0x00007f3a8397378e n/a (libcef.so + 0x4f7378e)
                    #34 0x00007f3a839741c3 n/a (libcef.so + 0x4f741c3)
                    #35 0x00007f3a81350690 n/a (libcef.so + 0x2950690)
                    #36 0x00007f3a813dc078 n/a (libcef.so + 0x29dc078)
                    #37 0x00007f3a8505c3c3 n/a (libcef.so + 0x665c3c3)
                    #38 0x00007f3a8505d82a n/a (libcef.so + 0x665d82a)
                    #39 0x00007f3a8505d6ed n/a (libcef.so + 0x665d6ed)
                    #40 0x00007f3a8134f5e0 n/a (libcef.so + 0x294f5e0)
                    #41 0x00007f3a8134f329 n/a (libcef.so + 0x294f329)
                    #42 0x00007f3a81339a45 n/a (libcef.so + 0x2939a45)
                    #43 0x00007f3a81339744 n/a (libcef.so + 0x2939744)
                    #44 0x00007f3a812b37ca cef_initialize (libcef.so + 0x28b37ca)
                    #45 0x00005592cd9d9146 n/a (/mnt/games/SteamLibrary/steamapps/common/BeamNG.drive/BinLinux/BeamNG.drive.x64 + 0x23bf146)
                    #46 0x00005592ccc01802 n/a (/mnt/games/SteamLibrary/steamapps/common/BeamNG.drive/BinLinux/BeamNG.drive.x64 + 0x15e7802)
                    #47 0x00005592cc360019 n/a (/mnt/games/SteamLibrary/steamapps/common/BeamNG.drive/BinLinux/BeamNG.drive.x64 + 0xd46019)
                    #48 0x00005592cbb1afb2 n/a (/mnt/games/SteamLibrary/steamapps/common/BeamNG.drive/BinLinux/BeamNG.drive.x64 + 0x500fb2)
                    #49 0x00007f3a7e4376b5 n/a (libc.so.6 + 0x276b5)
                    #50 0x00007f3a7e437769 __libc_start_main (libc.so.6 + 0x27769)
                    #51 0x00005592cbb8284e _start (/mnt/games/SteamLibrary/steamapps/common/BeamNG.drive/BinLinux/BeamNG.drive.x64 + 0x56884e)
     
  19. aivora

    aivora
    Expand Collapse
    Research Software Engineer
    BeamNG Team

    Joined:
    Dec 14, 2021
    Messages:
    54
    The stack trace is super helpful, thank you pepepper :) During CEF initialization, it tries to get and initialize the "default Linux UI and theme", which is GTK in this case, and then it seems to be a problem in BeamNG exporting libpng symbols incompatible with `libgdk_pixbuf-2.0.so`. We probably have enough information now to try to make a fix, but it would help if I could reproduce the crash, can you share your distribution + desktop environment name and versions?
     
  20. aivora

    aivora
    Expand Collapse
    Research Software Engineer
    BeamNG Team

    Joined:
    Dec 14, 2021
    Messages:
    54
    Yes, it launches the Linux version (I also tried), but at least in my machine BeamNG running like this somehow uses a version of Vulkan which errors out during initialization withVulkan missing requested extension 'VK_KHR_xlib_surface'. I didn't encounter issues you describe with running BeamNG as a non-Steam game, but we'll have a look.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice