oh, right…
for instance, in Steam Deck’s gaming mode, which is using bare wayland (well, maybe not so bare as it’s always in exclusive fullscreen mode), if you were to try launching the NATIVE BeamNG binary from
~/.local/share/Steam/steamapps/common/BeamNG.drive/BinLinux/BeamNG.drive.x64
it then hilariously launches it in 1x1 pixel resolution. but then in its desktop mode, which is KDE under xwayland, that can run both X11 and wayland apps, beamNG works, EXCEPT for the horrible screen flickering (epilepsy warning!), not to be confused with screen tearing, which can be fixed with a compositor (unless you have integrated AMD graphics) - screen flickering (blinking) CANNOT be fixed. period. it’s a FEATURE. it’s SUPPOSED to do that.
this is because, guess what, mate - BeamNG was coded and compiled ONLY for the X11 window system! congratulations everybody, the devs have not discovered the modern solutions yet!
okay, here’s a bit of trivia:
– X11 WILL render your frozen window frame, which is how you get screen tearing.
– XWAYLAND will NOT render your last frozen window frame and will default to a black screen, which is how you get screen flickering or blinking.
now you may ask “how is screen flickering better than screen tearing?”
well, i don’t know, do i, but it gives ya more frames innit?
point is, the game’s running in compatibility mode which means it’s old as ■■■■
there are two ways to mitigate this:
- in beamNG’s display settings, enable VSYNC and limit FPS to your monitor’s refresh rate
(unfortunately, this DOESNT help much, but it greatly reduces such flickering. i said this before and i will say it again, this game is completely ■■■■■■, mate) - log out from your session into your desktop manager (e.g. SDDM - your login screen) and choose the X11 session from there
(X11 will be more laggy than wayland, but instead of screen flickering, you will get screen tearing LOL). to fix screen tearing on X11 you can either install / enable a compositor if you haven’t already or editsudo nano /etc/X11/xorg.conf.d/20-amdgpu.conf
(if you’re on AMD and usingamdgpu
driver)
Section "OutputClass"
Identifier "AMD"
MatchDriver "amdgpu"
Driver "amdgpu"
Option "TearFree" "true"
EndSection
OBVIOUSLY, these are all very bad news. the fact that beamNG is using old ■■■■■■■ ■■■■■■■■ 90’s window system made for 2D ■■■■■■■ graphics, X11 was rotting for decades, nobody pokes it with a stick anymore but nah mate, here comes the beamNG crew to unsettle the bog and decide to ■■■■■■■ compile it for X11, cos why the ■■■■ not, right, let there be more compatibility with older devices right? well what kind of old ■■■■■■■ device it’s gotta be that can even run beamNG, mate? it all kinda contradicts what they’re trying to achieve with their “technology”, right. now that’s a “futureless approach” (sic!). what the ■■■■ were they thinking?! if this is something you care about, please submit a very annoyed ticket (for the 9000th time). i’m sure they’re aware of how ■■■ ■■■■■■■ awful and ■■■■■■ their game is.
this, however, doesnt happen with any other software or games, wow! these must be very shocking news to all the fanboys of this game - this is just the tip of the iceberg of beamNG’s problems! imagine dreaming about new added features in beamNG… hate to break it to ya, but they’d have to rewrite their whole game for that, i don’t know if you know, but they’ve got the most spaghettified code i’ve ever seen! imagine comprehending the concept of MULTITHREADING in beamNG!!! just ■■■■ up, anyway…
X11 has been deprecated for YEARS even by the time vulkan and native binaries were released for beamNG. nobody, and i mean it, NO ONE uses this legacy boomer software that is this slow (compare them by performance!) and non-maintainable. that’s why steam decks ship with wayland by default. no, any other distro goes with wayland. historically X11 was for 2D graphics, that screen tearing is literally an emulation of a scan line that you’d get on a CRT (no disrespect to CRTs)! point is, this ■■■■■■■■ goes against what beamNG devs are trying to accomplish, alright. i just cant explain their stupid decision - they have the ability to compile it for wayland - it’s LITERALLY JUST ONE LINE!!! ■■■■■■■ add it mate, you can compile it for macOS, you can compile it for commodore, for ARM, you can allow it to use 2 CPUs at once, nahhhh, we’re ■■■■■■■ sticking with this ■■■■■■■■ ■■■■■■■ old as ■■■■ X11 yep that’s what we do at beamNG HQ. oh mate dont mind me i just love to ramble haha let me tell you how much i hate the tyre simulation in this ■■■■■■■ game…
cool game!
instructions how to use NATIVE BEAMMP with PROTON / STL / WINE BEAMNG: