UVC camera only works properly when usbmon is running
1
vote
0
answers
25
views
I have the following setup:\
i.MX8MM + uDP72020 (PCIe to USB-3.0) + UVC-Camera\
Linux: 6.6.69\
GStreamer: 1.24.0 (imx)
GStreamer pipeline I am using:
gst-launch-1.0 -e -vvv v4l2src device=/dev/video0 \
! video/x-raw,width=1920,height=1080,format=YUY2,framerate=30/1 \
! imxvideoconvert_g2d ! kmssink connector-id=35 can-scale=false sync=false
Unfortunately this doesn't work, as I get around 1 fps.
Lower resolutions like 1280x720 work fine.
So I thought maybe it is a performance issue on the host side, but the i.MX8MM should be able to handle this resolution.
While debugging the issue and looking into stuff, I started usbmon to maybe see errors or something. But as soon as I started usbmon, everything worked fine, even at 1920x1080@30fps.
So the above GStreamer pipeline only works when usbmon is running at the same time!
So my question now is, why?
Why is the USB communication suddenly so much better when usbmon is running and logging all the traffic?
Is there anything usbmon does, which I could potentially also do to improve my setup?
Thank you and best regards,
Stefan
Asked by user1243392
(11 rep)
Jun 18, 2025, 09:56 AM