User avatar
Gavinmc42
Posts: 2895
Joined: Wed Aug 28, 2013 3:31 am

OpenGL tests

Tue Dec 18, 2018 11:58 am

I have been using Gentoo64 on Pi3B+'s which is using Eric's OpenGL driver.
Most of the Mesa3D demos seem to run.
ftp://ftp.freedesktop.org/pub/mesa/demos/

Comparing Browsers running WebGL was interesting.
Gentoo64 is now good enough to run Firefox and Chromium at the same time.
viewtopic.php?f=63&t=208314&start=250
Benchmarking Browsers does not benchmark OpenGL.

The Mesa demos come with an objviewer :D
Once the missing alpine skybox images are googled and found you end up with a rotating bunny image floating in mountains.
Celeron core duo 60fps, Gentoo64 25fps.

Swapping the GreatLakesBiplaneHP for the bunny starts to chug the PC - 37fps.
But it does horrible things to Gentoo64, fell over the bleeding edge of current Pi capability ;)
So too many vertices 142305, triangles 283266... is the limit 65K?

Testing utilities :D
https://www.mesa3d.org/utilities.html
llvmpipe - uses LLVM for x86 JIT code generation and is multi-threaded
https://www.mesa3d.org/systems.html
I think I saw something about LLVM JIT compiling in the WebGL stuff for Chromium, is that one of the tricks used for WebGL speed on x86?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

User avatar
Gavinmc42
Posts: 2895
Joined: Wed Aug 28, 2013 3:31 am

Re: OpenGL tests

Sat Dec 29, 2018 8:50 am

Trying to test OpenGL on Raspbian.

Got latest 4.14 lite desktop version of Raspbian and glxgears was very jittery.
Thought I would try 4.19 kernel, did sudo BRANCH=next raspi-update
Enabled OpenGL via raspi-config after it booted, rebooted and got black screen on boot.

Is there a new trick for OpenGL driver enabling or does raspi-config break it?
I'm dancing on Rainbows.
Raspberries are not Apples or Oranges

Return to “Graphics programming”