GLES ES 3.0 Support Panfrost
#1
https://www.gamingonlinux.com/articles/o...port.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.
#2
(03-24-2020, 08:48 PM)decisivedove Wrote: https://www.gamingonlinux.com/articles/o...port.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.
#3
(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
#4
(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
#5
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)
#6
(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.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Debian GPU Support Atton 4 911 09-19-2021, 09:16 AM
Last Post: kuleszdl
  Official Debian support moonwalkers 54 7,126 08-28-2021, 01:31 PM
Last Post: alpopa
  [LibreOffice & Gimp] ARM support: no hardware acceleration on [Manjaro] Pinebook Pro regivanx 0 439 06-15-2021, 04:04 AM
Last Post: regivanx
  [Panfrost] now support stable OpenGL ES 3.1 rimaille 0 489 06-10-2021, 11:23 PM
Last Post: rimaille
  Better rkvdec support in 5.11? ShootTheMoon2 2 1,045 02-28-2021, 07:10 PM
Last Post: ShootTheMoon2
  Question about graphics support mcc 11 6,579 10-10-2020, 06:43 AM
Last Post: sigmaris
  Serpent Linux will be released with day one support for PBP! gabeeg 2 1,905 08-24-2020, 05:11 PM
Last Post: gabeeg
  Chromium GPU support on Manjaro krist 9 6,248 05-01-2020, 12:50 PM
Last Post: krist
  Manjaro w/ Panfrost Drivers vs stock Debian Video Performance decisivedove 15 7,488 03-25-2020, 12:04 AM
Last Post: decisivedove
  Luajit in the AUR, loss of aarch64 support tophneal 0 842 02-12-2020, 12:25 PM
Last Post: tophneal

Forum Jump:


Users browsing this thread: 1 Guest(s)