Page MenuHomeSolus

pcsx2 - crashes - Illegal Instruction
Closed, ResolvedPublic

Description

$ PCSX2
Illegal instruction

Event Timeline

sunnyflunk added a subscriber: sunnyflunk.

I can't reproduce this on unstable. What CPU do you have? A quick search suggested that they utilise advanced instructions, but at some times they weren't protected properly and trying to run on old CPUs (though don't know if that applies to the 1.4.0 release).

I can confirm the same error message on my machine, AMD Phenom(tm) II X4 810 Processor.

What are you doing for it produce the error? Loading pcsx2? Running a game? *scrolls up and finds answer* xD

From what I can see, they build on an old GCC. This may fix the issue https://github.com/PCSX2/pcsx2/pull/1867/commits/de146dcca48a74fce707ad8e8dd4a314afb3ec87

Using clang might be an even better option to prevent future issues as well (I don't think clang requires this patch). Though the only issues is the wx ABI

Launching PCSX2 does not result in anything. The error message comes when attempting to launch from terminal.

The rest is all French to me @sunnyflunk ?

That was more so I could discuss it with ikey. Basically it has a detection of CPU instructions on startup...unfortunately it uses the instructions your CPU doesn't have to detect that it doesn't have it....

https://dev.solus-project.com/R2311:2e8864221e7b1c62af3a6208e9492837027c1048

You may be able to install it from unstable via:

sudo eopkg install https://packages.solus-project.com/unstable/p/pcsx2/pcsx2-1.4.0-5-1-x86_64.eopkg

If it doesn't work, will have to wait for sync

thanks @sunnyflunk. Yeah it didn't work, I will wait for sync.

/me synced this morning ..

@ikey, do you mean it should work post updates? If so, I just updated the entire system and rebooted. Still the same error message.

No I'm just saying that I synced :P @sunnyflunk will know what the state should be

@enigma

eopkg info pcsx2

Check that you have release 5 installed. The patch wouldn't apply cleanly, so it may rely on other patches to function properly as well

Ok, take two. After trying a bunch of snapshots (none of which worked), I noticed an error in the cmake config.

https://dev.solus-project.com/R2311:34eeff020f2dc3288f2f44622c9ad106ece95e3f

Now it should actually disable the instructions.

Will need to wait for sync (since there was a glib2 update) to update and confirm you have release 6 installed if it's not working.

Hi @sunnyflunk, synced yesterday and it is working for me now.

sunnyflunk claimed this task.

Great, this shall be closed then as it logically fixes the issue by now actually disabling the instructions