-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] qt.qpa.xcb : execution of example yuv_to_rgb.py with bookworm #860
Comments
Hi, thanks for the report. I've tried running
on the latest Raspberry Pi OS image on a Pi 4 and it seems to work as expected. Can you say if yours is a completely clean installation or whether anything has been changed? Are you running locally on your Pi (with a screen plugged in), or remotely? The error seems to suggest a problem with your Qt installation or version - can you say how you have installed PyQt5 and OpenCV? It might be worth trying the same experiment I did - install a new image, let it do its updates, install OpenCV using Thanks! |
Hi, I almost forgot. I did an update/upgrade but it's always the same |
Thanks for the update. The usual culprits are PyQt5 and OpenCV. If you can install both of them from apt ( |
Hi python3-qt5 and pyrhon3-opencv are installed and there are no competition-installed pip modules. login@raspberrypi:~ $ apt list | grep python3* | grep installé WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
The virtual python env is not used in this case |
A frame qt appears but without the video
RPi 4B 2GB
Linux raspberrypi 6.1.0-rpi6-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.58-1+rpt2 (2023-10-27) aarch64 GNU/Linux
Debian GNU/Linux 12 (bookworm) Release: 12
Python 3.11.2
python3-picamera2/stable,stable,now 0.3.14-1
xcb/stable,now 2.4-8 arm64
The text was updated successfully, but these errors were encountered: