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.37 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. Blenux

    Blenux
    Expand Collapse

    Joined:
    Oct 29, 2021
    Messages:
    69
    *wrong thread
     
    #981 Blenux, Sep 21, 2025 at 5:13 AM
    Last edited: Sep 21, 2025 at 6:20 AM
  2. Izz9

    Izz9
    Expand Collapse

    Joined:
    Jul 21, 2022
    Messages:
    4
    Currently experiencing the Nvidia window resolution bug; is there any way to temp perma fix this so that I dont have to open settings files everytime I launch the game? (which sometimes ends up being multiple times a session)

    Another small issue I have experienced is the mouse wont stay focused on the game such as when moving the camera in freecam (x11 window system used with KDE desktop environment Ubuntu 24.04 and everything up to date); didnt occur in 0.36.

    Aside from all that things work smooth as possible great update.
     
  3. aivora

    aivora
    Expand Collapse
    Research Software Engineer
    BeamNG Team

    Joined:
    Dec 14, 2021
    Messages:
    32
    Hi, thank you for the reports and keep them coming :) We managed to put some fixes in for these two problems in the next hotfix, so please wait for the update.
     
    • Like Like x 1
  4. kingdomoflinux

    kingdomoflinux
    Expand Collapse

    Joined:
    Jul 19, 2021
    Messages:
    40
    Hey, any news about the G27's DPAD?
     
    • Like Like x 1
  5. aivora

    aivora
    Expand Collapse
    Research Software Engineer
    BeamNG Team

    Joined:
    Dec 14, 2021
    Messages:
    32
    Hey, I had a look, and can say with pleasure this should also be fixed soon-ish :D
     
  6. kingdomoflinux

    kingdomoflinux
    Expand Collapse

    Joined:
    Jul 19, 2021
    Messages:
    40
    Best devs ever! thank you!
     
    • Like Like x 1
    • Agree Agree x 1
  7. shimian

    shimian
    Expand Collapse

    Joined:
    Nov 8, 2022
    Messages:
    7
    I must still be doing something wrong - I cannot get the Linux version to start on steam deck and actually do anything.

    right now I get just a black screen where I can see the HUD only. I can hear the vehicle if I press the trigger but I don’t see the vehicle.

    also, the game appears to be running in x11 and any attempt to start it in Wayland doesn’t seem to work at all.

    Once I launch it once, subsequent launches fail if I modify any graphics settings with a fatal lua error in dof.lua attempt to perform arithmetic on local ‘blurcurvenear’
     
    #987 shimian, Sep 24, 2025 at 2:12 AM
    Last edited: Sep 24, 2025 at 2:32 AM
  8. pawelek von sttetin

    pawelek von sttetin
    Expand Collapse

    Joined:
    Sep 14, 2025
    Messages:
    6
    looks like game tries to run with mesa driver instead amdgpu
    whut happens if u start game from command line by adding "DRI_PRIME=1" or "env DRI_PRIME=1" before beamng command?
     
  9. shimian

    shimian
    Expand Collapse

    Joined:
    Nov 8, 2022
    Messages:
    7
    I can't tell if that's making any difference since I am still getting the lua crash which causes the game to no longer start after the first run. I can tell you that it's still using radv from mesa.

    Here's what I get when I try to launch wayland from gamescope

    Code:
    Shutdown handler: initialize.
      >>>>  [CURRENT_CONFIGURATION=SHIPPING=BNG_SHIPPING]  <<<<
    [2025-09-23 19:43:38.453] [info] [:-1] *** Launching in SteamDeck mode ***
    [2025-09-23 19:43:38.456] [error] [:-1] wayland not available
    Shutdown handler: cleanup.
    
    Code:
     76.61550|D|_mapMaterial| [Material::mapMaterial] - Cannot map unnamed Material - settings/game-settings.cs
     76.71264|E|GameEngineLua| *** FATAL LUA ERROR: [string "lua/ge/client/postFx/dof.lua"]:599: attempt to perform arithmetic on local 'blurCurveNear' (a string value)
    =============== Stack Traceback >> START >>
    (1) Lua field 'updateDOFSettings' at line 599 of chunk 'lua/ge/client/postFx/dof.lua'
      dofPostEffect = userdata: (...)
      blurMin = string[0]: ""
      blurMax = string[0]: ""
      focusRangeMin = string[0]: ""
      focusRangeMax = string[0]: ""
      blurCurveNear = string[0]: ""
      blurCurveFar = string[0]: ""
      (*temporary) = Lua function '?' (defined at line 363 of chunk lua/ge/client/postFx/dof.lua)
      (*temporary) = string[24]: "$DOFPostFx::BlurCurveFar"
      (*temporary) = userdata: (...)
      (*temporary) = string[0]: ""
      (*temporary) = string[0]: ""
      (*temporary) = string[0]: ""
      (*temporary) = string[0]: ""
      (*temporary) = C function: 0x7f22741bb7b0
      (*temporary) = number: 6.90634e-310
      (*temporary) = string[71]: "attempt to perform arithmetic on local 'blurCurveNear' (a string value)"
    (2) Lua field 'applyDOFPreset' at line 249 of chunk 'lua/ge/client/postFx.lua'
    (3) Lua field 'settingsApplyFromPreset' at line 265 of chunk 'lua/ge/client/postFx.lua'
    (4) Lua field 'applyDefaultPreset' at line 189 of chunk 'lua/ge/client/postFx.lua'
      loaded = boolean: true
    (5) Lua upvalue 'initBaseClient' at line 65 of chunk 'lua/ge/client/init.lua'
      postFxModule = table: 0x7f2257ca01e0  {backupCurrentSettings:function: 0x7f2257c991a0, restore_cs_preset_from_json:function: 0x7f2257c99400, applyDefaultPreset:function: 0x7f2257c97490, initPostEffects:function: 0x7f2257ca0228, settingsApplyAll:function: 0x7f2257c992d0, applyHDRPreset:function: 0x7f2257c97420, reloadPostEffects:function: 0x7f2257ca1408, savePresetFile:function: 0x7f2257c97378, applyDOFPreset:function: 0x7f2257c98f78, clearBackup:function: 0x7f2257c991d8, applySSAOPreset:function: 0x7f2257c973f0, applyLightRaysPreset:function: 0x7f2257c98f48, settingsApplyFromPreset:function: 0x7f2257c99138, loadPresetFile:function: 0x7f2257ca13d0, settingsSetEnabled:function: 0x7f2257c99170}
      renderManagerModule = table: 0x7f2257c998a0  {initRenderManager:function: 0x7f2257c998e8}
      lightingModule = table: 0x7f2257bcce90  {initLightingSystems:function: 0x7f2257ca2eb8, reloadLightingSystems:function: 0x7f2257bcced8}
      adapterCount = number: 2
    (6) Lua field 'initClient' at line 188 of chunk 'lua/ge/client/init.lua'
    (7) Lua global 'onGameEngineStartup' at file '/lua/ge/main.lua:1055'
      mainEventManager = userdata: (...)
      clientCore = table: 0x7f22640a62c8  {initializeCore:function: 0x7f226407f270, initialized:true, loadCoreMaterials:function: 0x7f226407f068, reloadCore:function: 0x7f226407fe28}
      levelToLoad = string[0]: ""
      client_init = table: 0x7f2257c8d650  {reloadClient:function: 0x7f2257c8c150, initClient:function: 0x7f2257c89958, loadMainMenu:function: 0x7f2257c8d6f8}
    (8) main chunk of line at line 1
    --------------- << END <<
    
     76.71281|E|GameEngineLua| *** while executing this line: onGameEngineStartup()
     76.71281|E|GameEngineLua| *** in chunk: line
    Shutdown handler: initialize.
    Shutdown handler: initialize.
     
  10. pawelek von sttetin

    pawelek von sttetin
    Expand Collapse

    Joined:
    Sep 14, 2025
    Messages:
    6
    u tried disbaling depth of field option in graphics?

    since u wrote ur game not start and i assume u cant get to options
    do edit line
    from
    Code:
      "PostFXDOFGeneralEnabled":true,
    to
    Code:
      "PostFXDOFGeneralEnabled":false,
    in file
    Code:
    /home/USER_NAME/.local/share/BeamNG/BeamNG.drive/current/settings/settings.json
    and see if it helps for u
    --- Post updated ---
    also
    u sure u aint using modded game? coz this particular error means there is an error in game file
    in case u use mods like reshade or some other graphics mod please disable it for a try
     
  11. shimian

    shimian
    Expand Collapse

    Joined:
    Nov 8, 2022
    Messages:
    7
    No mods, same issue though with DOF disabled. I am trying to completely uninstall the game and reinstall it though now.
     
  12. pawelek von sttetin

    pawelek von sttetin
    Expand Collapse

    Joined:
    Sep 14, 2025
    Messages:
    6
    if this the way of fix for u then make a backup of game files after fresh reinstall so u can restore fixed version each time after first run that breaks game for ya :p

    but for real
    please try replacing contents of
    Code:
    /home/USER_NAME/.local/share/BeamNG/BeamNG.drive/current/settings/postfxsettings.postfx
    to
    Code:
    {
      "DOF":{
        "BlurCurve":"10.000",
        "BlurCurveNear":"20.000",
        "BlurFar":"0.250",
        "BlurNear":"0.000",
        "Enable":"1",
        "EnableDebugMode":"0",
        "FocusAperture":"100.000",
        "FocusDistance":"250.000"
      },
      "EnablePostFX":"1",
      "HDR1":{
        "ColorCorrectionRamp2":"lua/ge/client/postFx/default_color_ramp.png",
        "Enable":"1",
        "adaptRate":"0.1",
        "blueShiftColor":"0.34279561042786 0.34279671311378 0.92865186929703 1",
        "brightPassThreshold":"3",
        "colorCorrectionStrength":"",
        "enableBloom":"1",
        "enableBlueShift":"0",
        "enableToneMapping":"0",
        "enabledHSL":"1",
        "factorHSL":"1 1 1",
        "gaussMean":"0.2",
        "gaussMultiplier":"0.2",
        "gaussStdDev":"2.0",
        "keyValue":"1",
        "minLuminace":"1",
        "whiteCutoff":"0"
      },
      "LightRays":{
        "Enable":"1",
        "brightScalar":"0.75"
      },
      "SSAO":{
        "Enable":"1",
        "blurDepthTol":"0.3",
        "blurNormalTol":"0",
        "lDepthMax":"5",
        "lDepthMin":"0.165877",
        "lDepthPow":"0.2",
        "lNormalPow":"2",
        "lNormalTol":"2",
        "lRadius":"0.782834",
        "lStrength":"0.473934",
        "overallStrength":"19.6517",
        "quality":"0",
        "sDepthMax":"50",
        "sDepthMin":"0.402844",
        "sDepthPow":"1",
        "sNormalPow":"2",
        "sNormalTol":"2",
        "sRadius":"0.0957678",
        "sStrength":"0.56872"
      },
      "header":{
        "version":1
      }
    }
    especcialy make caution to line

    Code:
        "BlurCurveNear":"20.000",
    since error u got means you have wrong value there
    and if it fixes game for ya make the whole file read-only after fix
     
  13. shimian

    shimian
    Expand Collapse

    Joined:
    Nov 8, 2022
    Messages:
    7
    a fully fresh installation worked. It still is running in x11 mode on SteamDeck (which I thought ran in wayland when in gaming mode/gamescope) but otherwise appears to be fine.
     
    • Like Like x 1
  14. fillman86

    fillman86
    Expand Collapse

    Joined:
    Apr 18, 2020
    Messages:
    208
    I'm on linux mint, using dual monitors, and run the game in borderless mode. My main is 3440x1440, and second is normal 1080. Sometimes whilst modding (normally after I cause one of many lua errors), the game crashes on ctrl+L, then will crash on loading. I've only had this issue since the 0.37 update.

    I bring up the monitor thing, because in the log, during launch, it gets up to an area, talking about "Sanitizing display" (I forgot to take of copy of the log before fixing it) and it mentions my resolution. I can't remember the exact place it froze, and I can't seem to replicate it again, currently.

    I fix the issue by having my mouse on my 1080p screen, which launches the application on that screen, then I switch it to my main screen. This leads me to believe that it's a resolution based issue. If you need more info, I'll try harder to remember to take the log after the crash, and during boot crashes.
    --- Post updated ---
    oh wait, I loaded in, and now I have this issue. I'll try to troubleshoot it, like normal, but thought I'd share it. I can't move the camera with this happening, and the graphics are terrible, but the rest of the game seems fine.
    upload_2025-9-24_14-55-1.png

    Changing display mode did nothing, but rebooting the game fixed it, no issues now.
     
  15. IAMARABSKAIA NOTCH

    IAMARABSKAIA NOTCH
    Expand Collapse

    Joined:
    Jul 29, 2021
    Messages:
    36
    Game freezes every hour. Have to relaunch game every time
     
  16. fillman86

    fillman86
    Expand Collapse

    Joined:
    Apr 18, 2020
    Messages:
    208
    since the new update, pressing ctrl+L unpauses the game. Not sure if this is normal, but for my niche circumstances, it can get it the way
     
  17. aivora

    aivora
    Expand Collapse
    Research Software Engineer
    BeamNG Team

    Joined:
    Dec 14, 2021
    Messages:
    32
    Hi, to run native version on SteamDeck there should be no extra setup needed, except either using the `BinLinux/BeamNG.drive.x64 %command%` startup argument or adding the Linux binary as a non-Steam game. Gamescope runs everything in a Xwayland sandbox, so it's expected native Wayland won't work there.
     
    • Like Like x 1
  18. aivora

    aivora
    Expand Collapse
    Research Software Engineer
    BeamNG Team

    Joined:
    Dec 14, 2021
    Messages:
    32
    Hi, finally I managed to get Wolf working somehow on my PC and I can load BeamNG.drive, also tested driving around on Hirochi Raceway a bit. Both Proton and native Linux version. The startup crash is probably not caused by Wolf itself then. From the logs I see you're using integrated Intel Arc Graphics, I'm not sure if that's powerful enough to run BeamNG? Did you try running baremetal or on a machine with different hardware?
     
  19. Car_Killer

    Car_Killer
    Expand Collapse
    QA / Mod Support
    BeamNG Team

    Joined:
    Sep 24, 2013
    Messages:
    1,676
    Hello.
    Last hotfix included fixes for the game getting stuck on startup on NVIDIA and Xwayland, as well as mouse focus issues when moving the camera with right click.
     
    • Like Like x 2
  20. IAMARABSKAIA NOTCH

    IAMARABSKAIA NOTCH
    Expand Collapse

    Joined:
    Jul 29, 2021
    Messages:
    36
    Unfortunately, i still getting same freezes on last hotfix.
     
  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