RobertBeckebans / RBDOOM-3-BFG

Doom 3 BFG Edition source port with updated DX12 / Vulkan renderer and modern game engine features
https://www.moddb.com/mods/rbdoom-3-bfg
GNU General Public License v3.0
1.4k stars 251 forks source link

What version of OpenGL is needed? Mali G-52 GPU #542

Closed Chatplosion closed 3 years ago

Chatplosion commented 3 years ago

Dear developers,

I tried to get version 1.30 running on a ARM64 Hardkernel Odroid N2+. It uses Mali G-52 GPU and supports official OpenGL 1.10, 1.20, 1.30, 1.40, 3.00, 3.10, 1.00 ES and 3.00 ES. The OS is Ubuntu 20.10 with aa64 mainline Kernel 5.11 with MESA Panfrost video driver. When I start the engine it just produces a white screen, but music and menu sounds are working.

What causes this?

Calinou commented 3 years ago

As far as I know, full support for OpenGL 3.2 Core is required. I'm not sure if RBDOOM-3-BFG has an OpenGL ES renderer.

Chatplosion commented 3 years ago

From the error output is seen that the engine tries to start GLSL 4.50. The DOOM 3 (Not BFG) was definitely below OpenGL 3.3 and was able to run on my SOC. On what OpenGL version was the original game running? All infos about my problems are in the attached files. glxinfo.txt glewinfo.txt rbdoom3bfg-console.txt

Calinou commented 3 years ago

On what OpenGL version was the original game running?

I believe the original Doom 3 used OpenGL 2.0 or 2.1.

Chatplosion commented 3 years ago

I searched the hardware requirements of the idTech4 and the listed minimum was Nvidia GeForce 3 or ATI Radeon 8500. These are based on OpenGL 1.3. Can someone please check if it is possible to get the engine running with OpenGL 3.0? It would be very nice if my SOC could run this game. Doom Ultimate, Doom 2, Heretic and Hexen run with more than 90 fps on OpenGL 2.x.

RobertBeckebans commented 3 years ago

This port uses modern OpenGL with the direct state access API. I raised the minimum to OpenGL 4.5

Chatplosion commented 3 years ago

I want to make a suggestion. What do you think about renaming your repo to BRDOOM-3-BFG+ and create a new fork legacy. The new fork just needs to run without errors on OpenGL 3.1 and doesn't need further development. I would appreciate it if you or someone of the developers can build a fork that is called legacy. It can be a nice addition to the Ubuntu/Debian ARM64. I like it, but I am not a programmer.

RobertBeckebans commented 3 years ago

You can just download version 1.1. Forking is a bad idea because it splits the development and new stuff won't be merged or causes additional work because the pull requests (if done at all) go into legacy stuff. There were already forks of this port and people don't keep up with the upstream improvements and the users get upset about broken stuff that was already fixed in this repo. I can't support all kinds of limited OpenGL drivers.