This is the main repository for the Vulkan-virglrenderer experiment. It will clone 3 repositories:
- virglrenderer (vulkan-wip branch)
- mesa (virgl-vulkan branch)
Virglrenderer is a lib desinged to bring 3D acceleration to VirtIO-gpu. Initialy, this project was designed with OpenGL in mind. The goal of this experiment is to redesign it to support both Vulkan and OpenGL.
A sample vulkan compute application.
Requirements (Using Fedora's package names)
If you want to build it in debug, you will need LunarG Vulkan SDK.
There is also a dockerfile available to build it using a valid Fedora setup
How to use
If you have an Intel GPU, and any issue on your current distro, I recommand using a docker container. One is ready in the fedora-docker folder. I tested it on my machine, with a simple HD-Graphics. Maybe it will work on your machine. Otherwise, you can:
There is also some options available
$ ./run-demo.sh -help vulkan-virgl-helper: --url-mesa= : override the URL for the mesa project --url-virgl= : override the URL for the virglrenderer project --url-app= : override the URL for the vulkan-compute project -c : disable repo cloning step -p : disable repo pull step -b : disable building step, implies -r -r : disable running step -f : remove the build folder first (force)