DayspringGaming Posted December 27, 2019 Share Posted December 27, 2019 So I've tested this webcam on my gaming PC and it works correctly - picture, sound, everything. While I can assign it to the Windows 10 VM, nothing else happens. The activity light comes on, but no video or audio. I've tried routing it through a USB hub, direct connection to several ports - but no luck. I'm out of ideas - everything else in the VM works correctly. I've tried using a Logitech C922 and it works 100% without issue without any setup or tinkering. But this just won't show video. The VM won't launch if the USB controller is set to USB 2.0 - it requires USB 3.0. I've tried both versions. Current hardware - 1920x w/ an ASUS x399 Prima A-II motherboard, 32GB of total system RAM. XML for the VM is below. <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm'> <name>Windows 10</name> <uuid>d55d4c39-6b68-6f9a-14ba-15e111beffbc</uuid> <metadata> <vmtemplate xmlns="unraid" name="Windows 10" icon="Windows_10_1.png" os="windows10"/> </metadata> <memory unit='KiB'>16777216</memory> <currentMemory unit='KiB'>16777216</currentMemory> <memoryBacking> <nosharepages/> </memoryBacking> <vcpu placement='static'>16</vcpu> <cputune> <vcpupin vcpu='0' cpuset='0'/> <vcpupin vcpu='1' cpuset='12'/> <vcpupin vcpu='2' cpuset='1'/> <vcpupin vcpu='3' cpuset='13'/> <vcpupin vcpu='4' cpuset='2'/> <vcpupin vcpu='5' cpuset='14'/> <vcpupin vcpu='6' cpuset='3'/> <vcpupin vcpu='7' cpuset='15'/> <vcpupin vcpu='8' cpuset='4'/> <vcpupin vcpu='9' cpuset='16'/> <vcpupin vcpu='10' cpuset='5'/> <vcpupin vcpu='11' cpuset='17'/> <vcpupin vcpu='12' cpuset='6'/> <vcpupin vcpu='13' cpuset='18'/> <vcpupin vcpu='14' cpuset='7'/> <vcpupin vcpu='15' cpuset='19'/> </cputune> <os> <type arch='x86_64' machine='pc-i440fx-4.1'>hvm</type> <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader> <nvram>/etc/libvirt/qemu/nvram/d55d4c39-6b68-6f9a-14ba-15e111beffbc_VARS-pure-efi.fd</nvram> </os> <features> <acpi/> <apic/> <hyperv> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> <vendor_id state='on' value='none'/> </hyperv> </features> <cpu mode='host-passthrough' check='none'> <topology sockets='1' cores='16' threads='1'/> </cpu> <clock offset='localtime'> <timer name='hypervclock' present='yes'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/local/sbin/qemu</emulator> <disk type='file' device='disk'> <driver name='qemu' type='raw' cache='writeback'/> <source file='/mnt/user/domains/Windows 10/vdisk1.img'/> <target dev='hdc' bus='virtio'/> <boot order='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/isos/Windows.iso'/> <target dev='hda' bus='ide'/> <readonly/> <boot order='2'/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/isos/virtio-win-0.1.171.iso'/> <target dev='hdb' bus='ide'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <controller type='ide' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </controller> <controller type='pci' index='0' model='pci-root'/> <controller type='usb' index='0' model='nec-xhci' ports='15'> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:f4:ff:ee'/> <source bridge='br0'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </interface> <serial type='pty'> <target type='isa-serial' port='0'> <model name='isa-serial'/> </target> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <channel type='unix'> <target type='virtio' name='org.qemu.guest_agent.0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <input type='tablet' bus='usb'> <address type='usb' bus='0' port='1'/> </input> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x0b' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x0b' slot='0x00' function='0x1'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='pci' managed='yes'> <driver name='vfio'/> <source> <address domain='0x0000' bus='0x07' slot='0x00' function='0x0'/> </source> <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x046d'/> <product id='0x085e'/> </source> <address type='usb' bus='0' port='2'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x046d'/> <product id='0xc534'/> </source> <address type='usb' bus='0' port='3'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x08bb'/> <product id='0x2902'/> </source> <address type='usb' bus='0' port='4'/> </hostdev> <hostdev mode='subsystem' type='usb' managed='no'> <source> <vendor id='0x0fd9'/> <product id='0x0060'/> </source> <address type='usb' bus='0' port='5'/> </hostdev> <memballoon model='none'/> </devices> </domain> Quote Link to comment
light2089 Posted June 12, 2022 Share Posted June 12, 2022 Facing this same issue. I have tried passing through a USB card through pcie, attaching and just passing through the webcam - both qemu xhci, and the other 3.0 option in usb controller. The webcam does not work properly Quote Link to comment
unrateable Posted June 12, 2022 Share Posted June 12, 2022 (edited) I have the same issue. Brio not running (ligh on no picture/video) when passed through via libvirt or from start. My hope was on a dedicated USB slot whose controller is passed through. Sounds not good folks. I have read a bit about the webcam issues in vms, but was under the impression that a passed through USB controller port should work. bummer Edited June 12, 2022 by unrateable Quote Link to comment
LDLC Mulhouse Wittenheim Posted February 11, 2023 Share Posted February 11, 2023 Same problem, Brio is detected, microphone work. But no image in Camera software of Windows 11 or in Capture device in OBS. Firmeware is updated. I need it to work in 7 days for a showroom I'm desperate to get multiple Vive headsets to work and capture 4K, but not a single webcam :@ Quote Link to comment
sylv Posted May 15, 2023 Share Posted May 15, 2023 Greetings, I have created a bug ticket on Qemu that addresses your issue: https://gitlab.com/qemu-project/qemu/-/issues/1613 There is a problem with how Qemu handles USB isochronous data transfers in Super Speed mode. Currently there is not much activity there, so it would be great if we could change this, so give it a thumbs up or add your report to this topic 1 Quote Link to comment
Schult0r Posted December 8, 2023 Share Posted December 8, 2023 Having a similar issue with a Razer Kiyo Pro. Only RGB-flicker on the webcam preview image. Working on another laptop with baremetal Win 11 without VM. Quote Link to comment
Schult0r Posted December 9, 2023 Share Posted December 9, 2023 Was able to get the webcam working inside the vm by using an USB 2.0 socket on the mainboard header directly. Just fyi, if someone just needs to get it going until the bug ist fixed. Guess quality will diminish but up til now it's working! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.