Page 1 of 1

Raspberry Pi port

Posted: Thu Dec 20, 2012 4:30 am
by TheMagicCookie
Is it at all possible to port BZFlag to the Raspberry Pi? Raspberry Pi is tiny computer with an ARM11 (ARM V6) CPU, 700MHz, 512MB of RAM, can run a variety of operating systems, mainly Debian Linux, Arch Linux, and RISC OS. It does have OpenGL ES

Any chance of getting BZFlag to run on this?

Re: Raspberry Pi port

Posted: Thu Dec 20, 2012 7:18 am
by JeffM
anything is possible if someone wants to put the work into it

Re: Raspberry Pi port

Posted: Thu Dec 20, 2012 2:03 pm
by blast
It would take a considerable amount of work to port BZFlag to OpenGL ES. Pretty much require rewriting all the graphics code. The 512MB RAM is only in the newer revision of the model B. My model B only has 256MB, and all the model A's will have 256MB as well. Additionally, the CPU in the Pi is equivalent to something like a Pentium II, and if BZFlag is CPU-bound, that may have a big effect on how well the game will run. Overclocking the CPU to 1GHz with the latest firmware roughly double the performance, though.

Re: Raspberry Pi port

Posted: Thu Dec 20, 2012 7:00 pm
by TheMagicCookie
Well, my Pi has 512MB, I just got it a couple of weeks ago. Maybe ill put some work into it in the future. I just wanted to ask if it was at all possible before I spend weeks doing a rewrite! Thank you for your responses.

Re: Raspberry Pi port

Posted: Fri Sep 15, 2017 6:41 pm
by tadd
This is very interesting, especially with the iterations of Raspberry PI that have come through.

Re: Raspberry Pi port

Posted: Fri Sep 15, 2017 9:46 pm
by blast
It already runs on the Pi, unmodified, if you enable the experimental OpenGL driver. I've run it this way on the Pi 3 with the official Pi display (so, lower resolution of 800x480) at a reasonable framerate. There's also an OpenGL ES fork that exists now.

Re: Raspberry Pi port

Posted: Sun Oct 08, 2017 5:15 am
by click click boom
What kind of FPS on the pi?

Re: Raspberry Pi port

Posted: Sun Oct 08, 2017 11:56 am
by Zehra
Constitution wrote:
Mon Mar 14, 2016 6:45 am
The Raspberry Pi is probably the platform with the best support for this project right now. On my RaspBerry Pi 2 Model B, on an average map I would get somewhere between 30 and 45 FPS at 640x480, and closer to 30 FPS at higher resolutions. When the resolution gets too high, however, the framerate can drop significantly. Otherwise, the embedded client generally runs on the Raspberry Pi just like the standard client does on desktop computers.

Here's the main thread on the BZFlag Embedded Port. (And also where the quote originally came from.)

-Zehra

Re: Raspberry Pi port

Posted: Mon Oct 09, 2017 10:51 am
by blast
I was not running the embedded port. I was running the normal full OpenGL version of the game. I was getting about 30FPS on the Tuxee map running at 800x480 resolution on a Pi3.