mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 07:46:01 +03:00
[GH-ISSUE #1461] CUSA03173 - Constant Unsupported PM4 type 0 #487
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#487
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?
Originally created by @Vimvoord on GitHub (Oct 30, 2024).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/1461
Patch 1.09 - FW 4.50
Always crashes out at a Layer 4 Chalice Dungeon - at random.
Edit 2: This now even happens in the base areas of the game, not just Chalice Dungeons.
Fresh Save in shadps4 0.4.0 Release
shad_log.txt
[Debug] liverpool.cpp:ProcessGraphics:200: Unreachable code!
Unsupported PM4 type 0
@NiclasNike commented on GitHub (Oct 31, 2024):
I have had this one a lot lately everywhere, sometimes just a few seconds after starting the game and sometimes I can play a while before this crash. Windows11, AMD 7800X3D, 4090 and 32GB RAM.
I found an old build 'Full-BB' (diegolix29 fork) that has a lot of hacks and skips but it skips the has the PM4 type 0 case UNREACHABLE_MSG and break.
So today I decided to compile the latest main with only this change in liverpool.cpp:
case 0: LOG_ERROR(Lib_GnmDriver, "Continue hack Unsupported PM4 type 0"); dcb = NextPacket(dcb, header->type0.NumWords() + 1); continue;With this change it doesn't crash and the log looks like this when hit by a PM4 type 0:
[Render.Vulkan] tile_manager.cpp:TryDetile:394: Unsupported tiled image: R32Sfloat (Depth_MacroTiled)
[Lib.GnmDriver] liverpool.cpp:ProcessGraphics:199: Continue hack Unsupported PM4 type 0
[Lib.GnmDriver] liverpool.cpp:ProcessGraphics:199: Continue hack Unsupported PM4 type 0
[Lib.GnmDriver] liverpool.cpp:ProcessGraphics:199: Continue hack Unsupported PM4 type 0
[Lib.GnmDriver] liverpool.cpp:ProcessGraphics:199: Continue hack Unsupported PM4 type 0
[Lib.GnmDriver] liverpool.cpp:ProcessGraphics:199: Continue hack Unsupported PM4 type 0
[Lib.GnmDriver] liverpool.cpp:ProcessGraphics:199: Continue hack Unsupported PM4 type 0
[Lib.GnmDriver] liverpool.cpp:ProcessGraphics:199: Continue hack Unsupported PM4 type 0
[Lib.GnmDriver] liverpool.cpp:ProcessGraphics:199: Continue hack Unsupported PM4 type 0
[Lib.GnmDriver] liverpool.cpp:ProcessGraphics:199: Continue hack Unsupported PM4 type 0
[Lib.GnmDriver] liverpool.cpp:ProcessGraphics:199: Continue hack Unsupported PM4 type 0
[Lib.GnmDriver] liverpool.cpp:NextPacket:31: : packet length exceeds remaining submission size. Packet dword count=15828, remaining submission dwords=123
@Vimvoord commented on GitHub (Nov 2, 2024):
I just tried Diego's fork of the build and it's severely worse there. I can't even get past 5 seconds.
Would be great if anyone could make a pull for hacking this OP code into the main branch. :/
@Hermiten commented on GitHub (Nov 11, 2024):
You can report this PM4 type on this issue:
https://github.com/shadps4-emu/shadPS4/issues/496
Thanks you