Looking Glass host unable to start on windows 10 VM under qemu/kvm/libvirt

I used to mess around with VFIO stuff some time ago, it was working perfectly on my gaming laptop back then, and i had setup awesome configuration with nvidia passthrough and using looking glass to access the VM.

Recently i bought new computer, similar configuration to laptop regarding AMD CPU and NVIDIA GPU, but for the life of me i am unable to get looking glass to work, i created fresh win10 vm, passed the nvidia gpu to it, everything works perfectly, but looking glass windows logs only give me this:

time.c:85       | windowsSetTimerResolution      | System timer resolution: 500.0 ÎĽs
app.c:867      | app_main                       | Looking Glass Host (B7)
cpuinfo.c:38       | cpuInfo_log                    | CPU Model: AMD Ryzen 7 7800X3D 8-Core Processor
cpuinfo.c:39       | cpuInfo_log                    | CPU: 1 sockets, 4 cores, 8 threads
ivshmem.c:132      | ivshmemInit                    | IVSHMEM 0* on bus 0x6, device 0x1, function 0x0
app.c:885      | app_main                       | IVSHMEM Size     : 32 MiB
app.c:886      | app_main                       | IVSHMEM Address  : 0x16D3A860000
app.c:887      | app_main                       | Max Pointer Size : 1024 KiB
app.c:888      | app_main                       | KVMFR Version    : 20
app.c:917      | app_main                       | Trying           : D12
d12.c:200      | d12_create                     | debug:0 trackDamage:1 indirectCopy:0
d12.c:1025     | d12_enumerateDevices           | Device Name       : \\.\DISPLAY5
d12.c:1026     | d12_enumerateDevices           | Device Description: NVIDIA GeForce RTX 5070
d12.c:1027     | d12_enumerateDevices           | Device Vendor ID  : 0x10de
d12.c:1028     | d12_enumerateDevices           | Device Device ID  : 0x2f04
d12.c:1029     | d12_enumerateDevices           | Device Video Mem  : 11854 MiB
d12.c:1031     | d12_enumerateDevices           | Device Sys Mem    : 0 MiB
d12.c:1033     | d12_enumerateDevices           | Shared Sys Mem    : 7670 MiB
dd.c:167      | d12_dd_init                    | Feature Level     : 0xb100
d12.c:420      | d12_init                       | D12 Created Effect: Downsample
d12.c:420      | d12_init                       | D12 Created Effect: HDR16to10
app.c:451      | captureStart                   | ==== [ Capture Start ] ====
app.c:948      | app_main                       | Using            : D12
app.c:949      | app_main                       | Capture Method   : Synchronous
app.c:774      | lgmpSetup                      | Max Frame Size   : 14 MiB
app.c:461      | captureStop                    | ==== [ Capture Stop ] ====

i tried changing d12 to dxgi, i get the same result if using B7 or B6, with B5 it does seem to start “working”, it doesnt show errors in the log, but on the linux host i only get black screen with mouse cursor in that case, i tried with physicall monitor connected, tried with VDD from github, it stays the same, also i disabled Resizable BAR in bios

Could you post your vm xml? Also post client looking glass logs.

I just realized that the post before mine had the same issue, and actually the same solution as well, problem was looking glass client on my linux machine was version bleeding edge B7, and looking glass host in my win10 machine was version B7 stable, i didint realize that they must match exactly, so everything seems fine in the end

1 Like