Getting PA working on Slackware 64

Discussion in 'Mac and Linux' started by Brokenshakles, June 15, 2013.

  1. Brokenshakles

    Brokenshakles Active Member

    Messages:
    239
    Likes Received:
    143
    Hey! This is great, but two things are wrong with trying to run PA on my Slackware 64 setup. #1 - The binary looks for libTelemetryX64c.so but the only file that actually exists in the PA folder is libTelemetryX64.so so I think this is just a simple typo, however it is easily worked around with a simple symlink. #2 - the 64bit binary attempts to load the version of libnspr4.so found in /usr/lib, this throws a wrong executable format error because Slackware keeps its 32 bit libs in /usr/lib and its 64bit libs in /usr/lib64. Please change the lib search to check for libs in the 64 bit dir first. Until then, I'm just getting a black screen. Note that I have done the enabling required for playing on steam.

    Edit: Even better, a command line switch for specifiying what dir to search would be nice, as well as a permanent config option.

    OS: Slackware64 14.0 w/ Aliens Multilib package.

    Hardware:
    Clevo x8100 Laptop (Mostly with stock components, google will find this list.)
    Intel i7 Q720
    NVIDIA Geforce GTX 285M (Using Proprietary NVIDIA blob.)
    8GB DDR3
    Last edited: June 15, 2013
  2. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Please add your hardware information, so everybody else might find what's hardware is actually checked and compatible.
  3. slackerlinux

    slackerlinux New Member

    Messages:
    3
    Likes Received:
    0
    also on slackware64 14.0 with alien multilibs

    no issues with installing PA through steam and had no trouble with linking to libs/etc. as for performance i maxed everything and started with 60fps dropping down to a very choppy 30fps near the end of a game with bots(honestly i expected worse numbers in alpha)

    system spec:
    Code:
    Processor Information:
        Vendor:  GenuineIntel
        Speed: 3392 Mhz
        8 logical processors
        4 physical processors
        HyperThreading:  Supported
        FCMOV:  Supported
        SSE2:  Supported
        SSE3:  Supported
        SSSE3:  Supported
        SSE4a:  Unsupported
        SSE41:  Supported
        SSE42:  Supported
    
    Operating System Version:
        Linux 3.2 (64 bit)
        Kernel Name:  Linux
        Kernel Version:  3.2.29
        X Server Vendor:  The X.Org Foundation
        X Server Release:  11203000
        X Window Manager:  KWin
        Steam Runtime Version:  steam-runtime-release-i386_2013-05-08
        
    Video Card:
        Driver:  NVIDIA Corporation GeForce GTX 590/PCIe/SSE2
    
        Driver Version:  4.3.0 NVIDIA 319.23
        Desktop Color Depth: 24 bits per pixel
        Monitor Refresh Rate: 60 Hz
        VendorID:  0x10de
        DeviceID:  0x1088
        Number of Monitors:  1
        Number of Video Cards Not Detected
        Primary Display Resolution:  1920 x 1080
        Desktop Resolution: 1920 x 1080
        Primary Display Size: 20.04" x 11.26"  (22.95" diag)
                                                50.9cm x 28.6cm  (58.3cm diag)
        Primary Bus: PCI Express 16x
        Primary VRAM: 1536 MB
        Supported MSAA Modes:  2x 4x 8x 16x 
        
    Sound card:
        Audio device: Realtek ALC892
        
    Memory:
        RAM:  15934 Mb
        
    Miscellaneous:
        UI Language:  English
        LANG:  en_US
        Microphone:  Not set
        Total Hard Disk Space Available:  874392 Mb
        Largest Free Hard Disk Block:  261915 Mb
    
  4. b0073d

    b0073d New Member

    Messages:
    28
    Likes Received:
    0
    I admire your gall in using slackware, especially for things like this!
  5. Brokenshakles

    Brokenshakles Active Member

    Messages:
    239
    Likes Received:
    143
    Slackerlinux, how do you force ld to find the right libs?

    Edit: Here is the commandline output when I run ./PA

    Attempting to load /Private/Brokenshakles/.Data/Steam/SteamApps/common/Planetary Annihilation/libTelemetryX64c.so
    rrSockett: getsockopt reported 111 while getting connection status
    [22:32:59.284] INFO Log file /Private/Brokenshakles/.local/Uber Entertainment/Planetary Annihilation/log/PA-22-32-59.284.txt opened
    [22:32:59.284] INFO FILE
    [22:32:59.284] INFO S: /Private/Brokenshakles/.local/Uber Entertainment/Planetary Annihilation/log/PA-22-32-20.536.txt
    [22:32:59.284] INFO L: /user/log/PA-22-32-20.536.txt
    [22:32:59.284] INFO FILE
    [22:32:59.284] INFO S: /Private/Brokenshakles/.local/Uber Entertainment/Planetary Annihilation/log/PA-22-17-42.192.txt
    [22:32:59.284] INFO L: /user/log/PA-22-17-42.192.txt
    [22:32:59.284] INFO FILE
    [22:32:59.284] INFO S: /Private/Brokenshakles/.local/Uber Entertainment/Planetary Annihilation/log/PA-22-32-59.284.txt
    [22:32:59.285] INFO L: /user/log/PA-22-32-59.284.txt
    [22:32:59.285] INFO FILE
    [22:32:59.285] INFO S: /Private/Brokenshakles/.local/Uber Entertainment/Planetary Annihilation/log/PA-22-28-34.293.txt
    [22:32:59.285] INFO L: /user/log/PA-22-28-34.293.txt
    [22:32:59.285] INFO FILE
    [22:32:59.285] INFO S: /Private/Brokenshakles/.local/Uber Entertainment/Planetary Annihilation/log/PA-22-18-19.130.txt
    [22:32:59.285] INFO L: /user/log/PA-22-18-19.130.txt
    [22:32:59.285] INFO FILE
    [22:32:59.285] INFO S: /Private/Brokenshakles/.local/Uber Entertainment/Planetary Annihilation/log/PA-22-27-56.851.txt
    [22:32:59.285] INFO L: /user/log/PA-22-27-56.851.txt
    [22:32:59.464] INFO GL_VENDOR: NVIDIA Corporation
    [22:32:59.464] INFO GL_RENDERER: GeForce GTX 285M/PCIe/SSE2
    [22:32:59.464] INFO GL_VERSION: 3.3.0 NVIDIA 319.23
    [22:32:59.464] INFO GL_SHADING_LANGUAGE_VERSION: 3.30 NVIDIA via Cg compiler
    [22:32:59.522] INFO Configure, 1280 by 720
    [22:32:59.548] INFO build version 49525
    [22:32:59.548] INFO Coherent content root: "file:///Private/Brokenshakles/.Data/Steam/SteamApps/common/Planetary Annihilation/media/ui/"
    [22:32:59.548] INFO Coherent host dir: "/\x00P\x00r\x00i\x00v\x00a\x00t\x00e\x00/\x00B\x00r\x00o\x00k\x00e\x00n\x00s\x00h\x00a\x00k\x00l\x00e\x00s\x00/\x00.\x00D\x00a\x00t\x00a\x00/\x00S\x00t\x00e\x00a\x00m\x00/\x00S\x00t\x00e\x00a\x00m\x00A\x00p\x00p\x00s\x00/\x00c\x00o\x00m\x00m\x00o\x00n\x00/\x00P\x00l\x00a\x00n\x00e\x00t\x00a\x00r\x00y\x00 \x00A\x00n\x00n\x00i\x00h\x00i\x00l\x00a\x00t\x00i\x00o\x00n\x00/\x00h\x00o\x00s\x00t\x00/\x00"
    [22:32:59.548] INFO Coherent local store: "/\x00P\x00r\x00i\x00v\x00a\x00t\x00e\x00/\x00B\x00r\x00o\x00k\x00e\x00n\x00s\x00h\x00a\x00k\x00l\x00e\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"
    [22:32:59.698] INFO setupViewportStack : 1
    /Private/Brokenshakles/.Data/Steam/SteamApps/common/Planetary Annihilation/host/CoherentUI_Host: error while loading shared libraries: libnspr4.so: wrong ELF class: ELFCLASS32
    [22:32:59.787] INFO {{FMOD}} fmod buffer size 5
    [22:32:59.807] INFO Setting graphics to high
    XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
    after 48 requests (48 known processed) with 0 events remaining.

    Edit2:
    Ok, after jiggering with my ld.so.conf and symlinking all the missing .so files from the firefox lib64 subdirectory, I have resolved the finding the wrong libs problem.
    However, a new problem has cropped up:

    [2695:2695:ERROR:resource_bundle.cc(578)] Failed to load /Private/Brokenshakles/.Data/Steam/SteamApps/common/Planetary Annihilation/host/ui_resources_100_percent.pak

    After double checking, I have confirmed that host/ui_resources_100_percent.pak does not exist on my PA installation.

    Also, according to my research getsockopt code 111 is the code for connection refused, so that may be why the files are missing.
  6. slackerlinux

    slackerlinux New Member

    Messages:
    3
    Likes Received:
    0
    worked out of the box for me(build 49525)

    afaik libnspr4 is included by default with slackware in mozilla-nss package

    heres the log of the game starting also where libnspr4 is on my system hopefully that will help you
    Code:
    root@slacker:/home/slacker# locate libnspr4.so
    /usr/lib64/thunderbird-17.0.2/libnspr4.so
    /usr/lib64/seamonkey-2.15.1/libnspr4.so
    /usr/lib64/libnspr4.so
    /usr/lib64/firefox-18.0.1/libnspr4.so
    /usr/lib/seamonkey-2.12.1/libnspr4.so
    /usr/lib/libnspr4.so
    /home/slacker/.local/share/Steam/ubuntu12_32/steam-runtime.old/i386/usr/lib/i386-linux-gnu/libnspr4.so
    /home/slacker/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libnspr4.so
    /home/slacker/.local/share/oldsteam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libnspr4.so
    /home/slacker/.local/share/oldsteam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libnspr4.so
    root@slacker:/home/slacker# ldconfig -p | grep libnspr4.so
            libnspr4.so (libc6,x86-64) => /usr/lib64/seamonkey/libnspr4.so
            libnspr4.so (libc6,x86-64) => /usr/lib64/libnspr4.so
            libnspr4.so (libc6) => /usr/lib/libnspr4.so
    
    Code:
    bash-4.2$ ./PA
    Attempting to load /home/slacker/.local/share/Steam/SteamApps/common/Planetary Annihilation/libTelemetryX64c.so                                                                             
    Telemetry: Failed to load /home/slacker/.local/share/Steam/SteamApps/common/Planetary Annihilation/libTelemetryX64c.so: /home/slacker/.local/share/Steam/SteamApps/common/Planetary Annihilation/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/slacker/.local/share/Steam/SteamApps/common/Planetary Annihilation/libTelemetryX64.so...success!                                                                
    rrSockett: getsockopt reported 111 while getting connection status 
    [13:55:04.970] INFO Log file /home/slacker/.local/Uber Entertainment/Planetary Annihilation/log/PA-13-55-04.970.txt opened
    [13:55:04.970] INFO FILE
    [13:55:04.970] INFO S: /home/slacker/.local/Uber Entertainment/Planetary Annihilation/log/PA-13-55-04.970.txt                                                    
    [13:55:04.970] INFO L: /user/log/PA-13-55-04.970.txt
    [13:55:04.970] INFO FILE 
    [13:55:04.970] INFO S: /home/slacker/.local/Uber Entertainment/Planetary Annihilation/log/PA-13-54-55.182.txt                                
    [13:55:04.970] INFO L: /user/log/PA-13-54-55.182.txt
    [13:55:05.027] INFO GL_VENDOR: NVIDIA Corporation
    [13:55:05.027] INFO GL_RENDERER: GeForce GTX 590/PCIe/SSE2
    [13:55:05.027] INFO GL_VERSION: 4.3.0 NVIDIA 319.23
    [13:55:05.027] INFO GL_SHADING_LANGUAGE_VERSION: 4.30 NVIDIA via Cg compiler 
    [13:55:05.055] INFO Configure, 1280 by 720
    [13:55:05.058] INFO build version 49525
    [13:55:05.058] INFO Coherent content root: "file:///home/slacker/.local/share/Steam/SteamApps/common/Planetary Annihilation/media/ui/"
    [13:55:05.058] INFO Coherent host dir: "/\x00h\x00o\x00m\x00e\x00/\x00s\x00l\x00a\x00c\x00k\x00e\x00r\x00/\x00.\x00l\x00o\x00c\x00a\x00l\x00/\x00s\x00h\x00a\x00r\x00e\x00/\x00S\x00t\x00e\x00a\x00m\x00/\x00S\x00t\x00e\x00a\x00m\x00A\x00p\x00p\x00s\x00/\x00c\x00o\x00m\x00m\x00o\x00n\x00/\x00P\x00l\x00a\x00n\x00e\x00t\x00a\x00r\x00y\x00 \x00A\x00n\x00n\x00i\x00h\x00i\x00l\x00a\x00t\x00i\x00o\x00n\x00/\x00h\x00o\x00s\x00t\x00/\x00"
    [13:55:05.058] INFO Coherent local store: "/\x00h\x00o\x00m\x00e\x00/\x00s\x00l\x00a\x00c\x00k\x00e\x00r\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"
    [13:55:05.080] INFO setupViewportStack : 1
    [8892:8892:ERROR:resource_bundle.cc(578)] Failed to load /home/slacker/.local/share/Steam/SteamApps/common/Planetary Annihilation/host/ui_resources_100_percent.pak
    Some features may not be available.
    [8892:8892:WARNING:resource_bundle.cc(304)] locale_file_path.empty()
    [13:55:05.127] INFO {{FMOD}} fmod buffer size 5
    [13:55:05.156] INFO Setting graphics to high
    [13:55:05.164] INFO SystemReady
    [8921:8921:INFO:renderer_main.cc(220)] Running without renderer sandbox
    [8924:8924:INFO:renderer_main.cc(220)] Running without renderer sandbox
    [8929:8929:INFO:renderer_main.cc(220)] Running without renderer sandbox
    [13:55:05.991] INFO Setting graphics to uber
    [13:55:05.991] INFO Setting camera mouse pan speed to 1x
    [13:55:05.991] INFO Setting camera key pan speed to 1x
    [13:55:05.991] INFO Setting camera zoom speed to 1x
    [13:55:05.991] INFO Setting camera edge scroll to off (no mouse lock)
    [13:55:05.991] INFO Setting planet pole lock to off
    [13:55:06.008] INFO resetGameState
    [13:55:06.008] INFO Mouse constraint cleared.
    [13:55:06.008] INFO setupViewportStack : 1
    
    EDIT:saw your updated post congrats on getting the libs working i also have those resource errors it should still work fine(does here anyway)
  7. Brokenshakles

    Brokenshakles Active Member

    Messages:
    239
    Likes Received:
    143
    WOOT thank you very much, installing mozilla-nss solved the problem! I'm off to play the PA alpha.
  8. sylvesterink

    sylvesterink Active Member

    Messages:
    907
    Likes Received:
    41
    Holy wow! More Slackware users! I thought I was alone in the (PA) world!
    [EDIT]I guess I'm late to the Linux party (busy week), but version 49525 works flawlessly on my Slackware 14 x64 install. (No multilib) By flawless, I mean it runs identically to the Windows version on the same machine. I am using proprietary drivers, rather than the open drivers (due to power management issues).
    I am not running through Steam.
  9. Brokenshakles

    Brokenshakles Active Member

    Messages:
    239
    Likes Received:
    143
    Its pretty laggy on my end, but I think that is because I'm using an older video card and the only optimizations that have been done is on more recent GPU models, so I'm going to wait a while before passing judgement on that. I'm also leaving this thread open for anyone else who needs help getting PA working on Slackware64 14.0.

Share This Page