Mac and Linux: Getting Started

Discussion in 'Mac and Linux' started by garat, June 14, 2013.

  1. UberGaf

    UberGaf Uber Alumni

    Messages:
    158
    Likes Received:
    83
    That steam.txt is supposed to be empty. It's just its existence that give the engine some hints about how to initialize.
  2. compholio

    compholio New Member

    Messages:
    22
    Likes Received:
    0
    Same here (Ubuntu 12.04), I also tried visiting that webpage from within the browser inside of Half-Life 2 - no dice :(
  3. eeyrjmr

    eeyrjmr Member

    Messages:
    137
    Likes Received:
    13
    The fix is what I posted earlier, ie linking. You will have to link against the specific version you have.



    Couple of bits of info:

    1) While launching via STEAM it says the product hasn't been activated.
    Following: https://uberent.com/user/linkedsteamaccount it shows that my steam account has been linked HOWEVER the name listed there is "Naib" (my steam nick) as oppose to my steam account name (j####) could this be why?
    ie profile name as oppose to steam account

    2) the launcher is a window HOWEVER for some reason it is "painting" over my taskmanager. I use cinnamon and basically I can't click on anything down there UNLESS I quit steam. quitting PA isn't enough

    3) It does sometimes crash, resulting in a black window:

    Code:
    XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":1"
          after 51 requests (50 known processed) with 0 events remaining.
    Game removed: AppID 233250 "Planetary Annihilation", ProcID 12042 
    

    this is via steam or ./PA
    Also:
    Code:
    [12886:12886:ERROR:resource_bundle.cc(578)] Failed to load /home/jrb/.local/share/Steam/SteamApps/common/Planetary Annihilation/host/ui_resources_100_percent.pak
    Some features may not be available.


    Also: gameoverlayrenderer.so seems' to be missing.
  4. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
  5. eeyrjmr

    eeyrjmr Member

    Messages:
    137
    Likes Received:
    13
    ok can forget about that one for now
  6. eeyrjmr

    eeyrjmr Member

    Messages:
    137
    Likes Received:
    13
    /home/###/.local/share/Steam/SteamApps/common/Planetary Annihilation/host/CoherentUI_Host

    does not terminate upon exit which causes desktop interaction issues.
  7. atomicinf

    atomicinf New Member

    Messages:
    2
    Likes Received:
    0
    Posting my experience so far.

    My system:
    • Ubuntu 12.04 LTS, kernel 3.2.0-45-generic amd64
    • Openbox 3.5.0
    • Intel Core i7 920
    • NVIDIA GeForce GTX 260 Core 216, drivers 319.17
    • 24 GB RAM
    • Programmer Dvorak keyboard layout (set in software)

    What I've done before:
    • run PA on Windows once through Ubernet

    What I've done today:
    • linked UberNet account to Steam
    • downloaded through Steam
    • launched through Steam - hey, it works
    • tried to enter UberNet password - can't paste into password field, okay, let's try autotype - crash?
    • try again - same behavior
    • okay, let's get rid of steam.txt, run directly - crash?
    • let's run through gdb - cool, I have debug symbols - I have a backtrace!

    Code:
    Program received signal SIGSEGV, Segmentation fault.
    ClientGame::dispatch (this=0xc0b750, raw_event=...)
        at /home/jenkins/jobs/Planetary_Annihilation_Linux64/workspace/pa/live/client/client_main.cpp:831
    831	/home/jenkins/jobs/Planetary_Annihilation_Linux64/workspace/pa/live/client/client_main.cpp: No such file or directory.
    (gdb) bt
    #0  ClientGame::dispatch (this=0xc0b750, raw_event=...)
        at /home/jenkins/jobs/Planetary_Annihilation_Linux64/workspace/pa/live/client/client_main.cpp:831
    #1  0x000000000059bbb3 in crom::LinuxPlatform::dispatchEvents (this=0xc09810)
        at /home/jenkins/jobs/Planetary_Annihilation_Linux64/workspace/pa/live/engine/game/linux_platform.cpp:411
    #2  0x000000000040aca7 in main (argc=<optimized out>, argv=<optimized out>)
        at /home/jenkins/jobs/Planetary_Annihilation_Linux64/workspace/pa/live/engine/game/linux_game_main.cpp:101
    • investigate further - password field is fine as long as I don't alt-tab away - but when I do, and then switch back, and type more than 3 or 4 characters, it crashes -
    • unless I press and release ALT again to "release" that stuck bit - okay, we've seen that behavior before
    • let's hold down ALT and type into the password field - yay, same crash
    • file a bug report - during authoring we determine ALT-U is the cause, not exclusively the password field - rather, LeftAlt-U, RightAlt is fine
    • finished bug report (FS#1154)
    • suddenly strikes me that I'm playing with a debug build of a commercial game, on Linux, with debug symbols

    Today is a good day.

    Many thanks to Uber for all their hard work getting PA on Linux - let's help make it the best product it can be!
    Last edited: June 15, 2013
  8. eeyrjmr

    eeyrjmr Member

    Messages:
    137
    Likes Received:
    13
    [​IMG]



    It works but yer buggy-as



    one bug I have noticed, you cannot click to select anything. Selection ONLY via rectangle area selection

    command & units get trapped in structures meaning you can no longer build

    ESC doesn't bring up a game menu

    once the commander is stuck no other factory or fab unit can build
  9. garat

    garat Cat Herder Uber Alumni

    Messages:
    3,344
    Likes Received:
    5,376
    We have a direct download now (also updated in the first post):

    http://uberent.com/launcher/padownloads

    For folks who really don't want to be forced to Steam.

    This is NOT an ideal way to distribute - you'll need to download a new client each time we push a build, because we don't have a patcher yet that will take care of you.

    It's cumbersome, but at least it's a path to the build. And it will get updated everytime we push a new build.
  10. garat

    garat Cat Herder Uber Alumni

    Messages:
    3,344
    Likes Received:
    5,376
    Also, the account linker has been fixed. If you go to that site again, it should fix most of the account linking problems for all of you.
  11. compholio

    compholio New Member

    Messages:
    22
    Likes Received:
    0
    It works!!!! Thank you!
  12. neutrino

    neutrino low mass particle Uber Employee

    Messages:
    3,123
    Likes Received:
    2,687
    Having guys like you to help debug this is what's going to make it possible.

    Linux has been a tremendous amount of extra work for us so far and has impacted everything from build process to which components we used to build the game. In retrospect I understand why a lot of companies don't mess with it. Hopefully the trail blazing will pay off in the long run.
  13. eeyrjmr

    eeyrjmr Member

    Messages:
    137
    Likes Received:
    13
    Its just a learning curve. If you have never considered cross-development and you have working instructions for windows then suddenly going multi-platform can be either a few extra steps or a right pain.

    S2 went through it early 2000's when they ported their stuff to linux, but now with a core that has been written with multi-systems in mind (ie keep os-specific stuff on the fringes) and a couple of people with experience it is really easy. (when they lost their main *NIX coder it was actually OSX that eventually suffered while the linux-build just reliably kept building)


    The same can be said for the other way around. I use an FEA program from Bath university, the best electro-mag finite element analysis tool there is BUT it is Linux-only (well unix, they just stopped providing binaries for solaris about 5years ago...).
    They were asked todo a windows-build by one of the consortium members and they struggled and ended up dropping it.
  14. ftsf

    ftsf New Member

    Messages:
    12
    Likes Received:
    1
    Got the linux build 49525 running on ArchLinux64

    (one thing to note uber guys, when tarring up a package, it's polite to tar a directory containing everything so that when it extracts it puts everything in a new directory rather than the current one which can be a pain to cleanup)

    had to add execute permission to libTelemetryX64.so and also copied it to libTelemetryX64c.so since that is what PA seemed to be looking for.
    installed gconf
    copied /usr/lib/libudev.so.1 to PA/libudev.so.0
    and it works!

    Also noticed the bug someone mentioned where I cannot select units/buildings without a selection rectangle which means you can't issue attack or assist orders =(

    but YAY linux build! ^_^ good work on making a cross platform game!
  15. UberGaf

    UberGaf Uber Alumni

    Messages:
    158
    Likes Received:
    83

    Noted.
  16. catherder

    catherder New Member

    Messages:
    3
    Likes Received:
    0
    Black screen for me

    Debug output:
    Code:
    Attempting to load /home/odibilis/Downloads/libTelemetryX64c.so
    Telemetry: Failed to load /home/odibilis/Downloads/libTelemetryX64c.so: /home/odibilis/Downloads/libTelemetryX64c.so: cannot open shared object file: No such file or directory
    Telemetry: Loading libTelemetryX64c.so...failed: libTelemetryX64c.so: cannot open shared object file: No such file or directory
    Telemetry: Loading unchecked build /home/odibilis/Downloads/libTelemetryX64.so...success!
    rrSockett: getsockopt reported 111 while getting connection status
    [02:02:58.229] INFO Log file /home/odibilis/.local/Uber Entertainment/Planetary Annihilation/log/PA-02-02-58.229.txt opened
    [02:02:58.229] INFO FILE
    [02:02:58.229] INFO S: /home/odibilis/.local/Uber Entertainment/Planetary Annihilation/log/PA-02-02-58.229.txt
    [02:02:58.229] INFO L: /user/log/PA-02-02-58.229.txt
    [02:02:58.229] INFO FILE
    [02:02:58.229] INFO S: /home/odibilis/.local/Uber Entertainment/Planetary Annihilation/log/PA-01-51-42.835.txt
    [02:02:58.229] INFO L: /user/log/PA-01-51-42.835.txt
    [02:02:58.229] INFO FILE
    [02:02:58.229] INFO S: /home/odibilis/.local/Uber Entertainment/Planetary Annihilation/log/PA-02-01-19.438.txt
    [02:02:58.229] INFO L: /user/log/PA-02-01-19.438.txt
    [02:02:58.606] INFO GL_VENDOR: NVIDIA Corporation
    [02:02:58.606] INFO GL_RENDERER: GeForce GTX 465/PCIe/SSE2
    [02:02:58.606] INFO GL_VERSION: 4.3.0 NVIDIA 319.23
    [02:02:58.606] INFO GL_SHADING_LANGUAGE_VERSION: 4.30 NVIDIA via Cg compiler
    [02:02:58.646] INFO Configure, 1280 by 720
    [02:02:58.654] INFO build version 49525
    [02:02:58.654] INFO Coherent content root: "file:///home/odibilis/Downloads/media/ui/"
    [02:02:58.654] INFO Coherent host dir: "/\x00h\x00o\x00m\x00e\x00/\x00o\x00d\x00i\x00b\x00i\x00l\x00i\x00s\x00/\x00D\x00o\x00w\x00n\x00l\x00o\x00a\x00d\x00s\x00/\x00h\x00o\x00s\x00t\x00/\x00"
    [02:02:58.654] INFO Coherent local store: "/\x00h\x00o\x00m\x00e\x00/\x00o\x00d\x00i\x00b\x00i\x00l\x00i\x00s\x00/\x00.\x00l\x00o\x00c\x00a\x00l\x00/\x00U\x00b\x00e\x00r\x00 \x00E\x00n\x00t\x00e\x00r\x00t\x00a\x00i\x00n\x00m\x00e\x00n\x00t\x00/\x00P\x00l\x00a\x00n\x00e\x00t\x00a\x00r\x00y\x00 \x00A\x00n\x00n\x00i\x00h\x00i\x00l\x00a\x00t\x00i\x00o\x00n\x00/\x00l\x00o\x00c\x00a\x00l\x00s\x00t\x00o\x00r\x00e\x00"
    [02:02:58.765] INFO setupViewportStack : 1
    /home/odibilis/Downloads/host/CoherentUI_Host: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory
    [02:02:58.841] INFO {{FMOD}} fmod buffer size 5
    [02:02:58.899] INFO Setting graphics to high
    My system:
    Gentoo 64 Bit, KDE 4.10.3 Desktop
    nvidia-drivers v319.23

    Seems it cannot find libgconf? I searched for it, it exists as a 32 bit library in /var/lib32, does not exist for 64 bit.

    Code:
    $ sudo find / -name *libgconf*
    Password: 
    /usr/lib32/libgconf-2.so.4.1.5
    /usr/lib32/GConf/2/libgconfbackend-oldxml.so
    /usr/lib32/GConf/2/libgconfbackend-evoldap.so
    /usr/lib32/GConf/2/libgconfbackend-xml.so
    /usr/lib32/libgconf-2.so.4
    /usr/lib32/libgconf-2.so
    
    My bad... just needed to install gconf...

    Code:
    emerge gconf
    
    works :D
    THANK YOU SO MUCH Uber for supporting linux, that is the reason I bought this game.
  17. sput42

    sput42 New Member

    Messages:
    19
    Likes Received:
    6
    I think it's hard, or say unexpected, for a Windows-focused company to immediately understand the type of community they're dealing with on Linux. We don't expect things to work out of the box, or having a three-click installer that runs anywhere right from the start. We're used to debug things, and gettings things to work if we get the necessary information. We're gladly willing to give you any kind of help we can. People asked you to just release what you have already, without bothering to have a working launcher etc, and now that you did it, the bug reports and fixes are already rolling in and people are happily helping to resolve the remaining deployment issues! Someone has already offered to write a launcher in cross-platform Qt, and you could then even reuse that on the other platforms easily if you so desire...

    If you give us the information we need (e.g. the data format for the launcher sync), we can do such things. If you just release a tarball with the necessary distro-agnostic data in it, people will package it for their favourite distro. You are not going to have to support all these things yourself.

    I am really thankful that you stuck to your promise to provide a native Linux version (the primary reason I backed you!), and I'm sure that if you embrace the community, together we'll make the Linux experience pleasant and flawless. It's already working better than I expected, giving that I'm running Gentoo rather than one of these "standard" distros. After fixing the symlinks, I could successfully launch a game on my box.

    So, thanks Uber for your extra efforts, thanks to the people from the community supporting you and me, and keep on the good work. I'm really looking forward to see that baby grow!
  18. dezsoul

    dezsoul New Member

    Messages:
    10
    Likes Received:
    0
    Sadly i can't even launch the game via steam each time i try it crashed here is the log


    Code:
    Process:         launchd [414]
    Path:            /Users/*******/Library/Application Support/Steam/SteamApps/common/Planetary Annihilation/PA.app/Contents/MacOS/PA
    Identifier:      com.uberent.pa.client
    Version:         ??? (???)
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [105]
    
    Date/Time:       2013-06-15 17:14:36.849 +0200
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6
    
    Interval Since Last Report:          82193 sec
    Crashes Since Last Report:           16
    Per-App Crashes Since Last Report:   9
    Anonymous UUID:                      A03F8FDA-0ABC-4567-8D3F-89D10D4CC1CD
    
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0xfffffffffffffff8
    Crashed Thread:  Unknown
    
    Backtrace not available
    
    Unknown thread crashed with X86 Thread State (64-bit):
      rax: 0x0000000000000055  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
      rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x0000000000000000
       r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
      r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
      rip: 0x00007fff5fc01028  rfl: 0x0000000000010203  cr2: 0xfffffffffffffff8
    
    Binary images description not available
    
    
    Model: iMac11,3, BootROM IM112.0057.B00, 4 processors, Intel Core i5, 2.8 GHz, 4 GB, SMC 1.59f2
    Graphics: ATI Radeon HD 5750, ATI Radeon HD 5750, PCIe, 1024 MB
    Memory Module: global_name
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9280: 2.1.14.6
    Bluetooth: Version 2.4.5f3, 2 service, 19 devices, 1 incoming serial ports
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: WDC WD1001FALS-40Y6A0, 931.51 GB
    Serial ATA Device: HL-DT-STDVDRW  GA32N
    USB Device: Hub, 0x0424  (SMSC), 0x2514, 0xfa100000 / 2
    USB Device: USB2.0 Hub, 0x05e3  (Genesys Logic, Inc.), 0x0605, 0xfa140000 / 5
    USB Device: Razer DeathAdder, 0x1532, 0x0029, 0xfa141000 / 7
    USB Device: Internal Memory Card Reader, 0x05ac  (Apple Inc.), 0x8403, 0xfa120000 / 4
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 3
    USB Device: Bluetooth USB Host Controller, 0x05ac  (Apple Inc.), 0x8215, 0xfa111000 / 6
    USB Device: Hub, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
    USB Device: Comfort Curve Keyboard 2000, 0x045e  (Microsoft Corporation), 0x00dd, 0xfd140000 / 5
    USB Device: IR Receiver, 0x05ac  (Apple Inc.), 0x8242, 0xfd120000 / 4
    USB Device: Built-in iSight, 0x05ac  (Apple Inc.), 0x8502, 0xfd110000 / 3
  19. DeadJohnny

    DeadJohnny New Member

    Messages:
    18
    Likes Received:
    1
    OS X
    v. 10.8.4
    3.2 GHz i5
    8GB RAM

    Same as the rest. All four cores are max out.

    Can't select commander except by group select.

    Stuck in windowed mode.
  20. liamdawe

    liamdawe Active Member

    Messages:
    349
    Likes Received:
    61
    There is no full screen right now.

    So it seems Mac and Linux suffer from having to drag a box to select, has anyone made a bug report for it yet?

Share This Page