B0574 USB3 camera disconnects and corrupts buffer in OpenCV on Ubuntu 24.04

Hi everyone, I’m evaluating the B0574 USB3.0 UVC Global Shutter Dual Camera Bundle Kit (Lot Code 20250724) on Ubuntu 24.04 with an Intel 18-core CPU and 16 GB RAM. I’m targeting max resolution (3840×1200) and testing with the example app from the Arducam Linux Quick Start Guide.

Here’s what I’m seeing so far:

  • qv4l2 works surprisingly well, even under high CPU load. No issues there.
  • OpenCV Python (cv2) — terrible corruption. The frames are basically unusable, lots of tearing and garbled lines.
  • v4l2py — also getting random buffer corruption, seems timing-related. It’s slightly better than cv2 but still not reliable.
  • Running the demo app: python arducam_demo.py -W 3840 -H 1200 -f 20 — sometimes it works briefly, but…

The bigger problem: the camera randomly disappears from lsusb -v and becomes inaccessible via v4l2-ctl. I get:

Could not open camera device /dev/video0

It also randomly freezes during capture — I have to close and reopen the capture to recover. And occasionally on a fresh boot the camera isn’t recognized at all, or reports “Failed to Initialize.”

I’ve confirmed I’m on a USB 3.0 port with a USB 3.0 cable — tried both the included cable and a 6 ft one, same behavior. Has anyone else run into this? Is there a known firmware issue with this lot?

Thanks for the detailed report. This does sound like a firmware-level issue, and we’ve been tracking similar reports on this lot. Our team has prepared a firmware update that addresses several of the problems you’re describing.

A couple of things to note:

  • JPG/MJPEG format still has known issues in the current firmware, so I strongly recommend using YUV (YUYV) format for testing.
  • The firmware update should resolve the device dropouts and initialization failures you’re seeing.

I’ve sent you the firmware update package and instructions via private message — please check your inbox. Let us know how it goes after the update.

Appreciate the quick response. I grabbed the firmware package from the private message, but there’s a problem: the update tool inside the zip is Windows-only. I’m running Ubuntu 24.04 and don’t have a Windows machine readily available. Is there a Linux version of the firmware update utility? I can’t proceed without it.

You’re right — the current firmware update tool is Windows-only, and we apologize for the inconvenience. This is something our team is aware of and a Linux-compatible updater is on the roadmap.

In the meantime, do you have access to any Windows system at all — even temporarily? The update process is fairly quick once you have the tool running. If not, let us know and we’ll see what we can do to expedite the Linux utility.

Okay, I was able to borrow a Windows machine and got the firmware flashed onto the B0574. Here’s what I’m seeing post-update:

  • MJPEG format now appears in qv4l2 — it was completely absent before the update, so that’s progress. But when I select it, the screen is just blank/black. No image at all.
  • YUYV mode works but freezes after about 3 minutes of continuous capture. The stream just locks up and I have to restart.
  • OpenCV (cv2) still shows corruption lines when using YUYV. I’m attaching a screenshot of what it looks like — horizontal bands of garbled data cutting through the image.

I’ve also confirmed this behavior on two independent B0574 modules, so it’s not a single defective unit. Both behave identically.

So the firmware update helped (MJPEG is at least visible now), but the core issues remain: MJPEG is non-functional, YUYV isn’t stable for long runs, and OpenCV buffer corruption is still there. Any ideas on next steps?

Thanks for the thorough post-update testing — this is really helpful data for our R&D team.

To summarize where things stand:

  • The firmware update partially addressed the issue (MJPEG is now enumerated), but it’s clearly not rendering frames correctly yet.
  • The YUYV freeze after ~3 minutes and the persistent OpenCV buffer corruption point to a deeper issue in the UVC stream handling that still needs work.
  • Since you’ve reproduced this across two modules, we can confidently rule out a hardware defect on a single unit.

Our R&D team is currently on a national holiday break but they’ll be picking this up as a priority when they return. Internally, we’re discussing both an optimized firmware revision and a proper Linux-compatible firmware update utility so you’re not stuck needing a Windows machine going forward.

I’ll update this thread as soon as the next firmware release is ready. In the short term, if YUYV at lower resolutions or frame rates happens to be more stable for your use case, that might be worth trying as a temporary workaround — but I understand that’s not ideal when you need the full 3840×1200 stream. Hang tight.

Hi thanks so much for the helpful discussion. I have the same issue. Could you point me where I can download the latest firmware?

Hi there,
Could you please send an email to [email protected](better include the forum thread)?
Besides, you can also attach the firmware version of your camera module.
Here’s how you can check the firmware version:
UVC Camera Configuration Guide - Arducam Wiki

Hi thanks for the guidance. I have sent the email but haven’t heard back yet. Copying the firmware information here:

I’m using Arducam B0574 UVC USB 3.0:

  • FW version is 1.0.3
  • ISP FW version is 2.81 2025/05/14
  • Build Time: 2025-07-01