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

a lot of illegal instructions on linux aarch64 #475

Open
ghost opened this issue Apr 21, 2021 · 6 comments
Open

a lot of illegal instructions on linux aarch64 #475

ghost opened this issue Apr 21, 2021 · 6 comments

Comments

@ghost
Copy link

ghost commented Apr 21, 2021

Hi! I would like to know if there is something runnable (tho not playable), bc even on full interpreter not even the bios want to launch on my rk3399 linux aarch64 test from master. best regards.

@Ziemas
Copy link
Contributor

Ziemas commented Apr 25, 2021

The GS JIT which is x86 is enabled by default at compile time, you can try removing the #define GS_JIT line from gsthread.cpp. I don't know if there is anything blocking it other than that.

@mrcmunir
Copy link

mrcmunir commented Sep 5, 2021

The main problem is not JIT its in Interpreter total broken too In the past its working on intepreter i tested in early days run 3-6fps speed on jetson nano .
Screenshot from 2021-09-05 17-14-18
Edit : @Ziemas confirmed Remove #define GS_JIT prevent this crash but i think defined GS_JIT never will be affected if you change to Interpreter

Maybe the workarround will be for now .

if defined(__x86_64__) || defined(__amd64__) || defined(__x86_64) || defined(_M_AMD64)
    /*
     * both __x86_64__ and __amd64__ are defined by gcc/clang
     * __x86_64 defined by sun compiler on opensolaris at least
     * _M_AMD64 defined by MS compiler
     */
    #define GS_JIT
#endif

@seisdr
Copy link

seisdr commented Sep 8, 2021

You can build dobie on arm64??

@mrcmunir
Copy link

mrcmunir commented Sep 8, 2021

@seisdr Yes but its slow due lack JIT running 2-6fps or so with the actual code
You needed remove #define GS_JIT in gsthread.cpp or change defined to x86 ARCH only .
As I commented in my previous comment.

@seisdr
Copy link

seisdr commented Sep 8, 2021

Is it software rendering?

@mrcmunir
Copy link

mrcmunir commented Sep 8, 2021

Is it software rendering?

Yes this that in the actual stage so not too fps on CPU limited
Here #77 they talk about Opengl is 3.2 and Vulkan and extensions of Opengl 4.x but it is from 2019.
Surely in the future it will be great considered when the base of the emulator core is more advanced.

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

No branches or pull requests

3 participants