PINE64
GLES ES 3.0 Support Panfrost - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: GLES ES 3.0 Support Panfrost (/showthread.php?tid=9513)



GLES ES 3.0 Support Panfrost - decisivedove - 03-24-2020

https://www.gamingonlinux.com/articles/open-source-panfrost-driver-for-mali-gpus-gets-initial-gles-30-support.16094

However while running supertuxkart with  PAN_MESA_DEBUG=gles3 supertuxkart nothing renders properly. But when I set KWin Compositor to OpenGL 3.1, KWin seems to work.
I am running Manjaro KDE.

While running supertux2:
$ PAN_MESA_DEBUG=gles3 supertux2

[WARNING] /build/supertux/src/SuperTux-v0.6.1-Source/src/video/video_system.cpp:52 Error creating GLVideoSystem-330core, using GLVideoSystem-20 fallback: GLVideoSystem: GlewError: Missing GL version
[WARNING] /build/supertux/src/SuperTux-v0.6.1-Source/src/supertux/sector.cpp:221 [levels/misc/menu.stl] Tried spawning Tux in solid matter. Compensating.


RE: GLES ES 3.0 Support Panfrost - decisivedove - 03-24-2020

(03-24-2020, 08:48 PM)decisivedove Wrote: https://www.gamingonlinux.com/articles/open-source-panfrost-driver-for-mali-gpus-gets-initial-gles-30-support.16094

However while running supertuxkart with  PAN_MESA_DEBUG=gles3 supertuxkart nothing renders properly. But when I set KWin Compositor to OpenGL 3.1, KWin seems to work.
I am running Manjaro KDE.

While running supertux2:
$ PAN_MESA_DEBUG=gles3 supertux2

[WARNING] /build/supertux/src/SuperTux-v0.6.1-Source/src/video/video_system.cpp:52 Error creating GLVideoSystem-330core, using GLVideoSystem-20 fallback: GLVideoSystem: GlewError: Missing GL version
[WARNING] /build/supertux/src/SuperTux-v0.6.1-Source/src/supertux/sector.cpp:221 [levels/misc/menu.stl] Tried spawning Tux in solid matter. Compensating.
Finally gotten supertuxkart to work. All I had to do was disable the Advanced Pipeline under graphics.


RE: GLES ES 3.0 Support Panfrost - icecream95 - 03-25-2020

(03-24-2020, 08:48 PM)decisivedove Wrote: While running supertux2:
$ PAN_MESA_DEBUG=gles3 supertux2

[WARNING] /build/supertux/src/SuperTux-v0.6.1-Source/src/video/video_system.cpp:52 Error creating GLVideoSystem-330core, using GLVideoSystem-20 fallback: GLVideoSystem: GlewError: Missing GL version
[WARNING] /build/supertux/src/SuperTux-v0.6.1-Source/src/supertux/sector.cpp:221 [levels/misc/menu.stl] Tried spawning Tux in solid matter. Compensating.

Supertux uses desktop OpenGL, not GLES, so enabling gles3 won't change anything.

You can force OpenGL 3.3 with:

Code:
$ MESA_GL_VERSION_OVERRIDE=3.3 MESA_GLSL_VERSION_OVERRIDE=330 supertux2



RE: GLES ES 3.0 Support Panfrost - decisivedove - 03-26-2020

(03-25-2020, 06:42 PM)icecream95 Wrote:
(03-24-2020, 08:48 PM)decisivedove Wrote: While running supertux2:
$ PAN_MESA_DEBUG=gles3 supertux2

[WARNING] /build/supertux/src/SuperTux-v0.6.1-Source/src/video/video_system.cpp:52 Error creating GLVideoSystem-330core, using GLVideoSystem-20 fallback: GLVideoSystem: GlewError: Missing GL version
[WARNING] /build/supertux/src/SuperTux-v0.6.1-Source/src/supertux/sector.cpp:221 [levels/misc/menu.stl] Tried spawning Tux in solid matter. Compensating.

Supertux uses desktop OpenGL, not GLES, so enabling gles3 won't change anything.

You can force OpenGL 3.3 with:

Code:
$ MESA_GL_VERSION_OVERRIDE=3.3 MESA_GLSL_VERSION_OVERRIDE=330 supertux2

I have tried it and it works. Thank you


RE: GLES ES 3.0 Support Panfrost - brent.thierens - 03-26-2020

I get this error:
[brent@pinebook-pro ~]$ MESA_GL_VERSION_OVERRIDE=3.3 MESA_GLSL_VERSION_OVERRIDE=330 supertux2
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
Aborted (core dumped)


RE: GLES ES 3.0 Support Panfrost - icecream95 - 03-26-2020

(03-26-2020, 03:51 AM)brent.thierens Wrote: I get this error:
[brent@pinebook-pro ~]$ MESA_GL_VERSION_OVERRIDE=3.3 MESA_GLSL_VERSION_OVERRIDE=330 supertux2
terminate called after throwing an instance of 'std::runtime_error'
what(): locale::facet::_S_create_c_locale name not valid
Aborted (core dumped)

This can happen when your locale has not been generated properly.

Run `locale` to find your current locale.

You need to edit /etc/locale.gen, uncomment the line for your locale, then run `sudo locale-gen` to update the locale data.