shadPS4 icon indicating copy to clipboard operation
shadPS4 copied to clipboard

Implement MUBUF instructions for shorts/bytes

Open baggins183 opened this issue 1 year ago • 4 comments

baggins183 avatar Apr 27 '25 21:04 baggins183

With this PR (and a patch made to bypass the hang), Ratchet and Clank now goes a little bit further and crashes on:

[Debug] <Critical> vector_memory.cpp:250 operator(): Assertion Failed!

CUSA01073.log

Missake212 avatar Apr 27 '25 22:04 Missake212

Ok i was hoping this wouldnt get hit. I pushed something that will let it past this to see what will happen but need to figure out this case

baggins183 avatar Apr 27 '25 22:04 baggins183

Now the error is: [Debug] <Critical> page_manager.cpp:207 operator(): Assertion Failed! Attempted to track non-GPU memory at address 0x16a1c86000, size 0x30000.

Randomuser8219 avatar Apr 27 '25 22:04 Randomuser8219

Got a similar error as Randomuser, here's the new log

CUSA01073.log

Missake212 avatar Apr 27 '25 22:04 Missake212

this pr needs manual rebase

georgemoralis avatar Jun 16 '25 10:06 georgemoralis

ready

baggins183 avatar Jul 11 '25 19:07 baggins183

shad_log.txt Ratchet & Clank silently crashes with the rebase.

Randomuser8219 avatar Jul 11 '25 20:07 Randomuser8219

shad_log.txt Log with validation enabled and debugger

Randomuser8219 avatar Jul 11 '25 20:07 Randomuser8219

Ratchet and Clank asserts here on the latest commit image

Missake212 avatar Jul 11 '25 20:07 Missake212

whats your GPU? That needs a TODO for when you dont have i8/i16 support but im suprised you hit it

baggins183 avatar Jul 11 '25 20:07 baggins183

4090 🤔

CUSA01073.log

Missake212 avatar Jul 11 '25 20:07 Missake212

try this

baggins183 avatar Jul 11 '25 21:07 baggins183

Crash in game code :/ (I did try a few times and the address is consistent at least)

image

CUSA01073.log

Missake212 avatar Jul 11 '25 21:07 Missake212

Tried Linux out of curiosity and I get this instead:

[Debug] <Critical> page_manager.cpp:252 operator(): Assertion Failed! Attempted to track non-GPU memory at address 0x16a1b60000, size 0x156000.

CUSA01073.log

Missake212 avatar Jul 11 '25 21:07 Missake212

Tried Linux out of curiosity and I get this instead:

[Debug] <Critical> page_manager.cpp:252 operator(): Assertion Failed! Attempted to track non-GPU memory at address 0x16a1b60000, size 0x156000.

CUSA01073.log

that might be separate problems Can you run with vkValidation? A few commits ago there was

Id 2934 is defined more than once.

caused by this PR which might not be fixed yet

baggins183 avatar Jul 12 '25 03:07 baggins183

I'm also getting this error on Windows now: [Debug] <Critical> page_manager.cpp:252 operator(): Assertion Failed! Attempted to track non-GPU memory at address 0x16a1b60000, size 0x156000.

Randomuser8219 avatar Jul 12 '25 03:07 Randomuser8219

Sorry for being late, here you go

CUSA01073.log

Missake212 avatar Jul 12 '25 06:07 Missake212

shad_log.txt Ratchet & Clank gets further, then hangs after shader compilation

Randomuser8219 avatar Jul 13 '25 05:07 Randomuser8219

CUSA01073.log

Missake212 avatar Jul 13 '25 11:07 Missake212

mirror action until actions get fixed : https://github.com/georgemoralis/shadPS4/actions/runs/16366689055

georgemoralis avatar Jul 18 '25 09:07 georgemoralis