Bug#1029681: nvidia-legacy-340xx-driver: Qt5 apps fail to launch with a segfault

jim_p pitsiorisj at outlook.com
Tue Jul 4 10:51:50 BST 2023


Package: nvidia-legacy-340xx-driver
Version: 340.108-19
Followup-For: Bug #1029681
X-Debbugs-Cc: pitsiorisj at outlook.com

Last century's? The tesla (nv50) family was release near the end of the 2010's
decade and it, luckily, had full support by nvidia until the end of 2019! And
since then, it is the community who is keeping it alive with patches for all
recent kernels and xorg 21+.
I am sure no one would care if nouveau was good enough to replace it, but it
isn't and, as it seems, it won't even be by the end of this decade! Sadly, the
features matrix here tells less than half the story about it. Moreover, I am
also glad that kodi's issue made more people try nouveau and judge by
themselves how lacking it is, even for stuff that we take for granted today.
https://nouveau.freedesktop.org/FeatureMatrix.html

But enough with the rant. I want to try what you suggested with the symlink,
but I want to know the procedure to undo it. Btw, the file is already symlinked
to some other lib

$ file /usr/lib/x86_64-linux-gnu/libGLX.so.0
/usr/lib/x86_64-linux-gnu/libGLX.so.0: symbolic link to libGLX.so.0.0.0

That lib is part of mesa's libglx0, which brings me to another serious question
I had forgotten for almost a decade. If the system does not use mesa's libs for
anything, because it uses nvidia's libs, why must it have them installed?

I won't mention again that it does not happen on arch... but I think you can
take some ideas on how arch builds qt5, or at least built it like you do for
qt6 which just works.
Last but not least, arch does not install mesa's stuff on systems with nvidia
drivers.


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.3.0-1-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nvidia-legacy-340xx-driver depends on:
ii  nvidia-installer-cleanup                                         20220217+3
ii  nvidia-legacy-340xx-alternative                                  340.108-19
ii  nvidia-legacy-340xx-driver-bin                                   340.108-19
ii  nvidia-legacy-340xx-driver-libs                                  340.108-19
ii  nvidia-legacy-340xx-kernel-dkms [nvidia-legacy-340xx-kernel-340  340.108-19
    .108]
ii  nvidia-legacy-340xx-vdpau-driver                                 340.108-19
ii  nvidia-support                                                   20220217+3
ii  xserver-xorg-video-nvidia-legacy-340xx                           340.108-19

Versions of packages nvidia-legacy-340xx-driver recommends:
pn  nvidia-persistenced           <none>
ii  nvidia-settings-legacy-340xx  340.108-7

Versions of packages nvidia-legacy-340xx-driver suggests:
ii  nvidia-legacy-340xx-kernel-dkms  340.108-19

Versions of packages nvidia-legacy-340xx-driver-libs:amd64 depends on:
ii  libegl1-nvidia-legacy-340xx     340.108-19
ii  libgl1-nvidia-legacy-340xx-glx  340.108-19

Versions of packages nvidia-legacy-340xx-driver-libs:amd64 recommends:
ii  libgles1-nvidia-legacy-340xx          340.108-19
ii  libgles2-nvidia-legacy-340xx          340.108-19
pn  libnvidia-legacy-340xx-cfg1           <none>
pn  libnvidia-legacy-340xx-encode1        <none>
pn  nvidia-legacy-340xx-driver-libs-i386  <none>

Versions of packages libgl1-nvidia-legacy-340xx-glx:amd64 depends on:
ii  libc6                            2.36-9
ii  libnvidia-legacy-340xx-glcore    340.108-19
ii  libx11-6                         2:1.8.6-1
ii  libxext6                         2:1.3.4-1+b1
ii  nvidia-installer-cleanup         20220217+3
ii  nvidia-legacy-340xx-alternative  340.108-19
ii  nvidia-support                   20220217+3

Versions of packages libgl1-nvidia-legacy-340xx-glx:amd64 recommends:
ii  nvidia-legacy-340xx-kernel-dkms [nvidia-legacy-340xx-kernel-340  340.108-19
    .108]

Versions of packages libgl1-nvidia-legacy-340xx-glx:amd64 suggests:
ii  nvidia-legacy-340xx-kernel-dkms  340.108-19

Versions of packages xserver-xorg-video-nvidia-legacy-340xx depends on:
ii  libc6                                  2.36-9
ii  libnvidia-legacy-340xx-glcore          340.108-19
ii  nvidia-installer-cleanup               20220217+3
ii  nvidia-legacy-340xx-alternative        340.108-19
ii  nvidia-support                         20220217+3
ii  xserver-xorg-core [xorg-video-abi-25]  2:21.1.7-3

Versions of packages xserver-xorg-video-nvidia-legacy-340xx recommends:
ii  nvidia-legacy-340xx-kernel-dkms [nvidia-legacy-340xx-kernel-340  340.108-19
    .108]
ii  nvidia-legacy-340xx-vdpau-driver                                 340.108-19
ii  nvidia-settings-legacy-340xx                                     340.108-7

Versions of packages xserver-xorg-video-nvidia-legacy-340xx suggests:
ii  nvidia-legacy-340xx-kernel-dkms  340.108-19

Versions of packages nvidia-legacy-340xx-alternative depends on:
ii  dpkg                    1.21.22
ii  glx-alternative-nvidia  1.2.2

Versions of packages nvidia-legacy-340xx-kernel-dkms depends on:
ii  dkms                                                             3.0.11-3
ii  nvidia-installer-cleanup                                         20220217+3
ii  nvidia-legacy-340xx-kernel-support [nvidia-legacy-340xx-kernel-  340.108-19
    support--v1]

nvidia-legacy-340xx-kernel-dkms recommends no packages.

Versions of packages glx-alternative-nvidia depends on:
ii  dpkg                  1.21.22
ii  glx-alternative-mesa  1.2.2
ii  glx-diversions        1.2.2
ii  update-glx            1.2.2

Versions of packages glx-alternative-nvidia suggests:
ii  nvidia-legacy-340xx-driver [nvidia-driver-any]  340.108-19

Versions of packages nvidia-legacy-340xx-driver is related to:
pn  bumblebee                                                       <none>
pn  bumblebee-nvidia                                                <none>
pn  ccache                                                          <none>
pn  libcuda.so.1                                                    <none>
pn  libcuda1                                                        <none>
pn  libcuda1-any                                                    <none>
pn  libdrm-nouveau1                                                 <none>
pn  libdrm-nouveau1a                                                <none>
ii  libdrm-nouveau2                                                 2.4.115-1
ii  libegl1                                                         1.6.0-1
ii  libgl1                                                          1.6.0-1
ii  libgl1-nvidia-legacy-340xx-glx [libgl1-nvidia-glx-any]          340.108-19
pn  libgles1                                                        <none>
ii  libgles2                                                        1.6.0-1
pn  libnvidia-cfg1-any                                              <none>
ii  libnvidia-legacy-340xx-ml1 [libnvidia-ml.so.1]                  340.108-19
pn  linux-headers                                                   <none>
ii  make                                                            4.3-4.1
pn  nvidia-driver-any                                               <none>
pn  nvidia-glx-legacy-340xx                                         <none>
ii  nvidia-kernel-common                                            20220217+3
ii  nvidia-legacy-340xx-driver [nvidia-glx-any]                     340.108-19
ii  nvidia-legacy-340xx-driver-libs [nvidia-driver-libs-any]        340.108-19
ii  nvidia-legacy-340xx-kernel-dkms [nvidia-kernel-dkms-any]        340.108-19
pn  nvidia-legacy-340xx-kernel-source                               <none>
ii  nvidia-legacy-340xx-kernel-support [nvidia-kernel-support-any]  340.108-19
ii  nvidia-modprobe                                                 530.30.02-2
pn  nvidia-open-kernel-dkms-any                                     <none>
pn  nvidia-settings                                                 <none>
ii  nvidia-support                                                  20220217+3
pn  nvidia-xconfig                                                  <none>
ii  ocl-icd-libopencl1 [libopencl1]                                 2.3.2-1
pn  opencl-icd                                                      <none>
pn  primus                                                          <none>
pn  primus-libs                                                     <none>
pn  primus-nvidia                                                   <none>
ii  xserver-xorg                                                    1:7.7+23
ii  xserver-xorg-core                                               2:21.1.7-3
pn  xserver-xorg-legacy                                             <none>
ii  xserver-xorg-video-nouveau                                      1:1.0.17-2
ii  xserver-xorg-video-nvidia-legacy-340xx [xserver-xorg-video-nvi  340.108-19
    dia-any]

-- no debconf information



More information about the pkg-nvidia-devel mailing list