Page 1 of 1
Graphical Issues on Wayland (Linux)
Posted: Tue Jun 23, 2026 11:19 am
by JGJones
The rendering will flicker and glitches as if I'm using X11 on Wayland (this happens in Stable too if I set driver to X11 that but it's perfect with zero issues if set to Wayland). I switched to experimental 2.1.7 to check it out and getting this. The menus are broken like this and the text might flicker etc. The driver is set to Wayland still. I've double checked the config.ini file and the lines is set to wayland too:
Code: Select all
; Options: auto, x11, wayland
linux-preferred-video-driver=wayland
Wanted to check if it's something I need to fix (ie legacy settings from stable that might be impacting?) before submitting a bug report - I find it hard to imagine this might be a bug (big one) in Factorio given how fantastic the devs are
Sample images to demostrate:

- screenshot-2026-06-23_12-02-38.png (277.45 KiB) Viewed 517 times

- screenshot-2026-06-23_12-06-42.png (3.62 MiB) Viewed 517 times

- screenshot-2026-06-23_12-07-38.png (1.54 MiB) Viewed 517 times
Re: Graphical Issues on Wayland (Linux)
Posted: Tue Jun 23, 2026 11:26 am
by Loewchen
Re: Graphical Issues on Wayland (Linux)
Posted: Tue Jun 23, 2026 11:43 am
by JGJones
Thanks for the link - I've read the thread there as well as the Reddit link that was posted in there.
Those suggest that it's a graphics driver issue.
I don't think it is in my case as I am able to play other games on my Linux box without issue.
Furthermore I have switched Factorio version back to the stable version (2.0.77 as of today) and I have no graphical issues - game works flawlessly using Wayland drivers.
Switch it back to experimental 2.1.7 and graphical issues is back.
I've gone back to 2.0.77 for now for my Crackrio fix

but happy to switch to experimental if you can advise on getting logs or output to help diagnose the issue.
By the way - I can cause the exact same graphical issues on 2.0.77 if I switch the driver to X11 (I'm using Wayland) so this _suggests_ to me that the 2.1.7 somehow isn't switching to Wayland for whatever reason and continue to use the X11 driver - I see that the Auto option is new to 2.1.7, might this be a factor?
Re: Graphical Issues on Wayland (Linux)
Posted: Tue Jun 23, 2026 11:48 am
by Bilka
Please post a log file.
Re: Graphical Issues on Wayland (Linux)
Posted: Tue Jun 23, 2026 12:05 pm
by JGJones
Added the log - I see at top of the log that it's picking the X11 driver despite the configuration being set to wayland:
0.181 Video driver: x11
I've moved my old config.ini to config.ini-bak and started a fresh instance of Factorio. The graphical issues remains, and it is set to Auto. Changed it to Wayland - confirmed that this change also shows successfully in the new config.ini
; Options: auto, x11, wayland
linux-preferred-video-driver=wayland
But the log I've attached is from after that - still using x11 driver.
Re: Graphical Issues on Wayland (Linux)
Posted: Tue Jun 23, 2026 1:13 pm
by peikk0
I don't have any graphical issues but I'm also running the issue with the X11 driver being used while the preferred video driver is set to Wayland in the config. This is only happening with the Steam version, the non-Steam version is using the Wayland driver as expected.
Logs attached for both.
Re: Graphical Issues on Wayland (Linux)
Posted: Tue Jun 23, 2026 2:46 pm
by raiguard
The preferred video driver is a "hint" to SDL to select a certain one, but it will still fall back to the old one if it can't use the preferred one for whatever reason.
Please launch the game with SDL_VIDEO_DRIVER=wayland and see what happens - if it can't initialize on Wayland it should now crash and tell you why.
As for the graphical glitches... it's easy to blame nvidia. I would see if getting it to run natively on Wayland would magically fix it.
Re: Graphical Issues on Wayland (Linux)
Posted: Tue Jun 23, 2026 3:59 pm
by JGJones
Thanks
I added this to the Steam launch options
SDL_VIDEODRIVER=wayland %command% and the log does show this env variable being picked up and it crashed. Have added the log.
Yes it's nvidia alas it's all I have

- my concern is that I do not have any issues running the game on Wayland using nvidia on the stable branch (2.0.77) - it runs wonderfully without any issues. It breaks on 2.1.7.
So this is what I have done:
Ran Factorio 2.1.7 (experimental branch) with the
SDL_VIDEODRIVER=wayland env parameter set. Game crash. Log attached as factorio-2.1.7.log
Ran Factorio 2.0.77 (stable branch) with the
SDL_VIDEODRIVER=wayland. Game start with SDL env parameter and the driver does get set to wayland. No issues at all. Log attached as factorio-2.0.77.log
Re: Graphical Issues on Wayland (Linux)
Posted: Tue Jun 23, 2026 5:08 pm
by raiguard
I am able to run Factorio 2.1 on Steam and Wayland just fine. I spent an hour trying to spin up an Omarchy VM to test Omarchy but ran into many issues. I may look into it again later, but for now I'm going to say, "unsupported distro".
I also don't own an nvidia card to test with.
Re: Graphical Issues on Wayland (Linux)
Posted: Tue Jun 23, 2026 5:36 pm
by JGJones
Fair enough.
I appreciate the time taken to look into this.