Skip to content
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

SPU: Unknown/illegal channel (ch=1 [$SPU_WrEventMask], value=0x2) #1479

Closed
AniLeo opened this issue Feb 7, 2016 · 12 comments
Closed

SPU: Unknown/illegal channel (ch=1 [$SPU_WrEventMask], value=0x2) #1479

AniLeo opened this issue Feb 7, 2016 · 12 comments

Comments

@AniLeo
Copy link
Member

AniLeo commented Feb 7, 2016

In flOw [NPEA00021], if cellSre is LLE'd it outputs the following error:

{SPU[0x992] Thread (CellSpursKernel0)[0x02a48]} Exception: Unknown/illegal channel (ch=1 [$SPU_WrEventMask], value=0x2)
(in file Emu\Cell\SPUThread.cpp:1132, in function SPUThread::set_ch_value)
Please report this to the developers.

Log attached.
(As shown at http://www.emunewz.net/forum/showthread.php?tid=165481&pid=229868#pid229868)

RPCS3.zip

If cellSre is not LLE'd (cellFiber + cellSpursJq LLE'd only) it produces this outcome:
http://youtu.be/v0pBs51Pjdg

@tambry tambry changed the title Exception: Unknown/illegal channel in file SPUThread.cpp:1132 at SPUThread::set_ch_value - flOw [NPEA00021] Unknown/illegal channel in file at SPUThread::set_ch_value - flOw [NPEA00021] Feb 7, 2016
@tambry tambry changed the title Unknown/illegal channel in file at SPUThread::set_ch_value - flOw [NPEA00021] Unknown/illegal channel (ch=1 [$SPU_WrEventMask], value=0x2) - flOw [NPEA00021] Feb 7, 2016
@AniLeo
Copy link
Member Author

AniLeo commented Feb 7, 2016

{SPU[0x4b] Thread (CellSpursKernel2)[0x02d18]} Exception: Unknown/illegal channel (ch=1 [$SPU_WrEventMask], value=0x2)
(in file Emu\Cell\SPUThread.cpp:1132, in function SPUThread::set_ch_value)
Please report this to the developers.

Also happens in:
High Velocity Bowling [NPEA00047]

@AniLeo
Copy link
Member Author

AniLeo commented Feb 9, 2016

{SPU[0x154] Thread (CellSpursKernel4)[0x0344c]} Exception: Unknown/illegal channel (ch=2 [$SPU_WrEventAck], value=0x20)
(in file C:\rpcs3\rpcs3\Emu\Cell\SPUThread.cpp:1132, in function SPUThread::set_ch_value)
Please report this to the developers.

Same error, different channel value.

Happens in: Wheel of Fortune [NPUA80137] with master + pull #1481 (If the build with the pull isn't used, the game gets the error reported at #1468

@AniLeo
Copy link
Member Author

AniLeo commented Feb 19, 2016

{SPU[0x4b] Thread (ApeSpurs_1SPUCellSpursKernel0)[0x02c94]} Exception: Unknown/illegal channel (ch=1 [$SPU_WrEventMask], value=0x2)
(in file Emu\Cell\SPUThread.cpp:1132, in function SPUThread::set_ch_value)

[NPEA00427] - Bentley's Hackpack Trial Version
Latest master (v0.0.0.6-4149-b632386)
rpcse_480_npea00427.zip

Different thread in this one.

@AniLeo
Copy link
Member Author

AniLeo commented Feb 19, 2016

{SPU[0x2a] Thread (picoSpursCellSpursKernel1)[0x02b98]} Exception: Unknown/illegal channel (ch=1 [$SPU_WrEventMask], value=0x2)
(in file Emu\Cell\SPUThread.cpp:1132, in function SPUThread::set_ch_value)

NPEA00111 - Fat Princess
rpcs3_480_npea00111.zip

{SPU[0x6b] Thread (CellSpursKernel3)[0x02c04]} Exception: Unknown/illegal channel (ch=1 [$SPU_WrEventMask], value=0x2)
(in file Emu\Cell\SPUThread.cpp:1132, in function SPUThread::set_ch_value)

NPEA00288 - Journey

@sirdanielk
Copy link

sirdanielk commented Jun 27, 2016

I dont find this error anymore in games. Can You verify above games against newest version of emu?

Whent it comes to flOw, other unsual error appears instead:
·F {SPU[0x9b7] Thread (CellSpursKernel0)} class fmt::exception thrown: spu_recompiler::IRET(): Unimplemented instruction
(in file C:\rpcs3\rpcs3\Emu\Cell\SPUASMJITRecompiler.cpp:920)

·W {PPU[0x25] Thread (main_thread) [0x007a7104]} sysPrxForUser: sys_lwmutex_create(lwmutex=*0x200f61e0, attr=*0x10012f80)
·W {PPU[0x25] Thread (main_thread) [0x006476a0]} sys_memory: sys_memory_allocate(size=0x100000, flags=0x400, alloc_addr=*0xd00fe930)
·! {SPU[0x9b7] Thread (CellSpursKernel0)} 


·F {SPU[0x9b7] Thread (CellSpursKernel0)} class fmt::exception thrown: spu_recompiler::IRET(): Unimplemented instruction
(in file C:\rpcs3\rpcs3\Emu\Cell\SPUASMJITRecompiler.cpp:920)
·! {SPU[0x9b7] Thread (CellSpursKernel0)} Thread time: 0.090768 Gc
·W {PPU[0x25] Thread (main_thread) [0x006533f4]} sys_fs: sys_fs_open(path=*0xd00fea30, flags=0, fd=*0xd00fe700, mode=0, arg=*0x0, size=0x0)

@AniLeo
Copy link
Member Author

AniLeo commented Jun 27, 2016

@sirdanielk
Don't use the SPU Recompiler. Use one of the Interpreters.

I will retest later, but I don't remember seeing any commit that was targeted to fix this.

@sirdanielk
Copy link

Sorry, when using precise or fast interpreter, this error still occurs.

@AniLeo
Copy link
Member Author

AniLeo commented Jul 8, 2016

Yeah, still throws the same error

{SPU[0x994] Thread (CellSpursKernel0) [0x02a48]} class fmt::exception thrown: SPUThread::set_ch_value(): Unknown/illegal channel (ch=1 [$SPU_WrEventMask], value=0x2)
(in file C:\rpcs3\rpcs3\Emu\Cell\SPUThread.cpp:1125)

@AniLeo
Copy link
Member Author

AniLeo commented Jul 8, 2016

God of War®: Ghost of Sparta (Digital) [NPUA80636]

{SPU[0x27] Thread (radeng_playeCellSpursKernel4) [0x02bfc]} class fmt::exception thrown: SPUThread::set_ch_value(): Unknown/illegal channel (ch=1 [$SPU_WrEventMask], value=0x2)
(in file C:\rpcs3\rpcs3\Emu\Cell\SPUThread.cpp:1125)

@dbz400
Copy link
Contributor

dbz400 commented Jul 19, 2016

#1943
Sly Cooper and the Thievius Raccoonus/Sly Raccoon [NPEA-00341]
Sly 2: Band of Thieves [NPEA-00342]
Sly 3: Honour Among Thieves [NPEA-00343]

@dbz400 dbz400 changed the title Unknown/illegal channel (ch=1 [$SPU_WrEventMask], value=0x2) - flOw [NPEA00021] HLE: Unknown/illegal channel (ch=1 [$SPU_WrEventMask], value=0x2) Jul 19, 2016
@dbz400 dbz400 changed the title HLE: Unknown/illegal channel (ch=1 [$SPU_WrEventMask], value=0x2) SPU: Unknown/illegal channel (ch=1 [$SPU_WrEventMask], value=0x2) Jul 19, 2016
@MarioSonic2987
Copy link
Contributor

MarioSonic2987 commented Jul 19, 2016

God of War HD [NPEA-00255] in #1946

{SPU[0x34] Thread (BP_MiscCellSpursKernel0) [0x02c28]} class fmt::exception thrown: SPUThread::set_ch_value(): Unknown/illegal channel (ch=1 [$SPU_WrEventMask], value=0x2)
(in file C:\rpcs3\rpcs3\Emu\Cell\SPUThread.cpp:1125)

@Nezarn
Copy link

Nezarn commented Aug 16, 2016

Journey (only hits this sometimes)

F {SPU[0x8a] Thread (CellSpursKernel5) [0x02c04]} class std::runtime_error thrown: Unknown/illegal channel (ch=1 [$SPU_WrEventMask], value=0x2)
(in file C:\rpcs3\rpcs3\Emu\Cell\SPUThread.cpp:1122)

@AniLeo AniLeo closed this as completed May 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants