• 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.

sego_

Recruit
57 Badges
Jan 9, 2014
2
1
  • Crusader Kings II
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Magicka
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Pre-order
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Victoria 3 Sign Up
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Mount & Blade: With Fire and Sword
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Europa Universalis IV: Res Publica
  • Semper Fi
  • Victoria 2
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
Hi,
on my ubuntu 22.04.3 CK2 doesn't start at all.

I installed it via steam and try to start it, after a couple of seconds nothing happens and the game doesn't start.

I tried to launch it via terminal:
./ck2: error while loading shared libraries: libtbb.so.2: wrong ELF class: ELFCLASS32
I tried the fix to replace to 32bit with the 64bit file of libtbb.so.2
/ck2
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
Video Driver 0 = x11
Error
Please start Crusader Kings II through steam for your first time start-up.


I tried the compatibility mode via steam with several proton/steam runtime versions. Steam went from "Play" to "launching" to "running" to "stop" and again "Play"
I tried the to start the proton version via steam cli:
steam steam://rungameid/203770
Testing for explicit PulseAudio choice...
...and PulseAudio has been explicitly chosen, so using it.
steam.sh[10721]: Running Steam on ubuntu 22.04 64-bit
steam.sh[10721]: STEAM_RUNTIME is enabled automatically
setup.sh[10840]: Steam runtime environment up-to-date!
steam.sh[10721]: Steam client's requirements are satisfied
....and nothing happened after this.

I ran ck2 on this same laptop with ubuntu 16.04 4 years ago and it worked.

I also tried to delete and reinstall it, it doesn't change anything.

Any ideas?
 
It works on my 22.04.1 installation just fine when run from Steam PLAY, FYI. However running the ck2 app directly from the terminal does put up that same ELFCLASS32 error so I don't think that is related to your problem.

Do make sure you are using the proper Steam client from here:
"Install Steam Now"

Not flatpack or any other source.


Do you get anything useful in the Documents/Paradox Interactive/CK2/log folder ?

@grotaclas can you see anything that might help us here? I'm off on leave shortly.
 
Could it be just the standard setting.txt caused problem that happens on PC ?

Either then fixed by deleting that file in Documents/Parad../CK2 (on Linux ~/.local/share/..)
with the second time created on start then it usualy working
or by editing the file and changing fullscreen to "no" and borderless to "yes".

Just a thought, before looking for more complicated causes.
 
@grotaclas can you see anything that might help us here? I'm off on leave shortly.
I'm not really familiar with ck2, because I never played it, but it is similar in many ways to eu4, so maybe some of the eu4 problems apply to ck2 as well.
I tried to launch it via terminal:
./ck2: error while loading shared libraries: libtbb.so.2: wrong ELF class: ELFCLASS32
I had a look at my free copy of ck2 and it also includes the 32bit version of that library and I get the same error when I try to start it from the command line. But starting the game from the steam client works for me(on kubuntu 22.04.3), because steam includes a 64 bit version of the library and overrides the include path so that this version doesn't get loaded.
For me it works from the command line if I call it in the following way(though the paths might differ on your system):
Code:
LD_LIBRARY_PATH=/lib/x86_64-linux-gnu:~/.steam/steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu ./ck2
Maybe you could try that.
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
[S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.so.
Was the steam client running in the background when you tried it? I don't know if it is necessary for ck2, but DLCs, achievements and multiplayer might not work if the game can't talk to steam. Using a flatpak or snap version of steam could also cause this problem.

I think that removing the settings.txt like the previous comment suggested is a good first step. I would suggest to remove the whole ck2 data folder in case it contains any other old files which might cause problems. I'm not sure how ck2 decides where to put it, but for me it was in "~/.paradoxinteractive/Crusader Kings II/". I also have "~/.local/share/Paradox Interactive/Crusader Kings II" which I think gets created by eu4 and "~/Documents/Paradox Interactive/Crusader Kings II" which I think got created when I tested eu4 with the vanilla version of wine a few years ago. But both of these were empty
 
Do make sure you are using the proper Steam client from here:
"Install Steam Now"

Not flatpack or any other source.
This one helped. I installed Steam via Ubuntu Software. I removed it and install it via the .deb File from the Steam page.
Now CK2 works on the first startup :D
I'm not sure if there is any difference, but maybe the re-installation of steam helped in my case

Thanks for your help!
 
  • 1
Reactions: