English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   support.OtherUAE (https://eab.abime.net/forumdisplay.php?f=54)
-   -   Uae4arm (arm jit) (https://eab.abime.net/showthread.php?t=78037)

lubomyr 03 May 2015 14:05

Uae4arm (arm jit)
 
TomB released first alpha version UAE with ARM JIT engine

more info
http://boards.openpandora.org/topic/...alpha-uae4arm/

sources included

stainy 03 May 2015 15:22

This is fantastic.. trying it now! I prefer the gui already ;)

lubomyr 03 May 2015 20:18

comparison for jit and non-jit mode with android port of uae4arm (device thl w200, 4x cortex a7 1.5ghz)

screenshots
https://dl.dropboxusercontent.com/u/...it-sysinfo.png
https://dl.dropboxusercontent.com/u/...it-sysinfo.png

https://dl.dropboxusercontent.com/u/...t-aibb-cpu.png
https://dl.dropboxusercontent.com/u/...t-aibb-cpu.png

https://dl.dropboxusercontent.com/u/...writepixel.png
https://dl.dropboxusercontent.com/u/...weitepixel.png

Sysinfo (Dhystones)
nojit - 12104
jit - 90153

AIBB (CPU)
nojit - 12.51
jit - 44.02

AIBB (WritePixel)
nojit - 7.75
jit - 47.27

stainy 03 May 2015 20:47

wow

pete_uk 03 May 2015 20:57

that is impressive :)

Chips 04 May 2015 11:29

Quote:

Originally Posted by lubomyr (Post 1017949)
comparison for jit and non-jit mode with android port of uae4arm (device thl w200, 4x cortex a7 1.5ghz)

screenshots
https://dl.dropboxusercontent.com/u/...it-sysinfo.png
https://dl.dropboxusercontent.com/u/...it-sysinfo.png

https://dl.dropboxusercontent.com/u/...t-aibb-cpu.png
https://dl.dropboxusercontent.com/u/...t-aibb-cpu.png

https://dl.dropboxusercontent.com/u/...writepixel.png
https://dl.dropboxusercontent.com/u/...weitepixel.png

Sysinfo (Dhystones)
nojit - 12104
jit - 90153

AIBB (CPU)
nojit - 12.51
jit - 44.02

AIBB (WritePixel)
nojit - 7.75
jit - 47.27

According to TomB:

"We lost some performance, because the newcpu core is a bit slower than FAME/C"

Did you make some benchmark between UAE4ALL with Fame and this version with JIT ? The TomB sentence is unclear...
I could look at what would be the gain on Raspberry Pi 2 anyway...

lubomyr 04 May 2015 16:33

Sysinfo (Dhystones)
nojit - 12104
jit - 90153
famec(115mhz) - 26997

AIBB (CPU)
nojit - 12.51
jit - 44.02
famec(115mhz) - 14.75

AIBB (WritePixel)
nojit - 7.75
jit - 47.27
famec(115Mhz) - 25.08

But all this results are very relative
famec in current state not support calculating real speed (for example results in benchmark will be same for slow and fast devices)

In real games&demos, for example i tested with game Breathless AGA
performance newcpu jit and famec (56Mhz) are very similar for my device

rhester72 05 May 2015 00:49

Does the new (slower) core improve things like Cinemaware Wings (wildly fast or slow, depending on the mission type) or the ending credits of the Alcatraz Odyssey demo (repeated characters)?

Rodney

lubomyr 05 May 2015 14:27

Odyssey demo - looped at one scene without any continue. I saw same problem on E-UAE with it.

lubomyr 05 May 2015 17:00

Multiplatform source (added sdl based sound.cpp)
https://dl.dropboxusercontent.com/u/...5052015.tar.gz

Android test (alpha) version
https://dl.dropboxusercontent.com/u/...t-05052015.apk

known android-related problems:
- gui element is too small, it can be problem for smartphones (will be fixed soon)
- onscreen control UI - not present (will be added soon).
- (update) HDF adding - works (but not stable, adding can works after few attempts) (will be fixed soon)

Higgy 06 May 2015 09:39

Nice work. I hope to try this on my OUYA like UAE4ALL2

trixster 06 May 2015 21:32

I can't get this to make on my rpi2. Any tips?

Chips 06 May 2015 23:40

Quote:

Originally Posted by trixster (Post 1018397)
I can't get this to make on my rpi2. Any tips?

Why are you so angry to test it :laughing
You can try my work-in-progress version:
http://fdarcel.free.fr/uae4arm-rpi-beta.bz2
Sound and double buffering using dispmanX are working. launch it from Xwin, use ctrl to go back to menu. it's not fullscreen since I don't close dispmanX when going back to menu...
But you'll see that speedwise there is not so much improvement...

ransom1122 07 May 2015 01:17

Is there a detailed guide on how to get this on a rpie2? I'm a Linux noob. And a recent purchaser of a raspberry pie 2 and would love to get a decent amiga emulator on it?

trixster 07 May 2015 17:10

Quote:

Originally Posted by Chips (Post 1018415)
Why are you so angry to test it :laughing
You can try my work-in-progress version:
http://fdarcel.free.fr/uae4arm-rpi-beta.bz2
Sound and double buffering using dispmanX are working. launch it from Xwin, use ctrl to go back to menu. it's not fullscreen since I don't close dispmanX when going back to menu...
But you'll see that speedwise there is not so much improvement...

Angry!? :p just keen to try the latest emulation.

In my opinion this is a great improvement. Games like Alien Breed 3D II run much smoother under this implementation - 040 at the faster emulatable speed on an overclocked rpi2. Now, when you can enable full screen it'll be fabulous.

There's a snag with the controls at the moment though - it's not registering button presses on either my ds4 pad, USB competition pro joystick or 9-pin original competition pro joystick.

Thank you for taking the time to upload this, it's appreciated.

endre1952 08 May 2015 16:37

UAE4ARM - HDF file selection works on my JXD S7800B. It does not work on my Samsung Galaxy Ace 4. I was able to transfer the saved config file from the S7800 to the Ace 4 and edit it to reflect the phone's SD card structure. I can use the HDF file this way.

lubomyr 08 May 2015 18:26

Very interesting to see on benchmark speed for different arm devices (as Pandora, PI2, or android devices) for comparison. Maybe someone can test with modern cores as Cortex A15/A17 or with faster cpu ?

Samurai_Crow 08 May 2015 18:34

What graphics drivers are you using for the RasPi2? I've run into a few programs that try to access the graphics core under Raspbian that require OpenGL/Mesa or use the X-Server only to be greeted by unaccelerated framebuffer support. Is there an OpenGL-ES or -ES2 backend for the emulator?

Quote:

Originally Posted by lubomyr (Post 1018733)
Very interesting to see on benchmark speed for different arm devices (as Pandora, PI2, or android devices) for comparison. Maybe someone can test with modern cores as Cortex A15/A17 or with faster cpu ?

I'd rather see the chipset emulation running on another core. Even if it's not much faster we could profile the system to find whether it is the lack of graphics acceleration or poor JIT performance that is the real culprit.

Chips 09 May 2015 11:24

Quote:

Originally Posted by Samurai_Crow (Post 1018735)
What graphics drivers are you using for the RasPi2? I've run into a few programs that try to access the graphics core under Raspbian that require OpenGL/Mesa or use the X-Server only to be greeted by unaccelerated framebuffer support. Is there an OpenGL-ES or -ES2 backend for the emulator?

It use dispmanX, which is a low level 2D rendering engine proprietary to broadcom chip. it should be faster than gles.

SKOLMAN_MWS 09 May 2015 17:30

Quote:

Originally Posted by lubomyr (Post 1017949)
comparison for jit and non-jit mode with android port of uae4arm (device thl w200, 4x cortex a7 1.5ghz)

screenshots
https://dl.dropboxusercontent.com/u/...it-sysinfo.png
https://dl.dropboxusercontent.com/u/...it-sysinfo.png

Sysinfo (Dhystones)
nojit - 12104
jit - 90153

SysInfo on MorphOS A1200 PowerPC 603e 240MHz

SysInfo 3.24 (nojit)
http://www.ppa.pl/graffiti/obrazek/3...a-m68k-bez-jit
SysInfo 4.0 (nojit)
http://www.ppa.pl/graffiti/obrazek/3...a-m68k-bez-jit

with JIT emulation 10 x speed up.


Test emulation 68k with JIT on PPC 603e 240MHz (MorphOS)

lame_060 -q 9 st60:test.aiff ram:test.mp3
LAME 3.97 (beta 1, Oct 19 2005) 32bits (http://www.mp3dev.org/)
Using polyphase lowpass filter, transition band: 16537 Hz - 17071 Hz
Encoding st60:test.aiff to ram:test.mp3
Encoding as 44.1 kHz 128 kbps j-stereo MPEG-1 Layer III (11x) qval=9
Frame | CPU time/estim | REAL time/estim | play/CPU | ETA
2199/2199 (100%)| 1:01/ 1:01| 1:01/ 1:01| 0.9374x| 0:00
-------------------------------------------------------------------------------


Test on nativ 68060 66MHz (AmigaOS 3.9)

lame_060 -q 9 test.aiff ram:test.mp3
LAME 3.97 (beta 1, Oct 19 2005) 32bits (http://www.mp3dev.org/)
Using polyphase lowpass filter, transition band: 16537 Hz - 17071 Hz
Encoding test.aiff to ram:test.mp3
Encoding as 44.1 kHz 128 kbps j-stereo MPEG-1 Layer III (11x) qval=9
Frame | CPU time/estim | REAL time/estim | play/CPU | ETA
2199/2199 (100%)| 1:28/ 1:28| 1:29/ 1:29| 0.6511x| 0:00
-------------------------------------------------------------------------------


Test on nativ PPC 603e 240MHz (MorphOS 1.4.5)

lame_WOS -q 9 st60:test.aiff ram:test.mp3
LAME 3.97 (beta 1, Oct 19 2005) 32bits (http://www.mp3dev.org/)
Using polyphase lowpass filter, transition band: 16538 Hz - 17071 Hz
Encoding st60:test.aiff to ram:test.mp3
Encoding as 44.1 kHz 128 kbps j-stereo MPEG-1 Layer III (11x) qval=9
Frame | CPU time/estim | REAL time/estim | play/CPU | ETA
2199/2199 (100%)| 0:28/ 0:28| 0:28/ 0:28| 2.0515x| 0:00
-------------------------------------------------------------------------------


All times are GMT +2. The time now is 19:50.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.13421 seconds with 11 queries