Hi everyone, I’m stuck with my Arducam PiNSIGHT on a Raspberry Pi 5 running Debian GNU/Linux 12 (bookworm). I’ve never actually gotten it to work since I bought it. Whenever I try to launch, I get these two errors:
[14442C10E1B6C9D600] [1.1] [12.971] [ColorCamera(0)] [error] Camera not detected on socket: 0
and
qt.qpa.plugin: Could not find the Qt platform plugin “wayland”
Any ideas where to start? I’m not even sure if these are related or two separate problems.
The second error is a Qt issue: the app can’t load the Wayland platform plugin, so it’s failing to start with the Wayland backend. On Bookworm, X11 is often the default, which would explain why the ‘wayland’ plugin isn’t found. Try enabling the Wayfire window manager with the Wayland backend:
Then reboot the Pi and give it another try. Just keep in mind your log also shows ‘Camera not detected on socket: 0’, so if the camera error is still there after this, we’ll need to dig into that separately.
So I followed the Arducam PiNSIGHT wiki and ran that exact raspi-config sequence to enable Wayfire, then rebooted. Still not working. Actually now I’m also seeing ‘Calibration Data on device is empty’ appear right before the wayland error, and ‘wayland’ isn’t present in the folder path location it’s looking at. I’m still getting:
[14442C10E1B6C9D600] [1.1] [12.971] [ColorCamera(0)] [error] Camera not detected on socket: 0
Hmm, that changes things a bit. The empty calibration data combined with ‘Camera not detected on socket: 0’ makes me suspect the hardware connection itself rather than just the Qt plugin. Could you send me some pictures of the whole kit? I have a feeling the module might be a little bit loose.
Good call. I disassembled the PiNSIGHT and found that the camera unit connection was loose. I re-seated it properly and now most of the demos are working! The wayland error is still showing up though. Quick question: should wayland.sco be present in the platform folder? I’ve attached a couple of screenshots of what I’m seeing now.
Nice, sounds like the loose camera connection was the main culprit. For the remaining wayland error, the simplest route is to switch back to X11 instead of chasing the Wayland backend:
Then reboot and test again. As for wayland.sco, that file is part of the Qt Wayland platform plugin. If it’s missing from your Qt plugins/platforms directory, the wayland backend won’t load, which is exactly why that error keeps appearing. Running under X11 avoids needing it entirely, so the error should go away.