Skip to content

Poor graphics performance on Wndows 10 #78

@ar7eniyan

Description

@ar7eniyan

Mvisor is a great hypervisor, and I'm glad that I've managed to set up the OpenGL virtualization with mvisor-win-vgpu-driver, but its benefits are invalidated by how laggy overall graphics performance feels. The SDL viewer window renders at ~30 FPS (checked by adding own debug output) with unstable frame times.

Host: NixOS, Wayland, Mvisor built from 5f1d7ee with older virglrenderer.
Guest: Freshly installed Windows 10 22H2 (Build 19045.6093) with virtio-guest-tools and mvisor-win-vgpu-driver.

Config
name: Windows 10

machine:
  memory: 8G
  vcpu: 8
  priority: 1
  hypervisor: Yes
  bios: /home/ar7eniyan/vm/firmware/bios-256k.bin

objects:
  - class: q35-host
  - class: kvm-irqchip
  - class: kvm-clock
  - class: firmware-config

  - class: ich9-hda
  - class: ich9-lpc
  - class: ich9-ahci

  - class: cmos
  - class: ps2

  - class: hda-duplex

  - name: cmos
    rtc: localtime

  - class: qxl
    rom: /home/ar7eniyan/vm/firmware/vgabios-qxl.bin

  - class: spice-agent
  - class: usb-tablet

  - class: virtio-network
    mac: 00:50:00:11:22:33
    map: tcp:0.0.0.0:8022-:22

  - class: virtio-block
    image: /home/ar7eniyan/vm/win10_gpu_test/image.qcow2
    snapshot: No

  - class: virtio-fs
    path: /home/ar7eniyan/vm/shared
    disk_name: mvisor-fs
    disk_size: 2G
    inode_count: 2000

  - class: virtio-vgpu
    memory: 1G
    staging: Yes
    blob: No
    node: /dev/dri/renderD128

/dev/dri/renderD128 is Nvidia GeForce RTX 4060 Mobile.

Video showcase and Device Manager screenshot
demo.mp4
Image

P.S. The issue is not specific to mvisor-win-vgpu-driver, just thought installing it would help. I'm no graphics stack expert...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions