this post was submitted on 22 Nov 2023
23 points (87.1% liked)

Linux Gaming

15304 readers
16 users here now

Discussions and news about gaming on the GNU/Linux family of operating systems (including the Steam Deck). Potentially a $HOME away from home for disgruntled /r/linux_gaming denizens of the redditarian demesne.

This page can be subscribed to via RSS.

Original /r/linux_gaming pengwing by uoou.

Resources

WWW:

Discord:

IRC:

Matrix:

Telegram:

founded 1 year ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] flubba86@lemmy.world 37 points 1 year ago (1 children)

Your CPU compiles shaders, the GPU runs them. Vulkan shader pre-processing is a form of pre-compiling all the possible shaders your GPU might need before it runs the game (to avoid stutters and freezes later). This is done on the CPU.

[–] Mounticat@kbin.social 3 points 1 year ago

Thanks! Makes sense. I saw "shaders" and linked it to the GPU.