-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Improve JIT compatibility #4
Comments
@amyren1966 Normally it's TomB who's doing the JIT and low-level work, so if we can have a scenario to recreate the problem, I can open an issue with him afterwards. ;) |
@amyren1966 I'm assuming you're referring to this RunAway game? http://os4.aminet.net/package/game/wb/Runaway_OS3 I could run it normally in my installation, what kind of unexpected behavior did you notice? |
If JIT is on, the searchlight will stop moving after a while, and stay on just beside the position next to the barell. I guess that the sprite hangs at this position, while the real position is towards the barell. The player can now pass the light without being detected. Also the two guards will stop moving at certain positions. That is, they do move, but the sprites freezes at certain points for a while. One of my other Hollywood game, donkey kong does work normally, and also one other Hollywood app I did try. |
@amyren1966
Can you confirm the same with the other Hollywood apps you've tested with? |
I've opened an issue at Tom's repo about this: PandTomB/uae4arm#7 |
I confirm that non-FPU version of RNOPdf starts up when JIT enabled. FPU version will fail with JIT. But my Runaway game is not compiled as a FPU version, and it will not work properly when JIT is enabled. The easiest way to spot this is by launching it, and wait. The searchligt will start moving, from the right side to the left, and then turn back. It will then stop before reaching the right side. Also I did test my other game, Donkey Kong (also an LCD conversion). This does not use FPU either. By the way. This is on OS3.9, 68030 / AGA chipset, but running on a P96 screen. I also tried testing it with 68020, same thing. |
Thanks! I also noticed that disabling JIT FPU doesn't make a difference, so the problem is somewhere in the main JIT code, not the FPU specific part. Let's give Tom some time to look into this. |
I don‘t know if it‘s the same issue, but playing Jim Power gives me sprites on wrong positions and faulty collisions. Playing without JIT seems to be correct but hell slow and sound stuttering. |
@andiweli |
- wget would fail when downloading a file, if JIT was enabled - Possible other use cases fixed as well, needs testing
Fixed with e0cd52c |
I notice this issue have been closed. But I still encounter the same issues with JIT enabled. |
What kind of issues do you encounter? |
@amyren1966 |
I am not sure what you refer to by "original mentioned here was fixed"? |
I was referring to the RNOpdf tool which was originally reported having the problem. |
I am on OS3.9 also. RNOpdf comes in two editions for OS3, one compiled for FPU and one plain 68k. It is only the FPU version that crashes. I tested with version 1.3 from aminet.net. This is the same version that was available when I wrote the first post. |
I tested the FPU version (and it worked), but I'll run another test on a different OS installation also, to check if it behaves differently. |
I notice that your post "Fixed with e0cd52c" refers to AARCH64 |
Ah, perhaps that was it. |
I can confirm this is happening under 32-bit JIT at least. Interesting fact: RNOpdf requires the |
Tested it again on 64-bit JIT also:
So this seems to be specifically happening on 3.1.4, from what I can tell. Not sure why, at this point. |
Under 3.1.4, it also throws a software failure for me even without JIT, so this part is not related to JIT. |
Reported to TomB: PandTomB/uae4arm#11 |
codesets.library is a requirement for all Hollywood programs. |
What 64 bit Os distro are you using for Rpi4? |
Thanks. Are there any benfits with 64 bit over 32 bit, apart from the JIT fix for 64 bit. My Rpi4 is the 4GB version. |
@amyren1966 |
Testing Manjaro (KDE Plasma) now. |
That's because you tried compiling the 32-bit target. Try with PLATFORM=pi64 |
Yes that was it. I was using the dispmanx instructions. I can now confirm RNOPdf FPU version is working. Unfortunately the Hollywood games have the same issues as earlier on 64 bit as well. I found a minor issue with the beta version, when setting fullscreen to yes in amiberry.conf it will still start up in windowed mode. When launching a uae config that is set to fullscreen, the GUI will show in fullscreen (800x600) when pressing F12. |
In case anyone else have the issue that the taskbar is covering the buttons in the amiberry GUI when in fullscreen. I just found a workaround by setting the KDE taskbar to Autohide and the problem is solved. |
I have the similar issue with hollywood. I made Amilion a very basic program for Amikit XE, that adds a few Rabbit hole features, it complains about "p_runevlist", but when I run in WinUAE the bug never happens. plus it fine when JIT is turned off, but then it runs really slowly. |
JIT seem to break compatibility also for system friendly applications.
I notice this specially for programs made with Hollywood. RNOpdf is one example, as the script will fail (stack overflow) if launched when JIT is enabled.
Also games made with Hollywood does fail, or act strange if JIT is on. This is the case for one of my own games, Runaway.
They run fine when JIT is off, but quite slow.
For comparisation, these apps and games does run fine on WinUAE with JIT.
So the feature request is as described in the title.
The text was updated successfully, but these errors were encountered: