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

    UltraBlack_
    Expand Collapse

    Joined:
    Jul 29, 2021
    Messages:
    52
    Is anyone else also experiencing this issue with IMGui (Performance graph, ...)? It is not interactible at all, nomatter where I try to click. I can't move windows, expand or collapse them, nothing.
    Any ideas?
     
  2. PowerstrokeHD

    PowerstrokeHD
    Expand Collapse

    Joined:
    Feb 5, 2021
    Messages:
    2,563
    I have noticed similar things. It seems to be an issue with it opening other windows as you can click open mod folder but it won't open it as it is probably trying to launch a Windows program from a Windows path but cant
     
  3. UltraBlack_

    UltraBlack_
    Expand Collapse

    Joined:
    Jul 29, 2021
    Messages:
    52
    Your issue seems 100% unrelated. I am referring to the in-game UIs, like the one KissMP uses. I don't mean the buttons in the menus
     
  4. PowerstrokeHD

    PowerstrokeHD
    Expand Collapse

    Joined:
    Feb 5, 2021
    Messages:
    2,563
    Well those act like windows I'm pretty sure. I am almost certainly is an issue with opening up the windows as in windowed mode you can take the kissmp windows outside of the BeamNG windows
     
  5. UltraBlack_

    UltraBlack_
    Expand Collapse

    Joined:
    Jul 29, 2021
    Messages:
    52
    no way you can do that
     
  6. JoLi

    JoLi
    Expand Collapse

    Joined:
    Oct 12, 2020
    Messages:
    242
    Well, kissmp "works" for me, I think there are some issues with syncing the vehicles, but the menus work as intended
     
  7. UltraBlack_

    UltraBlack_
    Expand Collapse

    Joined:
    Jul 29, 2021
    Messages:
    52
    After resetting all my settings I am now also experiencing the former.

    Good news though: The imgui windows are now no longer broken
     
  8. EatYourvegetabless

    EatYourvegetabless
    Expand Collapse

    Joined:
    Jul 30, 2022
    Messages:
    1
    Yep, everything seems fine accept the loading times taking forever, having to move/resize window to get the game to load, crashing after trying to load into the game after changing graphics settings etc. I am pretty sure on the Linux version of the game will turn out far superior to the Windows version after some updating though :)
    (Arch x64)
     
    #148 EatYourvegetabless, Jul 30, 2022
    Last edited: Jul 30, 2022
  9. ProjSynchro

    ProjSynchro
    Expand Collapse

    Joined:
    Aug 3, 2022
    Messages:
    2
    Hi, you might also have to create a Linux depot, in addition to setting up the launch option in Steamworks.

    In my own experience, you'll want to have a platform independent depot which contains platform independent resources (textures, scripts, etc.), and then two platform specific depots. e.g. one containing 'BinLinux', and one containing 'Bin64', or any other Windows specific executables (BeamNG.drive.exe launcher, etc.).
    See here for information about setting up the correct platforms for depots: https://partner.steamgames.com/doc/store/application/depots#depot_mounting_rules
    See here for how to build the depots via build scripts: https://partner.steamgames.com/doc/sdk/uploading You can filter out dlls and exe files for example if you are looking for an easy way to adjust your current build workflow.

    Additionally: by creating a Linux depot, your game will not have the SteamOS/Linux badge on the store page without you setting it that way. That way you don't have to worry about advertising an in-dev build as a fully stable one, the Linux build will still be available to download on that platform however. You might want to try configuring these new depots on a beta branch first.

    It goes without saying but thanks for providing a native Linux build!
     
    • Like Like x 3
    • Agree Agree x 1
  10. shinzef

    shinzef
    Expand Collapse

    Joined:
    Aug 6, 2022
    Messages:
    1
    Game crashes when loading ( around the forest part ) also very high ram usage compared to wine or windows. And on logs there are this "134.77497|E|updateDescritorSet| Missing VK resource"
    Also tried with every graphics settings.
     
    #150 shinzef, Aug 6, 2022
    Last edited: Aug 6, 2022
    • Like Like x 1
  11. JoLi

    JoLi
    Expand Collapse

    Joined:
    Oct 12, 2020
    Messages:
    242
    I think there might be a *small* VRAM leak issue...
    upload_2022-8-12_0-13-25.png
    It just keeps climbing until it crashes...
    in the menu it is at 2,8
    after starting the Garage to Garage delivery in italy it's at 9,2 - 9,3
    this time it crashed at 10,7GiB

    This might also be the issue why bigger maps don't work (crash while loading)
     
  12. JoLi

    JoLi
    Expand Collapse

    Joined:
    Oct 12, 2020
    Messages:
    242
    Code:
    480.12155|W|GELua.extensions| Had to manually add the extension name to the list to unload. Auto resolution design did not work - ui_uiNavi
    480.21315|I|GELua.print| Requesting UI Dashboard Map...
    480.24114|E|CEF.MainGEUI#local://local/ui/lib/ext/angular/angular.js:18017| Uncaught TypeError: Cannot read property '$$nextSibling' of null
    480.24173|E|CEF.MainGEUI#local://local/ui/lib/int/utilities.js:811| Unable to autofocus element. tabindex="-1" missing?
    480.24173|E|CEF.MainGEUI#local://local/ui/lib/int/utilities.js:812| Wanted to focus:
    480.49925|W|GELua.extensions| Had to manually add the extension name to the list to unload. Auto resolution design did not work - ui_uiNavi
    480.56687|I|GELua.print| Requesting UI Dashboard Map...
    480.59732|E|CEF.MainGEUI#local://local/ui/lib/ext/angular/angular.js:18017| Uncaught TypeError: Cannot read property '$$nextSibling' of null
    *** CRASH *** Minidump generated at: /home/jonathan/.local/share/BeamNG.drive/0.25/temp/crashReports/95d1f744-b134-42ff-865647b5-813b564c.dmp
    
    also seems to be having issues with the navigation UI element, sometimes, in garage to garage deliveries, the blue line is only just in front of the car on the minimap.
    This occured while doing a garage to garage delivery on italy btw
    also, it's generally very unstable, crashing about every 15min to 1 hour.
     
  13. lewisnvr

    lewisnvr
    Expand Collapse

    Joined:
    Aug 17, 2022
    Messages:
    2
    The issue:
    Well, I can't seem to find anyone having the same issue as me, but I can't even run the game. When I execute the binary I get a crash, with no visible errors in the log:

    Code:
      0.16701|I|initFS| Virtual Filesystem: user path: /home/lewis/.local/share/BeamNG.drive/0.25/
      0.16705|D|initFS|  - user path reason: Default path
      0.16705|D|initFS|  - user mods path: /home/lewis/.local/share/BeamNG.drive/0.25/mods/
      0.16706|D|initFS|  - game mods path: /home/lewis/.local/share/Steam/steamapps/common/BeamNG.drive/content/
      0.16707|D|main| H2 DBF5853FD9E4C953A839433C2D9AD8A5B215
    >   0.18912|I|init| Initializing platform...
      0.18933|D|initializeSystem| initializing 87 modules (only displaying anything above 0.1 s)...
      0.19120|I|init| SFXFMODProvider - FMOD API version: 2.2.7
      0.19871|I|initChannels| SFXSystem initChannels called.....
      0.19889|D|createDevice| Using default audio device: sof-hda-dsp HDMI1/DP1 Output
      0.44269|D|createDevice| SFXSystem::createDevice - created FMOD device 'sof-hda-dsp HDMI1/DP1 Output'
      0.44273|D|createDevice|    CAPS_VoiceManagement
      0.44321|D|finalizeInitialization|    Provider: FMOD
      0.44322|D|finalizeInitialization|    Hardware: Yes
      0.44323|D|finalizeInitialization|    Buffers: 16
      0.44328|D|initializeSystem|  - AFTER_MODULE_INIT( BeamEngine ) in ../../engine/source/audio/audioSystem.cpp in 0.24457549 seconds
    [S_API] SteamAPI_Init(): Loaded '/home/lewis/.local/share/Steam/linux64/steamclient.so' OK.
    Setting breakpad minidump AppID = 284160
    SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561199158163941 [API loaded no]
      0.53560|D|init|  - Steam Account logged in: yes
      0.53561|D|init|  - Steam Account ID: 76561199158163941
      0.53565|D|init|  - Steam App ID: 284160
      0.53872|D|init|  - Battery Status: AC power
      0.53884|D|init|  - BeamNG installed: yes
      0.53887|D|init|  - Steam subscribed
      0.53902|D|init|  - current game language: english
      0.53907|D|init|  - available game languages: english,german,french,italian,koreana,spanish,schinese,tchinese,russian,thai,japanese,portuguese,polish,danish,dutch,finnish,norwegian,swedish,hungarian,czech,romanian,turkish,arabic,brazilian,bulgarian,greek,ukrainian,latam,vietnamese
      0.53915|D|init|  - install path: '/home/lewis/.local/share/Steam/steamapps/common/BeamNG.drive'
      0.53923|D|init|  - player name: 'lewis1revill'
      0.53931|D|init| Steam initialization done.
      0.55714|I|GELua.| ============== Game Engine Lua VM started ==============
      0.58315|D|GELua.core_gamestate.gamestate| see if ui is loaded
      0.63134|D|GELua.core_activityManager.| Loaded 12 condition types from 3 files.
      0.63560|D|GELua.gameplay_missions_progress.| Loaded 0 condition types from 0 files.
      0.63641|D|GELua.gameplay_missions_missions.| Loaded 2 procedural Mission Generators from 2 files.
      0.63743|D|GELua.gameplay_missions_unlocks.| Loaded 8 condition types from 3 files.
      0.63870|D|init| GFX Init:
      0.63872|D|_GFXInitReportAdapters|    Null device found
      0.63911|D|initializeSystem| ... all modules loaded in 0.449771449 seconds
      0.63957|D|TS| command line args:
      0.63958|D|TS|  - 0 = ./BeamNG.drive.x64
      0.68196|D|onAdd| Available adapters: 3
      0.68199|D|onAdd|  - name:GPU (VK), outputName:\\.\DISPLAY1, gfx:Vk, gpu:GPU
      0.68199|D|onAdd|  - name:GPU (VK), outputName:\\.\DISPLAY2, gfx:Vk, gpu:GPU
      0.68199|D|onAdd|  - name:GFX Null Device, outputName:, gfx:, gpu:
      0.68200|D|createDevice| Attempting to create GFX device 0: GPU (VK) [with output \\.\DISPLAY1]
      0.68201|D|createDevice| shader model: 5.0 , available video modes: 1
      0.68202|D|createDevice| Device created, setting adapter and enumerating modes
      0.70277|W|createWindow| Window Icon path is empty, window will be created without an icon.
      0.70340|I|init| Vk Layers:
      0.70341|I|init|     VK_LAYER_MESA_device_select
      0.70341|I|init|     VK_LAYER_VALVE_steam_fossilize_32
      0.70342|I|init|     VK_LAYER_VALVE_steam_overlay_64
      0.70342|I|init|     VK_LAYER_VALVE_steam_overlay_32
      0.70342|I|init|     VK_LAYER_VALVE_steam_fossilize_64
      0.70343|I|init|     VK_LAYER_MESA_overlay
      0.70343|I|init|     VK_LAYER_LUNARG_standard_validation
      0.70343|D|init| Attempting to create vulkan instance with the following extensions:
      0.70343|D|init|     VK_KHR_get_physical_device_properties2
      0.70343|D|init|     VK_EXT_debug_utils
      0.70344|D|init|     VK_KHR_surface
      0.70344|D|init|     VK_KHR_xlib_surface
      0.74142|D|init| Available vulkan devices:
      0.74144|D|init|    name:Intel(R) Xe Graphics (TGL GT2) vendor:32902 version:88088582 type:Integrated
      0.74149|D|init|    name:llvmpipe (LLVM 12.0.0, 256 bits) vendor:65541 version:1 type:Cpu
    Fossilize INFO: Overriding serialization path: "/home/lewis/.local/share/Steam/steamapps/shadercache/284160/fozpipelinesv6/steamapprun_pipeline_cache".
      0.74399|D|init| Created Vulkan device from Intel(R) Xe Graphics (TGL GT2)
    *** CRASH *** Minidump generated at: /home/lewis/.local/share/BeamNG.drive/0.25/temp/crashReports/0fe93407-9213-4666-ab167e88-80e54af5.dmp

    My specs:

    OS: KDE Neon 20.04 focal
    Kernel: x86_64 Linux 5.14.0-1048-oem
    WM: sway
    CPU: 11th Gen Intel Core i7-1185G7 @ 8x 4.8GHz
    GPU: Mesa Intel(R) Xe Graphics (TGL GT2)

    Mesa version: 21.2.6


    Edit: Maybe worth mentioning running with Proton doesn't work for me either. I get the error code which complains about incompatible DirectX.
     
  14. Car_Killer

    Car_Killer
    Expand Collapse
    QA / Mod Support
    BeamNG Team

    Joined:
    Sep 24, 2013
    Messages:
    1,534
    I assume your gpu is integrated, current Vulkan implementation have a lot of issues with them.
     
    • Agree Agree x 1
  15. lewisnvr

    lewisnvr
    Expand Collapse

    Joined:
    Aug 17, 2022
    Messages:
    2
    Indeed it is.

    I did also try updating Mesa and that also had no effect. Curious why I get no reported information about what's going wrong, perhaps it's just some kind of segfault somewhere
     
  16. JoLi

    JoLi
    Expand Collapse

    Joined:
    Oct 12, 2020
    Messages:
    242
    is it iGPUs or is it intel GPUs that are making problems? (are AMD APUs also affected?)
     
  17. Car_Killer

    Car_Killer
    Expand Collapse
    QA / Mod Support
    BeamNG Team

    Joined:
    Sep 24, 2013
    Messages:
    1,534
    On Windows Vulkan even AMD iGPUs are crashing.
    On Linux it's a lottery, AMD rather works but known AMD issues (from DX11) are present, at least with mine AMD Renoir. But I wouldn't call it a very stable experience, I tested stuff with Mesa 22.1.3. Steam Deck GPU seems to be working rather good tho from my tests.

    You can try to launch game with -gfx vk debug launch argument to get more detailed logs.

    With intel GPUs, i cannot really help. My Surface Pro 4 with Intel HD Graphics 520 is crashing immediately after creating the VK device in game.
     
  18. Blood-PawWerewolf

    Blood-PawWerewolf
    Expand Collapse

    Joined:
    Jan 18, 2016
    Messages:
    654
    ah that explains it.

    currently testing this Linux build on a Framework laptop with only an intel iGPU
     
    • Like Like x 1
  19. UltraBlack_

    UltraBlack_
    Expand Collapse

    Joined:
    Jul 29, 2021
    Messages:
    52
    for some reason, I'm still not getting a launch menu, as it should exist according to https://steamdb.info/app/284160/config/ (I don't know if this is intended but the windows option is tagged as linux)

    Also can anyone recreate the crash when trying to load up any one of the chase scenarios?
     
  20. ProjSynchro

    ProjSynchro
    Expand Collapse

    Joined:
    Aug 3, 2022
    Messages:
    2
    There needs to be a Linux Depot available for the Linux launch option to work (There is only a Windows Depot available.)
    As far as Steam is aware / cares you are running on Windows so it won't expose any launch options for Linux. If a Linux depot is available and downloaded the launch option should work.
     
    • Like Like x 1
    • Agree Agree 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