Hey all, I have a RTX 3060 and a Ryzen 5600G and I’m on Ubuntu 22.04. Since Steam has shader pre-processing on Linux I thought I’d ask on a Linux gaming community about this. I noticed that when Steam processes Vulkan shaders, it uses the CPU (my CPU heats up a lot and the process manager shows CPU being used while GPU is not used at all). Is there a way to make Steam use the GPU to process Vulkan shaders instead, or am I wrong and Vulkan shaders have to be processed on CPU? I’d presume that things like shaders would process faster on a GPU (it takes a long time for them to process on the CPU). Anyone know anything about this?

  • Peafield @programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    1 year ago

    I ran into this exact same problem and spent a painfully long week trying to fix it. Unfortunately I couldn’t… My only solution was to switch distros and the problem disappeared. I went with Fedora and now every game works like a dream. I still don’t know what the issue was but it seems to be something to do with having an AMD system and using steam on Ubuntu.

    Probably not the solution you’re looking for, but it is a solution!

    • madmonki@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      My guess is your mesa driver was old so you didn’t have graphics pipeline library enabled by default. distros doesn’t differ but packages.