So game working with open source drivers! Let's test it!

Discussion in 'Mac and Linux' started by SXX, May 29, 2014.

  1. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    If you not yet aware new PTE build 66705 game is now compatible with open source drivers and you can install it using Go launcher from this topic:
    https://forums.uberent.com/threads/streams-pte-and-experimental-builds.58960/

    Cursor (possible some other icons, but I didn't notice it) is still corrupted on startup and there is two solutions for this:
    1. Use "--software-ui" flag.
    2. Use old JavaScript workaround or mod.
    So I tested game on desktop Intel HD4600 and everything looks fine except SAO a bit weird on zoom.

    I'm also tried to run game on AMD HD6950 with R600g and get GPU lockup and unfortunately it's not only caused by sun shader, but as well by some of very basic shaders. This most likely driver issue and possible it's not present on RadeonSI.

    Share your experience there! ;)

    PS: If any other R600 users have GPU lockup too please comment on this task:
    https://bugs.freedesktop.org/show_bug.cgi?id=79417
    Last edited: May 29, 2014
  2. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    Success on Intel HD4000!
    Code:
    [23:00:49.420] INFO build version 66705
    [23:00:49.420] INFO Log file /home/jarno/.local/Uber Entertainment/Planetary Annihilation/log/PA-23-00-49.420.txt opened
    [23:00:49.420] INFO Looks like this isn't the Steam distribution
    [23:00:49.421] INFO Loading mod : PAMM
    [23:00:49.422] INFO Loading mod : MouseFix
    [23:00:49.422] INFO Client loaded 2 mods
    [23:00:49.486] INFO HAL initializing...
    [23:00:49.486] INFO OpenGL Vendor: Intel Open Source Technology Center
    [23:00:49.486] INFO OpenGL Renderer: Mesa DRI Intel(R) Ivybridge Mobile
    [23:00:49.486] INFO OpenGL Version: 3.3 (Core Profile) Mesa 10.3.0-devel
    [23:00:49.486] INFO OpenGL Shader Language Version: 3.30
    [23:00:49.486] INFO Vendor flag set to Intel.
    [23:00:49.486] INFO Gamma correct pipeline enabled.
    [23:00:49.486] INFO Ranged mapping enabled.
    [23:00:49.486] INFO Advanced instancing enabled.
    [23:00:49.486] INFO Advanced shader models enabled.
    [23:00:49.486] INFO Buffer textures enabled.
    [23:00:49.486] INFO initial size 1280x720
    [23:00:49.500] INFO Loading effects from file /shaders/post.json
    [23:00:49.622] INFO Loading effects from file /shaders/content.json
    [23:00:50.492] INFO Loading effects from file /shaders/impostors.json
    [23:00:50.534] INFO Loading effects from file /shaders/misc.json
    [23:00:50.576] INFO Loading effects from file /shaders/particle.json
    [23:00:50.832] INFO Loading effects from file /shaders/scene.json
    [23:00:50.000] INFO Loading effects from file /shaders/vtex.json
    shootall likes this.
  3. yrrep

    yrrep Member

    Messages:
    67
    Likes Received:
    79
    Works fine for me as well, Intel HD4000 on Arch.
  4. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Just tested it on mine i7 4771 with LLVMPipe (LIBGL_ALWAYS_SOFTWARE=1). With two planets (Moon+Dust) game (800k poly) and high graphics settings I get 3FPS with 720p! There is still some problem with black lines (like one with forced anisotropic filtering) and textures a bit off (wrong colors on moon and metal planets), but everything else working just fine. :D

    Code:
    [16:22:58.161] INFO OpenGL Vendor: VMware, Inc.
    [16:22:58.161] INFO OpenGL Renderer: Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits)
    [16:22:58.161] INFO OpenGL Version: 3.3 (Core Profile) Mesa 10.3.0-devel (git-ecee4c4 trusty-oibaf-ppa)
    [16:22:58.161] INFO OpenGL Shader Language Version: 3.30
    [16:22:58.161] INFO Vendor flag set to "Other".
    [16:22:58.161] INFO Gamma correct pipeline enabled.
    [16:22:58.161] INFO Ranged mapping enabled.
    [16:22:58.161] INFO Advanced instancing enabled.
    [16:22:58.161] INFO Advanced shader models enabled.
    [16:22:58.161] INFO Buffer textures enabled.
    PS: It's looks like problem with textures only happen with low virtual texture quality.
    E.g here is low with sub sampling:
    LLVMPipe_low.jpg
    Uber without super sampling:
    LLVMPipe_uber.jpg
    Last edited: May 29, 2014
    DeathByDenim and shootall like this.
  5. hobarrera

    hobarrera New Member

    Messages:
    28
    Likes Received:
    6
  6. gerii

    gerii Member

    Messages:
    90
    Likes Received:
    32
    It's working! And I can move my mouse without the game stalling completely as on the Nvidia binary blob with optirun.
  7. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    I don't think it's related to open drivers fix. Most likely it's advantage of using SDL or some other update.
  8. gerii

    gerii Member

    Messages:
    90
    Likes Received:
    32
    It probably isn't related to the open drivers fix, but if I start the game on the internal graphics card the game isn't stalling, while I still have the stalling issue if I start the game with opitrun (i.e. on my discrete GT750M)
  9. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Got it. You integrated graphics using open source drivers so yeah game should work on it. I already played multiple games with mine HD4600 and performance is fairly well with everything on low and "virtual texture" on high.
  10. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    So here is little update from me. First I want to thanks two guys who make me a little happier: @Tachyon on Steam and @irelevant on bugtracker. I feel a bit dumb now because before today I never tried to run actual game on HD6950. So I tried and it's works without GPU lockup while system editor still cause lockup.

    So few notes about my experience with R600g:
    • As expected sun shader don't work due TSGI failure.
    • There is old glitch of lighting on trees LODs when zoom out.
      Though it's old R600g-specific issue that not present on Intel.
    • Performance of HD6950 is about 4-5 times higher than with Intel HD4600.
      So it's something like 5FPS vs 20-25FPS and difference probably even higher.
    • When I run game on HD6950 with "--software-ui" I get better performance.
      E.g with HW acceleration it's ~21-22FPS while without it it's 26-27FPS.
      This possible because HW Coherent keeps running on Intel HD, but I not sure if I right.
    • My 1GB HD6950 affected by VRAM limit so I can't use "High / Middle" while iGPU can handle it just fine.
    • Just spectated game with 5 planets and it'w working well enough:
      5 scale earth planet with 2 (1?) scale moon.
      And 3 small independent planets of scale 1: one more moon and two lava.
      I got ~20FPS average so it's totally playable.
    When I'll have more time I'll compare it with Catalyst.

    PS: Sun shader partially work with LLVM shader compiler (R600_DEBUG=llvm):
    SUN_R600_LLVM.jpg
    Unfortunately everything else is broken with this shader compiler. E.g features missing and starting of constuction will freeze GPU.
    Last edited: June 5, 2014
  11. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    Spend some time on digging and updated my Linux issues list:
    http://steamcommunity.com/app/233250/discussions/2/810938082193900075/
    Posted number of few bugs on bugtracker for easier tracking:
    Obviously none of them actual game bugs, but it's still important to track driver issues.
  12. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812
    So today I'm successfully finish investigation on Linux version support for Intel Sandy Bridge integrated graphics and other OpenGL 3.1 only hardware. Thanks to Ilia Mirkin and other guys on #dri-devel IRC who helped me.

    You can find for extra details there:
    http://pa.lennardf1989.com/Tracker/index.php?do=details&task_id=3608
    http://steamcommunity.com/app/233250/discussions/2/540744934330840109/
    So it's now possible to run game on Linux open source drivers with support for OpenGL 3.1 only using one time shaders change and GDB script; you can find both on bug tracker. Also @jorgenpt said if everything will work fine one of next updates will switch to minimal requirement of OpenGL 3.1 on Linux.

    I'm tested it on my Intel HD3000 laptop, but this also should work for RadeonSI users who lack OpenGL 3.2 without LLVM 3.5 which isn't yet released and not yet included in any of current distributions.
  13. ludwigvanfree

    ludwigvanfree New Member

    Messages:
    1
    Likes Received:
    0
    Please, can you help me? :( Please i bought Dead Island game on Steam (using linux) and game wont run so i follow your threat and i want to install supported drivers. How can i do it? What is Go Launcher and papatcher???
    It ask me for password and username, and i dont know what next.. :/ Please how to run that game on my Ubuntu machine? How to install supported drivers? I getting error "Fatal error: SDL_GL_CreateContext failed: Could not create GL context" in terminal
    THANK YOU FOR YOUR REPLY. :)
  14. SXX

    SXX Post Master General

    Messages:
    6,896
    Likes Received:
    1,812

Share This Page