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
Exclamation 'failed to open panfrost' after system update using archarm Puckla 1 212 03-01-2024, 06:46 PM
Last Post: Puckla
  Armbian is [edit: no longer] dropping support for Pinebook Pro TRS-80 4 4,024 12-23-2022, 12:01 AM
Last Post: TRS-80
  Armbian VPU decoding support coming soon LivingLinux 0 748 11-13-2022, 02:32 PM
Last Post: LivingLinux
  Kernel 5.17 will improve VP9 support? jiyong 1 2,051 01-16-2022, 08:26 PM
Last Post: xmixahlx
  Debian GPU Support Atton 5 5,526 12-02-2021, 05:37 PM
Last Post: cobratbq
  Solution for issue with 'panfrost' module not initializing due to missing dependency cobratbq 0 1,521 12-02-2021, 05:26 PM
Last Post: cobratbq
  Official Debian support moonwalkers 62 49,839 11-19-2021, 09:49 AM
Last Post: alpopa
  [LibreOffice & Gimp] ARM support: no hardware acceleration on [Manjaro] Pinebook Pro regivanx 0 1,792 06-15-2021, 04:04 AM
Last Post: regivanx
  [Panfrost] now support stable OpenGL ES 3.1 rimaille 0 1,997 06-10-2021, 11:23 PM
Last Post: rimaille
  Better rkvdec support in 5.11? ShootTheMoon2 2 3,572 02-28-2021, 07:10 PM
Last Post: ShootTheMoon2

Forum Jump:


Users browsing this thread: 1 Guest(s)