Linux: Working Distributions

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

  1. steelshield

    steelshield New Member

    Messages:
    15
    Likes Received:
    0
    Yup seems so :)

    Running ldd and everything looks accounted for:

    Code:
    [ben@Arbalest PA]$ ldd PA
       linux-vdso.so.1 (0x00007ffc3c9b3000)
       librt.so.1 => /lib64/librt.so.1 (0x00007fd38f73b000)
       libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fd38f51e000)
       libGL.so.1 => /lib64/libGL.so.1 (0x00007fd38f286000)
       libsteam_api.so => /home/ben/Games/PA/./libsteam_api.so (0x00007fd38f074000)
       libfmodevent64-4.44.44.so => /home/ben/Games/PA/./libfmodevent64-4.44.44.so (0x00007fd38ede8000)
       libfmodeventnet64-4.44.44.so => /home/ben/Games/PA/./libfmodeventnet64-4.44.44.so (0x00007fd38eb51000)
       libfmodex64-4.44.44.so => /home/ben/Games/PA/./libfmodex64-4.44.44.so (0x00007fd38e7a3000)
       libCoherentUI.so => /home/ben/Games/PA/./libCoherentUI.so (0x00007fd38e462000)
       libcurl-gnutls.so.4 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4 (0x00007fd38e20a000)
       libSDL2-2.0.so.0 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0 (0x00007fd38df0f000)
       libstdc++.so.6 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fd38dc0a000)
       libm.so.6 => /lib64/libm.so.6 (0x00007fd38d902000)
       libgcc_s.so.1 => /home/ben/Games/PA/./steam-runtime/amd64/lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fd38d6ec000)
       libc.so.6 => /lib64/libc.so.6 (0x00007fd38d32b000)
       /lib64/ld-linux-x86-64.so.2 (0x0000564911632000)
       libexpat.so.1 => /home/ben/Games/PA/./steam-runtime/amd64/lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fd38d101000)
       libglapi.so.0 => /lib64/libglapi.so.0 (0x00007fd38ced3000)
       libselinux.so.1 => /home/ben/Games/PA/./steam-runtime/amd64/lib/x86_64-linux-gnu/libselinux.so.1 (0x00007fd38ccb3000)
       libXext.so.6 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fd38caa2000)
       libXdamage.so.1 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007fd38c89f000)
       libXfixes.so.3 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007fd38c698000)
       libX11-xcb.so.1 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007fd38c496000)
       libX11.so.6 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fd38c161000)
       libxcb-glx.so.0 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007fd38bf49000)
       libxcb-dri2.so.0 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007fd38bd44000)
       libxcb-dri3.so.0 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007fd38bb41000)
       libxcb-present.so.0 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007fd38b93d000)
       libxcb-randr.so.0 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libxcb-randr.so.0 (0x00007fd38b730000)
       libxcb-xfixes.so.0 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libxcb-xfixes.so.0 (0x00007fd38b529000)
       libxcb-render.so.0 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libxcb-render.so.0 (0x00007fd38b31e000)
       libxcb-shape.so.0 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libxcb-shape.so.0 (0x00007fd38b11a000)
       libxcb-sync.so.1 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007fd38af13000)
       libxcb.so.1 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fd38acf4000)
       libxshmfence.so.1 => /lib64/libxshmfence.so.1 (0x00007fd38aaf1000)
       libXxf86vm.so.1 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007fd38a8ec000)
       libdrm.so.2 => /lib64/libdrm.so.2 (0x00007fd38a6de000)
       libdl.so.2 => /lib64/libdl.so.2 (0x00007fd38a4da000)
       libidn.so.11 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libidn.so.11 (0x00007fd38a2a6000)
       liblber-2.4.so.2 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/liblber-2.4.so.2 (0x00007fd38a098000)
       libldap_r-2.4.so.2 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2 (0x00007fd389e49000)
       libgssapi_krb5.so.2 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007fd389c0a000)
       libz.so.1 => /home/ben/Games/PA/./steam-runtime/amd64/lib/x86_64-linux-gnu/libz.so.1 (0x00007fd3899f3000)
       libgnutls.so.26 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libgnutls.so.26 (0x00007fd389737000)
       libgcrypt.so.11 => /home/ben/Games/PA/./steam-runtime/amd64/lib/x86_64-linux-gnu/libgcrypt.so.11 (0x00007fd3894b8000)
       librtmp.so.0 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/librtmp.so.0 (0x00007fd38929e000)
       libXau.so.6 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fd38909a000)
       libXdmcp.so.6 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fd388e94000)
       libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fd388c78000)
       libsasl2.so.2 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libsasl2.so.2 (0x00007fd388a5d000)
       libgssapi.so.3 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libgssapi.so.3 (0x00007fd38881f000)
       libkrb5.so.3 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007fd388550000)
       libk5crypto.so.3 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007fd388328000)
       libcom_err.so.2 => /home/ben/Games/PA/./steam-runtime/amd64/lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007fd388124000)
       libkrb5support.so.0 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007fd387f1b000)
       libtasn1.so.3 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libtasn1.so.3 (0x00007fd387d0a000)
       libp11-kit.so.0 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007fd387af7000)
       libgpg-error.so.0 => /home/ben/Games/PA/./steam-runtime/amd64/lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007fd3878f3000)
       libheimntlm.so.0 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libheimntlm.so.0 (0x00007fd3876eb000)
       libkrb5.so.26 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libkrb5.so.26 (0x00007fd387465000)
       libasn1.so.8 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libasn1.so.8 (0x00007fd3871c5000)
       libhcrypto.so.4 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libhcrypto.so.4 (0x00007fd386f90000)
       libroken.so.18 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libroken.so.18 (0x00007fd386d7b000)
       libkeyutils.so.1 => /home/ben/Games/PA/./steam-runtime/amd64/lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007fd386b76000)
       libwind.so.0 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libwind.so.0 (0x00007fd38694d000)
       libheimbase.so.1 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libheimbase.so.1 (0x00007fd38673e000)
       libhx509.so.5 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libhx509.so.5 (0x00007fd3864f3000)
       libsqlite3.so.0 => /home/ben/Games/PA/./steam-runtime/amd64/usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007fd386250000)
       libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fd38601a000)
       libfreebl3.so => /lib64/libfreebl3.so (0x00007fd385d9c000)
  2. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,363
    Likes Received:
    2,144
    Yeah, that looks as it should. That's good. From the log you posted earlier, it seems to crash while loading the effect in misc.json.

    Also, I just remember that I was trying to help somebody with pretty much the same problem here. Unfortunately we didn't arrive at a solution there...

    If you are up for it, we can try narrowing down the cause of the crashes? That would involve replacing ~/Games/PA/media/shaders/misc.json with
    Code:
    {
      "effects": [
      ]
    }
    to see if you also get the GPU crashes in the logs.
  3. steelshield

    steelshield New Member

    Messages:
    15
    Likes Received:
    0
    Woohoo! Progress!!

    Fullscreen black screen with cursor and sound :D

    Now just need to find where the blockage is.....
  4. steelshield

    steelshield New Member

    Messages:
    15
    Likes Received:
    0
    Right, Finally got it to load properly.

    Ran PA through gdb to see what it picked up, turns out that it looked like it was trying to change the state of the force_s3tc_enable command.

    Tested by using >force_s3tc_enable=true ./PA in the PA dir.

    This now brings up PA fullscreen with sound, visuals and mouse.

    Will see if I can cobble a shell script together as a launcher with this command so I don't forget.

    Will have a play around and see how stable this is :)

    So not so great on Fedora 22, bit fiddly, as I have found with some games as well, the really interesting thing is why Steam did not install the 64-bit runtime, as an aside I also found that with Starbound Steam did not install the SDL libs either :/
  5. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,363
    Likes Received:
    2,144
    Oh, that's a really great find. Nice one!

    Yeah, I am not so sure about Steam either, but I don't have a lot of experience with Steam. Fortunately, there are a bunch of patchers that allow you to update your PA rather than having to download the whole thing over again.
    Available Linux patchers:
    I like the last one in that list the best, but I may be biased. :)

    (@zaidka : If you are still interested, possible fix here.)
  6. steelshield

    steelshield New Member

    Messages:
    15
    Likes Received:
    0
    Just to give people an update, using the force_s3tc_enable command only seems to work 25% of the time, and that is almost always after restoring the misc.json shader from a copy I have made. Does not really seem to make sense as when it is working it works fine, then when trying to run again for more tests just seems to crash on load up......
  7. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,363
    Likes Received:
    2,144
    Oh, that's too bad. What do you need to do to the misc.json to make it work though? Can you see through gdb if PA just ignores the force_s3tc_enable command?

    What you can also try is renaming host/CoherentUI_Host to host/CoherentUI_Host.bin and creating a new shell script named CoherentUI_Host with the following contents:
    Code:
    #!/bin/bash
    
    force_s3tc_enable=true ./CoherentUI_Host.bin $@
    The environment variable ought to be propagated by PA, but you never know. So this makes sure.

    I also found this: https://steamcommunity.com/app/233250/discussions/2/810938082193900075/#c558749825083990579
    Maybe that'll help. It's from a while ago.

Share This Page