Open RSDNTWK opened 3 years ago
This is quite a big thing
The only Pi with great performance Pi 4.
Compiling for the older Raspberry Pi's do work however there are massive performance issues.
I think pi4 might work at like 10-20 fps with the right optimisations.
Probably more if overclocked.
I dont think it supports Pi 4 processor
Probably more if overclocked.
It can go up to 2.16 Ghz
The hardware limit is 2.5, I've overclocked all the way to 2.35
Nice Is GNOME still under 10 fps
Pixel or xfce doesn't lag as much.
I mean currently, using the RPI3 preset to build something on RPi4 works quite well too. I tried building the sample BunnyMark demo with lime, and even building with the rpi flag meant for pi 3 on a pi 4, it can render 3490 bunnies bouncing around at a decent 32 FPS.
Sadly when we tried to compile anything on the pi4 the program just crashes trying to start. This was due to it trying to initialise the vc4 not kmsdrm.
Sadly when we tried to compile anything on the pi4 the program just crashes trying to start. This was due to it trying to initialise the vc4 not kmsdrm.
For me, all the sample lime games run fine but Friday Night Funkin had a compile error. I was using @gepatto's lime fork which should have the SDL/kmsdrm stuff in it, but it still didn't fix the compile issue.
We were able to get fnf by using the git version of hxcpp to compile the ndll file for rpi. It just refused to start on pi4 but worked on pi3 just fine but was slow.
I don't think these are hxcpp issues. I am using hxcpp 4.2.1 from haxelib on my Pi4, not a git version. mesa drm is not part of haxe or hxcpp, It's used in SDL.
As @mobilegmYT says you can try my experimental lime fork which uses a dev-branch-fork of SDL. You'll need the proper dependencies to get things running on a Pi4. But you will have to optimize a more complex application for the Pi
And I only tested this on a regular RaspberryPi OS ( not 64bit or other linux distros )
I'm talking about lime build rpi
on a regular machine. Result not work on Pi 4
I don't think these are hxcpp issues. I am using hxcpp 4.2.1 from haxelib on my Pi4, not a git version. mesa drm is not part of haxe or hxcpp, It's used in SDL.
As @mobilegmYT says you can try my experimental lime fork which uses a dev-branch-fork of SDL. You'll need the proper dependencies to get things running on a Pi4. But you will have to optimize a more complex application for the Pi
And I only tested this on a regular RaspberryPi OS ( not 64bit or other linux distros )
What depends? I got all the apt depends on the lime gh page except for multilib since their not in apt. Maybe you could try building a armhf Friday Night Funkin build? That would be awesome.
I'm talking about
lime build rpi
on a regular machine. Result not work on Pi 4
That's right, you would need to setup cross compiling tools on win/linux/mac to be able to compile raspberry pi. I never tried that but I know it's possible.
I compile everything on the pi itself .
What depends? I got all the apt depends on the lime gh page except for multilib since their not in apt. Maybe you could try building a armhf Friday Night Funkin build? That would be awesome.
I meant mesa dependencies.
To everyone here:
I don't mean to be blunt but I don't think the hxcpp issue tracker is the place to discuss this (and fnf) further but you can find me on the haxe and/or openfl discord server where I can give more details on pi4 support
The Raspberry Pi compiler strings are not compatible with RPI4 since it uses mesa drm not VC4 and also doesn't work with arm64.