Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1031488: NVIDIA 340.108 driver gives Segmentation fault at launch all Qt software

17 views
Skip to first unread message

Alexander Procenko

unread,
Feb 17, 2023, 3:10:05 AM2/17/23
to
Package: Qt

Version: 5.15.4 - 5.15.8

With nouveau all working good. But after installing the legacy 340.108 nvidia driver for my gf9800 i have Segmentation Fault at launching all Qt GUI software. And opposite, Qt works again after uninstalling nvidia driver.

But it is very strange that if I run Qt software via debugging tools such as gdb or strace I have no errors.

gdb ./doomseeker
strace ./doomseeker

Same is with Qbittorrent

https://i.stack.imgur.com/ehbCm.png

and 2048-Qt

https://i.stack.imgur.com/OTV6q.png

Only two Qt application starting normally - CMake GUI and Audacious Qt theme

Is there any solution to fix this? Who can fix this Debian or Qt devs?

Andreas Beckmann

unread,
Feb 17, 2023, 6:00:04 AM2/17/23
to
Control: merge -1 1031489
Control: reassign -1 nvidia-legacy-340xx-driver 340.108-17
Control: severity -1 serious
Control: tag -1 upstream wontfix

On Fri, 17 Feb 2023 09:55:21 +0200 Alexander Procenko
<a.v.pr...@gmail.com> wrote:
> With nouveau all working good. But after installing the legacy 340.108
> nvidia driver for my gf9800 i have Segmentation Fault at launching all
> Qt GUI software. And opposite, Qt works again after uninstalling
> nvidia driver.

The EoL 340xx legacy driver predates glvnd and comes with a monolithic
libGL.so.1. With glvnd libGL.so.1 was split into libOpenGL.so.0 and
libGLX.so.0 (libGL.so.1 still exists for legacy applications).
Latest Qt packages in Debian started to make use of the split libraries
(and perhaps some new entry points, too), thus the libGL.so.1 from the
legacy nvidia driver no longer works as a replacement (and LD_PRELOAD
tricks also don't work for Qt apps, but for some OpenGL apps).
The segmentation faults most likely stem from mixing the two OpenGL
implementations in one running program.

The world has moved on. Either stick to bullseye to continue using the
ancient driver or get rid of the legacy driver (and the legacy GPU) if
you want latest software versions.


More details in #1029681.


Andreas
0 new messages