[GH-ISSUE #457] [Bloodborne] [CUSA03173] DLC area Crashes with Unknown opcode BUFFER_ATOMIC_ADD #85

Closed
opened 2026-02-27 21:04:29 +03:00 by kerem · 9 comments
Owner

Originally created by @rafael-57 on GitHub (Aug 17, 2024).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/457

Since I have my save-file in an advanced DLC area (The research hall) I figured I would try loading into it, and the error is new to me:

[Kernel.Pthread] thread_management.cpp:scePthreadCondInit:656: name=NoName, result=0
[Lib.Http] http.cpp:sceHttpWaitRequest:585: (STUBBED) called
[Lib.Http] http.cpp:sceHttpWaitRequest:585: (STUBBED) called
[Kernel.Fs] file_system.cpp:sceKernelStat:301: (PARTIAL) path = /app0/dvdroot_ps4/event/common.emeld.dcx
[Kernel.Fs] file_system.cpp:sceKernelOpen:28: path = /app0/dvdroot_ps4/event/common.emevd.dcx flags = 0x0 mode = 365
[Kernel.Fs] file_system.cpp:sceKernelStat:301: (PARTIAL) path = /app0/dvdroot_ps4/event/common.emevd.dcx
[Kernel.Fs] file_system.cpp:sceKernelClose:140: Closing /app0/dvdroot_ps4/event/common.emeld.dcx
[Kernel.Fs] file_system.cpp:sceKernelClose:140: Closing /app0/dvdroot_ps4/event/common.emedf.dcx
[Kernel.Fs] file_system.cpp:sceKernelClose:140: Closing /app0/dvdroot_ps4/event/common.emevd.dcx
[Render.Recompiler] translate.cpp:LogMissingOpcode:449: Unknown opcode BUFFER_ATOMIC_ADD (1330, category = VectorMemory)
[Debug] translate.cpp:GetSrc:159: Unreachable code!

Proof:
savefile

I've attached logs for loading in the reserch hall and for when you just create a new character so that you can compare if needed

bloodborne_research_hall_shad_log_async.txt
bloodborne_new_character_shad_log_aync.txt

Let me know if you need anything else!

Originally created by @rafael-57 on GitHub (Aug 17, 2024). Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/457 Since I have my save-file in an advanced DLC area (The research hall) I figured I would try loading into it, and the error is new to me: [Kernel.Pthread] <Info> thread_management.cpp:scePthreadCondInit:656: name=NoName, result=0 [Lib.Http] <Error> http.cpp:sceHttpWaitRequest:585: (STUBBED) called [Lib.Http] <Error> http.cpp:sceHttpWaitRequest:585: (STUBBED) called [Kernel.Fs] <Info> file_system.cpp:sceKernelStat:301: (PARTIAL) path = /app0/dvdroot_ps4/event/common.emeld.dcx [Kernel.Fs] <Info> file_system.cpp:sceKernelOpen:28: path = /app0/dvdroot_ps4/event/common.emevd.dcx flags = 0x0 mode = 365 [Kernel.Fs] <Info> file_system.cpp:sceKernelStat:301: (PARTIAL) path = /app0/dvdroot_ps4/event/common.emevd.dcx [Kernel.Fs] <Info> file_system.cpp:sceKernelClose:140: Closing /app0/dvdroot_ps4/event/common.emeld.dcx [Kernel.Fs] <Info> file_system.cpp:sceKernelClose:140: Closing /app0/dvdroot_ps4/event/common.emedf.dcx [Kernel.Fs] <Info> file_system.cpp:sceKernelClose:140: Closing /app0/dvdroot_ps4/event/common.emevd.dcx [Render.Recompiler] <Error> translate.cpp:LogMissingOpcode:449: Unknown opcode BUFFER_ATOMIC_ADD (1330, category = VectorMemory) [Debug] <Critical> translate.cpp:GetSrc:159: Unreachable code! Proof: ![savefile](https://github.com/user-attachments/assets/bda524da-dfa2-417f-a542-da55bbc8a68e) I've attached logs for loading in the reserch hall and for when you just create a new character so that you can compare if needed [bloodborne_research_hall_shad_log_async.txt](https://github.com/user-attachments/files/16644650/bloodborne_research_hall_shad_log_async.txt) [bloodborne_new_character_shad_log_aync.txt](https://github.com/user-attachments/files/16644652/bloodborne_new_character_shad_log_aync.txt) Let me know if you need anything else!
kerem closed this issue 2026-02-27 21:04:29 +03:00
Author
Owner

@rafael-57 commented on GitHub (Aug 17, 2024):

Just for info, I've tried multiple times and it always fails with the same error:
[Kernel.Pthread] thread_management.cpp:scePthreadCondInit:656: name=NoName, result=0
[Kernel.Pthread] thread_management.cpp:scePthreadCondInit:656: name=NoName, result=0
[Lib.Http] http.cpp:sceHttpWaitRequest:585: (STUBBED) called
[Lib.Http] http.cpp:sceHttpWaitRequest:585: (STUBBED) called
[Render.Recompiler] translate.cpp:LogMissingOpcode:449: Unknown opcode BUFFER_ATOMIC_ADD (1330, category = VectorMemory)
[Debug] translate.cpp:GetSrc:159: Unreachable code!

It crashes very fast too. Not even 5 seconds into loading

<!-- gh-comment-id:2294837477 --> @rafael-57 commented on GitHub (Aug 17, 2024): Just for info, I've tried multiple times and it always fails with the same error: [Kernel.Pthread] <Info> thread_management.cpp:scePthreadCondInit:656: name=NoName, result=0 [Kernel.Pthread] <Info> thread_management.cpp:scePthreadCondInit:656: name=NoName, result=0 [Lib.Http] <Error> http.cpp:sceHttpWaitRequest:585: (STUBBED) called [Lib.Http] <Error> http.cpp:sceHttpWaitRequest:585: (STUBBED) called [Render.Recompiler] <Error> translate.cpp:LogMissingOpcode:449: Unknown opcode BUFFER_ATOMIC_ADD (1330, category = VectorMemory) [Debug] <Critical> translate.cpp:GetSrc:159: Unreachable code! It crashes very fast too. Not even 5 seconds into loading
Author
Owner

@esdrastarsis commented on GitHub (Aug 17, 2024):

I think https://github.com/shadps4-emu/shadPS4/pull/428 will fix this.

<!-- gh-comment-id:2294842487 --> @esdrastarsis commented on GitHub (Aug 17, 2024): I think https://github.com/shadps4-emu/shadPS4/pull/428 will fix this.
Author
Owner

@rafael-57 commented on GitHub (Aug 17, 2024):

I think #428 will fix this.

Indeed, I checked the latest PR (#428) from his branch and the log crashes with a different error

[Render.Vulkan] image_view.cpp:ImageViewInfo:87: Storage image (num_comps = 2) requires swizzling [RG01]
[Render.Vulkan] image_view.cpp:ImageViewInfo:87: Storage image (num_comps = 2) requires swizzling [RG01]
[Render.Vulkan] vk_pipeline_cache.cpp:CreateComputePipeline:325: Compiling cs shader 0xa509af23
[Lib.GnmDriver] gnmdriver.cpp:sceGnmSubmitCommandBuffers:2063: called
[Lib.GnmDriver] gnmdriver.cpp:sceGnmSubmitCommandBuffers:2063: called
[Lib.GnmDriver] gnmdriver.cpp:sceGnmSubmitCommandBuffers:2063: called
[Lib.GnmDriver] gnmdriver.cpp:sceGnmSubmitCommandBuffers:2063: called
[Lib.GnmDriver] gnmdriver.cpp:sceGnmSubmitCommandBuffers:2063: called
[Lib.VideoOut] video_out.cpp:sceVideoOutGetFlipStatus:195: count = 938, processTime = 76593750, tsc = 32218951800002, submitTsc = 32218949709054, flipArg = 937, gcQueueNum = 0, flipPendingNum = 0, currentBuffer = 1
[Kernel.Fs] file_system.cpp:sceKernelClose:140: Closing /app0/dvdroot_ps4/event/common.emeld.dcx
[Lib.GnmDriver] gnmdriver.cpp:sceGnmSubmitAndFlipCommandBuffers:2039: called [buf = 2]
[Lib.GnmDriver] gnmdriver.cpp:sceGnmSubmitCommandBuffers:2063: called
[Lib.GnmDriver] gnmdriver.cpp:sceGnmSubmitDone:2139: called
[Kernel.Fs] file_system.cpp:sceKernelClose:140: Closing /app0/dvdroot_ps4/event/common.emedf.dcx
[Kernel.Fs] file_system.cpp:sceKernelClose:140: Closing /app0/dvdroot_ps4/event/common.emevd.dcx
[Debug] translate.cpp:GetSrc:159: Unreachable code!

shad_log.txt

<!-- gh-comment-id:2294915850 --> @rafael-57 commented on GitHub (Aug 17, 2024): > I think #428 will fix this. Indeed, I checked the latest PR (#428) from his branch and the log crashes with a different error [Render.Vulkan] <Error> image_view.cpp:ImageViewInfo:87: Storage image (num_comps = 2) requires swizzling [RG01] [Render.Vulkan] <Error> image_view.cpp:ImageViewInfo:87: Storage image (num_comps = 2) requires swizzling [RG01] [Render.Vulkan] <Info> vk_pipeline_cache.cpp:CreateComputePipeline:325: Compiling cs shader 0xa509af23 [Lib.GnmDriver] <Info> gnmdriver.cpp:sceGnmSubmitCommandBuffers:2063: called [Lib.GnmDriver] <Info> gnmdriver.cpp:sceGnmSubmitCommandBuffers:2063: called [Lib.GnmDriver] <Info> gnmdriver.cpp:sceGnmSubmitCommandBuffers:2063: called [Lib.GnmDriver] <Info> gnmdriver.cpp:sceGnmSubmitCommandBuffers:2063: called [Lib.GnmDriver] <Info> gnmdriver.cpp:sceGnmSubmitCommandBuffers:2063: called [Lib.VideoOut] <Info> video_out.cpp:sceVideoOutGetFlipStatus:195: count = 938, processTime = 76593750, tsc = 32218951800002, submitTsc = 32218949709054, flipArg = 937, gcQueueNum = 0, flipPendingNum = 0, currentBuffer = 1 [Kernel.Fs] <Info> file_system.cpp:sceKernelClose:140: Closing /app0/dvdroot_ps4/event/common.emeld.dcx [Lib.GnmDriver] <Info> gnmdriver.cpp:sceGnmSubmitAndFlipCommandBuffers:2039: called [buf = 2] [Lib.GnmDriver] <Info> gnmdriver.cpp:sceGnmSubmitCommandBuffers:2063: called [Lib.GnmDriver] <Info> gnmdriver.cpp:sceGnmSubmitDone:2139: called [Kernel.Fs] <Info> file_system.cpp:sceKernelClose:140: Closing /app0/dvdroot_ps4/event/common.emedf.dcx [Kernel.Fs] <Info> file_system.cpp:sceKernelClose:140: Closing /app0/dvdroot_ps4/event/common.emevd.dcx [Debug] <Critical> translate.cpp:GetSrc:159: Unreachable code! [shad_log.txt](https://github.com/user-attachments/files/16645664/shad_log.txt)
Author
Owner

@rafael-57 commented on GitHub (Aug 17, 2024):

I'll retest once it's merged into main to be safe.

<!-- gh-comment-id:2294916271 --> @rafael-57 commented on GitHub (Aug 17, 2024): I'll retest once it's merged into main to be safe.
Author
Owner

@lzardy commented on GitHub (Aug 17, 2024):

The changes have been pushed, please test this once again to reconfirm.

<!-- gh-comment-id:2294946581 --> @lzardy commented on GitHub (Aug 17, 2024): The changes have been pushed, please test this once again to reconfirm.
Author
Owner

@rafael-57 commented on GitHub (Aug 18, 2024):

Thank you, I can confirm the error is gone. Now It ends with this:

[Lib.GnmDriver] gnmdriver.cpp:sceGnmSubmitAndFlipCommandBuffers:2039: called [buf = 0]
[Lib.GnmDriver] gnmdriver.cpp:sceGnmSubmitCommandBuffers:2063: called
[Lib.GnmDriver] gnmdriver.cpp:sceGnmSubmitDone:2139: called
[Debug] translate.cpp:GetSrc:159: Unreachable code!

shad_log.txt

<!-- gh-comment-id:2295211981 --> @rafael-57 commented on GitHub (Aug 18, 2024): Thank you, I can confirm the error is gone. Now It ends with this: [Lib.GnmDriver] <Info> gnmdriver.cpp:sceGnmSubmitAndFlipCommandBuffers:2039: called [buf = 0] [Lib.GnmDriver] <Info> gnmdriver.cpp:sceGnmSubmitCommandBuffers:2063: called [Lib.GnmDriver] <Info> gnmdriver.cpp:sceGnmSubmitDone:2139: called [Debug] <Critical> translate.cpp:GetSrc:159: Unreachable code! [shad_log.txt](https://github.com/user-attachments/files/16648039/shad_log.txt)
Author
Owner

@soykhaler commented on GitHub (Aug 19, 2024):

im having same error at startup with [http](http.cpp:sceHttpWaitRequest:585: (STUBBED) called)

<!-- gh-comment-id:2296115270 --> @soykhaler commented on GitHub (Aug 19, 2024): im having same error at startup with [http](http.cpp:sceHttpWaitRequest:585: (STUBBED) called)
Author
Owner

@BigLoaf94 commented on GitHub (Sep 25, 2024):

im having same error at startup with [http](http.cpp:sceHttpWaitRequest:585: (STUBBED) called)

Did you ever figure this out? I'm having the same issue

<!-- gh-comment-id:2372638515 --> @BigLoaf94 commented on GitHub (Sep 25, 2024): > im having same error at startup with [http](http.cpp:sceHttpWaitRequest:585: (STUBBED) called) Did you ever figure this out? I'm having the same issue
Author
Owner

@unk0wn-u53r commented on GitHub (Dec 15, 2024):

Same issue since 3 months now

<!-- gh-comment-id:2544058075 --> @unk0wn-u53r commented on GitHub (Dec 15, 2024): Same issue since 3 months now
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
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
starred/shadPS4#85
No description provided.