Cyber GPU Stress Test is a compact visual stress testing utility designed for devices like Anbernic RG35XX Plus running Knulli Custom Firmware.
This tool renders hundreds of animated boxes bouncing on the screen to measure rendering performance and observe FPS behavior under heavy graphical load.
- Realtime FPS display as a visual bar
- randomized objects with color and motion
- micro UI lib
- 2 modes (Basic stress test, relax mode ... +2 more in future)
- Fullscreen rendering for performance testing
- Monitor values: FPS, CPU/GPU/DDR temperature
- mini rect benchmark as RECT
- Rust 1.76 or newer
- SDL2 and SDL2_ttf libraries
- Font path (customizable):
/usr/share/fonts/dejavu/DejaVuSans-Bold.ttf
cargo run --release
To cross-compile for Anbernic (aarch64):
make build
make deploy
make docker
after make run docker
# cpu-stess-test project builder:
docker run -it -v "$PWD":/cyber-gpu-test cyberfps-debug
build only in docker:
make build
Then deploy (you can deploy without docker, as option use ssh or smb):
make deploy
Create Script cyber-gpu-test.sh
and put in anbernic dir roms/tools/
#!/bin/sh
rm -f /tmp/cyb83rdo6/cyber-gpu-test
mkdir -p /tmp/cyb83rdo6/
if [ -f /userdata/bin/cyber-gpu-test ]; then
cp /userdata/bin/cyber-gpu-test /tmp/cyb83rdo6/
chmod +x /tmp/cyb83rdo6/cyber-gpu-test
/tmp/cyb83rdo6/cyber-gpu-test
else
echo "ERROR: cyber-gpu-test not found!"
fi
src/main.rs
— main stress tests implementationsrc/stress/*
— files for custom stress testssrc/ui/*
— self-made mini UI (menu, label, rgba background) lib (for next light projects)src/ui/colors.rs
— all colors projects store heresrc/ui/menu.rs
— all enums for menu items store here
roms/tools/
— launcher script on devicecyber-gpu-test.sh
roms/tools/images
— putcyber-gpu-test.png
in folderuserdata/bin/
— where binaries are placedimages/
— optional assets (logo, screenshots)
- Anbernic RG35XX Plus
- Knulli CFW v0.3+
- SDL2 framebuffer (no X11)
.cargo/config.toml
changebuild
andtarget
as option- current architecture (aarch64):
"aarch64-unknown-linux-gnu"
- current (on docker) linker:
/usr/bin/aarch64-linux-gnu-gcc