protonscr

Processing Vulkan shaders (99%)

steamopen
ValveSoftware/steam-for-linux#10653 · opened 2024-03-22 by g572staem · updated 2024-08-28 · 4 comments · github
Gg572staem 2024-03-22 github

Between the daily updates and the constant initialization of vulkan shader processing this game is becoming unplayable.

The QA and user experience team at Valve need their heads read.

Gg572staem 2024-03-22 github

Oh, and it gets stuck at "Processing Vulkan shaders (99%)", there is nothing efficient about this process nor sensible about when it is invoked. Why it can't do chunks in the back ground while steam is running, and the game not being played, is beyond me.

TTiagoquix 2024-03-23 github

Try clearing your download cache and https://wiki.archlinux.org/title/Steam#Faster_shader_pre-compilation.

Don't take my word for it, but I believe that if you have a GPU which supports VK_EXT_graphics_pipeline_library you can safely disable shader pre-caching.

You can check if your GPU supports it by using vulkaninfo in your terminal.
It should output something like this:
VK_EXT_graphics_pipeline_library : extension revision 1

Gg572staem 2024-04-02 github

Try clearing your

The application (game) should take care of its needs and not introduce new problems.

Thanks for your suggestions though :)

RRBMLWizard 2024-08-24 github

https://wiki.archlinux.org/title/Steam#Faster_shader_pre-compilation.

Original Credit/Comment by :Deleted user on reddit

Open your File Manager, if you are new to Linux you can just open a terminal and type Dolphin, Thunar, Nemo whatever your file manager is.
Press Ctrl+H to see hidden files.
Go to

.local/share/steam  (Here you should see other folders like appcache, bin, clientui, compatibilitytools.d, config etc

If you use a flatpak version

go to .var/app/com.valvesoftware.Steam/data/Steam

Create a file called steam_dev.cfg
Open the file with any text editor and add

unShaderBackgroundProcessingThreads X

where X is the number of threads for your cpu if you have hyperthreading
For example if you are using i9,13900k your threads is 32.
If you are using Ryzen 5 4600 you have 12 threads.

Nothing extracted yet.