Skip to content

Commit dd9e497

Browse files
committed
test: drop python3-opencv dep and set QT_XCB_GL_INTEGRATION=xcb_egl
Ubuntu 24.04 rip-and-test runs hit a qtvcp segfault after the log- permission fix let qtvcp get further than Phase 1 had. Debian package-arch passes the same code. Two known asymmetries match: - python3-opencv on Ubuntu pulls Qt5 GUI bits whose cv2/qt/plugins directory overrides the system PyQt5 platform plugin path under xvfb (opencv-python issue #572, Qt Forum 119109). qtvcp's camview_widget tolerates ImportError on cv2 and just logs a warning, so dropping the dep restores the harmless fallback path Phase 1 was already exercising. - xcb_glx is the historical fragile integration under xvfb (Launchpad #1761708, QTBUG-67537); xcb_egl is what software-GL stacks expect anyway. Set as defense in depth. Local 4/4 still green with both changes.
1 parent 9849621 commit dd9e497

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

debian/control.top.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ Build-Depends:
5858
python3-dbus.mainloop.pyqt5 <!nocheck>,
5959
python3-qtpy <!nocheck>,
6060
python3-zmq <!nocheck>,
61-
python3-opencv <!nocheck>,
6261
python3-cairo <!nocheck>,
6362
python3-gi <!nocheck>,
6463
python3-gi-cairo <!nocheck>,

tests/ui-smoke/_lib/launch.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,10 @@ export GALLIUM_DRIVER=llvmpipe
4343
export QT_QUICK_BACKEND=software
4444
export QSG_RHI_BACKEND=software
4545
export QT_OPENGL=software
46+
# Dodge a long-known xcb_glx integration crash that hits QtWebEngine
47+
# and related Qt5 widgets under xvfb (Launchpad #1761708, QTBUG-67537).
48+
# Forces the egl path which is what software-GL stacks expect anyway.
49+
export QT_XCB_GL_INTEGRATION=xcb_egl
4650

4751
# Silence audio: xvfb covers X but not sound. Demote every Gst
4852
# Audio/Sink and disable canberra/SDL/pulse/ALSA-default paths.

0 commit comments

Comments
 (0)