Skip to content

[GAME BUG]: Crashes due to shader cache filling up disk space, even after disabling the shader cache options #4602

Description

@bryangamer16

Checklist (we expect you to perform these steps before opening the issue)

  • I have searched for a similar issue in this repository and did not find one.
  • I am using an official build obtained from releases or updated one of those builds using its in-app updater.
  • I have re-dumped the game and performed a clean install without mods and the issue is still present.
  • I have disabled all patches and cheats and the issue is still present.
  • I have all the required system modules installed.

Describe the Bug

(I decided to reupload the issue due to an incorrect log being uploaded by mistake and then realizing that shader cache filling up space should not even be possible due to the option being disabled)
I tried running CUSA03173, as well as CUSA03694 on Shadps4 16.0.0 linux version, both games were able to function correctly in the menus and even cutscenes, but as soon as the loading screens for actual gameplay start, the game seemingly starts using my root partitions disk space to store cache without even fully using RAM (i dont know about VRAM since the system monitor doesn't show it's usage), up to the point where it uses more than 20GB and crashes the emulator due to the disk space becoming completely filled; funny thing is, this still happens when the shader cache option is completely disabled, i tried closing and reopening the appimage after unchecking the option, and even restarting the computer, but loading the shaders will always take up disk space no matter what; i also tried using the additional DMem allocation feature on up to 8000 additional MB with no noticeable changes in behavior; augmenting the internal render resolution of the game through patches increases the speed at which the disk space fills up.

Reproduction Steps

Play CUSA03173 or CUSA03694 and get to a game loading screen, i can see the disk space filling in real time on the system monitor, games crash when it fills up completely.

Specify OS Version

Linux Cachyos Version 260426

CPU

AMD ryzen 5 240

GPU

Nvidia RTX 5050 Mobile 8GB

Amount of RAM in GB

16GB

Amount of VRAM in GB

8GB

Log File

shad_log.txt

Additionaly, here is my shadps4 config.json file to corroborate that all options related to shader cache or dumping are disabled

config.json

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions