32-bit GLX (nvidia) not working after update, unless running with strace
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Oh so I guess that is using the mesa libraries then?
I wanted to get an AMD card too since it seemed the best value but then a friend gave me their "old" Nvidia which wasn't really very old
to the CFLAGS.
I saw this on the commit 374116c3 on the glibc from arch.
Now it is working, no segfaults when opening steam, but I'm not good with that stuff, should I recompile gcc-multilib after that? I'm having some problems compiling it. :x
I recompiled glibc after adding -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer to the CFLAGS.
I saw this on the commit 374116c3 on the glibc from arch.
Now it is working, no segfaults when opening steam, but I'm not good with that stuff, should I recompile gcc-multilib after that? I'm having some problems compiling it. :x
You added -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer? But Arch removed them in commit 374116c3.
I had some downtime at work today so I recompiled Alien Bob's glibc multilib package with the fix from Arch and then tested it on my laptop and it does indeed finally fix the problem. I sent Eric an email and hopefully he can add this fix to his multilib packages.
I don't quite understand what you are trying to do. And why it worked for you.
Slackware (and Alien) glibc is built with -O3. That implies -fomit-frame-pointer. It saves one processor register which helps producing more efficient code, especially when the 32-bit instruction set is used, where fewer registers are available. But it can mean trouble for a debugger, and that's why Arch had added -fno-omit-frame-pointer (and -mno-omit-leaf-frame-pointer) to the default compilation flags to make the compiled code use the frame pointer. It means less optimized code but probably it's not a significant loss with the 64-bit instruction set. Adding the frame-pointer to the 32-bit glibc caused the steam error. Now the commit 374116c3 removes that added '-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' compiler option. But you can't remove it from Slackware CFLAGS because Slackware didn't add it in the first place.
I even tested it again, I reinstalled the glibc multilib package from Eric's repo and it seg faulted like before. I then reinstalled the updated glibc multilib package with the above options and everything works as expected. I have only tried this on my laptop, I will try it on my main machine when I get home.
I thought this was added to the arch build script because the lines were green on the commit, so I just added that stuff there and the problem was solved.
I don't have much idea of what I'm doing, I was only trying to replicate a solution that I saw (a solution that I interpreted wrongly).
It is working thought.
This is where Arch added -fno-omit-frame-pointer and -mno-omit-leaf-frame-pointer to the default compilation flags to improve the effectiveness of profiling and debugging tools 3 months ago: https://gitlab.archlinux.org/archlin...a8c7f4d48bbe1c
And 3 weeks ago Arch fixed the lib32-glibc Segmentation fault with Steam on Nvidia by removing -fno-omit-frame-pointer and -mno-omit-leaf-frame-pointer.
Now you added the same flags which caused the error in Arch in the first place!
This is where Arch added -fno-omit-frame-pointer and -mno-omit-leaf-frame-pointer to the default compilation flags to improve the effectiveness of profiling and debugging tools 3 months ago: https://gitlab.archlinux.org/archlin...a8c7f4d48bbe1c
And 3 weeks ago Arch fixed the lib32-glibc Segmentation fault with Steam on Nvidia by removing -fno-omit-frame-pointer and -mno-omit-leaf-frame-pointer.
Now you added the same flags which caused the error in Arch in the first place!
Yeah. My bad reading comprehension helped me with something. I really thought they added the flags because "line green = adding".
I guess being dumb isn't that bad in the end.
I thought this was added to the arch build script because the lines were green on the commit, so I just added that stuff there and the problem was solved.
Yes, but look at the green lines carefully. An example script:
You both succeeded in fixing the Steam problem the same way Arch caused the problem originally.
Hey wait a minute. Alien Bob's glibc was compiled 2024-04-19 with older gcc. Now you compiled it with new CFLAGS and with a new gcc-14.1.0 from two weeks ago, didn't you? Did you check if the new gcc builds a good glibc without any CFLAGS changes, with Alien Bob's original Slackbuild script?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.