Dismiss Notice
This Section is READ ONLY - All Posts Are Archived

[Resolved] Hitching

Discussion in 'Critical Issues (Blockers, Performance, Crashes)' started by Barugon, Oct 25, 2018.

Thread Status:
Not open for further replies.
  1. Barugon

    Barugon Avatar

    Messages:
    15,679
    Likes Received:
    24,293
    Trophy Points:
    153
    Gender:
    Male
    10/25/2018 12:25
    Title: Hitching
    Reproduction Rate: Varies.
    Blocker? Yes. It makes me not want to play.
    Details: When I'm in an adventure scene, my screen freezes periodically (like every 15 to 20 seconds) for a few seconds. This has been going on since ~R52.
    Steps to Reproduce: See the video below. It's from a few releases back but nothing has changed since then. The game freezes around the 10 second mark.
    User Specs:
    OS: Linux 4.18 unknown 64bit
    CPU: AMD Ryzen 7 1700 Eight-Core Processor (8) System RAM: 32161
    GPU: GeForce GTX 1070/PCIe/SSE2 GPU RAM: 8192
    SotA.Linux.64.851.Date.10.25.18
    Area: Novia_R6_Forest02_01
    Area Display Name: Tenebris Harbor
    Loc: (-156.7, 39.6, -215.7)
    Debug: Tm92aWFfUjZfRm9yZXN0MDJfMDF8fCgtMTU2LjcyNSwgMzkuNTgzLCAtMjE1LjY5KXwoMCwgLTAuNjksIDAsIC0wLjcyNCl8MTM1Ljk0OXwxOS44ODY1N3w3LjkwMjgz



    [edit] I should add that this doesn't happen on QA.
     
    Last edited: Oct 25, 2018
  2. BurningToad

    BurningToad Dev Emeritus Dev Emeritus

    Messages:
    1,280
    Likes Received:
    3,797
    Trophy Points:
    125
    Gender:
    Male
    Location:
    Austin, TX
    @Barugon I'm very sorry it took this long, we haven't been ignoring, but have had trouble finding it. But we finally found a performance issue that would cause hitching only on Live and not on QA, we are about 95% sure this will fix this issue you are reporting. Look for the fix in a patch tomorrow morning!
     
  3. Lord Subtleton

    Lord Subtleton Developer Emeritus

    Messages:
    993
    Likes Received:
    1,310
    Trophy Points:
    93
    @Barugon Thank you for the post. The video was helpful, so I appreciate your taking the time to include it. (I know you've been writing about this issue a while.)
     
  4. Barugon

    Barugon Avatar

    Messages:
    15,679
    Likes Received:
    24,293
    Trophy Points:
    153
    Gender:
    Male
    Awesome! Looking forward to it. TYVM!
     
    Sentinel2 and Feeyo like this.
  5. Sorthious

    Sorthious Avatar

    Messages:
    1,135
    Likes Received:
    1,354
    Trophy Points:
    113
    @BurningToad , thanks for adding the fixes for hitching! It is less now than it was, but it is still hitching for me. I'm not sure about others, but I still experience it. Also, yesterday when playing the hitching got worse at times and some places hitched more than others.
     
  6. BurningToad

    BurningToad Dev Emeritus Dev Emeritus

    Messages:
    1,280
    Likes Received:
    3,797
    Trophy Points:
    125
    Gender:
    Male
    Location:
    Austin, TX
    Yeah, hitching is still a problem we will be working on improving. This particular fix was a specific case and the fix for the difference between QA and Live. Unfortunately there are a variety of reasons for hitching which is why it's been a difficult thing to resolve completely.
     
    Tila Tenderfoot, Sorthious and Jaesun like this.
  7. Sorthious

    Sorthious Avatar

    Messages:
    1,135
    Likes Received:
    1,354
    Trophy Points:
    113
    No worries. I appreciate the feedback! The game is at least playable now till you all are able to isolate all the issues. Thanks again!
     
  8. Feeyo

    Feeyo Avatar

    Messages:
    1,716
    Likes Received:
    2,520
    Trophy Points:
    113
    Location:
    Aelasar’s Forest
    Hi @Sorthious are u using mesa_glthread=true ? This helps a lot, at least on my AMDGPU+mesa system.
    Which libdrm, linux-firmware, amdgpu and mesa versions are u running? (glxinfo)
     
  9. Sorthious

    Sorthious Avatar

    Messages:
    1,135
    Likes Received:
    1,354
    Trophy Points:
    113
    Not sure on some of that stuff. I'm not well versed on tech anymore. Any help with setting it up is appreciated. I put a brief overview of glxinfo below. I currently use Steam to launch game.



    Code:
    name of display: :0
    display: :0  screen: 0
    direct rendering: Yes
    Extended renderer info (GLX_MESA_query_renderer):
        Vendor: X.Org (0x1002)
        Device: AMD Radeon (TM) RX 480 Graphics (POLARIS10 / DRM 3.23.0 / 4.15.0-38-generic, LLVM 6.0.0) (0x67df)
        Version: 18.0.5
        Accelerated: yes
        Video memory: 8160MB
        Unified memory: no
        Preferred profile: core (0x1)
        Max core profile version: 4.5
        Max compat profile version: 3.0
        Max GLES1 profile version: 1.1
        Max GLES[23] profile version: 3.1
    Memory info (GL_ATI_meminfo):
        VBO free memory - total: 8160 MB, largest block: 8160 MB
        VBO free aux. memory - total: 8188 MB, largest block: 8188 MB
        Texture free memory - total: 8160 MB, largest block: 8160 MB
        Texture free aux. memory - total: 8188 MB, largest block: 8188 MB
        Renderbuffer free memory - total: 8160 MB, largest block: 8160 MB
        Renderbuffer free aux. memory - total: 8188 MB, largest block: 8188 MB
    Memory info (GL_NVX_gpu_memory_info):
        Dedicated video memory: 8160 MB
        Total available memory: 16349 MB
        Currently available dedicated video memory: 8160 MB
    OpenGL vendor string: X.Org
    OpenGL renderer string: AMD Radeon (TM) RX 480 Graphics (POLARIS10 / DRM 3.23.0 / 4.15.0-38-generic, LLVM 6.0.0)
    OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.0.5
    OpenGL core profile shading language version string: 4.50
    OpenGL core profile context flags: (none)
    OpenGL core profile profile mask: core profile
    
    OpenGL version string: 3.0 Mesa 18.0.5
    OpenGL shading language version string: 1.30
    OpenGL context flags: (none)
    
    OpenGL ES profile version string: OpenGL ES 3.1 Mesa 18.0.5
    OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10
    


    User Specs:
    OS: Linux 4.15 Ubuntu 18.04 64bit
    CPU: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (4) System RAM: 15913
    GPU: AMD Radeon (TM) RX 480 Graphics (POLARIS10 / DRM 3.23.0 / 4.15.0-38-generic, LLVM 6.0.0) GPU RAM: 8148
    SotA.Linux.64.857.Date.10.30.18
     
  10. Feeyo

    Feeyo Avatar

    Messages:
    1,716
    Likes Received:
    2,520
    Trophy Points:
    113
    Location:
    Aelasar’s Forest
    I would recommend upgrading mesa amdgpu to newer versions. And to use the sota launcher instead of Steam. But should work on Steam also.

    add these lines to your ~/.bashrc file they helped my performance a lot on AMDGPU:

    Code:
    # MESA
    export __GL_THREADED_OPTIMIZATIONS=1
    # RADEON
    export R600_DEBUG='sbcl,hyperz,llvm,sisched,forcedma'
    export RADEONSI_DEBUG='sbcl,hyperz,llvm,sisched,forcedma'
    Then logout and log back intonyour desktop.
    And start SotA

    To install the latest mesa, libdrm and amgpu opensource drivers use:

    Code:
    sudo add-apt-repository ppa:paulo-miguel-dias/mesa
    sudo apt-get update
    
    Let me know how it works out for you.
     
    Last edited: Oct 31, 2018
  11. Feeyo

    Feeyo Avatar

    Messages:
    1,716
    Likes Received:
    2,520
    Trophy Points:
    113
    Location:
    Aelasar’s Forest
    And @Barugon You should try enabling (__GL_THREADED_OPTIMIZATIONS=1) is on your latest nvidia drivers :)
     
    coffeeislife and Barugon like this.
  12. Sorthious

    Sorthious Avatar

    Messages:
    1,135
    Likes Received:
    1,354
    Trophy Points:
    113
    @Feeyo , going to message you rather than fill up this thread with diagnostics (^8
     
    Feeyo likes this.
  13. Barugon

    Barugon Avatar

    Messages:
    15,679
    Likes Received:
    24,293
    Trophy Points:
    153
    Gender:
    Male
    Export this as an environment variable?
     
  14. coffeeislife

    coffeeislife Avatar

    Messages:
    18
    Likes Received:
    62
    Trophy Points:
    3
    You can do that, but to be sure it works correctly, I just created a .sh with this content (from the linked post by Feeyo):
    LD_PRELOAD="libpthread.so.0 libGL.so.1" __GL_THREADED_OPTIMIZATIONS=1 ./'Shroud of the Avatar.x86_64'

    Can confirm it makes a tremendous difference for me, thanks Feeyo!
     
    Sorthious, Feeyo and Barugon like this.
Thread Status:
Not open for further replies.