Loading...
  OR  Zero-K Name:    Password:   

Fresh Installation: Chobby does not launch

13 posts, 1300 views
Post comment
Filter:    Player:  
sort
6 years ago
This is after a fresh install of the OS, and a fresh install of ZK. Download instructions were followed. The updater seems to download everything, but when it tries to open Chobby, it fails. Likely Linux specific.
OS: KDE neon 64-bit (based on Ubuntu 16.04)

Terminal output when doing mono Chobby.exe

(mono:2434): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",

(mono:2434): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
Chobby.exe Information: 0 : Checking for self-upgrade
Chobby.exe Information: 0 : Querying default engine
Chobby.exe Information: 0 : Reseting configs and deploying AIs
Chobby.exe Information: 0 : Connecting to steam API
[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.
Chobby.exe Information: 0 : Starting
Chobby.exe Warning: 0 : Spring exit code is: 127, assuming crash
[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.
[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.
^C

The infolog file doesn't even generate.
+0 / -0

6 years ago
Did you install the required libs for spring (sdl2?)
+0 / -0
6 years ago
I do. libsdl2-2.0-0 is installed.
+0 / -0

6 years ago
Try to start spring directly maybe?
See what error you get?
Check the infolog?
+0 / -0
6 years ago
Like this?
$ mono engine/linux64/103.0.1-1169-gd576c41/spring
Cannot open assembly 'engine/linux64/103.0.1-1169-gd576c41/spring': File does not contain a valid CIL image.
+0 / -0
without the mono, it's a regular executable
+0 / -0
6 years ago
$ engine/linux64/103.0.1-1169-gd576c41/spring
engine/linux64/103.0.1-1169-gd576c41/spring: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory
+0 / -0

6 years ago
well, install libcurl then :)
+2 / -0
Ok, I installed the libcurl3 package and tried mono Chobby.exe

I got an error:

You are using an open-source (Mesa / Gallium) graphics card driver, which may not work well with the Spring engine.

If you experience problems, switch to proprietary drivers or try "spring --safemode".


What? That makes no sense. Mesa is the AMD driver, right? I don't even have AMD. I am using Intel. There aren't any proprietary drivers for Intel.

So I pressed OK, and Chobby launched.

But the problems didn't end.

The performance is way worse then I remember. Lag spikes to like 3 FPS in an empty 1v1. Also:
Bumpmapped water is ẃhite. Am I on software rendering or something?

Has to be a driver issue.
+0 / -0

6 years ago
I think that error msg is removed in the newest engine.
Mesa is not just AMD, it's the open source driver used by many vendors.

Have you tried updating your driver though? There might be newer versions.
+0 / -0
Mesa is the Free OpenGL library. xf86-video-amdgpu is the AMD driver. I built a new version of Mesa but I still haven't figured out how to configure the OS to use it. I think I need to change something in X.0rg.
+0 / -0

6 years ago
I finally figured out how to get a newer version of mesa running. I have to shut down the X server, in my case shutdown my display manager. Then I had to run `Xorg -configure`, copy xorg.conf.new to /etc/X11/xorg.conf and then restart my display manager. My xorg.conf explicitly says it is using the amdgpu drivers.

This is still not good. My OpenGL core profile version string is only 4.1 when I expected it to be 4.5. I also still can't start and play Zero-K.
+0 / -0
You are never going to believe this, but I got xfce4-display-settings to start again too. How I did it was rename xorg.conf to something else. I chose xorg.conf.bak.

Not only do you get xfce4-display-settings, but everything else still persists. The new mesa is still the one that loads and I still get to run OpenGL 4.1. I still get to run Zero-K on ultra for without penalty. This is just amazing.

It is also why the X11 developers want to move to Waylon so bad. If you are one of those developers I have one question for you. What VNC server displays Framebuffer and OpenGL over the network?

I almost forgot to mention that Spring has a dependency on curl on Linux even if you use Chobby. That is why Zero-K failed to start for me after a fresh install of Debian 9 unless it is the distro provided version of Spring which didn't depend on curl. It must be compiled against wget or something. Props to RUrankivand for helping me fix that on my system.

Debian's edition of Spring is linked against curl and not wget, It would be a good idea for me to ask the maintainer why curl isn't a package dependency.

ldd /usr/games/spring | grep curl
libcurl-gnutls.so.4 => /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4 (0x00007f2916854000)


EDIT: Used less ambiguous names because of hard to follow context issues.
EDIT2: Missed a lot of important details.
EDIT3: Missed minuet detail that barely anyone would care about.
EDIT4: Clickable player name activated.
+0 / -0