kondrak / vkQuake2

id Software's Quake 2 v3.21 with mission packs and Vulkan support (Windows, Linux, macOS, FreeBSD, Raspberry Pi 4)
GNU General Public License v2.0
896 stars 91 forks source link

Makefile: support for armvl7 32-bit #97

Closed infapi00 closed 4 years ago

infapi00 commented 4 years ago

Enough to get vkQuake2 built on a rpi4.

kondrak commented 4 years ago

Cool! How does it perform on rpi4? :)

infapi00 commented 4 years ago

Reasonable enough taking into account that the driver is still ongoing, with several features pending (compute shader, input attachment, images, etc), and no work done yet for performance tuning. We hope that as soon as it is feature-complete and we start to do some perf work, we would be able to do get it running fine.

FWIW, disabling lighting (set cl_lights "0") and setting the resolution to 1024x768, we get the following FPS for the starting up demo:

fps, frame_timing(us) 16.44, 547563 20.54, 535500 12.87, 543745 19.87, 503154 22.81, 526079 20.80, 528965 18.90, 529162 20.12, 546819 20.19, 544865 20.26, 542902 21.71, 506606 18.30, 546571 16.00, 500094 15.47, 517283 15.72, 508943

FWIW2, this week it was published an update of the status of the rpi4: https://www.raspberrypi.org/blog/vulkan-update-now-with-added-source-code/

infapi00 commented 4 years ago

FWIW, disabling lighting (set cl_lights "0") and setting the resolution to 1024x768, we get the following FPS for the starting up demo: 16.44, 547563

Now that Im here adding comments on #106, just to mention that those numbers are far better now. Now at that resolution, and even better, and with lights enabled, last time I tried we were getting ~80FPS. FWIW, some of the performance work was done using vkQuake2 as reference, so again thanks for having the project so well maintained, and being so receptive with our patches.