tenclass / mvisor-win-vgpu-driver

Implementation of OpenGL on windows guest virtual machine using Mesa/Virgl protocol.
GNU General Public License v3.0
114 stars 21 forks source link
mesa3d opengl virgl virglrender virtio-gpu-windows wdf windows

Mvisor Windows Guest VGPU Driver

Abstract

Screenshot

GpuTest

Cinema4D

Compile

User Mode Driver

    Build Environment: VS2019 or MinGW-W64

    Run build.bat in the usermode directory, it will download the Mesa project, patch it, and build it automatically. After building, you will get MvisorVGPUx64.dll and opengl32.dll in the build directory.

Kernel Mode Driver

    Build Environment: VS2019 + WDK10.0

    It's a WDF kernel mode driver, after building, you will get vgpu.sys, vgpu.inf and vgpu.cat in the build directory.

Install

  1. Change you guest VM to test-sign mode, otherwise the driver would not work because of the windows driver sign-check.
    bcdedit.exe /set testsigning on
  2. Just run install.bat in our release package, it will help you to prepare the environment and install the drivers.

Current Status



##  References
- https://github.com/Keenuts/virtio-gpu-win-icd
- https://github.com/kjliew/qemu-3dfx
- https://gitlab.freedesktop.org/mesa/mesa
- https://gitlab.freedesktop.org/virgl/virglrenderer