Textures : Increase the amount of VRAM Cache available for Textures based on selected DRAM. #36
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "Vram-Changes-#2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
AutoCacheDelete Continuation of my previous Ryujinx commit from September on the Original Ryujinx Project.
What these changes aim to Improve :
Keep in mind these caps are still only the upper limit of what amount of VRAM can be allocated towards textures, as it'll always be capped to 50% of the GPU's Memory.
Side Notes:
Download the artifacts for this pull request:
GUI-less (SDL2)
Only for Developers
Testing this on my 3080 Ti with Super Mario Party: Jamboree, it works as expected for 6/8/12 GiB, but it's not using enough VRAM at 4 GiB. Making the following adjustments fixes it for me, and it also ensures that all devices with 0 memory capacity default to DefaultTextureSizeCapacity.
In AutoDeleteCache.cs, add a constant for the following:
Then use the following if/else statement:
Ryujinx_1.2.0+9b7ccd0_2024-10-26_14-03-57.log

Testing on luigi mansions 3, no crashes
As discussed in discord, this only affects 4K mods at 4GiB but that is already addressed under the 6GiB and 8GiB options, the reason 1024 is set for 4GiB is in order to allow lower end GPUs those with 4-6GiB of VRAM to be able to more freely upscale games and not run out of VRAM when doing so, this should fix upscaling issues with Luigi Mansion 3 on GPU's with lower than 12GiB of VRAM and others from the main and the OG Ryujinx project.
In the future, perhaps allowing mods to change the VRAM and RAM setting would be ideal, that way you will be able to force 6GiB from the mod itself.