You are not logged in.

#1 2016-10-30 21:40:00

mjt128
Member
Registered: 2016-10-30
Posts: 4

[SOLVED] Crusader Kings II not launching from Steam

I get the following errors when I try to launch Crusader Kings II directly from the command prompt:

[mark@localhost Crusader Kings II]$ LIBGL_DEBUG=verbose ./ck2
./ck2: /usr/lib32/libcrypto.so.1.0.0: no version information available (required by ./ck2)
./ck2: /usr/lib32/libssl.so.1.0.0: no version information available (required by ./ck2)
[S_API FAIL] SteamAPI_Init() failed; no appID found.
Either launch the game from Steam, or put the file steam_appid.txt containing the correct appID in your game folder.
[S_API FAIL] SteamAPI_Init() failed; no appID found.
Either launch the game from Steam, or put the file steam_appid.txt containing the correct appID in your game folder.
[S_API FAIL] SteamAPI_Init() failed; no appID found.
Either launch the game from Steam, or put the file steam_appid.txt containing the correct appID in your game folder.
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri//tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri//swrast_dri.so
libGL: dlopen /usr/lib/xorg/modules/dri//swrast_dri.so failed (/usr/lib/xorg/modules/dri//swrast_dri.so: wrong ELF class: ELFCLASS64)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
function is no-op
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri//tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri//swrast_dri.so
libGL: dlopen /usr/lib/xorg/modules/dri//swrast_dri.so failed (/usr/lib/xorg/modules/dri//swrast_dri.so: wrong ELF class: ELFCLASS64)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
function is no-op
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri//tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri//swrast_dri.so
libGL: dlopen /usr/lib/xorg/modules/dri//swrast_dri.so failed (/usr/lib/xorg/modules/dri//swrast_dri.so: wrong ELF class: ELFCLASS64)
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
Segmentation fault (core dumped)

It seems to need the 32-bit libraries. I've installed lib32-mesa-libgl from pacman, but that on it's own seems to do nothing.

Last edited by mjt128 (2016-10-31 17:05:12)

Offline

#2 2016-10-30 22:43:57

XDarkAngelX
Member
Registered: 2014-01-08
Posts: 62

Re: [SOLVED] Crusader Kings II not launching from Steam

Have you tried installing steam-native-runtime
It should cover most libraries that are needed by games on steam

Last edited by XDarkAngelX (2016-10-30 22:46:34)

Offline

#3 2016-10-30 23:13:16

mjt128
Member
Registered: 2016-10-30
Posts: 4

Re: [SOLVED] Crusader Kings II not launching from Steam

I did. That doesn't resolve the problem with CK2.  Although The Real Texas now runs, so thanks for that.

Offline

#4 2016-10-30 23:27:21

XDarkAngelX
Member
Registered: 2014-01-08
Posts: 62

Re: [SOLVED] Crusader Kings II not launching from Steam

try running steam using steam-native might resolve it also look at the wiki https://wiki.archlinux.org/index.php/St … ime_issues

Offline

#5 2016-10-31 01:08:31

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: [SOLVED] Crusader Kings II not launching from Steam

You need the 32 bit llibgl library:

libGL: dlopen /usr/lib/xorg/modules/dri//swrast_dri.so failed (/usr/lib/xorg/modules/dri//swrast_dri.so: wrong ELF class: ELFCLASS64)

Try installing lib32-mesa-libgl, and any other 32 bit libraries you think you are missing.

EDIT: Re-read your orignal post, now I feel silly because you've already tried this. Give me a minute to think further and I'll reply when I have another possible solution.

EDIT: Alright, whats your driver/hardware? In my case the 32 bit version of the driver resides in /usr/lib32/xorg/modules/dri/. I'm very against symlinking as a solution, don't do it. If we can somehow tell CK2 where the correct files are, that'd be great. Otherwise, have you tried using STEAM_RUNTIME=0 with steam-native? Your command for opening steam then becomes: STEAM_RUNTIME=0 steam-native steam. That should solve any issues with bad libraries. Until I know your hardware/driver though, I won't be able to assist further.

Last edited by JohnBobSmith (2016-10-31 01:17:18)


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#6 2016-10-31 03:39:21

mjt128
Member
Registered: 2016-10-30
Posts: 4

Re: [SOLVED] Crusader Kings II not launching from Steam

Yes, I tried STEAM_RUNTIME=0 steam-native also. Still a no go. I'm running fglrx / catalyst. Here's the relevant parts (I think..) of my Xorg.0.log:

[mark@localhost dri]$ cat /var/log/Xorg.0.log | grep AMD
[  1222.993] (II) Module fglrx: vendor="FireGL - AMD Technologies Inc."
[  1223.027] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
[  1223.027] (II) AMD Proprietary Linux Driver Version Identifier:15.20.3
[  1223.027] (II) AMD Proprietary Linux Driver Release Identifier: UNSUPPORTED-15.201.1151              
[  1223.027] (II) AMD Proprietary Linux Driver Build Date: Sep  8 2015 15:06:35
[  1223.459] (--) Chipset Supported AMD Graphics Processor (0x6719) found
[  1223.489] (II) Module fglrxdrm: vendor="FireGL - AMD Technologies Inc."
[  1223.491] (**) fglrx(0): AMD 2D Acceleration Architecture enabled
[  1223.491] (--) fglrx(0): Chipset: "AMD Radeon HD 6900 Series " (Chipset = 0x6719)
[  1223.491] (==) fglrx(0): board vendor info: original AMD graphics adapter
[  1223.684] (II) fglrx(0): AMD Video BIOS revision 9 or later detected
[  1223.684] (II) fglrx(0): board/chipset is supported by this driver (original AMD board)
[  1223.933] (II) fglrx(0): Adapter AMD Radeon HD 6900 Series  has 6 configurable heads and 1 displays connected.
[  1223.934] (II) fglrx(0):     Desc: AMD FireGL DRM kernel module

Offline

#7 2016-10-31 09:12:54

XDarkAngelX
Member
Registered: 2014-01-08
Posts: 62

Re: [SOLVED] Crusader Kings II not launching from Steam

since you are using  fglrx / catalyst the lib32-mesa-libgl  has no use for you as it is only for the open source drivers.
have you installed lib32-catalyst-utils , lib32-catalyst-libgl and lib32-opencl-catalyst ? I think those are the right 32 bit libs for your drivers. (it might conflict with lib32-mesa-libgl which you don't need anyway so you can remove it).

Offline

#8 2016-10-31 14:50:44

JohnBobSmith
Member
From: Canada
Registered: 2014-11-29
Posts: 804

Re: [SOLVED] Crusader Kings II not launching from Steam

I agree with XDarkAngelX that, having used catalyst in the past, his solution is the most likely cause and most appropriate course of action.


I am diagnosed with bipolar disorder. As it turns out, what I thought was my greatest weakness is now my greatest strength.

Everyday, I make a conscious choice to overcome my challenges and my problems. It's not easy, but its better than the alternative...

Offline

#9 2016-10-31 17:05:42

mjt128
Member
Registered: 2016-10-30
Posts: 4

Re: [SOLVED] Crusader Kings II not launching from Steam

Installing lib32-catalyst-libgl from yaourt was the key. Thanks guys.

Offline

Board footer

Powered by FluxBB