Package: release.debian.org
Severity: normal
Tags: trixie
X-Debbugs-Cc: sig…@packages.debian.org, fbri…@ircad.fr
Control: affects -1 + src:sight
User: rele…@packages.debian.org
Usertags: pu
[ Reason ]
I would like to fix a startup crash affecting SightViewer in Wayland sessions
on Trixie, related to Debian bug #1108183.
The rendering integration uses Ogre with GLX and requires Qt's xcb platform
backend. However, Qt may select its native Wayland backend when running in a
Wayland session, resulting in a crash at startup.
I reproduced this with the official Trixie package under GNOME/Wayland.
Launching the application with QT_QPA_PLATFORM=xcb allows it to start
successfully through XWayland.
This issue has always been there under Wayland, and it became serious when
Wayland became the default in Trixie.
In the same bug report, users reported another issue with older GPUs that only
support OpenGL 4.2. The software crashes on such hardware.
[ Impact ]
SightViewer cannot start in affected Wayland sessions and hardware, including
the GNOME configuration tested on Trixie.
Users can work around the issue by setting QT_QPA_PLATFORM=xcb manually, but
launching the application normally does not work.
The required OpenGL version was downgraded but this does not affect rendering,
no feature above 4.2 was used anyway.
[ Tests ]
Manual testing on a Trixie VM confirmed that:
The official package crashes at startup under GNOME/Wayland.
The same package starts successfully with QT_QPA_PLATFORM=xcb.
Testing of the proposed package:
- GNOME/Wayland, without manually setting QT_QPA_PLATFORM: the application
should start normally and display its graphical interface.
- MATE/X11 session: the application should start normally and display its
graphical interface.
[ Risks ]
The change is small and limited to selecting the Qt platform backend required
by the existing GLX rendering integration.
Under Wayland, the application runs through XWayland. Under X11, xcb is already
the expected backend. No rendering engine upgrade, dependency transition or new
upstream version is included.
The main potential impact is on Qt platform selection at application startup.
[ Checklist ]
[x] all changes are documented in the d/changelog
[x] I reviewed all changes and I approve them
[x] attach debdiff against the package in (old)stable
[x] the issue is verified as fixed in unstable
[ Changes ]
Backport the startup fix to default to Qt's xcb platform backend, ensuring
compatibility with Ogre's GLX rendering integration.
Document the change in debian/changelog and update the package version to
25.0.0-1+deb13u1, targeting trixie.
The update retains upstream version 25.0.0 and does not include the unrelated
changes from newer Sight releases.
[ Other info ]
The fix has already been included in the unstable upload, which has since
migrated to testing.
The proposed stable update is maintained on the debian/trixie branch:
https://salsa.debian.org/med-team/sight/-/tree/debian/trixie
This is my first stable update request. I do not have upload rights and will
need a sponsor for the upload once the update is approved.
Thank you for reviewing this request.
Kind regards,
Flavien Bridault
Bug#1156000: trixie-pu: package sight/25.0.0-1+deb13u1
- From
- Flavien Bridault <fbri…@ircad.fr>
- Reply-To
- Flavien Bridault <fbri…@ircad.fr>, 1156…@bugs.debian.org
- Sender
- robo…@news.nic.it
- Organization
- linux.* mail to news gateway
- Message-ID
- <O5s2…@gated-at.bofh.it>
- Date
- Newsgroups
- linux.debian.bugs.dist, linux.debian.devel.release
Moderated This group is moderated.