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

jim_p pitsiorisj at outlook.com
Tue Mar 28 10:17:50 BST 2023


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

I contacted an arch user who still uses nvidia 340 from aur and, as he mentions
in the comments, there is no issue with qt5 apps and nvidia 340 there.
I do not know how arch builds qt5, or if it builds the -gles variant, but I
think someone with the relevant knowledge should check the patches there in
case they patch something differently.

In other news, gtk4 will bring more gl related issues as it seems. Pictured is
blackbox-terminal, a gtk4 app and that huge black rectangle around the menu is,
supposedly, where its shadow would be. Launching it from a terminal pops these
errors

$ blackbox-terminal
Gsk-Message: 11:43:02.022: Failed to realize renderer of type 'GskGLRenderer'
for surface 'GdkX11Toplevel': Compilation failure in shader.
Source Code:   1| #version 100

(140+ lines of source code here)

Error Message:
0(30) : error C7551: OpenGL first class arrays require #version 120
0(43) : error C7551: OpenGL first class arrays require #version 120
0(120) : error C7551: OpenGL first class arrays require #version 120


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

Kernel: Linux 6.1.0-6-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+2
ii  nvidia-legacy-340xx-alternative                                  340.108-18
ii  nvidia-legacy-340xx-driver-bin                                   340.108-18
ii  nvidia-legacy-340xx-driver-libs                                  340.108-18
ii  nvidia-legacy-340xx-kernel-dkms [nvidia-legacy-340xx-kernel-340  340.108-18
    .108]
ii  nvidia-legacy-340xx-vdpau-driver                                 340.108-18
ii  nvidia-support                                                   20220217+2
ii  xserver-xorg-video-nvidia-legacy-340xx                           340.108-18

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-18

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

Versions of packages nvidia-legacy-340xx-driver-libs:amd64 recommends:
ii  libgles1-nvidia-legacy-340xx          340.108-18
ii  libgles2-nvidia-legacy-340xx          340.108-18
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-8
ii  libnvidia-legacy-340xx-glcore    340.108-18
ii  libx11-6                         2:1.8.4-2
ii  libxext6                         2:1.3.4-1+b1
ii  nvidia-installer-cleanup         20220217+2
ii  nvidia-legacy-340xx-alternative  340.108-18
ii  nvidia-support                   20220217+2

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

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

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

Versions of packages xserver-xorg-video-nvidia-legacy-340xx recommends:
ii  nvidia-legacy-340xx-kernel-dkms [nvidia-legacy-340xx-kernel-340  340.108-18
    .108]
ii  nvidia-legacy-340xx-vdpau-driver                                 340.108-18
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-18

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

Versions of packages nvidia-legacy-340xx-kernel-dkms depends on:
ii  dkms                                                             3.0.10-6
ii  nvidia-installer-cleanup                                         20220217+2
ii  nvidia-legacy-340xx-kernel-support [nvidia-legacy-340xx-kernel-  340.108-18
    support--v1]

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

Versions of packages glx-alternative-nvidia depends on:
ii  dpkg                  1.21.21
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-18

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.114-1+b1
ii  libegl1                                                        1.6.0-1
ii  libgl1                                                         1.6.0-1
ii  libgl1-nvidia-legacy-340xx-glx [libgl1-nvidia-glx-any]         340.108-18
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-18
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+2
ii  nvidia-legacy-340xx-driver [nvidia-glx-any]                    340.108-18
ii  nvidia-legacy-340xx-driver-libs [nvidia-driver-libs-any]       340.108-18
ii  nvidia-legacy-340xx-kernel-dkms [nvidia-kernel-dkms-any]       340.108-18
pn  nvidia-legacy-340xx-kernel-source                              <none>
ii  nvidia-legacy-340xx-kernel-support [nvidia-kernel-support-any  340.108-18
    ]
ii  nvidia-modprobe                                                525.78.01-1
pn  nvidia-open-kernel-dkms-any                                    <none>
pn  nvidia-settings                                                <none>
ii  nvidia-support                                                 20220217+2
pn  nvidia-xconfig                                                 <none>
ii  ocl-icd-libopencl1 [libopencl1]                                2.3.1-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-1
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-nv  340.108-18
    idia-any]

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2023-03-28-114405_700x450_scrot.png
Type: image/png
Size: 23218 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-nvidia-devel/attachments/20230328/c9efdeac/attachment-0001.png>


More information about the pkg-nvidia-devel mailing list