ValveSoftware / ValveSoftware/Proton

Issues with shader pre caching on every game

Open
#5,485 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
32.8k
Forks
1.6k
PR merge metrics
PR metrics pending

Description

So i've been having an issue with the shader pre caching on steam on basically every single game on my library.

Examples of this is on days gone, i would pre load the shaders, load in the game and get huge stutters, the stutters would go down and then when it would move to a new scene it would begin to stutter massively, and this would occur throughout my entire time playing, to the point it becomes unplayable, it would load in the game, and lag so badly for a good minute, then as soon as i'd start playing and move say, 50 meters away from the area it would start again stuttering and freezing so badly, as if I loaded the game for the first time without using pre caching. Checking the cache it says it has loaded pre shaders cache.

Going onto the /shadercache/1259420/nvidiav1/GLCache// it shows the shader cache files to have around 300 mbs, and then in the
shadercache/1259420/swarm it would show the swarm holding 500mbs.

(I have made sure that the shader cache has all finished installing also)

An example of this happening on other games is resident evil 2 remake, i'd load in and it'd lag alot, and then stop, when i'd move to other areas or rooms it would freeze for a second then load everything in. Same with dying light but much less severe.

I am currently using Pop os 21.10, but have had the same issue on Manjaro KDE and also Ubuntu 21.10
I have propriteary recent drivers that are 470.86 and I'm on high power mode.

I have used various different proton versions including GE launch options such as "DXVK_ASYNC=1 %command%" to see if that were to fix the problem, I've tried alot of differen't thing and spoken to alot of different people for soloutions which aren't all here since i've done alot of different things, I would really appreciate any support on this because it seems to all be working but then doesn't actually appear to properly work during gameplay.
Sorry if any parts are confusing, thank you for reading
Screenshot from 2022-01-06 23-20-22
Screenshot from 2022-01-06 23-20-45
.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report names Steam shader-cache paths, Days Gone, Resident Evil 2 Remake, Dying Light, Pop!_OS, Manjaro, Ubuntu, Proton versions, and NVIDIA driver 470.86, but no source file or test. Start by reproducing the stutter after shader pre-caching and compare the listed cache contents with runtime behavior; done requires identifying a reproducible cause or confirming the affected configuration and documenting the result.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
operating-systems, performance
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.