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

    Car_Killer
    Expand Collapse
    Technical Artist / QA
    BeamNG Team

    Joined:
    Sep 24, 2013
    Messages:
    1,785
    Hello. We enabled native Linux as the default on all Linux devices.
    In case of issues, you can still revert to the proton version by selecting proton as a compatibility tool in game properties inside Steam.
    upload_2026-1-21_15-59-27.png
     
    • Like Like x 7
    • Staff Pick Staff Pick x 1
  2. crashmaster

    crashmaster
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    1,946
    i want to hopefully further give more bug reports, so hopefully this has potential valuable information.

    the bugs ive had and reported in this thread regarding "ErrorDeviceLost" is quite inconsistent, one day itll crash while im driving alone in JRI, and the next day, i can play no problem on that same map, but another map will crash.
    as inconsistent as it is, when the game crash, its the only consistent thing, at about 10 min of playtime before the game crashes.
    if the game didnt crash within 10 min, that "usually" means its fine.

    but today, i decided to go on "OGC the ultimate map"
    https://www.beamng.com/resources/ogc-one-the-ultimate-map.22814/

    and ive officially had the biggest system crash while playing beamng.
    it passed the 10 min mark, and ive been playing for almost an hour until this crash.
    while i could still move my cursor, i could not even open a terminal.
    i use a software called "mission center" that is basically task manager on linux. and i couldnt even kill beamng's task, or any task for that matter.
    steam itself, would alternate between different game icons in the "task manager" and would refresh every second.
    restarting my system only froze it, i had to manually shut down the desktop by holding the power button.

    for the record, i was playing without traffic, by myself, in this map.

    beamng's log abruptly stops and give zero information whatsoever.

    BUT I HAVE A SYSTEM LOG!!!

    i have specifically copied the exact moment beamng crashed, up until i forced my desktop to shut down, in the attached txt log

    hopefully there is information in there that can actually be helpful to the devs.
     

    Attached Files:

  3. Blenux

    Blenux
    Expand Collapse

    Joined:
    Oct 29, 2021
    Messages:
    145
    What's you system specs, and does crashes happen on other heavy games?, might be hardware issues and only happens for this game?
     
  4. Neverless

    Neverless
    Expand Collapse

    Joined:
    Sep 18, 2016
    Messages:
    308
    Thats interesting, i only had such behaviour with proton games so far. Full system lockups i mean. My last effort is always to go into a different tty console with CTRL+ALT+F1-12 and hope to reboot the user session from there (cause hdd's and ssd's really dont like it to be powered off by force)
     
  5. crashmaster

    crashmaster
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    1,946
    im running linux mint 22.2 with a ryzen 5950x and an RX7900XTX with 32gb of ram.
    every graphics settings is on ultra/highest i can possibly put it. 1080p tho

    and i only get these crashes with beamng, ive been posting about these issues since early dec lol.

    idk what to say other than nothing worked. i tried a few combination before forcing a restart. but what can you do when its fully jammed ¯\_(ツ)_/¯
     
  6. Car_Killer

    Car_Killer
    Expand Collapse
    Technical Artist / QA
    BeamNG Team

    Joined:
    Sep 24, 2013
    Messages:
    1,785
    This crash comes from amdgpu driver. We cannot really debug this problem because the entire os crashes when trying to debug issues on AMD GPUs and Linux.
    What you can do is try to run the game with -gfx vk debug -flushLogErrors and get some logs that way. There is nothing else we can do :(
     
  7. crashmaster

    crashmaster
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    1,946
    thanks for the reply. at least now i know its an amdgpu driver issue.

    99% of times ive ran beamng with "-gfx vk debug" enabled, the game ran sub 30 fps and refused to crash. i only got it to crash once with debug enabled.
    but i didnt try with the flushLogErrors command. hell, i didnt even know it existed. so ill try that next.

    that being said, if its an amdgpu driver issue and that you cant do anything, what is the best next course of action?

    bugging amd?

    who do i make a bug report to next?

    theres no way in hell im going to sit idle and wait for a magical fix, i live for this game.
    hell, im constantly trying to mod and make content for this game.
    but these issues has been putting a halt on my projects.

    and beamng has been the only game this happens with. ¯\_(ツ)_/¯
     
  8. snoutie

    snoutie
    Expand Collapse

    Joined:
    Dec 3, 2021
    Messages:
    49
    Steam Cloud works now, also, great!
    I wonder how you figured that out as BeamNG.drive is still not advertised as "Linux-Compatible" in the store.
    I could not find anything regarding "app_mappings" in the steamworks documentation.
     
  9. talkingerbil

    talkingerbil
    Expand Collapse

    Joined:
    Jun 17, 2022
    Messages:
    33
    If you add amdgpu.gpu_recovery=1 to the kernel boot parameters (e.g. GRUB_CMDLINE_LINUX if using grub) does the desktop stay alive or ever recover after the crash to be able to get more log info?
     
  10. Neverless

    Neverless
    Expand Collapse

    Joined:
    Sep 18, 2016
    Messages:
    308
    Totally offtopic ofc, But same here. Ever since 0.35 got released the game became more and more unplayable for me, it started with vysnc crashing the amd driver, then graphical bugs, then texture corruption and now since im on linux i just cant enjoy the game anymore because its all the previous issues + half the fps. Just havent found my peace with this situation yet to continue modding it
     
  11. crashmaster

    crashmaster
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    1,946
    ill need to try that and get back to you when i have more data :p
    that being said, the system log continues to log information, but beamng's log is cut short.
    but ive just now added that line in my grub file thingy.



    forreal its driving me nuts.
    i nuked windows in oct after going in circles with support to no avail, because id get "status heap corruption" on there.

    and while i believe the game is more stable for me on linux, i still get these extremely inconsistent crashes, and it changes on a day to day basis, which makes it even harder to track down.

    and to add insult over injury, i have a 2nd pc with a 2060 super, and id also get the same status heap corruption crashes on windows there.
    that being said, ive been meaning to install linux on that desktop with the 2060, just to test beamng out. havent had the time yet.

    but if beamng is getting crashes bc of amd drivers, shouldnt they report it or something?
    i mean... pardon me for being naive, and thinking that, reporting bugs would get them fixed. (gotta give devs time to cook for sure)
    but their drivers are negatively impacting your software, shouldnt this be considered unacceptable?
    again, pardon me for being naive.

    i need to abandon beamng for a while. this is just infuriating. give the devs time to further look into this issue. but at the same time, more data means more potential to find and fix the issue.
    if it was only linux the problem, id be less salty, but the game will literally crash on both windows and linux, multiple people reports status heap corruption issues on windows, the game barely functions as it is. and thats on both nvidia and AMD gpus.

    getting really tired of going around in circles like a dumbass with these crashes for months without end.
    its my favorite game, i literally mod nothing else. and i cant even play it anymore.
    been playing since literally their first fastspring release, and it didnt crash as often as it does now.



    sorry to the devs if im giving ya a hard time, i genuinely love this game, i genuinely want whats best for this game, but this is just infuriating.
     
    #1151 crashmaster, Jan 22, 2026
    Last edited: Jan 24, 2026
  12. Blenux

    Blenux
    Expand Collapse

    Joined:
    Oct 29, 2021
    Messages:
    145
    I'm wondering if it's a Linux Mint mesa version 25.0.7 specific driver issue that could be causing this?, have you tried the game on a different distro with a newer mesa? (or update the mesa version via a ppa on mint if you want to go that way),

    I'm on Arch Linux with a 7800XT with mesa 25.2.x drivers (now 25.3.3.1 which only just released) and I have no issues running the game daily and my 7800 is also on RDNA3 too, (I do have the occasional black flash during window mode, and even time the mouse show/hides in Fullscreen/Borderless it flashes black each time, and a license plate texture corruption issue too, but nothing to stop from playing), I believe that version of mesa had some Vulkan instabilility until mesa 25.1.x+ had much better support/stability.

    Might be something to look into?
     
    #1152 Blenux, Jan 23, 2026
    Last edited: Jan 23, 2026
    • Like Like x 1
  13. Neverless

    Neverless
    Expand Collapse

    Joined:
    Sep 18, 2016
    Messages:
    308
    7700XT user here. Do you also happen to have this issue?

    --- Post updated ---
    I think this is kinda interesting. My game runs fluidly when i have 8 or less cars. It averages at 73 fps. Now as soon as i spawn a single car more then 8 my avg dip down to 20 fps. Thats a huge drop. So i figured i look at the graph.

    With 8 cars PhysicsAndVLUA avg at around 4ms (1ms min, 12ms max)
    Screenshot_20260123_032406.png
    With 9 cars PhysicsAndVLUA avg at around 37ms (35ms min, 44ms max)
    Screenshot_20260123_032155.png
    Im running a 6C/6T Intel 9600K. So i imaged that if it where the core limit that it would hit earlier then 8 cars.

    Then interestingly it isnt an instant fps drop either. When i pause the game and then unpause you can see that the time PhysicsAndVLUA takes slowly builds up. Can see it here. Everytime the total frame time dips is when i paused the game.
    Screenshot_20260123_033144.png

    Starts at 11ms then crawls up to 37ms avg. where it stays stable.
     
  14. Blenux

    Blenux
    Expand Collapse

    Joined:
    Oct 29, 2021
    Messages:
    145
    I get similar flickers here and there yes, note that I believe adding ai traffic is very cpu dependant, has it needs to calculate for each vehicle jbeams also (even though they are simplified ones), heck even parked vehicles alone make the fps drop.

    even my 8core 16 thread Ryzen 7700 struggles, hench I hardly add traffic myself (once in a while, but don't likey low fps lol).
     
    • Like Like x 1
    • Agree Agree x 1
  15. crashmaster

    crashmaster
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    1,946
    ive successfully upgraded to Mesa 25.2.8, even if its not the upmost latest release, its progress :p
    while its still too early to say its fixed, ive got plenty of other things to do.
    i still have to triple check with my system, ive been holding back upgrading my bios, and mint now has 22.3, its going to be a week of upgrading and testing again.

    but genuinely thanks for mentioning these drivers, im still somewhat new to linux, so every bit of information is gonna help. i highly appreciate it.
     
    • Like Like x 1
  16. Neverless

    Neverless
    Expand Collapse

    Joined:
    Sep 18, 2016
    Messages:
    308
    The interesting bit is the sudden jump of the physics frame time. Like it takes 4ms to compute the physics of 8 cars in parallel and then suddenly 37ms for 9. And that not immediately either but it builds up to that spot. If i now also pair this with my earlier report of how the game only ever just takes 50% cpu and completly flats out at that spot (stating that the game is running into a physics limit) then i would say these are the characteristics of a bug in the ipc (things waiting long for data or access to memory) that for some reason only occurs after the 8 car limit in my case
     
    #1156 Neverless, Jan 24, 2026
    Last edited: Jan 24, 2026
  17. Computeryze

    Computeryze
    Expand Collapse

    Joined:
    Dec 28, 2022
    Messages:
    660
    I've been having this weird issue with my cursor on Linux Mint. I finally recorded it while I was playing which let me figure out what was causing it. Basically, the mouse cursor sometimes does not disappear after you stop moving it if you use the change camera button on a keyboard, controller, or wheel while holding right click to the move the camera. Here's more detailed steps:
    - In orbit camera hold right click and move the camera around
    - While still holding right click but not moving the mouse, change the camera using "c"
    - Let go of right click without moving the mouse
    - The mouse cursor should still be visible and not disappear when you start driving
    Here's a video as well...

    Running Linux Mint 22.3 with NVIDIA driver version 590.48.01.
     
    #1157 Computeryze, Jan 28, 2026
    Last edited: Jan 28, 2026
  18. Blenux

    Blenux
    Expand Collapse

    Joined:
    Oct 29, 2021
    Messages:
    145
    It's not just Linux Mint, it happens on the linux build in general, probably some issue with moving to SDL3 (if I remember correctly they went from SDL2 to 3), hopefully next patch might have this fixed, Full Screen/Borderless also suffer with a similar flash, at least for me.
     
    • Agree Agree x 1
  19. squaredsteel

    squaredsteel
    Expand Collapse

    Joined:
    Jan 29, 2026
    Messages:
    1
    the
    BeamNG_install_desktop_file.sh linking thing doesn't seem to work
     
  20. JustCauseWhyNot

    JustCauseWhyNot
    Expand Collapse

    Joined:
    Sep 26, 2024
    Messages:
    3
    Does anyone know the solution?
     
  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