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.32 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. JoLi

    JoLi
    Expand Collapse

    Joined:
    Oct 12, 2020
    Messages:
    244
    is there a way to make it run natively on wayland? since one of two updates I have severe flickering issues on xwayland w
    tried it with SDL_VIDEODRIVER=wayland aswell, but I only get a window for 1 frame, which then diappears, but the game doesn't crash, log output is also not helpful
     
    • Agree Agree x 1
  2. Blenux

    Blenux
    Expand Collapse

    Joined:
    Oct 29, 2021
    Messages:
    30
    To all the devs, thank you!
     
    • Like Like x 1
    • Agree Agree x 1
  3. jakelooker

    jakelooker
    Expand Collapse

    Joined:
    Aug 31, 2013
    Messages:
    151
    I'm a bit stumped on what's causing it to crash at launch for me. It works okay on my AMD system running Fedora.

    I've tried a fresh install of Beam , installing to a different directory and changing Nvidia driver versions but no change.

    Can anyone provide any insight? I'm not sure if it's the failure to compile the DOF shader that is causing the crash or if it's unrelated.

    2.49556|E|compileHlslGlsl| compile() failed for '/shaders/common/postFx/dof/DOF_Final_P.hlsl':

    Running Arch, fully up to date with Nvidia 550.67 (also tried 545), KDE (X11)
     
  4. Car_Killer

    Car_Killer
    Expand Collapse
    QA / Mod Support
    BeamNG Team

    Joined:
    Sep 24, 2013
    Messages:
    1,556
    I can't really give you any advice, for me the game works out of the box on RTX A4000 and Ubuntu Mate 22.04 LTS.

    Glad to hear it works finally for so many of you :)
     
    • Like Like x 1
  5. vincentkanin

    vincentkanin
    Expand Collapse

    Joined:
    May 11, 2021
    Messages:
    123
    That's weird.... What model of GPU do you use? I can run the game with 4060TI 8GB on KDE.
     
  6. jakelooker

    jakelooker
    Expand Collapse

    Joined:
    Aug 31, 2013
    Messages:
    151
    I have an RTX 3070.

    I've added the full log in case this gives any extra info. The shader failure is the only thing I can see that stands out.

    I don't get any shader warnings or errors on my other system, so it's handling it differently. Unfortunately I don't know enough to take this any further.
     

    Attached Files:

    #486 jakelooker, Apr 17, 2024
    Last edited: Apr 17, 2024
  7. kingdomoflinux

    kingdomoflinux
    Expand Collapse

    Joined:
    Jul 19, 2021
    Messages:
    28
    My G27 is recognized as "joystick" instead of "wheel", and the dpad doesn't work.

    Also, I need to put all the axis as inverted to work correctly.

    These problems don't happen with the Proton version.

    Another problem that I had. After playing for about 10 minutes in the West Coast map, the screen started flickering and I needed to close the game and load it again.
     
  8. mikeri

    mikeri
    Expand Collapse

    Joined:
    Oct 16, 2022
    Messages:
    5
    Another happy user here! While 0.31 was a flickering mess at best, the few times I could get the Linux version to run at all, everything is working perfectly in 0.32! After hours of driving, trying all maps and a few scenarios, I have not had a single crash, glitch, or even flicker! (Except after I quit the game, then the crash reporter always pops up, but who cares about that? :) ) I am using Ubuntu 22.04 with a 1080ti running driver version 535.171.04.

    Thanks for the massive improvement!
     
    • Agree Agree x 2
    • Like Like x 1
  9. goldy_

    goldy_
    Expand Collapse

    Joined:
    Apr 1, 2024
    Messages:
    4
    I'm also getting that same exact error

    OS: Arch Linux (Kernal 6.8.7)
    CPU: Ryzen 7 2700
    GPU: AMD Radeon RX 570
    DE: KDE Plasma 6

    Let me know if there are any other details you need. My system is completely up to date at this moment.

    This is what I got in the console:
    Code:
      0.00010|D|initialize| Initializing VFS
      0.05354|D|initialize| Installing SQLLite3 VFS wrapper
      0.05358|D|initialize| Loading settings from files
      0.05405|D|initialize| Initializing platform
      0.05406|D|initialize| Initializing Env done
      0.23168|I|initFS| Virtual Filesystem: user path: /home/goldy/.local/share/BeamNG.drive/0.32/
      0.23171|D|initFS|  - user path reason: Default path
      0.23171|D|initFS|  - user mods path: /home/goldy/.local/share/BeamNG.drive/0.32/mods/
      0.23171|D|initFS|  - game mods path: /mnt/GamesLinux/SteamLibrary/steamapps/common/BeamNG.drive/content/
      0.23172|D|main| H2 D75382391F179F41DCCB5AE134473447E915
    >   0.23840|I|init| Initializing platform...
      0.23863|D|initializeSystem| initializing 105 modules (only displaying anything above 0.1 s)...
    [S_API] SteamAPI_Init(): Loaded '/home/goldy/.local/share/Steam/linux64/steamclient.so' OK.
    [S_API FAIL] SteamAPI_Init() failed; no appID found.
    Either launch the game from Steam, or put the file steam_appid.txt containing the correct appID in your game folder.
      0.25308|D|init| Could not initialize Steam functions
      0.25330|D|init| SFXFMODProvider - FMOD API version: 2.02.17
      0.26330|D|createDevice| Using default audio device: SOUNDPEATS Engine 4
      0.32179|D|createDevice| Created FMOD device 'SOUNDPEATS Engine 4'
      0.32180|D|createDevice|    CAPS_VoiceManagement
      0.32213|D|finalizeInitialization|    Provider: FMOD
      0.32214|D|finalizeInitialization|    Hardware: false
      0.32214|D|finalizeInitialization|    Buffers: 16
      0.34043|I|GELua.| ============== GELUA VM loading ===============
      0.40399|D|GELua.gameplay_missions_progress.| Loaded 0 condition types from 0 files.
      0.40474|D|GELua.gameplay_missions_missions.| Loaded 2 procedural Mission Generators from 2 files.
      0.40599|D|GELua.gameplay_missions_unlocks.| Loaded 9 condition types from 4 files.
      0.42288|D|init| GFX Init:
      0.42290|D|_GFXInitReportAdapters|    Null device found
      0.42344|D|initializeSystem| ... all modules loaded in 0.18481024499999998 seconds
      0.42351|D|init| OpenXR: Steam VR mode: disabled
      0.43393|D|createDevice| Available adapters: 2
      0.43395|D|createDevice|  - name:GPU (VK), outputName:\\.\DISPLAY1, gfx:Vk, gpu:GPU
      0.43396|D|createDevice|  - name:GFX Null Device, outputName:, gfx:, gpu:
      0.43396|D|createDevice| Attempting to create GFX device 0: GPU (VK) [with output \\.\DISPLAY1]
      0.43397|D|createDevice| shader model: 5.0 , available video modes: 28
      0.43399|D|createDevice| Device created, setting adapter and enumerating modes
      0.44902|W|createWindow| Window Icon path is empty, window will be created without an icon.
      0.44969|D|init| Vk Layers:
      0.44970|D|init|     VK_LAYER_VALVE_steam_fossilize_64
      0.44970|D|init|     VK_LAYER_VALVE_steam_overlay_32
      0.44971|D|init|     VK_LAYER_VALVE_steam_overlay_64
      0.44971|D|init|     VK_LAYER_VALVE_steam_fossilize_32
      0.44972|D|init|     VK_LAYER_AMD_switchable_graphics_32
      0.45044|D|init| Vk extensions:
      0.45045|D|init|     VK_KHR_device_group_creation
      0.45045|D|init|     VK_KHR_display
      0.45045|D|init|     VK_KHR_external_fence_capabilities
      0.45045|D|init|     VK_KHR_external_memory_capabilities
      0.45046|D|init|     VK_KHR_external_semaphore_capabilities
      0.45046|D|init|     VK_KHR_get_display_properties2
      0.45046|D|init|     VK_KHR_get_physical_device_properties2
      0.45046|D|init|     VK_KHR_get_surface_capabilities2
      0.45047|D|init|     VK_KHR_surface
      0.45047|D|init|     VK_KHR_surface_protected_capabilities
      0.45048|D|init|     VK_KHR_wayland_surface
      0.45048|D|init|     VK_KHR_xcb_surface
      0.45048|D|init|     VK_KHR_xlib_surface
      0.45049|D|init|     VK_EXT_acquire_drm_display
      0.45049|D|init|     VK_EXT_acquire_xlib_display
      0.45049|D|init|     VK_EXT_debug_report
      0.45050|D|init|     VK_EXT_debug_utils
      0.45050|D|init|     VK_EXT_direct_mode_display
      0.45050|D|init|     VK_EXT_display_surface_counter
      0.45050|D|init|     VK_EXT_surface_maintenance1
      0.45051|D|init|     VK_EXT_swapchain_colorspace
      0.45051|D|init|     VK_KHR_portability_enumeration
      0.45051|D|init|     VK_LUNARG_direct_driver_loading
      0.45051|D|init| Attempting to create vulkan instance with the following extensions:
      0.45052|D|init|  - VK_KHR_get_physical_device_properties2
      0.45052|D|init|  - VK_EXT_debug_utils
      0.45052|D|init|  - VK_KHR_surface
      0.45052|D|init|  - VK_KHR_xlib_surface
      0.45503|D|init| Available vulkan devices:
      0.45504|D|init|    name:AMD Radeon RX 570 Series (RADV POLARIS10) vendor:4098 version:100663301 type:Discrete
      0.45547|D|operator()| The requested Vulkan device extension does not appear to be supported, skipping extension: VK_NV_device_diagnostic_checkpoints
      0.45548|D|operator()| The requested Vulkan device extension does not appear to be supported, skipping extension: VK_WINE_openxr_device_extensions
      0.45549|D|operator()| The requested Vulkan device extension does not appear to be supported, skipping extension: VK_EXT_debug_marker
      0.45549|D|init| Attempting to create vulkan device with the following vulkan device extensions:
      0.45550|D|init|  - VK_KHR_swapchain
      0.45550|D|init|  - VK_EXT_memory_budget
      0.45551|D|init|  - VK_KHR_get_memory_requirements2
      0.45551|D|init|  - VK_KHR_external_memory_fd
      0.45552|D|init|  - VK_KHR_external_semaphore_fd
      0.45552|D|init|  - VK_KHR_external_fence_fd
      0.45552|D|init|  - VK_KHR_external_memory
      0.45553|D|init|  - VK_KHR_external_fence
      0.45554|D|init|  - VK_KHR_external_semaphore
      0.45554|D|init|  - VK_KHR_dedicated_allocation
      0.45554|D|init|  - VK_EXT_queue_family_foreign
      0.45556|D|init|  - VK_KHR_bind_memory2
      0.45556|D|init|  - VK_KHR_create_renderpass2
      0.45556|D|init|  - VK_KHR_maintenance2
      0.45557|D|init|  - VK_KHR_multiview
      0.45557|D|init|  - VK_KHR_push_descriptor
      0.45557|D|init|  - VK_KHR_timeline_semaphore
      0.54252|D|init| Created Vulkan device from AMD Radeon RX 570 Series (RADV POLARIS10)
      0.54345|D|init|  -  () [0 MB] ver
      0.54346|D|setCapability| GFXCardProfiler (VK) - Setting capability 'maxTextureWidth' to 8192.
      0.54346|D|setCapability| GFXCardProfiler (VK) - Setting capability 'maxTextureHeight' to 8192.
      0.54347|D|setCapability| GFXCardProfiler (VK) - Setting capability 'maxTextureSize' to 8192.
      0.54347|D|setCapability| GFXCardProfiler (VK) - Setting capability 'autoMipMapLevel' to 1.
      0.54348|D|setCapability| GFXCardProfiler (VK) - Setting capability 'lerpDetailBlend' to 1.
      0.54348|D|setCapability| GFXCardProfiler (VK) - Setting capability 'fourStageDetailBlend' to 1.
      0.54418|D|initShaderGen| Failed to remove file /temp/shaders/procedural/autogenConditioners.h
      0.54456|D|sanitizePathAsStr| Empty path will be resolved to root but should not be used
      0.54460|D|sanitizePathAsStr| Empty path will be resolved to root but should not be used
      0.54462|D|sanitizePathAsStr| Empty path will be resolved to root but should not be used
      0.54465|D|sanitizePathAsStr| Empty path will be resolved to root but should not be used
      0.54469|D|init| Vulkan render initialized
      0.77190|D|GELua.core_settings_graphic.graphic| Sanitizing display - //./DISPLAY1: Passed.
      0.77193|D|GELua.core_settings_graphic.graphic| Sanitizing display mode - Window: Passed.
      0.77195|D|GELua.core_settings_graphic.graphic| Sanitizing display resolution for Window mode - 1280 720: Passed.
      0.90862|D|loadFonts| Loading 13 imgui fonts...
      0.90887|D|imguiCreateContext| Adding fonts to imgui:
      0.90895|D|imguiCreateContext|     'cairo_bold'->'ui/common/Cairo-Bold.ttf' Scale: 1.3  RangeCount: 3
      0.90901|D|imguiCreateContext|     'cairo_regular'->'ui/common/Cairo-Regular.ttf' Scale: 1.3  RangeCount: 3
      0.90921|D|imguiCreateContext|     'cairo_regular_medium'->'ui/common/Cairo-Regular.ttf' Scale: 1.8  RangeCount: 3
      0.90948|D|imguiCreateContext|     'cairo_semibold_large'->'ui/common/Cairo-SemiBold.ttf' Scale: 2  RangeCount: 3
      0.91004|D|imguiCreateContext|     'icons'->'ui/common/fa-solid-900.ttf' Scale: 3  RangeCount: 1
      0.91189|D|imguiCreateContext|     'notosans_jp_regular'->'ui/common/NotoSansJP-Regular.otf' Scale: 1  RangeCount: 3004
      0.91290|D|imguiCreateContext|     'notosans_kr_regular'->'ui/common/NotoSansKR-Regular.otf' Scale: 1  RangeCount: 3
      0.91707|D|imguiCreateContext|     'notosans_sc_regular'->'ui/common/NotoSansSC-Regular.otf' Scale: 1  RangeCount: 2506
      0.92053|D|imguiCreateContext|     'notosans_tc_regular'->'ui/common/NotoSansTC-Regular.otf' Scale: 1  RangeCount: 7
      0.92081|D|imguiCreateContext|     'prompt_regular'->'ui/common/Prompt-Regular.ttf' Scale: 1  RangeCount: 3
      0.92102|D|imguiCreateContext|     'robotomono_regular'->'ui/common/RobotoMono-Regular.ttf' Scale: 1  RangeCount: 4
      2.27109|D|imgui.fonts| font texture contains 11 fonts. Atlas size: 4096x16384px
      2.27111|D|imgui.fonts|  - cairo_bold           [24.3 px]:    292 glyphs
      2.27112|D|imgui.fonts|  - cairo_regular        [24.3 px]:    292 glyphs
      2.27112|D|imgui.fonts|  - cairo_regular_medium [33.7 px]:    292 glyphs
      2.27112|D|imgui.fonts|  - cairo_semibold_large [37.4 px]:    292 glyphs
      2.27113|D|imgui.fonts|  - icons                [56.1 px]:     16 glyphs
      2.27113|D|imgui.fonts|  - notosans_jp_regular  [18.7 px]:   3685 glyphs
      2.27113|D|imgui.fonts|  - notosans_kr_regular  [18.7 px]:    388 glyphs
      2.27114|D|imgui.fonts|  - notosans_sc_regular  [18.7 px]:   3220 glyphs
      2.27114|D|imgui.fonts|  - notosans_tc_regular  [18.7 px]:  16064 glyphs
      2.27114|D|imgui.fonts|  - prompt_regular       [18.7 px]:    299 glyphs
      2.27115|D|imgui.fonts|  - robotomono_regular   [18.7 px]:    460 glyphs
      2.27115|D|imgui.fonts| 25300 glyphs totally
      2.31287|E|GELua.lightManager| Failed to init default system:
      2.90620|I|GELua.| ============== GELUA VM loaded ================
      3.03977|D|run| Started up in 4.09 seconds: fs:1100.ms, fs:175.7ms, singletonThread:6.604ms, modules:185.0ms, TScmdline:2535.ms, cef2:81.15ms
      3.06609|W|compileHlslGlsl| compile() issues for '/shaders/common/specPrefilter.hlsl':
    /shaders/common/specPrefilter.hlsl:19:1: warning: effect state block ignored - effect syntax is deprecated. To use braces as an initializer use them with equal signs. [-Weffects-syntax]
    {
    ^
      3.37688|E|compileHlslGlsl| compile() failed for '/shaders/common/postFx/dof/DOF_Final_P.hlsl':
    
    *** CRASH *** Minidump generated at: /home/goldy/.local/share/BeamNG.drive/0.32/temp/crashReports/3d1d3f7a-8c0a-41df-b887babe-2d03c5c3.dmp
    Segmentation fault (core dumped)
    
    
     
  10. jakelooker

    jakelooker
    Expand Collapse

    Joined:
    Aug 31, 2013
    Messages:
    151
    At least I'm not alone!

    I tried a fresh OS install today and it made no difference, still the same issue.

    We have others on Arch without the issue, it's obviously not Nvidia related. Who knows what we can do from here unless someone understands hlsl shader compilation.
     
    #490 jakelooker, Apr 18, 2024
    Last edited: Apr 18, 2024
  11. Blenux

    Blenux
    Expand Collapse

    Joined:
    Oct 29, 2021
    Messages:
    30
    May I ask what were the things done that improved it so much, was it just with vulkan?
     
    • Agree Agree x 1
  12. Car_Killer

    Car_Killer
    Expand Collapse
    QA / Mod Support
    BeamNG Team

    Joined:
    Sep 24, 2013
    Messages:
    1,556
    Yes, just overall Vulkan implementation improvements and Linux Vulkan specific bug fixing, and other bug fixing like device ID fix.
     
    • Like Like x 3
  13. kingdomoflinux

    kingdomoflinux
    Expand Collapse

    Joined:
    Jul 19, 2021
    Messages:
    28
    The screen flickers constantly with VSync on. If I turn it off the flickering disappears but the framerate is erratic.

    Also, the gamepad vertical axis seems to be inverted, like what it happens with the G27 pedals.

    I'm running Bazzite.
     
  14. goldy_

    goldy_
    Expand Collapse

    Joined:
    Apr 1, 2024
    Messages:
    4
    I'm also glad to know I'm not the only one. I also tried installing and trying different AMD Vulkan implementations like amdvlk and vulkan-radeon (RADV), but no luck there. My default implementation is "vulkan-radeon".
     
  15. Gecked

    Gecked
    Expand Collapse

    Joined:
    Jul 23, 2023
    Messages:
    12
    ABSOLUTELY IN LOVE WITH THIS UPDATE!!!

    Do have some minor issues (As mentioned above, the vertical axis on controllers are wrong). But it even works on my Steam Deck now! I was able to get 7 AI vehicles, limited to 10w TDP at low settings to work reliable above 30fps (Closer to 40). This is amazing!
     
    • Like Like x 2
  16. kingdomoflinux

    kingdomoflinux
    Expand Collapse

    Joined:
    Jul 19, 2021
    Messages:
    28
    Did you add the executable to Steam and are you running it from game mode, or are you playing in desktop mode?

    I need to try it on my OLED.
     
  17. talkingerbil

    talkingerbil
    Expand Collapse

    Joined:
    Jun 17, 2022
    Messages:
    17
    Ahhh this works beautifully now. Fully native linux VR too!! :):)

    The only obvious thing that I notice now is a kernel panic at sim shutdown:
    [28554.484389] BeamNG.drive.x6[346851]: segfault at 100 ip 000055cc9b9d29b3 sp 00007ffceb207fc0 error 4 in BeamNG.drive.x64[55cc9b5f1000+20cf000] likely on CPU 2 (core 8, socket 0)
    [28554.484403] Code: 7f 1e 00 00 90 66 90 f3 0f 1e fa 48 83 ec 18 64 48 8b 04 25 28 00 00 00 48 89 44 24 08 31 c0 48 8b 05 01 e3 e3 01 48 89 3c 24 <48> 8b b0 00 01 00 00 48 3b b0 08 01 00 00 74 2d 48 89 3e f0 83 47​

    No big deal. Leads to the crash reporter but at that point I'm shutting it down anyway. Otherwise it runs perfectly. Well done folks.
     
    • Like Like x 1
  18. pranays123

    pranays123
    Expand Collapse

    Joined:
    Oct 3, 2016
    Messages:
    15
    Flatscreen works properly but native VR with steamvr 2.5.2 and Valve Index on Nvidia freezes. I tried vulkan debug but that didn't show anything after enabling vr and I couldn't get openxr debug to work (linux validation layer isn't included in the files). When clicking the activate VR button, the game freezes and I can hear the menu noise after the freeze but nothing after that, even in the game log.
     
  19. talkingerbil

    talkingerbil
    Expand Collapse

    Joined:
    Jun 17, 2022
    Messages:
    17
    I should have also posted that my gpu is AMD and I'm running the Monado driver stack with a G2 hmd. Steam is not in use anywhere now. Give Monado a try? I'm pretty sure they support the Index. It's a bit complicated right now to set up so they recommend the Envision tool to build and install everything.

    Sadly NV gpus are known to be a general problem for VR in linux still. Folks are eagerly waiting Mesa's NVK to hopefully smooth that out some.
    --- Post updated ---
    Are these 2 systems running the same distro and update status? As in, if you did `ldd beamngexe` you'd see the same libs and lib versions?
     
    • Like Like x 2
  20. ElectricFoxES

    ElectricFoxES
    Expand Collapse

    Joined:
    May 16, 2021
    Messages:
    2
    It finally runs great, on Arch Linux, GTX 1660 Super using proprietary drivers 550 on KDE Plasma, X session.

    However, the loading screens don't update at all while loading, my vertical controller axes (on the thumbsticks) are detected inverted, and mods give problems when shared with a Windows install.

    I have the game installed on an NTFS partition since it doesn't like Ext4Fsd on Windows, and in order to keep using the windows_names mount flag with the NTFS3 driver on Arch, I moved and symlinked both compatdata and user folders onto a different EXT4 formatted drive.

    Either because it's on an NTFS partition or because it's programmed into the game, the mod manager detects and immediately loses any mod files that aren't all named in lowercase, then gives me the "Error mounting mods" error popup, which also removes it from the mod list entirely.

    Some files you download from the repo have uppercase letters in them, but only when downloaded with the Windows version. If I try to find the mod within the game and manually subscribe again on the native Linux version, the resulting filename is all lowercase (so Windows or Wine will name the file "Altitude.zip" but Linux will name it "altitude.zip", exactly as it appears in the console).

    Here's one such mod mentioned in the log.

    Code:
     
      7.29190|D|GELua.core_modmanager.initDB| mountEntry -- /mods/repo/enhancedtacho.zip:  : enhancedtacho
      7.34495|E|LuaApi.VFS.mountList| Error = Archive not found
      7.34497|E|GELua.core_modmanager.initDB| mountList Error
      7.34502|W|GELua.core_modmanager.initDB| mod vanished: /mods/repo/enhancedtacho.zip
    
    When I manually rename the file from Dolphin, it magically reappears.

    Code:
    720.68294|D|GELua.core_modmanager.| /mods/repo/enhancedtacho.zip : added > zip
    720.68708|D|GELua.core_modmanager.| activateMod -- /mods/repo/enhancedtacho.zip
    720.72193|D|GELua.core_modmanager.activateMod| modScripts{}
    
    Thanks for the hard work!
     
  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