Announcement

Collapse
No announcement yet.

Mesa 24.2 Released With New Vulkan Extensions, New Shader Cache

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

  • #11
    My biggest gripe with gaming in linux currently is, the huge amount of time it takes to compile the shaders.

    For instance after each CS2 update I have to wait like 5 minutes for the vulkan shader cache to compile, until the game starts. And most of the time it would be stuck on 99%, so the game does not even launch. This is on an AMD polaris card.

    On Windows there is no such issue.

    Does anyone know the cause or a solution?

    Comment


    • #12
      Originally posted by Nuc!eoN View Post
      My biggest gripe with gaming in linux currently is, the huge amount of time it takes to compile the shaders.

      For instance after each CS2 update I have to wait like 5 minutes for the vulkan shader cache to compile, until the game starts. And most of the time it would be stuck on 99%, so the game does not even launch. This is on an AMD polaris card.

      On Windows there is no such issue.

      Does anyone know the cause or a solution?
      Sounds like you have Steam shader pre-caching enabled. Go to Steam settings and disable shader pre-caching in the "downloads" tab.

      About a year ago RADV implemented a Vulkan feature called GPL (graphics pipeline library), which pretty much eliminates the need of shader pre-caching in order to have stutter free gameplay. I already have pre-caching disabled for a few months and all my games are stutter free.

      Of course games with very heavy shaders might still have some stutters, but on the other hand shader pre-caching didn't completely eliminate stutters in such games either.
      Last edited by user1; 15 August 2024, 08:52 AM.

      Comment


      • #13
        I'm on Opensuse Tumbleweed, so I use the Packman repos for all things media related due to the dumb copyright codec stuff that plagues so many distros. They recently downgraded Mesa from 24.1.4 to 24.1.3 so now my entire system wants to do a downgrade whenever I run the update utility (which on a rolling distro is often!) - does anyone by chance know why this happened? I have been looking but can't find any info anywhere!! Maybe due to instability? Just not sure.

        Last time I did a downgrade like this with an important section of my system I had to roll the entire thing back to a backup so I'm hesitant.​

        Comment


        • #14
          Originally posted by Jarmer View Post
          I'm on Opensuse Tumbleweed, so I use the Packman repos for all things media related due to the dumb copyright codec stuff that plagues so many distros. They recently downgraded Mesa from 24.1.4 to 24.1.3 so now my entire system wants to do a downgrade whenever I run the update utility (which on a rolling distro is often!) - does anyone by chance know why this happened? I have been looking but can't find any info anywhere!! Maybe due to instability? Just not sure.

          Last time I did a downgrade like this with an important section of my system I had to roll the entire thing back to a backup so I'm hesitant.​
          Wrong system settings in repositories. Priorities. Google it.
          But I warn you. Thick new software from other repositories is unstable.
          Last edited by Rovano; 16 August 2024, 04:33 AM.

          Comment


          • #15
            Originally posted by Rovano View Post

            Wrong system settings in repositories. Priorities. Google it.
            But I warn you. Thick new software from other repositories is unstable.
            Sorry but I actually found the real reason for this rollback of the mesa version, and the above answer is incorrect. Correct answer found here for anyone else wondering why this might be happening:



            basically they found a bug in mesa 24.1.4 related to video in vlc - and rolling it back to 24.1.3 fixes it, so that's why they did it. 24.1.5 should be coming soon so best just to wait for that.

            Also just a comment on your repo priorities, both the opensuse official and packman repos have the exact same version.
            List of package versions for project mesa in all repositories

            Comment


            • #16
              Originally posted by Jarmer View Post

              Sorry but I actually found the real reason for this rollback of the mesa version, and the above answer is incorrect. Correct answer found here for anyone else wondering why this might be happening:



              basically they found a bug in mesa 24.1.4 related to video in vlc - and rolling it back to 24.1.3 fixes it, so that's why they did it. 24.1.5 should be coming soon so best just to wait for that.

              Also just a comment on your repo priorities, both the opensuse official and packman repos have the exact same version.
              https://repology.org/project/mesa/versions
              np, I assumed that the Internet is flooded with the same questions about downgrading OpenSuse packages.
              When I look at mine, I also have the lower version.

              VLC is sometimes problematic with Packman. I don't use it.​

              Comment

              Working...
              X