Skip to content

fix(graphics): compress new textures while video memory is low - #94

Merged
CoderDayton merged 2 commits into
mainfrom
fix/texture-vram-fallback
Nov 8, 2026
Merged

CoderDayton merged 2 commits into
mainfrom
fix/texture-vram-fallback

Conversation

@CoderDayton

Copy link
Copy Markdown
Owner

With Compress Textures off, big games ran 2 GB cards out of video memory and Roblox crashed with OutOfMemoryGraphics (GTX 950 report, ~620 MiB of decoded textures).

Now, with it off, textures stay uncompressed until free video memory gets low (2x the upscaler's reserve, capped at 1 GiB), then new ones are BC7 until it recovers. Textures already loaded don't change. Each switch is logged, and the encode stats line counts the low-memory encodes.

Tested with a GPU test, and in the app with a fake 1 MiB card: it switched at 309 KiB and the next texture came out BC7.

Also includes the Fleasion FAQ update for 2.746.

@CoderDayton
CoderDayton merged commit a71ead1 into main Nov 8, 2026
6 checks passed
@CoderDayton
CoderDayton deleted the fix/texture-vram-fallback branch November 8, 2026 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant