08-25-2022, 04:09 PM
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.
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.