-
-
Notifications
You must be signed in to change notification settings - Fork 234
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
Dynarec gives segfault on gameshell #69
Comments
What is the exact CPU of the gameshell? I see some Cortex-A7, is there NEON and VFPUv3? Not this can be the issue, as this seems way to early. Are you able to run gdb to catch the segfault and print a backtrace (along with the same kind of trace, to understand were it is). |
It's an Allwinner R16/A33 I will try with gdb |
Spec looks nice :) It should be able to play VVVVV easily (I play it, with the dynarec, on the Pandora that have lower specs). |
Here's the gdb output. It doesn't seem very helpful...
Also, spec is nice but plagued with the mali400mp gpu that has only been mainlined a few weeks ago despite his age. Hope to get your port of the serious engine running on it though (textures didn't draw on my last test due to missing features in the driver) |
Mmm, that backtrace doesn't make sense ! Look at frame #1: That's odd. In gdb, you should put a break point at the end of Or maybe break in It's a linux armhf regular build, right? |
Too bad for the mali... Well if it's mainline, got driver will probably come. When box86 work, you'll see thta good driver are also needed frequently, almost everything use OpenGL... |
It's been years since I've last used gdb, don't know if this is helpful :
|
Also yes, this is a standard armhf build, only option I've added is the -DARM_DYNAREC (maybe I should add more, like forcing the mfpu ?) |
Yes, you need to force fpu probably, as well as hard fload-abi. ( Ah yes, I just thought: you need to |
Thanks ! Compiling with these settings, at least it explain why arm_prolog was seemingly never called (at least it didn't trigger the breakpoint). Given the speed of this device (and also I didn't take the time to setup my cross compiling toolchain on this computer yet...) I'll report the results tomorrow. Thank you 😃 |
Yeah, Box86 is getting bigger now with the dynarec (especialy passes 2 and 3)... Hopefully it will work (and it will be fast)! |
It did work ! Getting almost fullspeed on vvvvvv, will try a few other things now. |
Ah good. But not fullspeed on VVVVVV? I would have though it would be fullspeed. |
I guess this ticket can be closed now? |
Yes, it can. Thank you :) |
I've been trying for a few days to get your project running for a few days on the gameshell, and so far have seen some success (I was able to start a few games, including super meat boy and vvvvvv, for example), with limited performance, as expected (minutes long load times, 1 or 2 fps when lucky).
However, the dynarec does not seem to work, as enabling it just segfaults almost immediately.
Build on today's head b4a98f6 with only the
-DARM_DYNAREC=1
optionHere's the log (No trace, will recompile with it if needed) :
Thank you 👍
The text was updated successfully, but these errors were encountered: