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.30 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. Car_Killer

    Car_Killer
    Expand Collapse
    QA / Mod Support
    BeamNG Team

    Joined:
    Sep 24, 2013
    Messages:
    1,534
    Hello all,

    With the release of 0.25 we're introducing experimental Linux support to BeamNG. You can read the full announcement here: https://www.beamng.com/game/news/announce/experimental-linux-support/

    We would like to remind you that this version is a work-in-progress product and we do not provide any support to it, in case of questions and issues please use this thread but review the guidelines below before posting. Posts that don't adhere to the guidelines may be removed.




    Posting guidelines
    Before posting make sure to:
    • update your distribution,
    • update your GPU drivers,
    • in the case of NVIDIA GPU use proprietary drivers instead of nouveau,
    • if you are using Steam Deck make sure to have updated firmware,
    • update the game to the latest version (including hotfixes)
    • check if problems also happen on Windows with Vulkan API enabled
    • disable mods, if a problem is related to the mods support check with one mod and then report it here
    When reporting:
    • Check if the issue has been described already, if you have additional feedback - reply to this post
    • Please be clear with what exactly is happening or when, describe how to reproduce the issue, and provide logs where possible
    • Provide video or screenshots of the issue
    • If the issue is related only to a specific place on the map - provide its location by pressing ALT+O and sharing the generated URL
    Reporting template:
    The issue you’ve noticed:
    (describe what is happening, attach a screenshot or video)

    This happens when:
    (describe how to trigger the issue if you can, it will help us to reproduce it on our side)

    My specs are:
    (include what’s your software and hardware config: give us os and kernel version, check your hardware using screenfetch or neofetch (or any other available method), and send your graphics driver version number, mesa or Nvidia), or tell us if it's a Steam Deck

    Known Issues
    (as for 16.04.2024)
    • All issues related to Vulkan
    • Lack of launcher, missing migration, etc
    • Lower performance on a case-sensitive file systems
    • Minor graphical issues

    FAQ


    1. How to launch the Linux native version?
    Go to the game installation folder, look for BinLinux directory, and start BeamNG.drive.x64 file.

    2. Where are my settings and mods located?
    Mods, and all user files are located inside ~/.local/share/BeamNG.drive/

    3. Can I use any mods on a Linux version?
    Yes, in most cases mods will work out of the box on Linux if downloaded through the in-game repository. In case of mods downloaded from the other websites or manually from our repository, make sure to change the name to lowercase, if you are using case sensitive file system. If you will run into issues make sure to disable them before reporting problems.

    4. What's the difference in comparison to the Proton version that was already available?
    In comparison to the Proton compatibility layer known as Steam Play, the game runs completely natively without any kind of software in the middle, which allows us to get higher performance and compatibility on Linux devices.

    5. How do I run Banana Benchmark to test performance?
    Go to the BeamNG installation folder then BinLinux, and execute banana-bench.x64.sh in your terminal emulator.
     
    #1 Car_Killer, Jun 13, 2022
    Last edited: Apr 16, 2024 at 2:32 PM
    • Like Like x 12
  2. hacker420

    hacker420
    Expand Collapse

    Joined:
    Dec 29, 2017
    Messages:
    862
    I can't seem to start the binaries, when I try to run them from the terminal this appears: Failed to init bngenv: Failed to mount game path in vfs
    My specs: Artix Linux, kernel 5.18.2, RX 5700XT and a Ryzen 7 3700X, Mesa version: 22.1.1
     
  3. jakelooker

    jakelooker
    Expand Collapse

    Joined:
    Aug 31, 2013
    Messages:
    149
    Thank you so much for adding this!
     
    • Like Like x 3
    • Agree Agree x 1
  4. Car_Killer

    Car_Killer
    Expand Collapse
    QA / Mod Support
    BeamNG Team

    Joined:
    Sep 24, 2013
    Messages:
    1,534
    Unfortunately, I cannot reproduce the issue:/
     
  5. LaserPG.ride

    LaserPG.ride
    Expand Collapse

    Joined:
    Feb 27, 2022
    Messages:
    7
    Using OpenSUSE Tumbleweed with /home on XFS, Kernel 5.18.2, Mesa 22.1.1, KDE Plasma 5.25 on X11.

    Intel i7-12700K with 32GB DDR4, UHD770+Radeon RX480; the game does use the discrete GPU after starting.

    Overall graphical performance and menu responsiveness appears to be very low compared to the Windows version via Proton.

    The game appears to stutter for long periods if I hover and keep moving the mouse pointer over the BeamNG.drive window.

    Compared to the Windows Steam version the joypad (Dual Shock 4) does not seem to be detected.

    Below is a performance graph from the game with this version (right click and open in new tab to see the full version). The spikes are when I tried moving the mouse on the screen.

    upload_2022-6-15_15-24-26.png
     
    #5 LaserPG.ride, Jun 15, 2022
    Last edited: Jun 15, 2022
    • Like Like x 2
  6. grekiki

    grekiki
    Expand Collapse

    Joined:
    Jun 15, 2022
    Messages:
    3
    Works fine here aside from no sound. R5 1600x + gtx 1060 3GB on Ubuntu 20.04 LTS.
    (edit: Program wants to send a crash report if I close it by pressing x on top right of the window, aka normal closing method)
    (edit 2: time to try to get beamngpy working)
     
    #6 grekiki, Jun 15, 2022
    Last edited: Jun 15, 2022
    • Like Like x 1
  7. Friz64

    Friz64
    Expand Collapse

    Joined:
    Jun 15, 2022
    Messages:
    1
    The game works fine, even with my steering wheel, except for the already mentioned issues, and the fact that
    - enabling full screen will make the game hang (either borderless or normal fullscreen) (GNOME/Wayland through XWayland)
    - enabling VSync will make the game hang
    - applying graphics presets while in-game will sometimes hang/crash the game

    AMD RX 580, vulkan-radeon 22.1.1-2, Arch Linux
    Huge thanks to the BeamNG devs for this effort!
     
    • Like Like x 1
  8. waschbaer2004

    waschbaer2004
    Expand Collapse

    Joined:
    Oct 9, 2021
    Messages:
    3
    HUGE Thank you for doing this! After loading for some years it works really great. Cars are loading very fast though. As mentioned, i have no Sound.

    Kubuntu 22.04 + AMD Ryzen 7 2700X + GTX 1660 Super. Also using the Nvidia Driver 510. Using X Window system.
     
    • Like Like x 1
  9. hacker420

    hacker420
    Expand Collapse

    Joined:
    Dec 29, 2017
    Messages:
    862
    Fixed that issue by removing everything from the game folder aside from levels and vehicles, then validated the game files. Now the game works perfectly, finally I can run traffic on high settings at 60 FPS :p
    --- Post updated ---
    Btw, is there some way to tell Steam to launch the Linux binaries by default?
     
    • Like Like x 1
  10. Car_Killer

    Car_Killer
    Expand Collapse
    QA / Mod Support
    BeamNG Team

    Joined:
    Sep 24, 2013
    Messages:
    1,534
    You can add binary from binlinux as non steam game inside steam library
     
  11. hacker420

    hacker420
    Expand Collapse

    Joined:
    Dec 29, 2017
    Messages:
    862
    Screenshotat2022-06-1517-59-46.png
    This happens when I load Italy, also is it supposed to eat 16 GB of RAM?
     
    • Like Like x 1
  12. grekiki

    grekiki
    Expand Collapse

    Joined:
    Jun 15, 2022
    Messages:
    3
    Alright you devs are awesome! Beamngpy is working on linux
     

    Attached Files:

    • Screenshotfrom2022-06-1518-34-24.png
    • Like Like x 1
  13. Car_Killer

    Car_Killer
    Expand Collapse
    QA / Mod Support
    BeamNG Team

    Joined:
    Sep 24, 2013
    Messages:
    1,534
    Sound issue will be fixed in the next hotfix :)
     
    • Like Like x 9
  14. Beans_On_Butter

    Beans_On_Butter
    Expand Collapse

    Joined:
    Jun 15, 2022
    Messages:
    8
    The game gets stuck on startup after "2.31946|D|GELua.core_settings_graphic.graphic| Applying graphic settings: \\.\DISPLAY1, Window, 1280 x 720 60 Hz" in terminal and only continues to load after dragging the window.

    Loading any map initially caused black environments with the only textures working being the UI and sky box, but it froze as soon as they are visible. This seemed to fix itself after a few relaunches. I only got a screenshot, as I forgot to copy the log file.
    The garage works, light are flickering and it gets into a long error loop when selecting test drive. This also happened when spawning a new car. See log file for the error.

    Dualsense input works, not yet tested with my Dualshock 3 or Logitech G29.

    System:
    Manjaro
    Kernel 5.18.0-1-rt11-MANJARO
    CPU AMD Ryzen 7 4700U
    iGPU with mesa 22.1.1-2
    12 GB of ram, 12 GB of swap partition
    Running on normal preset, dynamic reflection, anti aliasing, and depth of field disabled, and in windowed mode.
     

    Attached Files:

    • Like Like x 1
    • Agree Agree x 1
  15. asu

    asu
    Expand Collapse

    Joined:
    Jun 15, 2022
    Messages:
    5
    Thanks a lot for the effort!

    I also get the black screen issue, which gets resolved when I resize the window. A few things to note additionally:
    • When this happens, on my KDE Plasma Wayland setup, BeamNG and Xwayland CPU usage is rather high (~60% each). Running the game under gdb and breaking once in a while when the freeze occurs almost consistently leads to random Xorg stuff at the top of the stack. There is always lua_pcall in the call stack when I break but there's nothing else interesting I can find. My guess is that the game loops on some windowing code and some graphics stuff initialization happens to get done after triggering a resize event for whatever reason.
    • The same issue occurs with gamescope on my system. There are a few additional logs coming from gamescope itself that may be of use, but those may be irrelevant:
      Code:
      wlserver: [types/wlr_surface.c:741] New wlr_surface 0x55abd4c49f80 (res 0x55abd4c6be70) 
      xwm: error 2: BadValue (integer parameter out of range for operation) request 138 minor 31 serial 1020 
      xwm: error 2: BadValue (integer parameter out of range for operation) request 138 minor 31 serial 1023 
      xwm: error 141: 141 request 138 minor 32 serial 1037 
      xwm: error 141: 141 request 138 minor 32 serial 1040
    I don't have a new issue to report (yet) but I can reproduce the black stripe issue (which also happens on the Automation map in my testing, and a few others) and the lack of audio, but that seems to be expected.

    I use arch (btw) on Wayland (KWin), on a ryzen 9 3900X + RX 580 system. Mesa is up to date (22.1.1).
    --- Post updated ---
    I moved the game directory in a case insensitive ZFS dataset, but I still get the ingame warning.
    Is this because some other directory (e.g. my home directory) lives on a case sensitive filesystem, or is it because the fs case sensitivity check is too rudimentary? Is the performance penalty still a worry in such a case?

    EDIT: As it turns out, I didn't pay enough attention to the performance diagnostics menu. The game checks for case sensitivity separately for the game directory and the user directory.
    That being said, it might be good to document how important this is for the user directory vs the game directory as AFAIK it is not unusual for linux users to install games on a NTFS partition for instance (for dual-boot purposes).
     
    #15 asu, Jun 15, 2022
    Last edited: Jun 15, 2022
  16. parkerlreed

    parkerlreed
    Expand Collapse

    Joined:
    Sep 9, 2016
    Messages:
    6
    The issue you’ve noticed:
    Missing VK resource spammed during gameplay. Otherwise it seems to run fine.

    This happens when:
    Whenever in game

    My specs are:
    Ryzen 3700U
    Built in Vega
    Arch Linux
    5.18.3

    Mesa RADV Vulkan 22.1.1

    EDIT: This appears to only happen on the lowest preset.

    EDIT2: Narrowed it down to Lighting setting being on lowest causing the missing VK resource.
     
    #16 parkerlreed, Jun 15, 2022
    Last edited: Jun 15, 2022
    • Like Like x 1
  17. Solitude

    Solitude
    Expand Collapse

    Joined:
    May 29, 2021
    Messages:
    2
    The map loading is extremely long, maybe x20 compared to windows/directx version.

    also, devs, you're gonna hit more issues related to peoples setups, because they are running outside steam's runtime.

    game writes its data to `$HOME/.local/share/BeamNG.drive`, i hope it actually uses `XDG_DATA_HOME`.
     
    • Like Like x 1
  18. asu

    asu
    Expand Collapse

    Joined:
    Jun 15, 2022
    Messages:
    5
    Does this happen even if you try to play a map you have tried on linux again? This may be normal, as I believe there is some per-map preprocessing going on. I observed long map loading and maxxed out CPU usage only on the first launch on a map.
     
  19. Solitude

    Solitude
    Expand Collapse

    Joined:
    May 29, 2021
    Messages:
    2
    indeed, repeated loading was much faster.
     
  20. JoLi

    JoLi
    Expand Collapse

    Joined:
    Oct 12, 2020
    Messages:
    242
    Thanks for resolving the audio Issue in the next hotfix!
    Apart from that, most things work fine, except the "bug" with having to move the window to get it to load (when going into FullScreen, the same is needed)

    btw have you done something to make the UI faster? I mean it could still be faster like the Web UI, but damn it's a lot better than on 0.24 I feel like
     
    • Like Like x 1
  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