protonscr

Compile Vulkan shaders on the GPU

steamclosed
ValveSoftware/steam-for-linux#10230 · opened 2023-11-19 by EntityinArray · updated 2024-01-05 · 2 comments · github
EEntityinArray 2023-11-19 github

Your system information

  • Steam client version (build number or date): 1700160213
  • Distribution (e.g. Ubuntu): Arch Linux
  • Opted into Steam client beta?: [Yes/No] No
  • Have you checked for system updates?: [Yes/No] Yes
  • Steam Logs:
    steam-logs.tar.gz
  • GPU: Nvidia RTX 3060

Please describe your issue in as much detail as possible:

Currently Steam uses CPU for compiling Vulkan shaders

Steps for reproducing this issue:

  1. Start any game
  2. Vulkan shaders begin to compile on the CPU
  3. You computer turns into a nuclear turbine, glaciers melt, ozone layer gets destroyed, next mass-extinction gets triggered
Kkisak-valve maintainer 2023-11-19 github

Hello @EntityinArray, the actual shader compilation step is handled by your video driver, not Steam itself. This would be an implementation detail of the video driver and not Steam.

That written, if this was implemented, it's highly likely that it would be massively slower than how things are currently handled due to the nature of GPUs.

Mmtricolici 2024-01-05 github

shaders-on-cpu

so it's not possible to compile these shaders on GPU ?:(

Nothing extracted yet.