VRAM leak AMD RX 9000 #105

Closed
opened 2026-11-07 10:59:19 +00:00 by Bilau · 8 comments
Bilau commented 2026-11-07 10:59:19 +00:00 (Migrated from github.com)

VRAM leak, similar to what existed in the early days of emulation; as soon as I open Recomp and enter the game, it’s already using 15 GB. I believe this is what’s causing the stuttering during shader compilation.

Image

Win: 11
Ryzen 7 5700x
32gb ram

VRAM leak, similar to what existed in the early days of emulation; as soon as I open Recomp and enter the game, it’s already using 15 GB. I believe this is what’s causing the stuttering during shader compilation. <img width="2557" height="1377" alt="Image" src="https://github.com/user-attachments/assets/1c8e4610-e16c-4581-9a27-cbc0fa15997a" /> Win: 11 Ryzen 7 5700x 32gb ram
silverioparreira commented 2026-11-07 11:04:00 +00:00 (Migrated from github.com)

same here in 9070xt 15gb vram usage

same here in 9070xt 15gb vram usage
NotRexed commented 2026-11-07 12:01:17 +00:00 (Migrated from github.com)

Thanks. The texture cache was allowed to fill 70% of what the driver offers, about 11 GB on a 16 GB card. It's freed when needed, so it isn't a true leak, but it shouldn't take that much. https://github.com/NotRexed/Hookshot/releases/tag/brighter caps it at 6 GB. If you still see stutter, please attach hookshot_log.txt (next to hookshot.exe): its 'VRAM:' lines show what is using the memory.

Thanks. The texture cache was allowed to fill 70% of what the driver offers, about 11 GB on a 16 GB card. It's freed when needed, so it isn't a true leak, but it shouldn't take that much. https://github.com/NotRexed/Hookshot/releases/tag/brighter caps it at 6 GB. If you still see stutter, please attach `hookshot_log.txt` (next to `hookshot.exe`): its 'VRAM:' lines show what is using the memory.
Bilau commented 2026-11-07 13:59:04 +00:00 (Migrated from github.com)

The latest version continues to use a lot of VRAM.

hookshot_log.txt

The latest version continues to use a lot of VRAM. [hookshot_log.txt](https://github.com/user-attachments/files/34520578/hookshot_log.txt)
NotRexed commented 2026-11-07 14:08:41 +00:00 (Migrated from github.com)

Thanks for the log. Textures now stay under their 6 GB cap (5.6 GB in your log). The rest is render targets, GPU-side copies of game memory (up to 3 GB on big cards) and allocator slack, about 11.7 GB of the 14.1 GB the driver allows. That's high but not a leak. I'll lower the copies' share on big cards too.

Thanks for the log. Textures now stay under their 6 GB cap (5.6 GB in your log). The rest is render targets, GPU-side copies of game memory (up to 3 GB on big cards) and allocator slack, about 11.7 GB of the 14.1 GB the driver allows. That's high but not a leak. I'll lower the copies' share on big cards too.
poopoosauce commented 2026-11-07 15:23:33 +00:00 (Migrated from github.com)

hookshot_log.txt alything you can do with this?

[hookshot_log.txt](https://github.com/user-attachments/files/34522501/hookshot_log.txt) alything you can do with this?
Bilau commented 2026-11-07 16:04:12 +00:00 (Migrated from github.com)

The latest version continues to use a lot of VRAM.

hookshot_log.txt

The latest version continues to use a lot of VRAM. [hookshot_log.txt](https://github.com/user-attachments/files/34523204/hookshot_log.txt)
renannpaiva commented 2026-11-07 20:25:56 +00:00 (Migrated from github.com)

hookshot_log.txt
There are broken lines, the image is glitching.
https://youtu.be/WafN-U-n08Y

Image
[hookshot_log.txt](https://github.com/user-attachments/files/34528082/hookshot_log.txt) There are broken lines, the image is glitching. https://youtu.be/WafN-U-n08Y <img width="1919" height="1079" alt="Image" src="https://github.com/user-attachments/assets/dcc9127f-c536-4d40-ab78-9d20c3da6c5f" />
NotRexed commented 2026-11-09 05:43:59 +00:00 (Migrated from github.com)

Tracked in #993, follow there. That issue collects every report of garbled or rainbow textures that get worse over play time, and this one is linked from it with its GPU, version and log details. It is a known issue in v2.0.6 and not fixed yet. If it still happens on v2.0.6 (https://github.com/NotRexed/Hookshot/releases/tag/v2.0.6; Update next to Play in the launcher), please add a comment there with your hookshot_log.txt.

Tracked in #993, follow there. That issue collects every report of garbled or rainbow textures that get worse over play time, and this one is linked from it with its GPU, version and log details. It is a known issue in v2.0.6 and not fixed yet. If it still happens on v2.0.6 (https://github.com/NotRexed/Hookshot/releases/tag/v2.0.6; Update next to Play in the launcher), please add a comment there with your `hookshot_log.txt`.
Commenting is not possible because the repository is archived.
No milestone
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Hookshot#105
No description provided.