Dolphin, the GameCube and Wii emulator - Forums
Open GL Error? (Android Question) - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Support (https://forums.dolphin-emu.org/Forum-support)
+--- Thread: Open GL Error? (Android Question) (/Thread-open-gl-error-android-question)



Open GL Error? (Android Question) - Asterkool - 08-01-2019

Im Currently using Dolphin for android on my nintendo switch,which is running a tegra x1 SOC and the application seems to be having problems with detecting the GPU OGL version. it states that the OGL version is not supported, when CPU-Z is reading it as OGL version 3.2 , lineage os for switch is relatively recent but, any ideas?


RE: Open GL Error? (Android Question) - JonnyH - 08-02-2019

I assume that CPU-z is reporting the OpenGL-ES version as 3.2?

I know that the NVidia drivers also can support "desktop" OpenGL on android (IE no -ES suffix), and dolphin currently uses that in preference to the -ES version if it claims to be supported, no matter the version. If LineageOS has somehow messed up the 'desktop' OpenGL version somehow, or mistakenly report it as supported while the drivers aren't correctly setup (which might not be surprising, as no other android devices support that) it could cause this error - as dolphin tries to use a too-old version of the OpenGL API while ignoring a perfectly compatible version of the OpenGL-ES api.

If it works on the official nvidia build of android then it's likely an issue with the LineageOS port.


RE: Open GL Error? (Android Question) - Helios - 08-02-2019

Yeah I don't see why we need to fix anything here. OpenGL version strings are kind of annoying and we parse it out in a way that works with every major OS. Including the Shield TV's fork of Android, and most major phone vendor's Android forks.

Send this problem up to the XDA maintainer of this port of LineageOS. I don't think upstream LineageOS devs are going to care. Dolphin works on other LineageOS devices.

Wouldn't surprise me if the maintainer improperly installed the X1 GPU drivers and it's just returning useless garbage or some software rendering GL string


RE: Open GL Error? (Android Question) - Asterkool - 08-02-2019

(08-02-2019, 03:46 AM)JonnyH Wrote: I assume that CPU-z is reporting the OpenGL-ES version as 3.2?

I know that the NVidia drivers also can support "desktop" OpenGL on android (IE no -ES suffix), and dolphin currently uses that in preference to the -ES version if it claims to be supported, no matter the version. If LineageOS has somehow messed up the 'desktop' OpenGL version somehow, or mistakenly report it as supported while the drivers aren't correctly setup (which might not be surprising, as no other android devices support that) it could cause this error - as dolphin tries to use a too-old version of the OpenGL API while ignoring a perfectly compatible version of the OpenGL-ES api.

If it works on the official nvidia build of android then it's likely an issue with the LineageOS port.

Yeah, its the ES version 3.2 which is different, but Ive read that "desktop" 4.5 is supported by the switch officially
(08-02-2019, 06:25 AM)Helios Wrote: Yeah I don't see why we need to fix anything here. OpenGL version strings are kind of annoying and we parse it out in a way that works with every major OS. Including the Shield TV's fork of Android, and most major phone vendor's Android forks.

Send this problem up to the XDA maintainer of this port of LineageOS. I don't think upstream LineageOS devs are going to care. Dolphin works on other LineageOS devices.

Wouldn't surprise me if the maintainer improperly installed the X1 GPU drivers and it's just returning useless garbage or some software rendering GL string
Alright I'll drop by XDA, Thanks!