Merge pull request 'vms/qemu: fix opengl detection' (#2422) from danjujan/clan-core:main into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/2422
Reviewed-by: kenji <aks.kenji@protonmail.com>
This commit is contained in:
Mic92
2024-11-20 10:20:30 +00:00

View File

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