There are two example libs I always seem to fall back on.
The Mesa and Sascha's examples.
https://archive.mesa3d.org/demos/
https://github.com/SaschaWillems/Vulkan
These are somewhat old but the GPU on the Pi's are based on old Tile Engine tech.
In the early days hardly any demos worked, now quite a bit work well.
Mesa used to be the starting point as the Desktop was OpenGL based
https://docs.mesa3d.org/download.html#d ... ut-and-glu
Now it is on Vulkan instead of OpenGL.
For the simplest tests then try the vkcube and glxcube apps.
The vkcube demo is in the Vulkan tools.
https://github.com/KhronosGroup/Vulkan-Tools
Install the tools first
"sudo apt install mesa-utils"
"sudo apt install vulkan-tools"
Run commandline "glxinfo" to see if it reports OpenGL info.
Run commandline "vulkaninfo" to see if it reports Vulkan info.
There are some libs that make coding easier but I am not upto date on those for the Wayfire based Desktop now used.
The Mesa and Sascha's examples.
https://archive.mesa3d.org/demos/
https://github.com/SaschaWillems/Vulkan
These are somewhat old but the GPU on the Pi's are based on old Tile Engine tech.
In the early days hardly any demos worked, now quite a bit work well.
Mesa used to be the starting point as the Desktop was OpenGL based
https://docs.mesa3d.org/download.html#d ... ut-and-glu
Now it is on Vulkan instead of OpenGL.
For the simplest tests then try the vkcube and glxcube apps.
The vkcube demo is in the Vulkan tools.
https://github.com/KhronosGroup/Vulkan-Tools
Install the tools first
"sudo apt install mesa-utils"
"sudo apt install vulkan-tools"
Run commandline "glxinfo" to see if it reports OpenGL info.
Run commandline "vulkaninfo" to see if it reports Vulkan info.
There are some libs that make coding easier but I am not upto date on those for the Wayfire based Desktop now used.
Statistics: Posted by Gavinmc42 — Wed Dec 25, 2024 11:37 pm