cachyos-gaming-meta: raise shader cache max size to 12GB - #1772
Open
steven-s-martins wants to merge 1 commit into
Open
cachyos-gaming-meta: raise shader cache max size to 12GB#1772steven-s-martins wants to merge 1 commit into
steven-s-martins wants to merge 1 commit into
Conversation
Ship an environment.d drop-in so gaming installs get the wiki-recommended Mesa/NVIDIA shader cache ceilings without manual per-user setup.
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/usr/lib/environment.d/40-cachyos-gaming-shader-cache.conffromcachyos-gaming-meta, setting Mesa (MESA_SHADER_CACHE_MAX_SIZE=12G) and NVIDIA (__GL_SHADER_DISK_CACHE_SIZE=12000000000) to the same 12GB ceilings recommended in the gaming wiki tip.Users can override via
/etc/environment.d/(prefer a 60–90 prefix) or~/.config/environment.d/. Values only raise the max; they do not preallocate disk.Wiki follow-up: CachyOS/wiki#634
Test plan
cachyos-gaming-metaand confirm the conf is at/usr/lib/environment.d/40-cachyos-gaming-shader-cache.confMESA_SHADER_CACHE_MAX_SIZE/__GL_SHADER_DISK_CACHE_SIZEappear in the user session environment (systemctl --user show-environment)~/.config/environment.d/wins over the package default