#PanVK #Panfrost #Mesa Looks like This
PanVK [patch that enable SNORM, boosted a lot
#Vulkan driver on
#MaliG610 #RK3588. Vulkan was far slower than OpenGL in lot of cases. This is no more true. It can still be useful in some case, to use
#OpenGL mode for applications and
#Zink to still use Vulkan.
It improve FPS on higher resolution on PPSSPP(SDL) PSX emulator for example (x4 1080p instead of x2 with OpenGL driver is fluent, but full screen using directly Vulkan driver limit the viewport to a little part of the screen ). 0ad is at the same FPS in Vulkan and OpenGL, it was maybe half the FPS in Vulkan in regard of OpenGL driver version.
There is still a bug somewhere in my stack ArchLinux +
self adapted PKGBUILD for Mesa-git from Arch Mesa package + Armbian 6.16.5-edge-rockchip64 kernel, doesn't allow using EGL with acceleration (plain GL/Vulkan or zink). This prevent applications like Blender, Wings3D, Obs, gtk4-demo (Shadertoy part) to work with 3D acceleration, but they work with LLVMpipe driver. I still need to test the Vulkan equivalent of LLVMpipe and/or
Zink+Lavapipe.
Krita and few other are still able to use it without special settings.
I made to script as I was unable to remember the flags for LLVM or ZINK mode:
For zink:
$ cat launch_zink.sh:
ESA_LOADER_DRIVER_OVERRIDE=zink GALLIUM_DRIVER=zink $@
Launch it with:
./launch_zink.sh PPSSPPSDL
For LLVMpipe:
$ cat launch_llvmpipe.sh
LIBGL_ALWAYS_SOFTWARE=1 $@
Launch it with:
./launch_llvmpipe.sh obs
For Lavapipe
It displays Zink, vulkan 1.4 support, and using llvmpipe and not lavapipe
$ cat launch_zink_llvmpipe.sh
MESA_LOADER_DRIVER_OVERRIDE=zink GALLIUM_DRIVER=zink LIBGL_ALWAYS_SOFTWARE=true $@
My recommandations for some softwares:
Applications:
- Krita works accelerated
- Waydroid works accelerated
- pmbootstrap Qemu works accelerated (but boot is very slow, need to understand why for)
- Firefox works accelerated (need to use Wayland, to have WebGL2 support, doesn't works with X11).
- Epiphany support WebGL2 with both Wayland and X11
- Obs using LLVMpipe
- OSMin works accelerated
Creativity:
- Glslviewer works accelerated
- Bonzomatic need to use LLVMpipe
- LÖVE2D works accelerated
- LÖVR (VR reusing LÖVE principles), didn't managed to build it for aarch64, works fine using box64 (fast x86_64 emulator) + x86_64 appimage: `
box64 lovr-v0.18.0-x86_64.AppImage $1`
- Blender (last version unusable too slow) using LLVMpipe, need to test older version.
- wings3d need to use LLVMpipe, but very slow
- raylib, fail to create GLX context (need to investigate), works in webGL version
Games/emulation:
- PPSSPPSDL using zink
- OpenLara works accelerated
- SuperTuxKart is better in OpenGL mode, some needed functions for Vulkan mode are missing, need to disable depth view
- 0ad about the same in GL or Vulkan now
- Crawl (PowerHoof, proprietary) : works fine using box64 (even with emulated included Crawl_Data/Mono/x86_64/libmono.so)