melonDS-emu / melonDS

DS emulator, sorta
https://melonds.kuribo64.net
GNU General Public License v3.0
3.32k stars 545 forks source link

enhancement for linux on arm: improve the opengl render and maybe a gles/vulkan one #1060

Open ghost opened 3 years ago

ghost commented 3 years ago

hardware : rk3399 running under panfrost mesa driver (and while opengl 3.1 desktop capable, overridden to 3,.3)

Hi, very excited about this emulator. Mostly bc drastic it's quite abandoned afaik and we dont have a multiplayer capable release for linux on arm. on my today master compilation most games run 100% speed on 1x opengl (overiding a bit the opengl render) or with software and opengl display, but, I ant go to even 2x (and drastic looks better compared to 1x by far sadly with his enhancements on resolution enabled). so far... good! but we need a better render. I know that a mali t860 mp4 isnt a powerhouse, but should perform better than this, even on desktop profile (on glmark we get more points on gles rather than GL as expected!)

RSDuck commented 3 years ago

if you can't reach fullspeed with OpenGL at more than 2x then use the software renderer. It's far ahead in terms of accuracy so while you don't get the enhancent resolution, you won't get any graphics glitches.

Since you're eable to reach fullspeed with the OpenGL renderer at 1x but not at higher resolutions my guess would be that the bottleneck is more or less raw gpu power and not driver overhead (which could be reduced with a Vulkan renderer).

There could be ways to make the OpenGL renderer a bit faster in this regards, but it would lower it's accuracy even more.

ghost commented 3 years ago

Understand. Thanks for your effort. I expect a vulkan render on the long road. Mostly bc with 2x I would be okay (its just 50-55 fps at 2x). And be able to run multiplayer would be great for my needs like this wmulator provide.