05-24-2022, 08:15 AM
(This post was last modified: 05-29-2022, 12:30 PM by orbital.)
Hi,
Does either the Pinephone or Pinephone Pro offer conventional OpenGL support, or are they limited to OpenGL ES?
And is there any hardware acceleration?
Thanks.
The OpenGL vs OpenGL ES comparison is a bit tricky. In general, ES is a subset of a given version of "full" OpenGL. However, if a program expecting full GL doesn't use any of the missing features (how many features are missing also depends), then there's no functional difference.
The GPU in the original PinePhone can do ES 2.0, which is pretty close to full OpenGL 2.1. The PinePhone Pro can do ES 3.1, which can also run full 3.1 applications most of the time. There's also work towards 3.2 support as well.
"Hardware acceleration" is a broad term, so you would have to specify. If you mean 3D acceleration or video encode/decode, the answer is yes.
Community administrator and sysadmin for PINE64
(Translation: If something breaks on the website, forum, or chat network, I'm a good person to yell at about it)
Well, it depends on whether you want hardware acceleration or not.
If you want hardware acceleration, then refer to what fire219 said.
If you don't need hardware acceleration, you can get almost everything Mesa supports for OpenGL by using the zink driver (set the environmental variable MESA_LOADER_DRIVER_OVERRIDE=zink) which does OpenGL over vulkan. Now, the original PinePhone does not have accelerated vulkan at all (no idea on the PinePhone Pro), so it does vulkan using the lavapipe driver, which is a pure software implementation of vulkan and therefore has no acceleration. This works quite well, just is slow is all. Very useful for some programs.