Getting Atmosphir Beta to work on 64-bit Ubuntu (Intrepid Ibex)

October 3, 2008 at 3:11 pm · Written by Jalada · Filed under Linux, gaming

Today I got an Atmosphir beta invite, and I decided to try installing it on Linux first, before Mac or Windows. There were a couple of things I needed to do in order to get it to work correctly on my 64-bit Ubuntu Intrepid Ibex box.

  1. Firstly, I installed Atmosphir to /opt/Atmosphir. I don’t know if this had an effect on the problems I had, but anyway.
  2. After installing, I tried to run it, and got the following error:
    game: error while loading shared libraries: libpq.so.5:
    cannot open shared object file: No such file or directory

    This can be fixed by downloading the 32-bit package of libpq5 (much the same way as I did for Flash Player 10) and extracting it and copying the file libpq.so.5 into the Atmosphir directory. At the bottom of this post I have provided a copy of this file (and the file in the next step) for those that don’t want to go through the faff of downloading the .deb and extracting it themselves.

  3. I then got another error:
    game: error while loading shared libraries: libgnutls.so.26:
    cannot open shared object file: No such file or directory

    The same method applies, download the 32-bit package of libgnutls26 and extract the libgnutls.so.26 file, again I’ve provided it in the archive at the bottom of this post.

  4. Success! The game now starts. However I was getting some sound related errors, and there was no sound:
    ALSA lib ../../src/conf.c:2700:(snd_config_hooks_call) Cannot open shared library
    /usr/lib/alsa-lib/libasound_module_conf_pulse.so
    ALSA lib ../../../src/pcm/pcm.c:2196:(snd_pcm_open_noupdate) Unknown PCM default
    Couldn't open audio: No available audio device
    

    After a quick bit of googling, I discovered people get the same error when trying to use Skype with PulseAudio, and there is a quick fix solution available which also does the trick for Atmosphir. Great!

Hope this helps anyone that has any problems with the new Atmosphir Beta. I’ve already played it a bit, and I think it’s a great idea and seems great fun to play, and works brilliantly on Linux which is awesome to see. If you don’t have a beta invite yet, head on over to the Atmosphir site and fill in the registration form, they are giving out beta invites over the next couple of weeks, so you might get lucky!

Share:
  • Digg
  • Reddit
  • TwitThis
  • del.icio.us
  • StumbleUpon
  • Technorati
  • Tumblr

19 Responses to “Getting Atmosphir Beta to work on 64-bit Ubuntu (Intrepid Ibex)”

  1. MinorStudios says:

    Hey, thanks for posting this. Can you please make sure to submit that as a bug through our feedback form? Thanks, and hope you're enjoying the game!

  2. Hi, I'm one of the Atmosphir developers and the guy behind the GNU/Linux installer.

    First of all, thanks for the feedback and, specially, for the instructions :)

    The libpq dependency is a bug and I'll try to fix it ASAP, but I'm a bit surprised about libgnutls, since it doesn't seem to be a problem in Kubuntu Hardy 32 bits. I'll check up on that too.

    Regarding directories, just make sure that the target installation directory is writable by the game and you should be fine.

    I'm glad you like the game, expect many future surprises :)

  3. Jalada says:

    I'm guessing from the response from Ivan that you spotted my bug submission I made a while ago :)

  4. Jalada says:

    Thanks for commenting!

    I just discovered the directory I was using isn't actually writeable by the game! It's been running fine, but I expect that's why it hasn't been saving my settings! Can't believe I didn't spot that, so thanks :)

    And yeah, just to clarify I'm using Ubuntu Intrepid Ibex beta (freshly updated) on 64-bit.

  5. [...] problems with dependencies (he found out about my libpq screw up), solved them and then decided to write a tutorial on how to get the game running (he also solved another dependency problem which didn’t arise [...]

  6. [...] probably because I am running 64-bit Intrepid Ibex. I outlined them and the solutions I found on my blog, once I’d got everything sorted I started playing. I’ve been told by Minor Studios that [...]

  7. Tomas Neme says:

    Hey! thanks for the tuto! I am part of the Atmosphir developing team, and just thrive to see people actually going to these lengths to get it working.

    I'd like people running into this to know that most of us worked on linux throughout the development (getting pre-releases to work on windows and mac was such a pain…). Have fun with the game and thanks a lot

  8. Anonymous says:

    Whenever I try to run Atmosphir, the “Loading Content, Please Wait” screen is shown, but after a few seconds, the program exits. I cannot get past the Loading screen.

    Below is my terminal output, if that helps.

    reading from cmdline /home/[name removed]/Atmosphir
    opened
    arg 1 is atmo
    Resolver thread started!
    reading iapi_db_type : “local”
    setting var iapi_db_type to local
    reading local_db_path : “local_db”
    setting var local_db_path to local_db
    reading script_load_mode : “database”
    setting var script_load_mode to database
    ***ERROR*** fileio/config_file.cpp:75 – Condition ' err ' failed. returned: err
    current dir is /home/jonathan/Atmosphir/atmo
    db type is local
    using local
    path is res://local_db
    Audio Open SUCCESS:
    Mix Rate: 44100
    Bit Depth: 16
    Stereo: yes
    Buffer Size: 940
    script /scripts/custom_content_packs_enabled.lua not found in database
    ***ERROR*** types/iapi/iapi_persist.cpp:76 – Condition ' type_info_table.has(p_type) ' failed.
    lua mem usage is 2105.99609375
    selected: 2

  9. Jalada says:

    Not sure what that is, have you tried redownloading + installing it? Sounds like a missing file or something? I have passed on your problem to Minor Studios, hopefully they will respond to you :-)

  10. Anonymous says:

    “have you tried redownloading + installing it?”

    More times than I can count. It's funny, because the game USED to work, then, one day, it just decided stop.

  11. Jalada says:

    No reason at all? You didn't happen to run the updater or something?

  12. Anonymous says:

    No reason that I can remember, though that doesn't mean I didn't do something.

  13. Matt says:

    Hey,
    I just got an invite a couple of days ago. Had trouble with libpq5 at first, but after I solved that I started getting this same error. When I try running the game, the loading screen comes up, then it closes. The output is exactly the same.

    Has it been submitted to them as a problem yet?
    -Matt

  14. Jalada says:

    I'm not sure, I suggest registering it as a problem yourself. I have notified Minor Studios about the problem informally, but it might not have formally been reported.

  15. Matt says:

    Hey,
    I just got an invite a couple of days ago. Had trouble with libpq5 at first, but after I solved that I started getting this same error. When I try running the game, the loading screen comes up, then it closes. The output is exactly the same.

    Has it been submitted to them as a problem yet?
    -Matt

  16. Jalada says:

    I'm not sure, I suggest registering it as a problem yourself. I have notified Minor Studios about the problem informally, but it might not have formally been reported.

  17. Anonymous says:

    I fixed it, the problem is I'm not absolutely sure if the way in which I fixed the problem is safe.

    It has to do with your video card drivers though. The error comes up if direct rendering or something like that is disabled. See if direct rendering is working.

    I wonder, do you have an ATI Radeon? Because that's the card I have, and this is clearly a driver problem.

  18. Thekeymaker says:

    Yeah I am having the same problems!
    I'm on a Gentoo linux system, and I don't even get a loading screen
    All I get is:

    reading from cmdline /home/thekeymaker/Atmosphir
    opened
    arg 1 is atmo
    Resolver thread started!
    reading iapi_db_type : “local”
    setting var iapi_db_type to local
    reading local_db_path : “local_db”
    setting var local_db_path to local_db
    reading script_load_mode : “database”
    setting var script_load_mode to database
    ***ERROR*** fileio/config_file.cpp:75 – Condition ' err ' failed. returned: err
    current dir is /home/thekeymaker/Atmosphir/atmo
    db type is local
    using local
    path is res://local_db
    Audio Open SUCCESS:
    Mix Rate: 44100
    Bit Depth: 16
    Stereo: yes
    Buffer Size: 940
    script /scripts/custom_content_packs_enabled.lua not found in database
    ***ERROR*** types/iapi/iapi_persist.cpp:76 – Condition ' type_info_table.has(p_type) ' failed.
    Inconsistency detected by ld.so: dl-open.c: 260: dl_open_worker: Assertion `_dl_debug_initialize (0, args->nsid)->r_state == RT_CONSISTENT' failed!

  19. Jalada says:

    Have you made sure direct rendering is enabled as the person above said?

    If it still doesn't work, I suggest logging it as a problem with Minor Studios on the beta page, I'm sure they'll be happy to receive your feedback :-)