Open commandcontrolQ opened 6 months ago
melonDS at the moment doesn't support OGL ES.
Does OpenGL ES support seem likely, or is it too different from normal OpenGL to be suitable in the near future?
Apparently the Pi 5's GPU supports Vulkan, so you could try using zink, assuming Raspberry Pi OS ships it.
Like MESA_LOADER_DRIVER_OVERRIDE=zink melonDS
Yes, the Raspberry Pi 5's GPU reports Vulkan 1.2 support, so I will have to test out whether zink will work or not when I have the time.
Even though I am running Ubuntu 23.10 instead of Raspberry Pi OS, running the command MESA_LOADER_DRIVER_OVERRIDE=zink ./melonDS
seems to have made no difference at all.
You might need some extra flags as in this post.
If that doesn't work you might want to check if the vulkan drivers are actually installed - you can probably test with vulkaninfo
or similar.
vulkaninfo | grep "version"
returns 1.3.211.
Self-explanatory.
Running melonDS through the terminal before switching renderers shows the following:
This implies that the error is due to the fact that the emulator requires at least OpenGL version 3.2, which is a problem because the Raspberry Pi's GPU drivers only expose OpenGL ES 3.1. Is there anything that can be done to fix this, or will I be stuck with the software renderer? I am fine with recompiling melonDS if it is required.