OpenArena / engine

OpenArena modifications to the ioquake3 engine
http://openarena.ws
GNU General Public License v2.0
212 stars 50 forks source link

Raspberry Pi2/3 support officially #22

Open sneakernets opened 8 years ago

sneakernets commented 8 years ago

The "Raspberry Pi version" of OA has mysteriously disappeared, the ioquake3 Raspberry Pi build is over 4 years old, and the latest ioquake3 requires compiling your own kernel to build properly on Pi.

The OpenGL wrapper for the Pi 3 is experimental, and while it "works", it's extremely slow (worse than Rage Pro performance easily), and crash-prone. So that's not a good solution either.

Perhaps an no-nonsense Pi port is in order? Tons of deb packages of everyone reinventing the wheel, but no source code.

leilei- commented 8 years ago

I don't have a Pi. maybe you can do it ;)

Just remember that we're using renderer_oa, because that's where all the neat new things are. Renderergl1/gl2 are red herrings

also the OA data will be slow on Pi due to careless surface use and texture switching. OA3 shouldn't be as slow though but that's not out because it's not complete. I occassionally test OA3 on a simulated P166 w/ Voodoo1 and I get into the 25's usually (until a player's onscreen, and that's understandable from the lack of LODs currently), and if the Pi can't get up to that 1996-tier framerate , i'll be quite sad

and I assume the kernel compile needing has to do with SDL2 also. yay

For graphics maybe there's a possibility of using this for the Pi version since it has an ES backend. I'd just have to take this and put my renderer_oa changes into it so we can get a 'modern' unity while I can keep my crazy gl1.x renderer :)

Hiradur commented 7 years ago

OpenArena installed from the Debian repositories worked quite well for me with the experimental OpenGL driver enabled on a RPi2 a few months ago and it's probably only gotten better by now.

Here is my tweaked q3config for RPi2: https://gist.github.com/Hiradur/9c396b54ea4213d0de62 FPS usually ranged from 20-60 as far as I can remember.

IMO OpenArena shouldn't ship an RPi specific build. Instead RPi users should wait until the RPi OpenGL driver is in a better shape which it will eventually be (not that I noticed any issues with OA with it).

leilei- commented 7 years ago

All I can think of is some GLES 2.0 Pi renderer and/or maybe a speed-focused software renderer for those who don't enable the GL driver.

symbios24 commented 6 years ago

Openarena is not working anymore with raspbian stretch by following the known method under:

sudo apt-get install openarena

wget http://www.berryterminal.com/dl/ioquake3_99.1.36-rpi01_armhf.deb

sudo dpkg -i ./ioquake3_99.1.36-rpi01_armhf.deb

its not running at all is there a fix for this?

leilei- commented 6 years ago

Yeah, the fix is using the correct repository that we do support (i.e. this one you're making an issue in) and building from it

Expecting random ioq3 builds to work with OA is just asking for trouble as they don't have our new required features (for the current release and the future release)

symbios24 commented 6 years ago

great fix it help me a lot to do nothing

WiccyShackleton commented 4 years ago

I found that rebuilding the kernel fixed a lot of graphics issues (low FPS etc) on the raspberry pi 4, havent tried on the 2 or 3 though.