
GZDOOM running on the Raspberry Pi 4 computer with the DOOM SIGIL WAD.
After years of research, I have finally compiled GZDoom on the Raspberry Pi 4 computer. If you are familiar with the LZDoom DOOM Engine source port, GZDoom is a more updated version of the same source port. The GZDoom source port targets 64 bit operating systems with OpenGL 3.3, and Vulkan graphics renderers. These are features you will not be able to use on the Raspberry Pi computer, but at least GZDoom runs on the Raspberry Pi computer. The question is how compatible will the GZDoom source port be with the Raspberry Pi 4 computer, and will GZDoom actually replace LZDoom? Sit back, and relax, because you are about to find out.
Prepare for the disappointing news about GZDoom, because the OpenGL renderer performance on the Raspberry Pi 4 computer is at a completely low level. I would say the frame rate will be about 10 frames per second on average at 1920 X 1080 resolution. The graphics performance improves substantially at lower screen resolutions, and most graphic settings are disabled with the OpenGL ES renderer. GZDoom requires a graphics card that supports OpenGL 3.3 to activate all graphics options.
I was planning to release this build guide before the Raspberry Pi Operating System Debian Bookworm update then build more 64 bit software, but hardware limitations will be a problem. New operating system version releases opens the door to more open source software projects, but you will need the computer hardware to run the software. I have been using 32 bit software for a very long time, and recently moved to 64 bit software after installing the SparkyLinux 7 Debian Bookworm operating system release. I was going to do the same with the Raspberry Pi Operating System, but the Raspberry Operating System is still on Debian Bullseye.
Here is a link to the SparkyLinux website:
SparkyLinux
https://sparkylinux.org/
Even though the plans are not going as planned, but I have to admit the Raspberry Pi Operating System feels smoother with the 64 bit version compared to the 32 bit version. When the Debian Bookworm update for the Raspberry Pi Operating System is released, I will check to see what has changed in the software line up. A little known fact, not all software makes the cut to the next operating system release. This actually potentially slows me down, because there were programs that would compile on my computer, and the next version of the operating system gets released breaks software compatibility. Now the program will crash, and burn every time I compile the program.
This happens when a software developer releases software in .appimages, or self building archives. You have no idea what is being installed on your computer, and you are probably installing very old software libraries on your computer with these self building software packages. This is important to know, because we all cannot assume a program will be around all the time, and I should check on the software developers to see if they are still actively developing software. If a program loses developers the software will end up in the garbage bin until a new developer continues developing the software.
Before compiling any software, disable any overclock parameters on your computer.
Free image hosting provided by the ImgBB website.
Upload and share your images.
ImgBB website:
https://imgbb.com/
Here is a link to the GZDoom website:
ZDOOM
https://zdoom.org/index
Here is a link to the GZDoom GitHub website:
GitHub - ZDoom/gzdoom: GZDoom is a feature centric port for all Doom engine games, based on ZDoom, adding an OpenGL renderer and powerful scripting capabilities
https://github.com/ZDoom/gzdoom
Download these software libraries using the command in the terminal:
Code: Select all
sudo apt install git cmake zlib1g-dev libasound2-dev libbz2-dev libjpeg-dev libvpx-dev libpkgconf-dev libgtk-3-dev libsdl2-dev
Code: Select all
git clone https://github.com/ZDoom/gzdoom.git
Code: Select all
git clone https://github.com/ZDoom/ZMusic.git
Code: Select all
cd ZMusic
Code: Select all
mkdir build
Code: Select all
cd build
Code: Select all
cmake -DCMAKE_BUILD_TYPE=Release ..
Code: Select all
make -j4
Code: Select all
sudo make install
Code: Select all
cd
Code: Select all
cd gzdoom
Code: Select all
mkdir build
Code: Select all
cd build
Code: Select all
cmake -DCMAKE_BUILD_TYPE=Release ..
Code: Select all
make -j4
After placing a copy of DOOM.WAD in the gzdoom/build directory, execute the GZDoom binary using the command in the terminal:
Code: Select all
cd gzdoom/build
Code: Select all
./gzdoom
To start GZDoom, launch GZDoom with OpenGL ES Video settings. The Extra graphics Lights, Brightmaps, and Widescreen graphics are completely optional. For better performance, use the software renderer, and if you are using the OpenGL renderer, lowering the screen resolution will improve performance. OpenGL renderer is very slow at 1920 X 1080 resolution, and no OpenGL 3.3 support on the Raspberry Pi 4 computer means several graphic settings will be unusable.
Use the command in the terminal to access the GZDoom configuration file:
Code: Select all
mousepad .config/gzdoom/gzdoom.ini
I recommend using LZDoom for DOOM gameplay mods for better performance, and compatibility. Not all GZDoom DOOM mods will be compatible with LZDoom, but LZDoom will be able to load the DOOM mods. I have tested the Brutal DOOM Community Expansion mod v21.14.0, and Brutal Wolfenstein v7.0 mod, both DOOM mods will cause GZDoom to freeze on the Raspberry Pi computer. The last version of LZDoom released is version 3.88b. Here is a link to the LZDoom build guide for the Raspberry Pi computer:
Brutal Wolfenstein 3D and GZDoom 3.82 Legacy Doom Engine Source port Linux - Raspberry Pi Forums
viewtopic.php?p=1527621&hilit=lzdoom#p1527621
Actually, I should release a new LZDoom build guide for people who still use LZDoom.
If you are searching for a DOOM Engine source port for mouselook support on the Raspberry Pi computer, I recommend PrBoom-Plus for mouselook support with OpenGL renderer, and better performance. For the classic DOOM experience, use Crispy-Doom. These programs will compile on the 64 bit Raspberry Pi Operating System:
Crispy-Doom - Enhanced DOOM Engine Source Port Build Guide and Personal Updates - Raspberry Pi Forums
viewtopic.php?p=2080054&hilit=prboom#p2080054
PrBoom-Plus 2.5.1.7um - Doom Engine Source Port on the Raspberry Pi Zero - Raspberry Pi Forums
/viewtopic.php?f=78&t=265863&p=1615791& ... m#p1615791
The PrBoom-Plus 2.5.1.7um - Doom Engine Source Port on the Raspberry Pi Zero build guide I wrote is completely obsolete. The last version of PrBoom-Plus released is version 2.6.66. I should write a new build guide for PrBoom-Plus for the people who still use PrBoom-Plus.
Thanks to everyone for stopping in, and reading the GZDoom DOOM Engine Source Port on the Raspberry Pi 4 Computer build guide. I will see everyone after the release of the next build guide on the Raspberry Pi Forums.