Skip to content

[Aggregate issue] Missing opcodes #496

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
47 tasks done
rafael-57 opened this issue Aug 20, 2024 · 97 comments · Fixed by #1590
Open
47 tasks done

[Aggregate issue] Missing opcodes #496

rafael-57 opened this issue Aug 20, 2024 · 97 comments · Fixed by #1590

Comments

@rafael-57
Copy link
Contributor

rafael-57 commented Aug 20, 2024

Post your missing opcode errors here for devs to keep track of and implement.

Please check the currently implemented list first. Duplicates will be deleted.

Format

-- {Game Serial} {Game Name}
{Some log lines with "Unknown opcode"}
{upload full logfile}

Currently implemented

Game compatibility status

https://github.com/shadps4-emu/shadps4-game-compatibility/issues

@LeDragoX

This comment was marked as resolved.

@gandalfthewhite19890404

This comment was marked as resolved.

@AboMedoz

This comment was marked as resolved.

@AboMedoz

This comment was marked as resolved.

@pillo-jpg

This comment was marked as resolved.

@gandalfthewhite19890404

This comment has been minimized.

@polybiusproxy

This comment was marked as resolved.

@bigol83

This comment has been minimized.

@desmonHak

This comment has been minimized.

@shiiironyanpan

This comment has been minimized.

@bigol83

This comment was marked as resolved.

@StevenMiller123

This comment was marked as resolved.

@StevenMiller123

This comment has been minimized.

@StevenMiller123

This comment was marked as resolved.

@LeDragoX

This comment was marked as resolved.

@spacelilly

This comment has been minimized.

StevenMiller123 added a commit to StevenMiller123/shadPS4 that referenced this issue Sep 5, 2024
Implements TBUFFER_STORE_FORMAT_XYZW, IMAGE_SAMPLE_CD, and IMAGE_GATHER4_C_LZ.

These are seen in shadps4-emu#496.
raphaelthegreat pushed a commit that referenced this issue Sep 6, 2024
* Implement some missing shader opcodes

Implements TBUFFER_STORE_FORMAT_XYZW, IMAGE_SAMPLE_CD, and IMAGE_GATHER4_C_LZ.

These are seen in #496.

* Implement IMAGE_STORE_MIP

Not sure if this is the right way to do this, let me know if this needs changing.

* Revert "Implement IMAGE_STORE_MIP"

This reverts commit cff78b5.
@shiiironyanpan

This comment has been minimized.

@gandalfthewhite19890404

This comment was marked as resolved.

@alphavector

This comment has been minimized.

@alphavector

This comment has been minimized.

@StevenMiller123

This comment has been minimized.

@alphavector

This comment has been minimized.

@StevenMiller123
Copy link
Contributor

StevenMiller123 commented Jan 12, 2025

With some hacks, Monster Hunter World runs into a missing shader opcode.

[Render.Recompiler] <Error> translate.cpp:LogMissingOpcode:501: Unknown opcode BUFFER_LOAD_USHORT (1290, category = VectorMemory)

The following log is outdated, and contains log messages for other opcodes that have since been added. I'll try to send an updated log when I can.
shad_log.txt

@krachlatte

This comment has been minimized.

@Blaster4385

This comment has been minimized.

@fpsdemon

This comment has been minimized.

@StevenMiller123

This comment has been minimized.

@rafael-57

This comment has been minimized.

@isshininu

This comment has been minimized.

@Shark-911
Copy link

Shark-911 commented Jan 30, 2025

shad_log LEGO® STAR WARS™ The Force Awakens.txt

LEGO® STAR WARS™: The Force Awakens | Serial:CUSA03372 | Version:01.00

[Render.Recompiler] <Error> translate.cpp:LogMissingOpcode:503: Unknown opcode V_CMP_GT_F64 (201, category = VectorALU)```

@derholzmann12321

This comment was marked as spam.

@derholzmann12321

This comment was marked as spam.

@Hermiten

This comment has been minimized.

@derholzmann12321

This comment was marked as spam.

@Fanaticalight
Copy link

Fanaticalight commented Mar 1, 2025

CUSA00002 - KILLZONE™ SHADOW FALL

Two errors, unsure if first one is related to opcodes.
[Render.Vulkan] liverpool.cpp:396 ProcessGraphics: Unimplemented IT_SET_PREDICATION

[Debug] decode.cpp:264 operator(): Assertion Failed!
Instruction format table incomplete for opcode (1022, encoding = 0xc0000000)

shad_log.txt

Tested on CUSA00191 as well. Requires version 1.81. Same errors.

@Missake212

This comment has been minimized.

@Eon1One

This comment has been minimized.

@brad0demx
Copy link

CUSA16345 - Immortals Fenyx Rising ™

[Debug] liverpool.cpp:898 ProcessCompute: Unreachable code!
Unknown PM4 type 3 opcode 0x78 with count 2

and

CUSA12606 - DEATH STRANDING™

[Debug] liverpool.cpp:711 ProcessGraphics: Unreachable code!
Unknown PM4 type 3 opcode 0x8e with count 3

@brad0demx

This comment has been minimized.

@Missake212
Copy link
Contributor

CUSA01073 - Ratchet & Clank™

[Render.Recompiler] <Error> translate.cpp:541 LogMissingOpcode: Unknown opcode BUFFER_LOAD_SSHORT (1291, category = VectorMemory)
[Debug] <Critical> structured_control_flow.cpp:835 operator(): Assertion Failed!
Shader translation has failed

CUSA01073.log

@Xcedf
Copy link

Xcedf commented Apr 28, 2025

CUSA02799 - The Witch and the Hundred Knight: Revival Edition v1.00
[Debug] <Critical> translate.cpp:287 GetSrc: Unreachable code!
CUSA02799.log
from my debugging: I can skip 2 shaders but it will result in black textures ingame or I can stub "LdsDirect" case here, and get normal textures

@Ruahh
Copy link
Contributor

Ruahh commented May 2, 2025

CUSA08809 - SHADOW OF THE COLOSSUS v1.00

Crashes with GPU enabled, but with nullGPU it reaches;
Unknown PM4 type 3 opcode 0x8e with count 3

shad_log.txt

@Fuoxden

This comment has been minimized.

@lostboy86

This comment has been minimized.

@StevenMiller123

This comment has been minimized.

@Missake212
Copy link
Contributor

Dreams (CUSA04301) after using two PRs merged locally together to go further crashes on this:

[Render.Recompiler] <Error> translate.cpp:542 LogMissingOpcode: Unknown opcode DS_ORDERED_COUNT (1087, category = DataShare)
[Lib.AudioIn] <Error> audioin.cpp:112 sceAudioInInput: (STUBBED) called
[Lib.Net] <Error> sys_net.cpp:222 sys_recvfrom: error code returned : 0x8041012d
[Debug] <Critical> structured_control_flow.cpp:835 operator(): Assertion Failed!
Shader translation has failed

CUSA04301.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.