LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-23-2024, 12:38 PM   #91
af7567
Member
 
Registered: Nov 2012
Posts: 293

Original Poster
Rep: Reputation: 106Reputation: 106

Another fix: just delete /usr/lib/libGLX_nvidia.so.0

After checking what's happening with strace when I have the symlink as above.
When running glxinfo it loads libGLX_nvidia.so.0 -> libGLX_nvidia.so.535.154.05 but that fails because other 535.154.05 libs are missing.
So it then tries /usr/lib/libGLX_indirect.so.0 which successfully loads libGLX_nvidia.so.550.54.14 and then it works.
So the problem is when libGLX_nvidia.so.0 is loaded. If you remove it then everything works, but it will get recreated again when ldconfig runs so you will need to keep deleting it.

edit: fixed path

Last edited by af7567; 02-23-2024 at 12:45 PM.
 
Old 02-23-2024, 12:52 PM   #92
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,537

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Originally Posted by af7567 View Post
Another fix: just delete /usr/bin/libGLX_nvidia.so.0

After checking what's happening with strace when I have the symlink as above.
When running glxinfo it loads libGLX_nvidia.so.0 -> libGLX_nvidia.so.535.154.05 but that fails because other 535.154.05 libs are missing.
So it then tries /usr/lib/libGLX_indirect.so.0 which successfully loads libGLX_nvidia.so.550.54.14 and then it works.
So the problem is when libGLX_nvidia.so.0 is loaded. If you remove it then everything works, but it will get recreated again when ldconfig runs so you will need to keep deleting it.
It's weird, but it works...I did get an error about vulkan, though, when starting STeam:

Code:
Vulkan missing requested extension 'VK_KHR_surface'.
Vulkan missing requested extension 'VK_KHR_xlib_surface'.
BInit - Unable to initialize Vulkan!
It does break 32-bit vkcube, though. So I'm not sure it's a better fix than strace/debugging, at least for Steam.
 
1 members found this post helpful.
Old 02-23-2024, 12:58 PM   #93
af7567
Member
 
Registered: Nov 2012
Posts: 293

Original Poster
Rep: Reputation: 106Reputation: 106
Quote:
Originally Posted by garpu View Post
It does break 32-bit vkcube, though. So I'm not sure it's a better fix than strace/debugging, at least for Steam.
Oh, yes I didn't check 32-bit vulkan. I just tested steam and cs2 and that was all fine since cs2 is 64-bit vulkan.

Maybe it means some steam things aren't hardware accelerated if they need vulkan? I didn't get any errors about vulkan though. (edit: I don't have hardware acceleration enabled in the steam settings)
But if I run /usr/bin/32/vkcube it uses CPU rendering instead of nvidia
Code:
$ /usr/bin/32/vkcube
Selected GPU 0: llvmpipe (LLVM 17.0.6, 256 bits), type: Cpu

Last edited by af7567; 02-23-2024 at 12:59 PM.
 
Old 02-24-2024, 11:32 AM   #94
cabrageo
LQ Newbie
 
Registered: Jul 2021
Posts: 3

Rep: Reputation: Disabled
Thanks to garpu for posting the cumulative repository link. I was having a hard time finding the earlier versions of the packages, my local /var/cache/packages has only the current versions. Rolling back glibc to 2.38 and binutils to 2.41 cured my steam and glx segfaults. Still running latest 6.6.18 kernel.
This problem gave me no end of frustration as pulling the video card and running the intel driver sort of worked but the venerable 3770 lacks the graphics capabilities needed to play games.
I originally thought it was a Steam problem, and ended up nuking my installs. Can't count the number of times I reinstalled the NVidia blob either.

I will keep monitoring this thread awaiting a definitive solution
 
Old 02-25-2024, 11:43 AM   #95
af7567
Member
 
Registered: Nov 2012
Posts: 293

Original Poster
Rep: Reputation: 106Reputation: 106
Quote:
Originally Posted by cabrageo View Post
Rolling back glibc to 2.38 and binutils to 2.41 cured my steam and glx segfaults.
You don't actually need to downgrade binutils. That is only if you are going to be compiling glibc-mutlilib yourself.
If you aren't going to recompile anything then just downgrading glibc is enough. (or replacing glibc-2.39 with a version that was linked by binutils-2.41)
 
Old 02-25-2024, 04:25 PM   #96
cabrageo
LQ Newbie
 
Registered: Jul 2021
Posts: 3

Rep: Reputation: Disabled
Quote:
Originally Posted by af7567 View Post
You don't actually need to downgrade binutils. That is only if you are going to be compiling glibc-mutlilib yourself.
If you aren't going to recompile anything then just downgrading glibc is enough. (or replacing glibc-2.39 with a version that was linked by binutils-2.41)
The NVidia installer-compiled 32 bit versions of the GLX files segfault with the new binutils with the 2.38 glibc so in my case I needed to downgrade both.
 
Old 03-19-2024, 11:03 AM   #97
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,537

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Yep, still not fixed with 550.67.
 
2 members found this post helpful.
Old 04-04-2024, 11:20 AM   #98
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 820

Rep: Reputation: 440Reputation: 440Reputation: 440Reputation: 440Reputation: 440
Not sure if this was mentioned before, but as a workaround you can also start Steam via flatpak. Works great here.
 
Old 04-20-2024, 12:47 PM   #99
af7567
Member
 
Registered: Nov 2012
Posts: 293

Original Poster
Rep: Reputation: 106Reputation: 106
I had forgotten about this until steam stopped working again today after the glibc update I guess I need to rebuild my glibc with the new patch.

edit - multilib glibc 2.39 built using binutils 2.41 including the CVE-2024-2961_glibc2.39 patch is here in case anyone wanted it: http://135.125.183.217/glibc/

Last edited by af7567; 04-20-2024 at 01:09 PM.
 
1 members found this post helpful.
Old 04-22-2024, 03:44 PM   #100
Francexi
Member
 
Registered: Apr 2012
Location: Italy
Distribution: Slackware
Posts: 134

Rep: Reputation: Disabled
Quote:
Originally Posted by af7567 View Post
I had forgotten about this until steam stopped working again today after the glibc update I guess I need to rebuild my glibc with the new patch.

edit - multilib glibc 2.39 built using binutils 2.41 including the CVE-2024-2961_glibc2.39 patch is here in case anyone wanted it: http://135.125.183.217/glibc/
care to share the patch file? Would be useful
 
Old 04-22-2024, 03:51 PM   #101
af7567
Member
 
Registered: Nov 2012
Posts: 293

Original Poster
Rep: Reputation: 106Reputation: 106
Quote:
Originally Posted by Francexi View Post
care to share the patch file? Would be useful
I got the patch from the Slackware source here: http://ftp.slackware.com/pub/slackwa...glibc/patches/
The patch is nothing to do with the nvidia problem, it's a glibc security problem and the reason that glibc was recently updated on Slackware.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse Tumbleweed: After update Chromium/ various games not working. GLX issue? spamhippy SUSE / openSUSE 4 06-28-2020 07:54 PM
64 bit JVM crash on RHEL 5.5 64 bit ( JRE 1.6 update 23 ) - strace attached bangarrajuv Red Hat 1 07-14-2011 10:00 AM
Can't load the nvidia glx (may be lacking \etc\rc.d\init.d\nvidia-glx) Starchild Fedora 1 07-27-2007 06:44 AM
nvidia-glx-legacy & GLX errors Codegen Ubuntu 5 03-11-2007 03:18 PM
(II) [GLX]: Initializing GLX extension - X wont go hydro Linux - Software 3 02-20-2003 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration