• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Light031

Recruit
8 Badges
Jan 16, 2023
3
1
  • Europa Universalis IV
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Cities: Skylines - After Dark
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Cities: Skylines - Mass Transit
  • Cities: Skylines Industries
Describe your issue
Game launches under X11 but not under Wayland

What is your game version?
Latest

What expansions do you have installed?
After Dark, Mass Transit, Industries, Sunset Harbor

What mods are you using?
None

Please explain your issue is in as much detail as possible.
Before the latest update the game was working flawlesly under Wayland, but after the recent update it seems to have stopped working on Wayland compositors, however, when using any x11 WM or DE the game launches without an issue.

When the game crashes I just get (exit code null), it doesn't give any extra information other than the Errors for LD_PRELOAD.

All mods have been uninstalled, checked game integrity through steam, and reinstalled multiple times. The game runs awful under proton/wine so that is a big no.

OS: Arch Linux
Kernel: 6.1.6-arch1-1
CPU: R9 5950x
RAM: 32GB

Can you replicate the issue? If yes, please explain how you did it.
1. Click play
2. ????
3. Error, game won't launch

Attachments File(s) attached
 

Attachments

  • Player.log
    1,6 KB · Views: 0
  • Screenshot_2023-01-15-19-35-35_24476.png
    Screenshot_2023-01-15-19-35-35_24476.png
    1,4 MB · Views: 0
Upvote 0
As the game is only officially supported on Ubuntu, I'm pretty sure it would never have been tested on Arch. Also, AFAIK, it is only ever tested under X11, but perhaps Colossal Order can confirm that here.
 
As the game is only officially supported on Ubuntu, I'm pretty sure it would never have been tested on Arch. Also, AFAIK, it is only ever tested under X11, but perhaps Colossal Order can confirm that here.
Usually things don't change that much between Linux distros, main difference is the packages version but I don't think that would be an issue here, as for the support, the steam page does say it is recommended on Ubuntu 14.10, which is a version almost 10 years old (2014). Ubuntu nowadays comes with GNOME set up to use Wayland, so if Ubuntu is still the only officially supported Linux distro I think it would be tested with the default settings.

I will keep testing to see if I can find some more clear reason for the game not launching, but I don't think the distro comes to play, I will test it nonetheless.
 
I'm pretty sure that minimum/recommended Ubuntu version is wrong and should be updated to something like 20.04 LTS - @co_avanya can you confirm?
 
I got it working, just had to set up the launch flag
Code:
SDL_VIDEODRIVER=x11 %command%
to force the SDL driver to use X11, simple but easy to miss. Weird that in previous versions the game worked with Wayland but not anymore.
 
  • 1Love
Reactions: