[Question] Raspberry Pi Zer 2w Support
Hi,
- Operating System: Raspberry Pi OS (64 bit) Debian 12 Bookworm
- Raspberry Pi model: Raspberry Pi Zero 2 W Rev 1.0
- Q3lite version: 1.1 (commit number: cbb7cc1)
- This is a fresh Raspberry Pi OS install or not: Yes (it is a fresh install)
- Any major software changes or additions to the OS: N/A
I've been testing this awesome project in a Raspberry Pi Zero 2w but I faced with some inconvenient:
-
This conditional cant resolve my raspberry pi model. Maybe we can improve this logic. The output of
/proc/cpuinfois:processor : 0 BogoMIPS : 38.40 Features : fp asimd evtstrm crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4 processor : 1 BogoMIPS : 38.40 Features : fp asimd evtstrm crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4 processor : 2 BogoMIPS : 38.40 Features : fp asimd evtstrm crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4 processor : 3 BogoMIPS : 38.40 Features : fp asimd evtstrm crc32 cpuid CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x0 CPU part : 0xd03 CPU revision : 4 Revision : 902120 Serial : 000000004e5b6cee Model : Raspberry Pi Zero 2 W Rev 1.0 - When the script try to compile Q3lite next error appears:
Forcing me to remove the following line. Maybe the value must becc: error: unrecognized command-line option '-mfpu=vfp' cc: error: unrecognized command-line option '-mfloat-abi=hard'Linuxas is. How we can improve this? - When I run Q3lite the following error appear:
Where do I get this file?juan@rpi:~ $ sudo q3lite xinput_id=8 7 6 9 WARNING: running xinput against an Xwayland server. See the xinput man page for details. xinput disabled keyboard ID=8 WARNING: running xinput against an Xwayland server. See the xinput man page for details. xinput disabled keyboard ID=7 WARNING: running xinput against an Xwayland server. See the xinput man page for details. xinput disabled keyboard ID=6 WARNING: running xinput against an Xwayland server. See the xinput man page for details. xinput disabled keyboard ID=9 Unable to find /usr/local/games/quake3/quake3.arm binary, exiting...
Hello,
This is an older project that requires Legacy Debian Buster to function correctly. A user was able to get the code running on a Zero 2W here: https://github.com/cdev-tux/q3lite/issues/21 You'll need to modify the make-raspberrypi.sh file and replace the revision code in double quotes with his line of code around line 257. You'll also need SDL2 at least version 2.0.9 and possibly up to 2.0.14. The binary file is missing because the compile didn't complete, so it wasn't copied to the /usr/local/games/quake3 directory. I hope that helps. Thanks
Also, it needs to be 32-bit Debian Buster based OS.
Hi @cdev-tux ok, no problem. What would be the new project? ioquake?
The ioquake3 project and the quake3e project are both great projects, but they may or may not provide a playable framerate on the Zero 2 W. Another option that you have is to install 32-bit legacy Buster on a separate SD card and compile/install Q3lite on that. Even with Q3lite the framerate on a Zero 2 W will be on the edge of playability depending on the map and number of players.
@cdev-tux good, let me try that and I'll back to you soon