PA with Radeonsi driver on archlinux

Discussion in 'Mac and Linux' started by djoc, October 11, 2014.

  1. djoc

    djoc New Member

    Messages:
    9
    Likes Received:
    6
    First, I'm really pleased to have a Linux 64bits build for PA ;)
    I usually play PA in my win7 Xen Virtual machine, but I decided to give it a try on Archlinux.

    it works with my intel HD4000 (i7-3770) but it lags when there are too much units.
    (I use the cursor fix mod, and remove the stdlib from steam.)
    I also have a radeon HD7950 on this machine, but when I use the radeonSI driver, I have an error about GLSL 1.50 not supported. if I override the mesa settings with "export MESA_GL_VERSION_OVERRIDE=3.2FC MESA_GLSL_VERSION_OVERRIDE=150" then steam segfault (and PA too).

    I don't use mesa-git package, because it was crashing (even glxgears segfault).

    so if someone plays PA with archlinux/radeonsi, please share your configs ;)
  2. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,327
    Likes Received:
    2,125
    While I don't have an AMD card myself, I have seen that there can be trouble between radeonsi and Steam. Do you get the same trouble if you run PA outside of Steam? You should be able to just start the PA executable and log in with your UberID.
  3. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Actually PA should work just fine with 3.1 core profile (GLSL 140).
    Can you please clarify are you trying to run most recent version of game or not?

    What you problem might be related for it's fact that RadeonSI depend on LLVM library that uses newer libstdc++ ABI. PA use older version of library so both RadeonSI and LLVMPipe failed to load because of that.
  4. djoc

    djoc New Member

    Messages:
    9
    Likes Received:
    6
    it's the steam version, so it should be the latest (73823)

    Iv'e done :
    rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libgcc_s.so.1
    and
    rm ~/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so*

    hum maybe I need to remove also 64bits version of libstdc++ ?
    I'll also try with override to opengl 3.1/glsl140
  5. djoc

    djoc New Member

    Messages:
    9
    Likes Received:
    6
    Removing also the 64bits libs did the trick.

    Now the game launches, and i can start a skirmish against the AI !

    the problem is that there are some graphical glitches, and after 10s it freezes, and I have only some "colored snow", then I have to hard reboot. (I wasn't able to spawn the two times I tried ).

    here are my glxinfo in case :

    glxinfo | grep OpenG
    OpenGL vendor string: X.Org
    OpenGL renderer string: Gallium 0.4 on AMD TAHITI
    OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.3.0
    OpenGL core profile shading language version string: 3.30
    OpenGL core profile context flags: (none)
    OpenGL core profile profile mask: core profile
    OpenGL core profile extensions:
    OpenGL version string: 3.0 Mesa 10.3.0
    OpenGL shading language version string: 1.30
    OpenGL context flags: (none)
    OpenGL extensions:
    OpenGL ES profile version string: OpenGL ES 3.0 Mesa 10.3.0
    OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.0
    OpenGL ES profile extensions:
  6. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,327
    Likes Received:
    2,125
    You mean like this:?
    [​IMG]
    If so, read this thread and bug the devs.
  7. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    If you're unable to exit game it's likely GPU lockup so it's worth to check "dmesg".
  8. djoc

    djoc New Member

    Messages:
    9
    Likes Received:
    6
    Yes, but the difference is that there are no "good pixel" in my case (so even 2D HUD is not visible). and also the monitor looses the synchro every 15-20s and goes black before going back to the "snow" mode. (I have a Full HD monitor at 120Hz).

    I also tried the r600 "sun shader" mod, but it doesn't fix that.

    big thanks anyway ;)
  9. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    This mod only intended to fix problem on R600g that caused by it's default shader compiler (out of registers).
    RadeonSI using LLVM for shader compilation so thanks god it's don't have such problems.
  10. djoc

    djoc New Member

    Messages:
    9
    Likes Received:
    6
    I tried today with :

    llvm 3.7svn, Linux 3.19.0-rc7-ge36f014
    OpenGL vendor string: X.Org
    OpenGL renderer string: Gallium 0.4 on AMD TAHITI
    OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.5.0-devel (git-0467a52)

    on a radeon HD 7950, and it's finally working :) !
    SXX and DeathByDenim like this.

Share This Page