[1.6.0 FIXED] CTD with "illegal instruction"

Report any technical issues or bugs you have experienced with Lost Labyrinth DX.
Post Reply
User avatar
Grunz
Posts: 6
Joined: Tue Nov 05, 2019 7:34 am

[1.6.0 FIXED] CTD with "illegal instruction"

Post by Grunz » Tue Nov 12, 2019 12:31 pm

I get the illegal instruction error when starting via console.
As it crashes under windows too, I guess the same thing happens there, but I obviously can't get an error message.

log:

Code: Select all

INFO: Game Version 1.6.0
INFO: Checking for updates...
INFO: You are running latest version of Lost Labyrinth DX...
INFO: Initializing SDL version 2.0.11
INFO: Initialized FreeType version 2.10.1
INFO: Requested render backend: "auto"
INFO: Loading font immortal.ttf for language: 'english'
INFO: Successfully initialized LabyDX game engine 1.6.0...
Crashed after that. Probably trying to use mmx4 instructions or something akin.

My CPU is old, but not antique. It is a Phenom II quad core and not a pentium or the like.
I suggest toning down the required instruction set a bit to allow for older machines.

zefz
Site Admin
Posts: 67
Joined: Fri Aug 24, 2018 2:27 pm
Location: Norway
Contact:

Re: CTD with "illegal instruction"

Post by zefz » Tue Nov 12, 2019 4:03 pm

Thanks for reporting this! You are right. I've targeted the instruction set for "core2" architecture and above.
Intel Core 2 CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3 and SSSE3 instruction set support.
I wasn't aware there were older CPUs still in use :) I will target for a more generic x86 instruction set without any SIMD extensions.

User avatar
Grunz
Posts: 6
Joined: Tue Nov 05, 2019 7:34 am

Re: CTD with "illegal instruction"

Post by Grunz » Tue Nov 12, 2019 8:16 pm

The only thing from this list the Phenom II does not know is SSSE3.

From my CPUinfo:

Code: Select all

MMX, extended 3DNow!, SSE, SSE2, SSE3, SSE4a, AMD64, Cool'n'Quiet, NX bit, AMD-V

zefz
Site Admin
Posts: 67
Joined: Fri Aug 24, 2018 2:27 pm
Location: Norway
Contact:

Re: CTD with "illegal instruction"

Post by zefz » Sun Nov 17, 2019 5:25 pm

Try again with version 1.6.1

It should now work with any x86 CPU.

User avatar
Grunz
Posts: 6
Joined: Tue Nov 05, 2019 7:34 am

Re: [1.6.0 FIXED] CTD with "illegal instruction"

Post by Grunz » Sun Nov 17, 2019 5:42 pm

As long as you require 64 bit OS, you can also assume 64 bit CPUs obviously. So that'd be Athlon 64 or Pentium 4 at least - older ones are not 64 bit.
Those two both support MMX, SSE, SSE2 and SSE3.

The download link for the 1.6.1 Windows version gives a 404.

zefz
Site Admin
Posts: 67
Joined: Fri Aug 24, 2018 2:27 pm
Location: Norway
Contact:

Re: [1.6.0 FIXED] CTD with "illegal instruction"

Post by zefz » Sun Nov 17, 2019 6:47 pm

I guess I could enable some SIMD instructions, they aren't really important for the performance gain though. It's not like a turn-based game like LabyDX is computation heavy :)

Oh seems there is something wrong with the windows download. I will fix it asap.

zefz
Site Admin
Posts: 67
Joined: Fri Aug 24, 2018 2:27 pm
Location: Norway
Contact:

Re: [1.6.0 FIXED] CTD with "illegal instruction"

Post by zefz » Sun Nov 17, 2019 9:37 pm

Download link should work now.

Post Reply