ValveSoftware / steam-for-linux

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

[New UI] Bad user experience for launching any game (hidden shader processing) #9432

Open puttehi opened 1 year ago

puttehi commented 1 year ago

Your system information

Please describe your issue in as much detail as possible:

When launching a game, nothing happens except system starting to ramp up it's fans and temperatures.

Why?

When launching a game, Proton has to do it's shader pre-processing magic. This used to be visible as a separate window but is now almost completely hidden from the user. It is only visible as many fossilize_replay processes, a loud system with maxed out CPU and this spot in the GUI: image

Additionally, this process now takes considerably longer than it used to. For some of the games it took ~5 minutes, it now seems to take 30-60 minutes.

Steps for reproducing this issue:

  1. Launch a game from the tray icon, dash icon, library, ...
puttehi commented 1 year ago

I find it pretty amusing that the main use case for the software was never tested after reworking the UI/UX of the entire software :P

robertc commented 1 year ago

It used to be possible to cancel the shader processing, now all the time I could have spent playing is instead wasted watching the percentage slowly creep up.

xsnrg commented 5 months ago

This ticket is about a year old, but still open and still relevant. I also searched and there are still about 7 tickets open of the same type. I chose this one as it is the most recent.

This problem still exists. A particularly painful app is 1203620, Enshrouded, where the shader cache processing takes a very long time on a AMD 3800XT cpu, 32GB RAM, Samsung M2 990 Pro 2TB, and nVidia 4700Ti machine. A section of the shader cache log looks like this:


[2024-05-22 07:30:57] Starting processing job for app 1203620!
[2024-05-22 07:30:57] CProcessShaderCacheJob done for AppID 1203620.
[2024-05-22 07:30:57] Setting MESA_GLSL_CACHE_DIR=/mnt/local/SteamLibrary/steamapps/shadercache/1203620 MESA_DISK_CACHE_READ_ONLY_FOZ_DBS=steam_cache,steam_precompiled,steam_precompiled_904f69d2b1b44b65,steam_precompiled_8a4a4e4e4fbadf5d
[2024-05-22 07:30:57]   /mnt/local/SteamLibrary/steamapps/shadercache/1203620/fozpipelinesv6/steamapp_pipeline_cache.foz.
[2024-05-22 07:30:57]   /mnt/local/SteamLibrary/steamapps/shadercache/1203620/fozpipelinesv6/steam_pipeline_cache.foz.
[2024-05-22 07:31:04] Still replaying 1203620 (0%, 0/194732).
[2024-05-22 07:31:14] Still replaying 1203620 (4%, 20318/206350).
[...]
[2024-05-22 08:13:12] Still replaying 1203620 (23%, 111303/235473).
[2024-05-22 08:13:22] Still replaying 1203620 (23%, 111395/235473).
` ``
The process is running with 4 worker threads at 100% cpu.

This makes the title rather unplayable.