• priapus@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    29
    ·
    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@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        10
        arrow-down
        1
        ·
        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.

      • 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.

      • 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.

    • sznio@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      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
        2
        ·
        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.