Graphical Issues on Wayland (Linux)

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
JGJones
Burner Inserter
Burner Inserter
Posts: 7
Joined: Tue Jun 23, 2026 11:16 am
Contact:

Graphical Issues on Wayland (Linux)

Post 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
screenshot-2026-06-23_12-02-38.png (277.45 KiB) Viewed 520 times
screenshot-2026-06-23_12-06-42.png
screenshot-2026-06-23_12-06-42.png (3.62 MiB) Viewed 520 times
screenshot-2026-06-23_12-07-38.png
screenshot-2026-06-23_12-07-38.png (1.54 MiB) Viewed 520 times
JGJones
Burner Inserter
Burner Inserter
Posts: 7
Joined: Tue Jun 23, 2026 11:16 am
Contact:

Re: Graphical Issues on Wayland (Linux)

Post 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?
Bilka
Factorio Staff
Factorio Staff
Posts: 3788
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Graphical Issues on Wayland (Linux)

Post by Bilka »

Please post a log file.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
JGJones
Burner Inserter
Burner Inserter
Posts: 7
Joined: Tue Jun 23, 2026 11:16 am
Contact:

Re: Graphical Issues on Wayland (Linux)

Post 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.
Attachments
factorio-current.log
(7.73 KiB) Downloaded 16 times
peikk0
Manual Inserter
Manual Inserter
Posts: 1
Joined: Thu Jun 13, 2024 2:39 pm
Contact:

Re: Graphical Issues on Wayland (Linux)

Post 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.
Attachments
factorio-non-steam.log
(7.92 KiB) Downloaded 3 times
factorio-steam.log
(7.61 KiB) Downloaded 3 times
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 794
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

Re: Graphical Issues on Wayland (Linux)

Post 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.
Don't forget, you're here forever.
JGJones
Burner Inserter
Burner Inserter
Posts: 7
Joined: Tue Jun 23, 2026 11:16 am
Contact:

Re: Graphical Issues on Wayland (Linux)

Post 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
Attachments
factorio-2.1.7.log
(2.37 KiB) Downloaded 10 times
factorio-2.0.77.log
(7.68 KiB) Downloaded 4 times
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 794
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

Re: Graphical Issues on Wayland (Linux)

Post 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.
Don't forget, you're here forever.
JGJones
Burner Inserter
Burner Inserter
Posts: 7
Joined: Tue Jun 23, 2026 11:16 am
Contact:

Re: Graphical Issues on Wayland (Linux)

Post by JGJones »

Fair enough.

I appreciate the time taken to look into this.
Post Reply

Return to “Technical Help”