Open seanshpark opened 7 months ago
1/ Set refresh rate to 20
20
and rebuild2/ Current option that seems to run, with mouse movement in Imgui
./sa2 \
--sdl-driver 1 \
--geometry 640x480 \
--no-audio \
--fixed-speed
no-audio
Settings
Speed
is 10 (1 MHz)Full speed
will make worseActual
is about 569,500HzSpeed
to won't do good, delay(?) gets worsewith --timer
option
Actual
gives about 835,000Refresh to default 60Hz
Actual
about 445,000to 30Hz
Actual
about 623,000Run with --benchmark
option with some changes
regs.pc: 366
Pure Video FPS: 20
Pure CPU MHz: 0.6 (video update)
Pure CPU MHz: 11.9 (full-speed)
EXPECTED AVERAGE VIDEO GAME
PERFORMANCE: 11 FPS
add_compile_options(-march=armv6+vfpv2 -mfloat-abi=hard)
-->
regs.pc: 314
Pure Video FPS: 19
Pure CPU MHz: 0.7 (video update)
Pure CPU MHz: 12.0 (full-speed)
EXPECTED AVERAGE VIDEO GAME
PERFORMANCE: 12 FPS
but not much difference
Benchmark with --no-imgui
regs.pc: 30a
Pure Video FPS: 36
Pure CPU MHz: 1.1 (video update)
Pure CPU MHz: 21.9 (full-speed)
EXPECTED AVERAGE VIDEO GAME
PERFORMANCE: 23 FPS
Use OpenGL
./sa2 \
--sdl-driver 0 --geometry 640x400 \
--fixed-speed --aspect-ratio --no-audio --timer --no-imgui \
--benchmark
regs.pc: 30a
Pure Video FPS: 25
Pure CPU MHz: 1.2 (video update)
Pure CPU MHz: 21.9 (full-speed)
EXPECTED AVERAGE VIDEO GAME
PERFORMANCE: 18 FPS
Use OpenGLES2
./sa2 \
--sdl-driver 1 --geometry 640x400 \
--fixed-speed --aspect-ratio --no-audio --timer --no-imgui \
--benchmark
regs.pc: 314
Pure Video FPS: 35
Pure CPU MHz: 1.2 (video update)
Pure CPU MHz: 21.6 (full-speed)
EXPECTED AVERAGE VIDEO GAME
PERFORMANCE: 23 FPS
Build
It's tooooo slow running in Raspberry Pi 1 (running in 900MHz)
To find a way to run at least with some response.
As of now
sa2_load.sh
sa2_run.sh
with refresh rate 24Hz