vms/qemu: fix opengl detection

This commit is contained in:
danjujan
2024-11-17 13:33:19 +01:00
committed by Mic92
parent 07d8566f0a
commit 1e20a4cda9

View File

@@ -42,7 +42,7 @@ def graphics_options(vm: VmConfig) -> GraphicOptions:
#"-chardev", "socket,id=vgpu,path=/tmp/vgpu.sock", #"-chardev", "socket,id=vgpu,path=/tmp/vgpu.sock",
], cid) ], cid)
# fmt: on # fmt: on
if not Path("/run/opengl-driver").exists(): if Path("/run/opengl-driver").exists():
display_options = [ display_options = [
"-vga", "-vga",
"none", "none",