Announcement

Collapse
No announcement yet.

Steam Client Update Fixes Linux Shortcuts, Adds Vulkan Pre-Compiled Shaders

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Steam Client Update Fixes Linux Shortcuts, Adds Vulkan Pre-Compiled Shaders

    Phoronix: Steam Client Update Fixes Linux Shortcuts, Adds Vulkan Pre-Compiled Shaders

    Five years and one day after Steam for Linux going public, there's a notable Steam client beta update coming down the wire...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    The steam Vulkan shader caches work very well.

    just tried it. R9 290. Previously I had to run the talos principle Vulkan benchmark twice to eliminate the first time stutters. Now it runs optimally right off the bat... Average fps gain on first time run was only 1-2 fps on the benchmark sequence but all the momentary stutters are now eliminated.
    Last edited by humbug; 08 November 2017, 04:13 AM.

    Comment


    • #3
      automatically downloading pre-compiled GPU shaders for Vulkan games
      Maybe I'm missing something, but this seems like way more effort to set up than it's worth.

      Comment


      • #4
        Originally posted by bachchain View Post

        Maybe I'm missing something, but this seems like way more effort to set up than it's worth.
        More effort for who?

        Comment


        • #5
          Originally posted by humbug View Post
          More effort for who?
          The guy who has to create and maintain the database of every shader for every game for every driver version for every GPU

          Comment


          • #6
            Good job Valve, let's hope we finally get a fix for this weird login issue: https://github.com/ValveSoftware/ste...ux/issues/5030

            Comment


            • #7
              Originally posted by bachchain View Post

              The guy who has to create and maintain the database of every shader for every game for every driver version for every GPU
              Vulkans Shader binary is a standard "SPIR-V". I think they just pre-compile the shaders to spir-v using glslang. The optimization and translation to the GPU happens after that. Just the transition Source-Code -> SPIR-V is removed.

              Otherwise this would be pretty much useless if you are not on SteamOS or something.
              Last edited by -MacNuke-; 08 November 2017, 04:26 AM.

              Comment


              • #8
                Originally posted by -MacNuke- View Post

                Vulkans Shader binary is a standard "SPIR-V". I think they just pre-compile the shaders to spir-v using glslang. The optimization and translation to the GPU happens after that. Just the transition Source-Code -> SPIR-V is removed.

                Otherwise this would be pretty much useless if you are not on SteamOS or something.
                I don't think so. The GLSL -> SPIR-V step must be done as a compile-time preprocess step by the developers, since Vulkan can consume SPIR-V only. bachchain is right, this is probably an assembly level binary shader cache. I'm wondering if this needs some level of support in the games (maybe there's a Steam API for this?), or Steam just looks for the binaries in some common folders.

                Comment


                • #9
                  Originally posted by yzsolt View Post

                  I don't think so. The GLSL -> SPIR-V step must be done as a compile-time preprocess step by the developers, since Vulkan can consume SPIR-V only. bachchain is right, this is probably an assembly level binary shader cache. I'm wondering if this needs some level of support in the games (maybe there's a Steam API for this?), or Steam just looks for the binaries in some common folders.
                  I don't think it requires support from the game, it uses Mesa's shader cache infrastructure.

                  Comment


                  • #10
                    Originally posted by Masush5 View Post
                    I don't think it requires support from the game, it uses Mesa's shader cache infrastructure.
                    Probably it uses a custom Vulkan layer - it doesn't require app support nor mesa or any other caches.

                    Comment

                    Working...
                    X