We use some essential cookies to make our website work.

We use optional cookies, as detailed in our cookie policy, to remember your settings and understand how you use our website.

cjan
Posts: 1192
Joined: Sun May 06, 2012 12:00 am

Gavinmc42
Posts: 8346
Joined: Wed Aug 28, 2013 3:31 am

Re: GZDoom DOOM Engine Source Port on the Raspberry Pi 4 Computer

Tue Sep 26, 2023 12:52 am

Ha ha, I doubt we will have hardware raytracing on the Pi4, would be cool on a Pi5 ;)

PiCore Linux 14 has been released and vkcube runs real fast on that ;)
If only flwm did dual screens :(
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

cjan
Posts: 1192
Joined: Sun May 06, 2012 12:00 am

Re: GZDoom DOOM Engine Source Port on the Raspberry Pi 4 Computer

Tue Sep 26, 2023 2:51 am

Gavinmc42 wrote:
Tue Sep 26, 2023 12:52 am
Ha ha, I doubt we will have hardware raytracing on the Pi4, would be cool on a Pi5 ;)
Rpi4/v3d supported vulkan-1.2, maybe 1.3 can do this.
or, wait this to come.
https://lists.freedesktop.org/archives/ ... 21345.html

Gavinmc42
Posts: 8346
Joined: Wed Aug 28, 2013 3:31 am

Re: GZDoom DOOM Engine Source Port on the Raspberry Pi 4 Computer

Tue Sep 26, 2023 3:07 am

Been quite some advances in V3DV Vulkan, mostly developed with the help of Intel Tile Engine GPUs :D
Virgl, Zink etc might mean Doom in QEMU on Pi's?

How much more can be off loaded to the 2GHz+ quad Arm8V NEON enabled CPUs?
Unless Pi5 has a super enhanced VideoCore this will help improve Desktop performance for Pi5 gen products.

I did notice some Broadcom chips are Vulkan 1.3 certified, just no idea where they are used or who is using them.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

cjan
Posts: 1192
Joined: Sun May 06, 2012 12:00 am

Re: GZDoom DOOM Engine Source Port on the Raspberry Pi 4 Computer

Tue Sep 26, 2023 3:19 am

Gavinmc42 wrote:
Tue Sep 26, 2023 3:07 am
I did notice some Broadcom chips are Vulkan 1.3 certified, just no idea where they are used or who is using them.
NO, you need notice Vulkan api version, vulkan-info

Code: Select all

Devices:
========
GPU0:
	apiVersion = 1.2.246 <<<---***
	driverVersion = 23.1.8
	vendorID = 0x14e4
	deviceID = 0xbe485fd3
	deviceType = PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU
	deviceName = V3D 4.2
	driverID = DRIVER_ID_MESA_V3DV
	driverName = V3DV Mesa
	driverInfo = Mesa 23.1.8-arch1.1
	conformanceVersion = 1.2.7.1
	deviceUUID = 2ed13185-e77c-e2ea-cfd5-078818d4e3e5
	driverUUID = 8c07e018-4355-a414-7b88-498d623ed55f


cjan
Posts: 1192
Joined: Sun May 06, 2012 12:00 am

Re: GZDoom DOOM Engine Source Port on the Raspberry Pi 4 Computer

Tue Sep 26, 2023 11:40 pm

cjan wrote:
Tue Sep 26, 2023 11:53 am
@Moonmarch, gzdoom had 4.11.0-arm64.deb build :D
https://github.com/ZDoom/gzdoom/release ... _amd64.deb
sorry, my mistake, saw it was arm64 :(

cjan
Posts: 1192
Joined: Sun May 06, 2012 12:00 am

Moonmarch
Posts: 899
Joined: Thu Mar 07, 2019 1:34 am

Re: GZDoom DOOM Engine Source Port on the Raspberry Pi 4 Computer

Mon Oct 02, 2023 9:31 pm

GZDoom was updated to 4.11.0, nice catch cjan.

I will build the software when I have a chance.

cjan
Posts: 1192
Joined: Sun May 06, 2012 12:00 am

Moonmarch
Posts: 899
Joined: Thu Mar 07, 2019 1:34 am

Re: GZDoom DOOM Engine Source Port on the Raspberry Pi 4 Computer

Mon Oct 16, 2023 9:20 pm

Vulkan renderer does run on the Raspberry Pi 4 computer with the latest build of GZDoom, but I am not sure if the Vulkan renderer is actually activated, and is changing back to GLES renderer, because the performance has not improved.

I will update the GZDoom DOOM Engine Source Port on the Raspberry Pi 4 Computer build guide when I have the chance to include the new software libraries required for the latest release of GZDoom.

I still have to install the Raspberry Pi Operating System Bookworm update, and I will be busy with even more projects.

Gavinmc42
Posts: 8346
Joined: Wed Aug 28, 2013 3:31 am

Re: GZDoom DOOM Engine Source Port on the Raspberry Pi 4 Computer

Mon Oct 16, 2023 9:28 pm

I still have to install the Raspberry Pi Operating System Bookworm update, and I will be busy with even more projects.
Been playing a few Vulkan games now, they work on Bookworm on Pi400 with all the updates which include newer mesa.
Some more mesa commits over the weekend are Pi5 related?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

cjan
Posts: 1192
Joined: Sun May 06, 2012 12:00 am

Re: GZDoom DOOM Engine Source Port on the Raspberry Pi 4 Computer

Mon Oct 16, 2023 10:23 pm

last build git-4.12pre+61, vulkan failed.

Code: Select all

Using video driver wayland
Vulkan device: V3D 4.2.14
Vulkan device type: integrated gpu
Vulkan version: 1.2.267 (api) 23.2.99 (driver)
Max. texture size: 4096
Max. uniform buffer range: 1073741824
Min. uniform buffer offset alignment: 32
Resolution: 1280 x 720
v3dv_drm_handle_device: drmGetMagic failed

Gavinmc42
Posts: 8346
Joined: Wed Aug 28, 2013 3:31 am

Re: GZDoom DOOM Engine Source Port on the Raspberry Pi 4 Computer

Tue Oct 17, 2023 1:33 am

Might be why 23.3 got committed?
https://www.phoronix.com/news/Mesa-RPi- ... Core-7.1.x
Now that Bookworm is out n some have Pi5's a bunch of wrinkles are getting ironed out.
Fix one thing, break another.
Bleeding edge, pack bandaids :lol:
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

cjan
Posts: 1192
Joined: Sun May 06, 2012 12:00 am

Re: GZDoom DOOM Engine Source Port on the Raspberry Pi 4 Computer

Tue Oct 17, 2023 1:39 am

Gavinmc42 wrote:
Tue Oct 17, 2023 1:33 am
Might be why 23.3 got committed?
https://www.phoronix.com/news/Mesa-RPi- ... Core-7.1.x
Now that Bookworm is out n some have Pi5's a bunch of wrinkles are getting ironed out.
Fix one thing, break another.
Bleeding edge, pack bandaids :lol:
my build included mesa-23.3 git( RPi-5-VideoCore-7.1.x), vkdoom-git fail too.

Pi4 sway/wlroots/wayland/gzdoom-git/mesa-git-23.3/kernel-6.6-rc6.

cjan
Posts: 1192
Joined: Sun May 06, 2012 12:00 am

Re: GZDoom DOOM Engine Source Port on the Raspberry Pi 4 Computer

Fri Nov 03, 2023 7:58 am

MESA_LOADER_DRIVER_OVERRIDE=zink gzdoom, run pretty well.
but does zink work or not?

MESA_LOADER_DRIVER_OVERRIDE=zink glxinfo | grep OpenGL

Code: Select all

WARNING: Some incorrect rendering might occur because the selected Vulkan device (V3D 4.2) doesn't support base Zink requirements: 
OpenGL vendor string: Mesa
OpenGL renderer string: zink Vulkan 1.2(V3D 4.2 (MESA_V3DV))
OpenGL version string: 2.1 Mesa 23.2.1
OpenGL shading language version string: 1.20
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 23.2.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
OpenGL ES profile extensions:

Moonmarch
Posts: 899
Joined: Thu Mar 07, 2019 1:34 am

Re: GZDoom DOOM Engine Source Port on the Raspberry Pi 4 Computer

Tue Nov 14, 2023 12:57 am

I have upgraded to Raspberry Pi Operating System Bookworm, and the performance with the latest version of GZDoom has improved substantially on the Raspberry Pi 4 computer, which is now capable of running GZDoom mods.

Now I have to rewrite the GZDoom build guide for the Raspberry Pi 4 computer.

Moonmarch
Posts: 899
Joined: Thu Mar 07, 2019 1:34 am

Re: GZDoom DOOM Engine Source Port on the Raspberry Pi 4 Computer

Thu Nov 16, 2023 12:57 am

UPDATE NOVEMBER 14TH 2023
  • Updated Build Guide to support Debian Bookworm update.
  • Removed GZDoom OpenGLES Renderer support from Build Guide.
  • Added new software releases explanation.
  • Updated software dependencies list.
  • Added 2 new screenshots, and removed previous screenshot.
  • Revised DOOM Mods explanation.
  • Added download links to Brutal Doom Community Expansion DOOM Mod, and Doom Retribution WAD.
  • Removed LZDoom explanation, and removed link to (OUTDATED) LZDoom Build Guide.
  • Removed (Outdated) PrBoom-Plus 2.5.7.1um explanation, and Build Guide with PrBoom-Plus 2.6.66 Build Guide.
  • Miscellaneous improvements.

cjan
Posts: 1192
Joined: Sun May 06, 2012 12:00 am

Re: GZDoom DOOM Engine Source Port on the Raspberry Pi 4 Computer

Thu Nov 16, 2023 2:55 am

Moonmarch wrote:
Thu Nov 16, 2023 12:57 am
  • Removed GZDoom OpenGLES Renderer support from Build Guide.
be aware this, they not commit yet.
https://gitlab.freedesktop.org/mesa/mesa/-/issues/10111

Gavinmc42
Posts: 8346
Joined: Wed Aug 28, 2013 3:31 am

Re: GZDoom DOOM Engine Source Port on the Raspberry Pi 4 Computer

Thu Nov 16, 2023 4:17 am

Looks like a big bug fix is due.
As soon as they figure it out ;)

No hurry for me, don't have Pi5 yet and Pi400 with Bookworm is okish for normal non game stuff.
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

itsmedoofer
Posts: 693
Joined: Wed Sep 25, 2013 8:43 am

Re: GZDoom DOOM Engine Source Port on the Raspberry Pi 4 Computer

Thu Nov 16, 2023 10:17 pm

cjan wrote:
Thu Nov 16, 2023 2:55 am
Moonmarch wrote:
Thu Nov 16, 2023 12:57 am
  • Removed GZDoom OpenGLES Renderer support from Build Guide.
be aware this, they not commit yet.
https://gitlab.freedesktop.org/mesa/mesa/-/issues/10111
Don't want to hijack here, but that looks like the issue I've been seeing trying to build Duke3D and wolfenstein.. .

graphicw
Posts: 134
Joined: Mon Sep 09, 2019 5:04 pm

Re: GZDoom DOOM Engine Source Port on the Raspberry Pi 4 Computer

Sat Apr 20, 2024 9:48 pm

I have tested this out on Raspberry 5 and these instructions are still applicable though short of housekeeping details after the engine is built. The Raspberry Pi 5 is capable of running with all graphics set to the highest possible. I have tested it will multiple mods, including the most full featured Doom and Hexen mods and successfully got them to work with all features functional. Make sure you choose Open GL ES as your API as Vulkan is not working correctly with this game and will simply max out your CPU with GPU usage showing near zero and FPS less than 1 FPS. I am not sure why Vulkan works so poorly but it does in this example. No worries though, Open GL ES will give you every feature you need to get the best out of GZdoom

I have been extensively testing this Hexen mod known as Hexen - Rebirth of Chronos.

https://www.moddb.com/mods/hexen-rebirt ... version-09

Yes, the Pi 5 can indeed run it with full setting all of the graphics shown in the screen shots and videos. It can do it without skipping a beat. There were some tricks to get it to work correctly though. It is finicky about loading order of PK3s and you need set Precache GL textures and set Sector Light to Vanilla. Make sure you do these setting from running hexen.wad. Save your setting and close the game. Then reload it as follow with the PK3 and the wad file in your GZDOOM directory:

./gzdoom -file RebirthofCronos_1.pk3 RebirthofCronos_2.pk3 RoCMaps.wad -iwad hexen.wad

Get ready to see Hexen at the most glorious you ever seen it. You must load the pk3s in that order as it will not work otherwise. It took me a while to figure that out as no instructions anywhere indicate that. Let me know if you test this out on Raspberry 5 and how you liked it. I will post about how to use the most advanced Doom mods in my next post. We may as well enjoy GZDoom at it's full capability and Raspberry Pi 5 has enough grunt to deliver the best GZDoom can do. Enjoy

graphicw
Posts: 134
Joined: Mon Sep 09, 2019 5:04 pm

Re: GZDoom DOOM Engine Source Port on the Raspberry Pi 4 Computer

Sat Apr 20, 2024 9:59 pm

I have to admit I did not expect Raspberry Pi 5 to be able to deliver on the Rebirth of Chronos mod. I was pleasantly surprised and you can max out everything and it will play fine. Absolutely beautiful and the Pi 4 was definitely unable to do this. Videocore 7 may deliver quite a few more surprises and Igalia is still working on further performance tweaks that may be able to eek a little more out of it. The Pi 5 is the very first time that Raspberry Pi could remotely claim one of their SBCs as a desktop replacement, because it definitely is getting very close and being able to run the hardest core GZDoom feature mods is proof that it can exceed simple light duty gaming at this point.

graphicw
Posts: 134
Joined: Mon Sep 09, 2019 5:04 pm

Re: GZDoom DOOM Engine Source Port on the Raspberry Pi 4 Computer

Sat Apr 20, 2024 10:06 pm

Just in case you cannot get the performance I am able to get, there are a few caveats to mention. I have overclocked my Pi 5 in an Argon One V3 case. I managed to get to 3ghz on CPU and 1ghz on GPU. The Argon One V3 also has the ability to add a DAC board to the case. I am using an Argon BLSTR DAC for sound output. I am not sure if the DAC takes load off the CPU or not to help increase performance. The same case uses the PCIe port to allow installation of an NVME in the bottom part of the case. That definitely helps with the load times of the larger mods.

graphicw
Posts: 134
Joined: Mon Sep 09, 2019 5:04 pm

Re: GZDoom DOOM Engine Source Port on the Raspberry Pi 4 Computer

Sat Apr 20, 2024 10:12 pm

One other thing I should note is that I am using just the regular Raspberry Pi OS. I could not get my BLSTR DAC to work in Ubuntu yet. I haven't put much effort into it yet as the newest version of Raspberry Pi OS meets most needs anyway.

Return to "Gaming"

AltStyle によって変換されたページ (->オリジナル) /