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.35 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. pepepper

    pepepper
    Expand Collapse

    Joined:
    Today
    Messages:
    1
    I experienced "invalid_pointer" crash too.
    You can supress "Failed to init default system:" message by adding
    Code:
    $pref::lightManager = "Advanced Lighting";
    to ".local/share/BeamNG.drive/0.35/settings/game-settings.cs".
    But this doesn't help crash problem.

    Actual problem seems to be in the cef library. This is the suspicious stack trace.

    Code:
                    Stack trace of thread 107035:
                    #0  0x00007f3a7e4a774c n/a (libc.so.6 + 0x9774c)
                    #1  0x00007f3a7e44ddc0 raise (libc.so.6 + 0x3ddc0)
                    #2  0x00007f3a7e43557a abort (libc.so.6 + 0x2557a)
                    #3  0x00007f3a7e4365c9 n/a (libc.so.6 + 0x265c9)
                    #4  0x00007f3a7e4b1a35 n/a (libc.so.6 + 0xa1a35)
                    #5  0x00007f3a7e4b1d7c n/a (libc.so.6 + 0xa1d7c)
                    #6  0x00007f3a7e4b6ea2 __libc_free (libc.so.6 + 0xa6ea2)
                    #7  0x00005592cd08b0d5 png_destroy_read_struct (/mnt/games/SteamLibrary/steamapps/common/BeamNG.drive/BinLinux/BeamNG.drive.x64 + 0x1a710d5)
                    #8  0x00007f3a0001e68d n/a (libgdk_pixbuf-2.0.so.0 + 0x1d68d)
                    #9  0x00007f3a0001290f gdk_pixbuf_loader_close (libgdk_pixbuf-2.0.so.0 + 0x1190f)
                    #10 0x00007f3a000133d4 n/a (libgdk_pixbuf-2.0.so.0 + 0x123d4)
                    #11 0x00007f3a00013572 gdk_pixbuf_new_from_stream (libgdk_pixbuf-2.0.so.0 + 0x12572)
                    #12 0x00007f39bdb583ab n/a (libgtk-3.so.0 + 0x3583ab)
                    #13 0x00007f39bdb5858a n/a (libgtk-3.so.0 + 0x35858a)
                    #14 0x00007f39bdb54e81 n/a (libgtk-3.so.0 + 0x354e81)
                    #15 0x00007f39bdb3e6b3 n/a (libgtk-3.so.0 + 0x33e6b3)
                    #16 0x00007f39bdb75cd1 n/a (libgtk-3.so.0 + 0x375cd1)
                    #17 0x00007f39bdb56950 n/a (libgtk-3.so.0 + 0x356950)
                    #18 0x00007f39bdb5be32 n/a (libgtk-3.so.0 + 0x35be32)
                    #19 0x00007f39bdb5c150 n/a (libgtk-3.so.0 + 0x35c150)
                    #20 0x00007f39bdcb3883 gtk_render_background (libgtk-3.so.0 + 0x4b3883)
                    #21 0x00007f3a8895e402 n/a (libcef.so + 0x9f5e402)
                    #22 0x00007f3a8895e752 n/a (libcef.so + 0x9f5e752)
                    #23 0x00007f3a8894ee3d n/a (libcef.so + 0x9f4ee3d)
                    #24 0x00007f3a873653af n/a (libcef.so + 0x89653af)
                    #25 0x00007f3a87364f2d n/a (libcef.so + 0x8964f2d)
                    #26 0x00007f3a88958e1b n/a (libcef.so + 0x9f58e1b)
                    #27 0x00007f3a88955a23 n/a (libcef.so + 0x9f55a23)
                    #28 0x00007f3a8894e844 n/a (libcef.so + 0x9f4e844)
                    #29 0x00007f3a8894e6ff n/a (libcef.so + 0x9f4e6ff)
                    #30 0x00007f3a8894e59b n/a (libcef.so + 0x9f4e59b)
                    #31 0x00007f3a8ae5e137 n/a (libcef.so + 0xc45e137)
                    #32 0x00007f3a874d6018 n/a (libcef.so + 0x8ad6018)
                    #33 0x00007f3a8397378e n/a (libcef.so + 0x4f7378e)
                    #34 0x00007f3a839741c3 n/a (libcef.so + 0x4f741c3)
                    #35 0x00007f3a81350690 n/a (libcef.so + 0x2950690)
                    #36 0x00007f3a813dc078 n/a (libcef.so + 0x29dc078)
                    #37 0x00007f3a8505c3c3 n/a (libcef.so + 0x665c3c3)
                    #38 0x00007f3a8505d82a n/a (libcef.so + 0x665d82a)
                    #39 0x00007f3a8505d6ed n/a (libcef.so + 0x665d6ed)
                    #40 0x00007f3a8134f5e0 n/a (libcef.so + 0x294f5e0)
                    #41 0x00007f3a8134f329 n/a (libcef.so + 0x294f329)
                    #42 0x00007f3a81339a45 n/a (libcef.so + 0x2939a45)
                    #43 0x00007f3a81339744 n/a (libcef.so + 0x2939744)
                    #44 0x00007f3a812b37ca cef_initialize (libcef.so + 0x28b37ca)
                    #45 0x00005592cd9d9146 n/a (/mnt/games/SteamLibrary/steamapps/common/BeamNG.drive/BinLinux/BeamNG.drive.x64 + 0x23bf146)
                    #46 0x00005592ccc01802 n/a (/mnt/games/SteamLibrary/steamapps/common/BeamNG.drive/BinLinux/BeamNG.drive.x64 + 0x15e7802)
                    #47 0x00005592cc360019 n/a (/mnt/games/SteamLibrary/steamapps/common/BeamNG.drive/BinLinux/BeamNG.drive.x64 + 0xd46019)
                    #48 0x00005592cbb1afb2 n/a (/mnt/games/SteamLibrary/steamapps/common/BeamNG.drive/BinLinux/BeamNG.drive.x64 + 0x500fb2)
                    #49 0x00007f3a7e4376b5 n/a (libc.so.6 + 0x276b5)
                    #50 0x00007f3a7e437769 __libc_start_main (libc.so.6 + 0x27769)
                    #51 0x00005592cbb8284e _start (/mnt/games/SteamLibrary/steamapps/common/BeamNG.drive/BinLinux/BeamNG.drive.x64 + 0x56884e)
     
  2. aivora

    aivora
    Expand Collapse
    Research Software Engineer
    BeamNG Team

    Joined:
    Dec 14, 2021
    Messages:
    11
    The stack trace is super helpful, thank you pepepper :) During CEF initialization, it tries to get and initialize the "default Linux UI and theme", which is GTK in this case, and then it seems to be a problem in BeamNG exporting libpng symbols incompatible with `libgdk_pixbuf-2.0.so`. We probably have enough information now to try to make a fix, but it would help if I could reproduce the crash, can you share your distribution + desktop environment name and versions?
     
  3. aivora

    aivora
    Expand Collapse
    Research Software Engineer
    BeamNG Team

    Joined:
    Dec 14, 2021
    Messages:
    11
    Yes, it launches the Linux version (I also tried), but at least in my machine BeamNG running like this somehow uses a version of Vulkan which errors out during initialization withVulkan missing requested extension 'VK_KHR_xlib_surface'. I didn't encounter issues you describe with running BeamNG as a non-Steam game, but we'll have a look.
     
  4. Car_Killer

    Car_Killer
    Expand Collapse
    QA / Mod Support
    BeamNG Team

    Joined:
    Sep 24, 2013
    Messages:
    1,654



    Please report issues only from BeamNG 0.36 from now on :)

    As usual, we fixed some issues here and there on the Linux side.
     
    • Like Like x 3
  5. Pessima lover aka blob

    Pessima lover aka blob
    Expand Collapse

    Joined:
    Dec 25, 2023
    Messages:
    8
    Guys is the black screen issue fixed on wayland after 0.36? Let me know!
     
  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