• priapus@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    30
    ·
    1 year ago

    The shaders should be compiled in advance, did the author skip the shader compilation when launching?

    • CaptDust@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      I’m not sure if it’s every game but I don’t recall ever seeing my deck compile shaders, I thought it just downloaded them

      • Skwerls
        link
        fedilink
        English
        arrow-up
        11
        ·
        1 year ago

        I believe you’re correct, because they know the exact hardware they don’t need to be compiled for each device unlike how PCs come on every version imaginable.

      • jayandp@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        You can disable that feature, and some people do because they get tired of the constant downloads and shaders taking up space for games they haven’t even played yet.

      • priapus@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        1 year ago

        I have definitely seen my deck compile shaders, however I assume it downloads them if they are available. If you launch a game that uses proton for the first time while offline, you should see it compile.

    • sznio@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      1
      ·
      1 year ago

      CS2 just doesn’t precompile shaders. The game just shits itself running on AMD because of that.

      The shader cache itself is also broken and gets reset by the game on every restart.

      • Olissipo@programming.dev
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 year ago

        I’m running a 6700XT and weirdly enough it pre-compiled in Linux but not in Windows.

        It’s really stuttery for a while in Windows, with low GPU usage and erratic frequency, until it normalizes.

        I’m getting none of that in Linux, smooth from the start in-game. Only getting some weird fps fluctuation in the start menu.

      • priapus@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 year ago

        CS2 compiles shaders on my desktop. It does so every time it updates. Also, why would this make the game worse on AMD? Afaik RADV supports VK_EXT_graphics_pipeline_library, just like Nvidia. Shader compilation performance should be similar between them.