Albion Online

Albion Online

View Stats:
Ricardo May 16, 2018 @ 9:32am
[Linux] Client Loading Stuck at 1%
Client works fine, video intro + voice works fine, then...
I just qould quote: "when I start the game I get an "Albion Online Client" window with percent in the middle that stays forever at 1% - no crashing, no CPU loading no nothing, it just stands there at 1% forever."
Last edited by Ricardo; May 16, 2018 @ 9:33am
Originally posted by Alfa-Omega:
I am going to explain what is wrong with this game, and why is not working on several Linux distros, maybe this helps somebody and even the developers to fix this issue.

First of all sorry for my bad english, is not my native language and I do a lot of mistakes when I write large texts like this one.


Ok, let me try to explain why this game fails for a lot of people and why works for others.

The main problem is related with the libSDL2-2.0.so.0 library packed inside the game, this file is located here (inside the instalation folder):

Albion Online/game_x64/Albion-Online_Data/Plugins/x86_64/

Ok, this version of SDL is a wrong version, no matter in what distro you are running the game, the version packed has some missing functions that the game needs.

So... how it's possible that the game works in some distros?? when the game loads this version of SDL and it sees that has some missing functions the game try to load the system version of the SDL (normally located at /usr/lib64), and some Linux distributions, like Ubuntu 16, has the correct version, so the game works (or maybe not, because of the libsdnio library).

but wait, because the problem is even deeper, the SDL version packed inside the game has a dependency of the libsndio library, so if you don't have that library instaled in your system the game is going to crash, because the SDL version packed inside the game cannot meet this dependency, so, even if this SDL version is not used by the game because have missing functions it makes the game crash because cannot meet some of its dependencies.

So, to summarize, the game only works if your system meets this requirements:

-You have the libsndio library installed in your system

-You have the right version of SDL installed in your system


the only mission of the libsndio file is to make the game not crash because of the SDL library packed inside the game (none of the functions inside this library is used)


Here you can be in two situations:

1º- you DON't have the libsndio library: the game is going to crash after the albion launcher

2º- you have the the libsndio library but not the right SDL version: the game is going to get stuck at 1%


(in some distros the libsndio library is a little bit weird, in my distro, openSUSE, this library does not exist, at least I couldn't find it..)

One workaround to all of this (is the one I post before in the thread) is just to delete the SDL version packed inside the game and load the right version (Steam should load the correct version when you launch the game from steam), anyway here we got another problem and is that the albion launcher check all the files installed and if one is missing the launcher is going to download the file missing, so my workaround bypass the albion launcher to prevent that the launcher redownload again the bad SDL version.


----- HERE COMES THE FIX -----

(this fix allow you to use the Albion launcher)

Just two steps:

1- Get the libsndio library

2- Update the albion script to force the use of the steam SDL version



Explanation:

1- First download the "libsndio.so.6.1" file from here: https://nofile.io/f/hEMNfgyAQ09

You have to place this file inside /usr/lib64, you can do it like this from the folder where you got the libsndio.so.6.1 file (you need root permissions):

#cp libsndio.so.6.1 /usr/lib64/libsndio.so.6.1


2- Open the Albion folder, the location inside steam should be this:

~/.local/share/Steam/SteamApps/common/Albion\ Online/

But anyway you can open the folder through steam: Right click on albion game -> Properties -> Local Files -> Browse local files

once inside the albion folder, should be a script inside named "Albion-Online" open it with a text editor

you have to modify the last line of the script like this to force the use of the SDL version of steam:

LD_PRELOAD=~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 "$SCRIPTPATH/launcher/Albion-Online" "--no-sandbox" "$@" &


So the content of the whole script must be like this:

#!/bin/sh SCRIPT=$(readlink -f "$0") SCRIPTPATH=$(dirname "$SCRIPT") export QT_QPA_PLATFORM_PLUGIN_PATH="$SCRIPTPATH/launcher/plugins/platforms" export QT_PLUGIN_PATH="$SCRIPTPATH/launcher/plugins/" LD_PRELOAD=~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 "$SCRIPTPATH/launcher/Albion-Online" "--no-sandbox" "$@" &


Now save the file and launch the game from steam, the game should work fine now

NOTE: using this method makes the steam overlay doesn't work (at lesat for me), so I prefer to use the method I post before bypassing the albion launcher.

I think that's everything, I you have any question I'll try to answer you
< >
Showing 1-15 of 37 comments
Alfa-Omega May 16, 2018 @ 10:29am 
hhhmmm...

try this as a quick fix and let me know if it works

run this from a terminal:

rm ~/.local/share/Steam/SteamApps/common/Albion\ Online/game_x64/Albion-Online_Data/Plugins/x86_64/libSDL2-2.0.so.0

mv ~/.local/share/Steam/SteamApps/common/Albion\ Online/Albion-Online ~/.local/share/Steam/SteamApps/common/Albion\ Online/Albion-Online.old

ln -s ~/.local/share/Steam/SteamApps/common/Albion\ Online/game_x64/Albion-Online ~/.local/share/Steam/SteamApps/common/Albion\ Online/Albion-Online


After that try to launch the game from steam, the game should run without the albion launcher
Last edited by Alfa-Omega; May 16, 2018 @ 10:31am
Ricardo May 16, 2018 @ 11:07am 
I have "No such file or directory" , probably as in step2 we moved Albion-Online into Albion-Online.old. Maybe there should be a 'cp' instead of 'mv'?
Rinaldus May 16, 2018 @ 11:55am 
The game is totally unplayable. The given solution don't work. This is ouput:
rinaldus@home /media/Games/Steam Games/steamapps/common/Albion Online $ ./Albion-Online rinaldus@home /media/Games/Steam Games/steamapps/common/Albion Online $ libpng warning: iCCP: known incorrect sRGB profile [0516/215402:ERROR:nss_util.cc(839)] After loading Root Certs, loaded==false: NSS error code: -8018 Found path: /media/Games/Steam Games/steamapps/common/Albion Online/game_x64/Albion-Online Mono path[0] = '/media/Games/Steam Games/steamapps/common/Albion Online/game_x64/Albion-Online_Data/Managed' Mono path[1] = '/media/Games/Steam Games/steamapps/common/Albion Online/game_x64/Albion-Online_Data/Mono' Mono config path = '/media/Games/Steam Games/steamapps/common/Albion Online/game_x64/Albion-Online_Data/Mono/etc' Preloaded 'ScreenSelector.so' Preloaded 'libAkSoundEngine.so' Unable to preload the following plugins: libSDL2-2.0.so.0 Player data archive not found at `/media/Games/Steam Games/steamapps/common/Albion Online/game_x64/Albion-Online_Data/data.unity3d`, using local filesystem
Either the developers make a fix or give solution how to launch it, or I refund in 2 days.
I have Gentoo Linux.
Last edited by Rinaldus; May 16, 2018 @ 11:56am
Ricardo May 16, 2018 @ 12:15pm 
I wrote a review and I am asking for refund.
Alfa-Omega May 16, 2018 @ 12:17pm 
Originally posted by Ricardo:
I have "No such file or directory" , probably as in step2 we moved Albion-Online into Albion-Online.old. Maybe there should be a 'cp' instead of 'mv'?

nope the "mv" command is right (maybe you tipe something bad).

I just put the standar paths for the standar steam instalation.

anyway, the steps to follow are the next:

1 - Delete the "libSDL2-2.0.so.0" from the albion folder located in "game_x64/Albion-Online_Data/Plugins/x86_64/"

2 - Move (just as a backup, you can delete it) the file "Albion-Online" located in the albion folder (in the root path of the game), you can rename it or delete it.

3 - Create a simbolic link (in the root of the game) pointing to the executable located in "game_x64/Albion-Online" this is just to launch the game directly without the albion launcher (this simbolic link must replace the file moved in the previous step).





Originally posted by Rinaldus:
The game is totally unplayable. The given solution don't work. This is ouput:
rinaldus@home /media/Games/Steam Games/steamapps/common/Albion Online $ ./Albion-Online rinaldus@home /media/Games/Steam Games/steamapps/common/Albion Online $ libpng warning: iCCP: known incorrect sRGB profile [0516/215402:ERROR:nss_util.cc(839)] After loading Root Certs, loaded==false: NSS error code: -8018 Found path: /media/Games/Steam Games/steamapps/common/Albion Online/game_x64/Albion-Online Mono path[0] = '/media/Games/Steam Games/steamapps/common/Albion Online/game_x64/Albion-Online_Data/Managed' Mono path[1] = '/media/Games/Steam Games/steamapps/common/Albion Online/game_x64/Albion-Online_Data/Mono' Mono config path = '/media/Games/Steam Games/steamapps/common/Albion Online/game_x64/Albion-Online_Data/Mono/etc' Preloaded 'ScreenSelector.so' Preloaded 'libAkSoundEngine.so' Unable to preload the following plugins: libSDL2-2.0.so.0 Player data archive not found at `/media/Games/Steam Games/steamapps/common/Albion Online/game_x64/Albion-Online_Data/data.unity3d`, using local filesystem
Either the developers make a fix or give solution how to launch it, or I refund in 2 days.
I have Gentoo Linux.

well.. you are right in some things... the developers have a really bad grasp about linux, but the game works fine to be honest, the only fail is the implementations of the libraries used in the game, the sdl library to be exactly...

anyway, do you have the same problem of the 1% stuck??
Rinaldus May 16, 2018 @ 12:22pm 
anyway, do you have the same problem of the 1% stuck??
Yes, I have the same situation. I'm googling about 1.5 hours but all solutions don't help. I'll wait response from developers and if they decline to help, I will refund.
Ricardo May 16, 2018 @ 12:23pm 
The problem with developers is, you cannot post the bug on Albion Online forum (as they recomed this) as a new member of thier forum, you could post eg. in their beginners forum, but no reply. This is a simple to fix issue, but I am wondering why after a year, nobody worry about this. I was hoping time ago, this game will works with Steam support but I was wrong. I got over 50 other games and no problems with linux. I could understand if this was a very old game with a new linux port, but this game is very fresh.
Rinaldus May 16, 2018 @ 12:30pm 
I succeded to launch it! The 2 important things to add for your manual:
1. The game installation MUST be in Steam default folder: (~/.local/share/Steam). If you install in different folder, the game won't launch.
2. I followed your instructions, but I needed to launch the game with following command:
LD_PRELOAD=~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 ./Albion-Online
With this command the game launches normally.
Alfa-Omega May 16, 2018 @ 12:39pm 
Originally posted by Rinaldus:
I succeded to launch it! The 2 important things to add for your manual:
1. The game installation MUST be in Steam default folder: (~/.local/share/Steam). If you install in different folder, the game won't launch.
2. I followed your instructions, but I needed to launch the game with following command:
LD_PRELOAD=~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 ./Albion-Online
With this command the game launches normally.

yes, well, that library should be loaded by steam defaultly



Originally posted by Ricardo:
The problem with developers is, you cannot post the bug on Albion Online forum (as they recomed this) as a new member of thier forum, you could post eg. in their beginners forum, but no reply. This is a simple to fix issue, but I am wondering why after a year, nobody worry about this. I was hoping time ago, this game will works with Steam support but I was wrong. I got over 50 other games and no problems with linux. I could understand if this was a very old game with a new linux port, but this game is very fresh.

well, you can blame the developers or you can help me to help you :)


if you are still having problems try to launch the game, once you got the game stuck in the 1% make this:

open a terminal and search the PID of the albion process with

ps -e

after that use this command:

lsof -p <pid>

replace "<pid>" with the pid of your process, and put all the output of the command here

Skühll May 16, 2018 @ 3:34pm 
Originally posted by Rinaldus:
I succeded to launch it! The 2 important things to add for your manual:
1. The game installation MUST be in Steam default folder: (~/.local/share/Steam). If you install in different folder, the game won't launch.
2. I followed your instructions, but I needed to launch the game with following command:
LD_PRELOAD=~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 ./Albion-Online
With this command the game launches normally.

I am on gentoo too but I get


libGL error: No matching fbConfigs or visuals found libGL error: failed to load driver: swrast Could not initialize GLX
Narfle May 16, 2018 @ 3:37pm 
It doesnt really work properly on linux. Its been a problem for years.
Ricardo May 16, 2018 @ 11:05pm 
Originally posted by Alfa-Omega:
well, you can blame the developers or you can help me to help you :)

Haha :) This a reason I like Steam, as community is so great here AND you could at least report a technical problem or a bug, which is impossible on Albion Online forum in their bug section (for new register users). They probably made an anti-bot policy time ago and this is blocking user fadeback on their page.

However, I just recieved a refund. Will wait some time and watch this topic, if those workaroud you provide ealier will works also for other users. Many thank for such quick and detailed reply (my post on Albion Online forum from 1st of April is still unreplied).
Ricardo May 17, 2018 @ 12:57am 
Originally posted by Alfa-Omega:
2. I followed your instructions, but I needed to launch the game with following command:
LD_PRELOAD=~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 ./Albion-Online
With this command the game launches normally.
[/quote]

I found I have no libSDL2-2.0.so.0 in this location.
Alfa-Omega May 17, 2018 @ 2:07am 
Originally posted by Ricardo:
Originally posted by Alfa-Omega:
2. I followed your instructions, but I needed to launch the game with following command:
LD_PRELOAD=~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 ./Albion-Online
With this command the game launches normally.


I found I have no libSDL2-2.0.so.0 in this location.

that is really weird... well, I've send you a friend request, accept it and maybe we can solve this faster :)
Last edited by Alfa-Omega; May 17, 2018 @ 3:01am
Skühll May 17, 2018 @ 7:14am 
Originally posted by Rinaldus:
I succeded to launch it! The 2 important things to add for your manual:
1. The game installation MUST be in Steam default folder: (~/.local/share/Steam). If you install in different folder, the game won't launch.
2. I followed your instructions, but I needed to launch the game with following command:
LD_PRELOAD=~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 ./Albion-Online
With this command the game launches normally.

Do you just follow this? I am still stuck at 1%...
< >
Showing 1-15 of 37 comments
Per page: 1530 50

Date Posted: May 16, 2018 @ 9:32am
Posts: 35