mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 00:05:58 +03:00
[PR #3844] [CLOSED] video_core: GPU watchdog thread #3754
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#3754
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/3844
Author: @LNDF
Created: 11/30/2025
Status: ❌ Closed
Base:
main← Head:gpu-watchdog📝 Commits (5)
983f1efWatchdog thread8c95947Do texture downloads in pending opeartionsc6f2190clang-formatd556f2eDon't use non ASCII character75d8a49Only run thread when rasterizer is bound📊 Changes
8 files changed (+96 additions, -41 deletions)
View changed files
📝
src/video_core/amdgpu/liverpool.cpp(+36 -2)📝
src/video_core/amdgpu/liverpool.h(+8 -0)📝
src/video_core/renderer_vulkan/vk_rasterizer.cpp(+8 -0)📝
src/video_core/renderer_vulkan/vk_rasterizer.h(+2 -0)📝
src/video_core/renderer_vulkan/vk_scheduler.cpp(+28 -0)📝
src/video_core/renderer_vulkan/vk_scheduler.h(+10 -0)📝
src/video_core/texture_cache/texture_cache.cpp(+4 -30)📝
src/video_core/texture_cache/texture_cache.h(+0 -9)📄 Description
This incorporates a thread that acts as a watchdog to prevent scheduler pending operations to not run when no submits have been done.
This should allow to use pending operations to download image memory insteeed of using a separate thread just for that. Using a thread just for downloading textures to memory prevents downloading textures in a syncrhonous way.
@squidbus You made the change to add the image download thread. What was the game giving issues that made you add it? I haven't tested this.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.