rk322x-box Armbian build report/collab
-
Interesting. Got xpad going, I think. The module builds and installs anyhow. Close enough. Ship it. Amirite? Haha.
linux-headers-6.1.30-rk322x
was what Retropie wanted to install,linux-headers-current-rk322x
was the correct package. Armbian splits kernels into current and edge variants, without version numbering. Following patch alters helpers.sh to make Retropie look for the correct kernel.index d57f5d5..766d30f 100644 --- a/scriptmodules/helpers.sh +++ b/scriptmodules/helpers.sh @@ -249,6 +249,8 @@ function _mapPackage() { LINUX-HEADERS) if isPlatform "rpi"; then pkg="raspberrypi-kernel-headers" + elif [[ $__platform == rk3229 ]] ; then + pkg="linux-headers-current-rk322x" elif [[ -z "$__os_ubuntu_ver" ]]; then pkg="linux-headers-$(uname -r)" else
I think you're right on the vulkan part. Tried gles2 for my first flagset but I had trouble with the gles2 package. kms+vulkan produced something that worked, which surprised me. I reported here shortly thereafter.
I appreciate the remote control and Kodi nudges, but I never got a remote with it, and Kodi isn't interesting to me. If I was going to use this box for Kodi, I'd reflash to Android.
I'll play around with your flag suggestions and games and document some more later. Thanks again for the ideas.
-
@baryon said in rk322x-box Armbian build report/collab:
linux-headers-6.1.30-rk322x was what Retropie wanted to install, linux-headers-current-rk322x was the correct package. Armbian splits kernels into current and edge variants, without version numbering. Following patch alters helpers.sh to make Retropie look for the correct kernel.
Yeah, I have a patch to add Armbian support in RetroPie-Setup and installing the correct
.deb
package for the Linux kernel headers is a part of it. It's based on the method used byarmbian-config
to install the kernel headers (there's a menu option in the utility). I haven't submitted it yet, but I'll re-check and submit it soon. -
After playing around with the flycast package, I've given up and filed a bug with upstream, which also suffers from what looks like the same problem: https://github.com/flyinghead/flycast/issues/1148
Doesn't seem to want to work, even though looking at the lr-flycast Makefile, it ought to run on hardware substantially less powerful. lr-flycast builds with
platform=classic_armv7_a7
and then hits what I reckon is the similar invalid instruction error. Other platforms produce weird linker problems, including mimicking the RK3288 build, which seemed the most natural fit.@mitu, is there any chance you have your Armbian code on a public-facing git somewhere? Curious how it looks; happy to test and see how it runs for me.
-
@baryon said in rk322x-box Armbian build report/collab:
@mitu, is there any chance you have your Armbian code on a public-facing git somewhere? Curious how it looks; happy to test and see how it runs for me.
There's not much there, but I have to recover it first since my Armbian system doesn't boot now due to .. experiments.
-
@baryon Hello! I know this reply is a bit late on my part, but I would like to give you my feedback regarding my experience with my RK3229 TV box.
I managed to install RetroPie using the instructions from this forum and with an 8 GB USB drive, after previously installing Armbian "Armbian_community_24.5.0-trunk.563_Rk322x-box_bookworm_current_6.6.30_minimal". The entire compilation process took me about 15 hours.
Over the next few days, I will test the performance with 8-16 bit games, as well as PSX games (especially those that are more demanding in video graphics, like Tekken 3 or Raystorm).
My big concern is that I don't have Bluetooth, and I've tried several ways to fix this but seems like don't know how to make it work. Can you help me?
-
@kokokool said in rk322x-box Armbian build report/collab:
My big concern is that I don't have Bluetooth, and I've tried several ways to fix this but seems like don't know how to make it work. Can you help me?
Get an USB Bluetooth dongle.
-
@mitu yes, that would be the fast way. But the board has an internal bt.
Anyway, I'll test the games this weekend as I mentioned previously. -
@kokokool said in rk322x-box Armbian build report/collab:
@mitu yes, that would be the fast way. But the board has an internal bt.
Unless the OS provides BT support, there's nothing RetroPie has to offer. Armbian doesn't offer much support fot TV boxes, but they have a forum dedicated to it - you may want to ask there for help regarding OS/Linux support.
-
@mitu You're right. The main focus of my post is gaming experience over rk3229 tv box with retropie.
-
@kokokool As I mentioned before, I have the following test report
Peripherals and Bluetooth devices (Using a BT dongle)
- 2.4 Ghz Gamepad = Zero input lag detected.
- BT Earbuds = Had to pair it via ssh, instead of BT GUI, as well as I had to install pulse audio bluetooth. However, since my dongle es BT 2.1 I sense a bit of audio delay, but no audio crackling or popping. I'll test Wiimote pairing (it takes a bit of coding before) if theres a lag to report.
- Video = I'm using HDMI output on a DELL LED 1080p at 50 hz. No signs of signal delay.
- Games/systems Tested
- 8 bit consoles = full speed, no sound glitches
- 16 bit consoles = full speed, no sound glitches (perhaps, I might test games such as DKC or Super Mario RPG to check max performance.
- Arcade systems ( MAME 2003 romset, FBA)= runs 100% accurate (KOF 2003, SF. Today I'll connect a spinner or a analog dice to test mapping in racing games such as pole position, etc.
- PORTS = Quake3 Ill runs 100% full speed (including Multiplayer-internet) if you change settings to "fastest" and set resolution at 1024x768. Impressive.
Hexen and Heretic = 100% fullspeed, no flaws
additionally I want to install retropie-Extra script modules in this machine. Wanted to try GMloader and try some apks as droidports.
- 32 bit= Tested heavy GPU PS1 demanding games such as, Tekken 3 or Wipeout. Both run at full speed without glitches. I'll test two more PS1 heavyweight titles to confirm this point
Sega Saturn = tested with lr-yabause. 20-30 fps max.
-
64 bit = this is interesting. I had bit of trouble trying to run Mario Kart 64. somehow my system reports two mupen64plus-glide64 as standalone (not libretro), which one of them worked directly, but with two issues: sprites missing at the beginning of the game (for those who know, the spinning nintengo logo appears completely and very detailed), but the menu whe you choose a car, lap, cc, etc, shows random squares so I had to guess pressing accept until I get to the racing part. the system works but at 20-30 fps.
-
PSP = I had trouble to compile ppsspp (standalone and libretro) on my machine.
-
Dreamcast = I will compile reicast today.
-
Kodi from Retropie-extras runs ok. Haven´t load a avi/mkv file yet
That's all for now
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.