remote display fixes
This commit is contained in:
@@ -324,8 +324,22 @@ public class QemuCommandBuilder
|
||||
|
||||
_arguments.Add(displayType);
|
||||
|
||||
_arguments.Add("-vga");
|
||||
_arguments.Add(display.Vga);
|
||||
// For X11 forwarding compatibility, use std VGA instead of virtio
|
||||
// This avoids GLX/OpenGL issues when forwarding over X11
|
||||
if (displayType == "gtk" || displayType == "x11")
|
||||
{
|
||||
_arguments.Add("-vga");
|
||||
_arguments.Add("std"); // Use standard VGA for better X11 compatibility
|
||||
|
||||
// Add software rendering options to avoid GLX issues
|
||||
_arguments.Add("-device");
|
||||
_arguments.Add("virtio-gpu-pci,edid=off"); // Use virtio-gpu without EDID
|
||||
}
|
||||
else
|
||||
{
|
||||
_arguments.Add("-vga");
|
||||
_arguments.Add(display.Vga);
|
||||
}
|
||||
|
||||
if (display.EnableSpice)
|
||||
{
|
||||
|
Reference in New Issue
Block a user