[2.1.7] Crash forcing wayland: "SDL_Error: wayland not available"

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.
notLily72
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Jun 23, 2026 9:18 pm

[2.1.7] Crash forcing wayland: "SDL_Error: wayland not available"

Post by notLily72 »

Attempting to set the Preferred video driver option on my computer to wayland does cause Factorio to launch with wayland, and forcing wayland with the SDL_VIDEODRIVER=wayland option crashes the game
Attachments
factorio-current.log
(2.4 KiB) Downloaded 39 times
Last edited by notLily72 on Tue Jun 23, 2026 9:31 pm, edited 1 time in total.
notLily72
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Jun 23, 2026 9:18 pm

Re: [2.1.7] [Linux] Wayland Setting does not work.

Post by notLily72 »

My system is running Arch Linux with KDE Plasma 6.7 Wayland.

I have a AMD Ryzen 7 5800x cpu and a NVIDIA Geforce RTX 3080.
User avatar
raiguard
Factorio Staff
Factorio Staff
Posts: 832
Joined: Wed Dec 13, 2017 8:29 pm
Contact:

Re: [raiguard][2.1.7] Crash forcing wayland: "SDL_Error: wayland not available"

Post by raiguard »

Something in your environment is preventing the game from detecting the wayland socket. Moving to technical help.
Don't forget, you're here forever.
User avatar
pioruns
Filter Inserter
Filter Inserter
Posts: 370
Joined: Tue Nov 05, 2024 3:38 pm
Contact:

Re: [2.1.7] [Linux] Wayland Setting does not work.

Post by pioruns »

notLily72 wrote: Tue Jun 23, 2026 9:23 pm My system is running Arch Linux with KDE Plasma 6.7 Wayland.

I have a AMD Ryzen 7 5800x cpu and a NVIDIA Geforce RTX 3080.
You are using rolling release distro with frequent updates which can introduce regressions and bugs from time to time. Looks like you just hit one. Report it to Arch developers to fix. Or reinstall your system to normal timed release OS to resolve this painlessly.
Playing on: Fractal Meshify 2 RGB | AMD Ryzen 9 5950X (32) @ 3.4GHz
ASRock X570 Steel Legend | 64GiB ECC DDR4 RAM @ 3200MT/s
Radeon RX 6800 XT 16GiB | Crucial P2 SSD 500GB NVMe | 2x 2TB HDD | OS: Devuan GNU/Linux
Post Reply

Return to “Technical Help”