ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.24k stars 175 forks source link

CPU usage limit on processing shaders in the background #9849

Open AtFreezingPoint opened 1 year ago

AtFreezingPoint commented 1 year ago

Dear Valve, please give us a way to limit the total processing power that can be used when pre-caching shaders; the fan noise when Steam is open is crazy high! Thank you.

AtFreezingPoint commented 1 year ago

Also also; dear Valve, please also give us a way to dedicate a certain location (/home/user/shaders for example) to be used for caching the shaders, i don't want my main system SSD filling up due to the pre-cached shaders. Thank you.

KenSharp commented 1 year ago

It takes less than a minute for the shaders to be updated on my system. What spec is your computer?

AtFreezingPoint commented 1 year ago

It takes less than a minute for the shaders to be updated on my system. What spec is your computer?

It takes a bit with a lot of games, ryzen 5

jasoncollege24 commented 1 year ago

I'm having the same issue with Steam, and Vulkan shader processing.

I downloaded Balder's Gate 3 to my Linux install, as I'm migrating to Linux. I have yet to fully launch this game, because when it starts processing the shaders, my CPU usage almost immediately spikes up to 100%, and stays there.

The longest I've let it sit trying to do this was 30 minutes, but the CPU was hot, the fans were noisy, and the computer became completely unresponsive. This is the result every single time Vulcan shaders need processing.

Edit: This doesn't seem to happen, when steam is run from the terminal. Yes, it takes up high CPU, but the system is responsive, as expected. (I see a line about renice being <= 20 working in CLI. maybe this isn't working correctly when run outside a terminal?)

System Specs:

Intel i9-9900K Nvidia RTX 2080 SUPER nvidia-driver-535 (Proprietary) 32GB RAM Kubuntu 22.04 (Dual-boot with Windows 11) OS is installed on an NVME Games are all installed on an SSD