i have windows 10 in a VM. i cannot seem to get it to work with looking glass. neither B6 nor B7rc1.
here is my xml for the vm:
<domain type='kvm'>
<name>TESSA3</name>
<uuid>1f90e23f-b625-47b3-87bf-3d0df13e50e4</uuid>
<memory unit='KiB'>16777216</memory>
<currentMemory unit='KiB'>16777216</currentMemory>
<memoryBacking>
<nosharepages/>
<locked/>
</memoryBacking>
<vcpu placement='static'>8</vcpu>
<cputune>
<vcpupin vcpu='0' cpuset='4'/>
<vcpupin vcpu='1' cpuset='20'/>
<vcpupin vcpu='2' cpuset='5'/>
<vcpupin vcpu='3' cpuset='21'/>
<vcpupin vcpu='4' cpuset='6'/>
<vcpupin vcpu='5' cpuset='22'/>
<vcpupin vcpu='6' cpuset='7'/>
<vcpupin vcpu='7' cpuset='23'/>
<emulatorsched scheduler='fifo' priority='1'/>
<vcpusched vcpus='0' scheduler='fifo' priority='1'/>
<vcpusched vcpus='1' scheduler='fifo' priority='1'/>
<vcpusched vcpus='2' scheduler='fifo' priority='1'/>
<vcpusched vcpus='3' scheduler='fifo' priority='1'/>
<vcpusched vcpus='4' scheduler='fifo' priority='1'/>
<vcpusched vcpus='5' scheduler='fifo' priority='1'/>
<vcpusched vcpus='6' scheduler='fifo' priority='1'/>
<vcpusched vcpus='7' scheduler='fifo' priority='1'/>
</cputune>
<os>
<type arch='x86_64' machine='pc-q35-7.0'>hvm</type>
<loader readonly='no' type='rom'>/usr/share/ovmf/OVMFTESSA3.fd</loader>
<bootmenu enable='yes'/>
<smbios mode='host'/>
</os>
<features>
<acpi/>
<apic/>
<hyperv mode='custom'>
<relaxed state='on'/>
<vapic state='on'/>
<spinlocks state='on' retries='8191'/>
<vpindex state='on'/>
<synic state='on'/>
<stimer state='on'/>
<reset state='on'/>
<vendor_id state='on' value='randomid'/>
<frequencies state='on'/>
<reenlightenment state='on'/>
<tlbflush state='on'/>
<ipi state='on'/>
</hyperv>
<kvm>
<hidden state='on'/>
</kvm>
<vmport state='on'/>
<ioapic driver='kvm'/>
</features>
<cpu mode='host-passthrough' check='none' migratable='off'>
<topology sockets='1' dies='1' cores='4' threads='2'/>
<feature policy='disable' name='hypervisor'/>
<feature policy='require' name='topoext'/>
<feature policy='require' name='svm'/>
<feature policy='require' name='apic'/>
<feature policy='require' name='invtsc'/>
</cpu>
<clock offset='localtime'>
<timer name='rtc' tickpolicy='catchup'/>
<timer name='pit' tickpolicy='delay'/>
<timer name='hpet' present='yes'/>
<timer name='hypervclock' present='yes'/>
<timer name='tsc' present='no' mode='native'/>
</clock>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<source file='/root/virtio-win.iso'/>
<target dev='sdb' bus='sata'/>
<readonly/>
<address type='drive' controller='0' bus='0' target='0' unit='1'/>
</disk>
<controller type='pci' index='0' model='pcie-root'/>
<controller type='pci' index='1' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='1' port='0xf'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x7' multifunction='on'/>
</controller>
<controller type='pci' index='2' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='2' port='0x9'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
</controller>
<controller type='pci' index='3' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='3' port='0xa'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
</controller>
<controller type='pci' index='4' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='4' port='0xb'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x3'/>
</controller>
<controller type='pci' index='5' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='5' port='0xc'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x4'/>
</controller>
<controller type='pci' index='6' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='6' port='0xd'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x5'/>
</controller>
<controller type='pci' index='7' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='7' port='0xe'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x6'/>
</controller>
<controller type='pci' index='8' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='8' port='0x8'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='9' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='9' port='0x1a'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x2'/>
</controller>
<controller type='pci' index='10' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='10' port='0x18'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0' multifunction='on'/>
</controller>
<controller type='pci' index='11' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='11' port='0x19'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x1'/>
</controller>
<controller type='pci' index='12' model='pcie-root-port'>
<model name='pcie-root-port'/>
<target chassis='12' port='0x1b'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x3'/>
</controller>
<controller type='pci' index='13' model='pcie-to-pci-bridge'>
<model name='pcie-pci-bridge'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</controller>
<controller type='sata' index='0'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
</controller>
<controller type='virtio-serial' index='0'>
<address type='pci' domain='0x0000' bus='0x0b' slot='0x00' function='0x0'/>
</controller>
<controller type='usb' index='0' model='qemu-xhci'>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</controller>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<input type='keyboard' bus='virtio'>
<address type='pci' domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>
</input>
<graphics type='spice' port='5901' autoport='no' listen='0.0.0.0'>
<listen type='address' address='0.0.0.0'/>
<image compression='off'/>
<gl enable='no'/>
</graphics>
<sound model='ich9'>
<audio id='1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
</sound>
<audio id='1' type='spice'/>
<video>
<model type='none'/>
</video>
<hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source>
<address domain='0x0000' bus='0x41' slot='0x00' function='0x0'/>
</source>
<boot order='1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
</hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source>
<address domain='0x0000' bus='0x0c' slot='0x00' function='0x3'/>
</source>
<address type='pci' domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
</hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'>
<driver name='vfio'/>
<source>
<address domain='0x0000' bus='0x0a' slot='0x10' function='0x6'/>
</source>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
<address domain='0x0000' bus='0x45' slot='0x00' function='0x0'/>
</source>
<address type='pci' domain='0x0000' bus='0x05' slot='0x00' function='0x0'/>
</hostdev>
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
<address domain='0x0000' bus='0x45' slot='0x00' function='0x1'/>
</source>
<address type='pci' domain='0x0000' bus='0x06' slot='0x00' function='0x0'/>
</hostdev>
<redirdev bus='usb' type='spicevmc'>
<address type='usb' bus='0' port='2'/>
</redirdev>
<redirdev bus='usb' type='spicevmc'>
<address type='usb' bus='0' port='3'/>
</redirdev>
<memballoon model='none'/>
<shmem name='looking-glass'>
<model type='ivshmem-plain'/>
<size unit='M'>32</size>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</shmem>
</devices>
</domain>
here is the host logs. i initially tried b7rc1 to match my client and then ive reverted to b6 in attempt make it work.
i have the ini set to explicitly use dxgi, because its supposed to be the reliable method.
00:00:00.016 [I] time.c:85 | windowsSetTimerResolution | System timer resolution: 499.9 ÎĽs
00:00:00.019 [I] app.c:861 | app_main | Looking Glass Host (B7-rc1)
00:00:00.021 [I] cpuinfo.c:38 | cpuInfo_log | CPU Model: AMD Ryzen Threadripper 1950X 16-Core Processor
00:00:00.023 [I] cpuinfo.c:39 | cpuInfo_log | CPU: 1 sockets, 4 cores, 8 threads
00:00:00.026 [I] ivshmem.c:132 | ivshmemInit | IVSHMEM 0* on bus 0x0, device 0x4, function 0x0
00:00:00.035 [I] app.c:879 | app_main | IVSHMEM Size : 32 MiB
00:00:00.035 [I] app.c:880 | app_main | IVSHMEM Address : 0x2A10000
00:00:00.036 [I] app.c:881 | app_main | Max Pointer Size : 1024 KiB
00:00:00.036 [I] app.c:882 | app_main | KVMFR Version : 20
00:00:00.037 [I] app.c:901 | app_main | Trying : DXGI
00:00:00.042 [I] dxgi.c:506 | dxgi_init | Device Name : \\.\DISPLAY1
00:00:00.042 [I] dxgi.c:507 | dxgi_init | Device Description: AMD Radeon RX 5700
00:00:00.043 [I] dxgi.c:508 | dxgi_init | Device Vendor ID : 0x1002
00:00:00.044 [I] dxgi.c:509 | dxgi_init | Device Device ID : 0x731f
00:00:00.044 [I] dxgi.c:510 | dxgi_init | Device Video Mem : 8151 MiB
00:00:00.045 [I] dxgi.c:511 | dxgi_init | Device Sys Mem : 0 MiB
00:00:00.045 [I] dxgi.c:512 | dxgi_init | Shared Sys Mem : 8190 MiB
00:00:00.125 [I] dxgi.c:624 | dxgi_init | Feature Level : 0xc100
00:00:00.126 [I] dxgi.c:625 | dxgi_init | Capture Size : 1920 x 1080
00:00:00.127 [I] dxgi.c:626 | dxgi_init | AcquireLock : enabled
00:00:00.127 [I] dxgi.c:627 | dxgi_init | Debug mode : disabled
00:00:00.132 [I] dxgi.c:730 | dxgi_init | Bits Per Color : 8
00:00:00.132 [I] dxgi.c:731 | dxgi_init | Color Space : DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
00:00:00.133 [I] dxgi.c:732 | dxgi_init | Min/Max Luminance : 0.500000/270.000000
00:00:00.133 [I] dxgi.c:733 | dxgi_init | Frame Luminance : 270.000000
00:00:00.134 [I] dxgi.c:740 | dxgi_init | Source Format : DXGI_FORMAT_B8G8R8A8_UNORM
00:00:00.243 [I] dxgi.c:766 | dxgi_init | Capture Format : DXGI_FORMAT_B8G8R8A8_UNORM
00:00:00.243 [I] dxgi.c:813 | dxgi_init | Output Size : 1920 x 1080
00:00:00.244 [I] dxgi.c:814 | dxgi_init | Copy backend : Direct3D 11
00:00:00.245 [I] dxgi.c:815 | dxgi_init | Damage-aware copy : enabled
00:00:00.252 [I] app.c:445 | captureStart | ==== [ Capture Start ] ====
00:00:00.252 [I] app.c:932 | app_main | Using : DXGI Direct3D 11
00:00:00.253 [I] app.c:933 | app_main | Capture Method : Asynchronous
00:00:00.257 [I] app.c:768 | lgmpSetup | Max Frame Size : 14 MiB
00:00:00.258 [I] app.c:455 | captureStop | ==== [ Capture Stop ] ====
00:15:07.590 [I] platform.c:565 | exitEventCallback | Received exit event
00:15:07.596 [I] app.c:1078 | app_main | Host application exited
[I] 917310605 time.c:85 | windowsSetTimerResolution | System timer resolution: 499.9 ÎĽs
[I] 917311261 app.c:771 | app_main | Looking Glass Host (B6)
[I] 917311708 cpuinfo.c:37 | lgDebugCPU | CPU Model: AMD Ryzen Threadripper 1950X 16-Core Processor
[I] 917312200 cpuinfo.c:38 | lgDebugCPU | CPU: 1 sockets, 4 cores, 8 threads
[I] 917313452 ivshmem.c:132 | ivshmemInit | IVSHMEM 0* on bus 0x0, device 0x4, function 0x0
[I] 917317017 app.c:788 | app_main | IVSHMEM Size : 32 MiB
[I] 917317396 app.c:789 | app_main | IVSHMEM Address : 0x2C30000
[I] 917317767 app.c:790 | app_main | Max Pointer Size : 1024 KiB
[I] 917318123 app.c:791 | app_main | KVMFR Version : 19
[I] 917318509 app.c:809 | app_main | Trying : DXGI
[I] 917321528 dxgi.c:390 | dxgi_init | Device Name : \\.\DISPLAY1
[I] 917321937 dxgi.c:391 | dxgi_init | Device Description: AMD Radeon RX 5700
[I] 917322348 dxgi.c:392 | dxgi_init | Device Vendor ID : 0x1002
[I] 917322720 dxgi.c:393 | dxgi_init | Device Device ID : 0x731f
[I] 917323082 dxgi.c:394 | dxgi_init | Device Video Mem : 8151 MiB
[I] 917323450 dxgi.c:395 | dxgi_init | Device Sys Mem : 0 MiB
[I] 917323799 dxgi.c:396 | dxgi_init | Shared Sys Mem : 8190 MiB
[I] 917374733 dxgi.c:503 | dxgi_init | Feature Level : 0xc100
[I] 917375130 dxgi.c:504 | dxgi_init | Capture Size : 1920 x 1080
[I] 917375511 dxgi.c:505 | dxgi_init | AcquireLock : enabled
[I] 917375886 dxgi.c:506 | dxgi_init | Debug mode : disabled
[I] 917376934 dxgi.c:598 | dxgi_init | Source Format : DXGI_FORMAT_B8G8R8A8_UNORM
[I] 917377413 dxgi.c:640 | dxgi_init | Request Size : 1920 x 1080
[I] 917378280 dxgi.c:658 | dxgi_init | Output Size : 1920 x 1080
[I] 917378670 dxgi.c:666 | dxgi_init | Copy backend : Direct3D 11
[I] 917379074 dxgi.c:667 | dxgi_init | Damage-aware copy : enabled
[I] 917379449 app.c:834 | app_main | Using : DXGI Direct3D 11
[I] 917379834 app.c:835 | app_main | Capture Method : Asynchronous
[I] 917382466 app.c:687 | lgmpSetup | Max Frame Size : 14 MiB
[I] 917382936 app.c:385 | captureStop | ==== [ Capture Stop ] ====
it should be noted that adding virtio as a display allows looking-glass b7rc1 to work, but this makes windows disable the navi10 gpu.