Barony
Guest Bettik Mar 4, 2016 @ 11:51pm
[Linux] Game fails to load
Running Linux Mint 17.1 64 Bit and launching from Steam client.

From my log:

[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.
[19-48-32] error: failed to initialize Steamworks!
[19-48-32] make sure your steam client is running before attempting to start again.
[19-48-32] Critical error: 1
[19-48-34] closing engine...
[19-48-34] removing engine timer...
[19-48-34] freeing engine resources...
[19-48-34] freeing map data...
[19-48-34] freeing textures...
[19-48-34] freeing sprites...
[19-48-34] freeing models...
[19-48-34] freeing sounds...
[19-48-34] closing network interfaces...
[19-48-34] shutting down SDL and its subsystems...
[19-48-34] success

I can run other Steam games on this system.

I've also tried starting Steam from the terminal and launching barony.x86_64 directly. This will appear to start the game but the process just sits idly without an instance.

Thank you in advance for your assistance.


< >
Showing 1-15 of 17 comments
morgway Mar 6, 2016 @ 7:47am 
opensuse 13.2 x64 - work fine!
mint problem?
Last edited by morgway; Mar 6, 2016 @ 7:48am
Guest Bettik Mar 17, 2016 @ 11:33pm 
morgway, I cannot find anything that would single out Mint here.

Updated steam and Barony this evening and tried again, looks like it gets closer to launch:


[23-31-26] successfully loaded language file 'lang/en.txt'
[23-31-26] Loading config 'default.cfg'...
[23-31-26] warning: config file 'default.cfg' does not exist!
[23-31-26] Server flags updated.
[23-31-26] Bound IN_FORWARD: 26
[23-31-26] Bound IN_LEFT: 4
[23-31-26] Bound IN_BACK: 22
[23-31-26] Bound IN_RIGHT: 7
[23-31-26] Bound IN_TURNL: 20
[23-31-26] Bound IN_TURNR: 8
[23-31-26] Bound IN_UP: 6
[23-31-26] Bound IN_DOWN: 29
[23-31-26] Bound IN_CHAT: 40
[23-31-26] Bound IN_COMMAND: 56
[23-31-26] Bound IN_STATUS: 43
[23-31-26] Bound IN_SPELL_LIST: 16
[23-31-26] Bound IN_CAST_SPELL: 9
[23-31-26] Bound IN_DEFEND: 44
[23-31-26] error: failed to initialize Steamworks!
[23-31-26] make sure your steam client is running before attempting to start again.
[23-31-26] Critical error: 1
[23-31-27] closing engine...
[23-31-27] removing engine timer...
[23-31-27] freeing engine resources...
[23-31-27] freeing map data...
[23-31-27] freeing textures...
[23-31-27] freeing sprites...
[23-31-27] freeing models...
[23-31-27] freeing sounds...
[23-31-27] closing network interfaces...
[23-31-27] shutting down SDL and its subsystems...
[23-31-27] success
morgway Mar 18, 2016 @ 4:15am 
Have you tried to reinstall Steam \ Barony?
check for libsteam_api.so in Barony folder
Losername  [developer] Mar 18, 2016 @ 6:38pm 
Despite the big similarities between Ubuntu and Linux Mint, we can't commit 100% to supporting any distro other than Ubuntu for obvious reasons. That being said, I'm still eager to try and help you solve your problem.

Have you tried replacing libsteam_api.so or any of the other lib files with your own copies? The ones I've provided are known to work just fine on Ubuntu but they may not work so nicely on other systems. Somebody tried playing Barony on Debian once, and they consistently had issues with the game freezing on the name entry screen, which I wasn't able to reproduce on any other system. Eventually he was able to track the problem down to a library incompatibility or something, but that just emphasizes how important your choice of OS is. Even Steam itself only officially supports Ubuntu for this reason. The minute differences that exist between every single flavor of Linux just make it a tech support nightmare to make sure everybody gets the same experience when they try to download a game and run it.

So the bottom line is, we don't officially support Linux Mint or any other distro other than Ubuntu, but I recommend if you want to play the game on your system that you first check for library incompatibilities, because that is more often than not the culprit in cases like this.
morgway Mar 18, 2016 @ 7:04pm 
Originally posted by SheridanR:
So the bottom line is, we don't officially support Linux Mint or any other distro other than Ubuntu, but I recommend if you want to play the game on your system that you first check for library incompatibilities, because that is more often than not the culprit in cases like this.

I use Opensuse 13.2 and Barony works fine. I'm enough of 50 hours with no glitches. The difference in the distributions is greatly exaggerated. Continue to maintain enough of ubuntu.
Losername  [developer] Mar 18, 2016 @ 7:29pm 
I'm glad the game works fine in Opensuse 13.2 but we still can't officially support that distro, not least because I've never used that it and I'm not familiar with all of its idiosyncrasies.

The point is not that every distro is wildly different from the others, but just that they're different enough that it tends to cause problems with major releases that support more than one distro (which is true). If you're able to identify the tweaks that you need to make to get Barony running on a non-Ubuntu Linux distro, or if the game works just fine without any tweaks at all, I'm happy about that, but we *still* cannot commit to supporting your experience, just like Valve (a company hundreds of times larger than us) cannot commit to supporting anything distro other than Ubuntu.

This is unfortunately the state about Linux across the board and it is why both users and developers have historically avoided Linux when developing any human-facing products. I like that this trend has started changing for Linux, but it is important to realize that it is changing because some big players in the industry are starting to make big decisions about which particular distros they want to support, and not because the whole multi-distro paradigm has always been conducive to a very wide release.

Anyway, that's a major tangent and I don't want to continue derailing this thread. I do hope we can find and fix Y'honny's problem because it is more than likely a pretty simple fix. We just have to find it first.
Last edited by Losername; Mar 18, 2016 @ 7:35pm
morgway Mar 20, 2016 @ 3:04pm 
Originally posted by Cuke:
The game won't load for me (Ubuntu MATE)

log from console?
Guest Bettik Mar 20, 2016 @ 3:16pm 
SheridanR and morgway, thanks for the discussion and for taking the time to reply to my thread.

Mint is quite similar to Ubuntu as far as Steam and its dependencies are concerned but those dependencies are where small divergences hide. I can definitely understand Sheridan's approach in attempting to support one distro, since the supported package versions will all be known in advance.

Happy to report that the issue is resolved! Turns out this was related to both the Steam client packaged with Mint 17.1 as well as the .deb file the Steam site offers for download. Once I manually upgraded from within the client (Steam -> Check for Steam Client upgrades), I am able to launch the game. Why this upgrade was withheld when launching Steam each other time is unclear to me.
Last edited by Guest Bettik; Mar 20, 2016 @ 3:17pm
mistersneak  [developer] Mar 20, 2016 @ 3:42pm 
Very happy you were able to resolve teh problem Y'honny!
morgway Mar 20, 2016 @ 4:28pm 
Originally posted by Cuke:
[16-08-43]
[16-08-43] initializing SDL...
libGL error: unable to load driver: r600_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: r600
libGL error: unable to load driver: swrast_dri.so
libGL error: failed to load driver: swrast
X Error of failed request: GLXBadContext
Major opcode of failed request: 155 (GLX)
Minor opcode of failed request: 5 (X_GLXMakeCurrent)
Serial number of failed request: 133
Current serial number in output stream: 133

I just did a clean install of ubuntu MATE yesterday, by the way.

you amd video card?
problem with videodriver
Losername  [developer] Mar 20, 2016 @ 4:35pm 
Originally posted by mistersneak:
Very happy you were able to resolve teh problem Y'honny!
I second this!

@Cuke: By the looks of it it seems you are missing some critical libraries necessary for the game to even attempt creating a GL context. What kind of video card do you have? If you have not installed any video driver for it then it makes sense that you would be getting errors like these.
Last edited by Losername; Mar 20, 2016 @ 4:35pm
morgway Mar 20, 2016 @ 6:55pm 
Originally posted by Cuke:
[AMD/ATI] Cedar [Radeon HD 5000/6000/7350/8350 Series]

you need to install the driver for Radeon. I do not use Ubuntu and ATI. Look for information on sites for Ubuntu. example here https://help.ubuntu.com/
Phantom Voltage Jul 2, 2016 @ 9:19pm 
I am getting the same error. On Arch Linux with an integrated Intel graphics card (4500MHD).

[21-11-50] successfully loaded language file 'lang/en.txt' [21-11-50] Loading config 'default.cfg'... [21-11-50] warning: config file 'default.cfg' does not exist! [21-11-50] Server flags updated. [21-11-50] Bound IN_FORWARD: 26 [21-11-50] Bound IN_LEFT: 4 [21-11-50] Bound IN_BACK: 22 [21-11-50] Bound IN_RIGHT: 7 [21-11-50] Bound IN_TURNL: 20 [21-11-50] Bound IN_TURNR: 8 [21-11-50] Bound IN_UP: 6 [21-11-50] Bound IN_DOWN: 29 [21-11-50] Bound IN_CHAT: 40 [21-11-50] Bound IN_COMMAND: 56 [21-11-50] Bound IN_STATUS: 43 [21-11-50] Bound IN_SPELL_LIST: 16 [21-11-50] Bound IN_CAST_SPELL: 9 [21-11-50] Bound IN_DEFEND: 44 Setting breakpad minidump AppID = 371970 Steam_SetMinidumpSteamID: Caching Steam ID: 76561197974395877 [API loaded no] [21-11-50] initializing SDL... [21-11-50] initializing FMOD... ERROR: ld.so: object '/home/phantom/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. [21-11-50] initializing SDL_net... [21-11-50] initializing SDL_image... [21-11-50] setting display mode to 1280x720... [21-11-50] failed to create SDL renderer. Reason: "Could not create GL context: GLXBadFBConfig" [21-11-50] You may need to update your video drivers. [21-11-50] Critical error: 3 [21-11-55] closing engine... [21-11-55] removing engine timer... [21-11-55] freeing engine resources... [21-11-55] freeing map data... [21-11-55] freeing textures... [21-11-55] freeing sprites... [21-11-55] freeing models... [21-11-55] freeing sounds... [21-11-55] closing network interfaces... [21-11-55] shutting down SDL and its subsystems... XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0"^M after 194 requests (194 known processed) with 104 events remaining.^M
morgway Jul 3, 2016 @ 1:58am 
Originally posted by Phantom Voltage:

[21-11-50] You may need to update your video drivers.
Last edited by morgway; Jul 3, 2016 @ 1:59am
Phantom Voltage Jul 4, 2016 @ 12:51am 
Originally posted by morgway:
Originally posted by Phantom Voltage:

[21-11-50] You may need to update your video drivers.

I already tried. They're the latest Intel drivers.

EDIT:
I'm wondering if it's an issue with OpenGL? Not sure, I think I saw some patch notes referencing a software renderer. Anyways, here's some additional info on my laptop.

glxinfo | grep "OpenGL" OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Ironlake Mobile OpenGL version string: 2.1 Mesa 11.2.2 OpenGL shading language version string: 1.20 OpenGL extensions: OpenGL ES profile version string: OpenGL ES 2.0 Mesa 11.2.2 OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16 OpenGL ES profile extensions:
Last edited by Phantom Voltage; Jul 4, 2016 @ 12:59am
< >
Showing 1-15 of 17 comments
Per page: 1530 50

Date Posted: Mar 4, 2016 @ 11:51pm
Posts: 12