Bebef 2020년 11월 1일 오전 3시 06분
Shader cache processing trigger in Linux?
Hi everyone!

Can someone tell me what the trigger to processing the shader cache is? I'm under the impression that every game wants to process the shader cache every single time I launch it. I don't think that this is the normal behaviour, so I'm looking for things that cause the shader cache to be processed.

Thanks
< >
4개 댓글 중 1-4개 표시
Omega 2020년 11월 1일 오전 3시 28분 
It's compiling the Vulkan shaders. It's normal behaviour on Linux.

By compiling the shaders before running the game you avoid having to wait for the shaders to compile while you are playing. Doing so avoids stutter and lag on your first playthrough of the game.

It is triggered on the first launch and whenever the graphics drivers are updated/changed.

In the Steam settings you can enable a setting to make it automatically compile shaders in the background, it will do this on only a single thread so you shouldn't notice it is doing this on any modern machine.
Omega 님이 마지막으로 수정; 2020년 11월 1일 오전 3시 33분
Bebef 2020년 11월 2일 오전 12시 36분 
Okay, maybe I should update graphics drivers less often ;)
Dr.Shadowds 🐉 2020년 11월 2일 오전 12시 52분 
Bebef님이 먼저 게시:
Okay, maybe I should update graphics drivers less often ;)
Only update when you're experiencing problems, if there certain features needed on newer games, or update was aim toward fixing performance on specific games you're trying to play.
Omega 2020년 11월 2일 오전 1시 34분 
Dr.Shadowds 🐉님이 먼저 게시:
Bebef님이 먼저 게시:
Okay, maybe I should update graphics drivers less often ;)
Only update when you're experiencing problems, if there certain features needed on newer games, or update was aim toward fixing performance on specific games you're trying to play.
This is Linux, this stuff is all updated at once. All the software is installed from central software repositories. If you look for updates all software installed through the package manager is updated at once.

And that is the thing, you always want the latest drivers on Linux since it will have a big impact on performance and game compatibility. Especially when running AMD graphics.

If I look for updates now I get this
╭─dennis@void-desktop ~ ╰─$ sudo xbps-install -Su Wachtwoord:

Linux5.8 is going to be updated. The AMD and Intel GPU display drivers are a part of the Linux kernel. This will likely not trigger the shader recompilation in this case, it's more dependent on MESA. But I think the idea is clear.
< >
4개 댓글 중 1-4개 표시
페이지당 표시 개수: 1530 50

게시된 날짜: 2020년 11월 1일 오전 3시 06분
게시글: 4