Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SID - Unstable] nvidia 340.108+Qt 5.15.8 = Segmentation fault

- - ALL UNSTABLE / TESTING THREADS SHOULD BE POSTED HERE - -
This sub-forum is the dedicated area for the ongoing Unstable/Testing releases of Debian. Advanced, or Experienced User support only. Use the software, give, and take advice with caution.
Message
Author
deepforest
Posts: 32
Joined: 2022-03-18 20:16
Has thanked: 4 times
Been thanked: 2 times

Re: [SID - Unstable] nvidia 340.108+Qt 5.15.8 = Segmentation fault

#21 Post by deepforest »

temporary solution

qt software uses
pastebin.com/raw/qNyjpFsv

Code: Select all

libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0×00007f0e27e00000)
but load

Code: Select all

/usr/lib/x86_64-linux-gnu/nvidia/legacy-340xx/libGL.so.1
and gives Segmentation Fault

but if add this

Code: Select all

export QT_XCB_GL_INTEGRATION=none
export QT_OPENGL=software
and starting trough

Code: Select all

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGL.so qbittorrent
qt software starting without error
Last edited by deepforest on 2023-03-08 23:25, edited 2 times in total.

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: [SID - Unstable] nvidia 340.108+Qt 5.15.8 = Segmentation fault

#22 Post by sunrat »

Good you worked it out.
It seems libGL.so.1 is only provided by legacy nvidia drivers and not the current ones, hence most people have not encountered the issue. legacy-340xx driver is not even available in Bullseye.
https://packages.debian.org/search?suit ... s=libGL.so
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

deepforest
Posts: 32
Joined: 2022-03-18 20:16
Has thanked: 4 times
Been thanked: 2 times

Re: [SID - Unstable] nvidia 340.108+Qt 5.15.8 = Segmentation fault

#23 Post by deepforest »

Thank you!
Yes 340 nvidia is eol and legacy but still supported at Sid and AUR community that make patches for this driver and new kernels
https://www.if-not-true-then-false.com/

danielfilipiuk
Posts: 2
Joined: 2022-07-29 04:33
Has thanked: 4 times

Re: [SID - Unstable] nvidia 340.108+Qt 5.15.8 = Segmentation fault

#24 Post by danielfilipiuk »

deepforest wrote: 2023-03-08 18:27 temporary solution

qt software uses
pastebin.com/raw/qNyjpFsv

Code: Select all

libGL.so.1 => /lib/x86_64-linux-gnu/libGL.so.1 (0×00007f0e27e00000)
but load

Code: Select all

/usr/lib/x86_64-linux-gnu/nvidia/legacy-340xx/libGL.so.1
and gives Segmentation Fault

but if add this

Code: Select all

export QT_XCB_GL_INTEGRATION=none
export QT_OPENGL=software
and starting trough

Code: Select all

LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libGL.so qbittorrent
qt software starting without error
thank you for this workaround! now QT apps can run ok.

OS: Debian GNU/Linux 12 (bookworm) x86_64
Host: HP EliteBook 8440p
Kernel: 6.1.0-8-amd64
Uptime: 14 hours, 47 mins
Packages: 1907 (dpkg)
Shell: bash 5.2.15
Resolution: 1600x900
DE: Xfce 4.18
WM: Xfwm4
WM Theme: Arc-Lighter
Theme: Arc-Lighter [GTK2/3]
Icons: Papirus-Light [GTK2/3]
Terminal: xfce4-terminal
Terminal Font: Terminus Medium 12
CPU: Intel i5 M 540 (4) @ 2.534GHz
GPU: NVIDIA NVS 3100M
Memory: 2214MiB / 7766MiB
Last edited by danielfilipiuk on 2023-04-29 02:28, edited 1 time in total.

Post Reply