Re: Slow video output from webcam with qemu-xhci but smooth with usb-ehci

2020-12-17 Thread Dr. David Alan Gilbert
* Diego Viola (diego.vi...@gmail.com) wrote: > On Sat, Dec 12, 2020 at 1:28 PM Diego Viola wrote: > > > > Hi, > > > > I'm experiencing a lot of choppiness in the video output when I pass > > through my USB webcam to the guest using qemu-xhci as follows: > > > > qemu-system-x86_64 -enable-kvm -hda

Re: Slow video output from webcam with qemu-xhci but smooth with usb-ehci

2020-12-13 Thread Diego Viola
On Sat, Dec 12, 2020 at 1:28 PM Diego Viola wrote: > > Hi, > > I'm experiencing a lot of choppiness in the video output when I pass > through my USB webcam to the guest using qemu-xhci as follows: > > qemu-system-x86_64 -enable-kvm -hda arch-zoom.qcow2 -m 4G -vga virtio > -device qemu-xhci,id=xhci

Re: Slow video output from webcam with qemu-xhci but smooth with usb-ehci

2020-12-13 Thread Diego Viola
On Sun, Dec 13, 2020 at 4:30 PM Diego Viola wrote: > > Not sure it's related but I'm seeing this on the guest now when I use > mpv --vo=drm on a tty: mpv --vo=drm /dev/video0

Re: Slow video output from webcam with qemu-xhci but smooth with usb-ehci

2020-12-13 Thread Diego Viola
Not sure it's related but I'm seeing this on the guest now when I use mpv --vo=drm on a tty: [ 28.918606] xhci_hcd :00:04.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 2 comp_code 13 [ 28.919816] xhci_hcd :00:04.0: Looking for event-dma 00012a8c7d80 trb-start

Slow video output from webcam with qemu-xhci but smooth with usb-ehci

2020-12-12 Thread Diego Viola
Hi, I'm experiencing a lot of choppiness in the video output when I pass through my USB webcam to the guest using qemu-xhci as follows: qemu-system-x86_64 -enable-kvm -hda arch-zoom.qcow2 -m 4G -vga virtio -device qemu-xhci,id=xhci -device usb-host,bus=xhci.0,hostdevice=/dev/bus/usb/002/004 My w