Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
|
01-27-2015, 12:35 PM
|
#1
|
Member
Registered: Sep 2011
Location: Brazil
Distribution: Slackware64-current+multilib
Posts: 32
Rep:
|
New nvidia-settings broken
The new nvidia prop driver have a new thing and nvidia-settings now uses gkt3 by default, or something like that. But its not working on Slack. I have the bumblebee setup, and it gives me this message now:
bash-4.3# nvidia-settings
ERROR: libnvidia-gtk3.so.346.35: cannot open shared object file: No such file or directory
libnvidia-gtk3.so: cannot open shared object file: No such file or directory
libnvidia-gtk2.so.346.35: cannot open shared object file: No such file or directory
libnvidia-gtk2.so: cannot open shared object file: No such file or directory
ERROR: A problem occured when loading the GUI library. Please check your installation and library path. You may need to specify this library when calling nvidia-settings. Please run
`nvidia-settings --help` for usage information.
Not sure if its the way the installation is made in the bumblebee script or something else. I'll try to poke around the bumblebee-nvidia slackbuild later.
|
|
|
01-27-2015, 12:39 PM
|
#2
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,277
|
FYI, version bumping the nvidia-driver and nvidia-kernel scripts from SBo with 346.35 seems to work fine here (no bumblebee).
|
|
1 members found this post helpful.
|
01-27-2015, 02:34 PM
|
#3
|
Member
Registered: Sep 2006
Location: Earth
Distribution: Slackware 14.1 Slackware64-current multilib
Posts: 278
Rep:
|
--use-gtk2 option
read release note: Added the nvidia-settings option --use-gtk2 to force the use of the GTK+ 2 UI library.
|
|
1 members found this post helpful.
|
01-27-2015, 02:42 PM
|
#4
|
Member
Registered: Sep 2006
Location: Earth
Distribution: Slackware 14.1 Slackware64-current multilib
Posts: 278
Rep:
|
slackbuild nvidi-driver: 340.65 has broken my amd and nvidia mixed system, 340.76 was released today and fixed this problem.
Edit: there are still problem with 340.76, all screen number is messed up, can't have 2 different screen 0 from different video chip vendors. back to 340.58 works.
Last edited by number22; 01-27-2015 at 04:07 PM.
|
|
1 members found this post helpful.
|
01-28-2015, 02:52 AM
|
#5
|
Member
Registered: Sep 2011
Location: Brazil
Distribution: Slackware64-current+multilib
Posts: 32
Original Poster
Rep:
|
As i said ( or tried to) in the initial post, the nvidia-settings cant find the gtk3 nor the gtk2 libs, as it says in the error.
bash-4.3# nvidia-settings --use-gtk2
ERROR: libnvidia-gtk2.so.346.35: cannot open shared object file: No such file or directory
libnvidia-gtk2.so: cannot open shared object file: No such file or directory
ERROR: A problem occured when loading the GUI library. Please check your installation and
library path. You may need to specify this library when calling nvidia-settings.
Please run `nvidia-settings --help` for usage information.
|
|
|
01-28-2015, 03:14 AM
|
#6
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
Did you run "ldconfig" after installing?
|
|
|
01-28-2015, 03:19 AM
|
#7
|
Senior Member
Registered: Sep 2014
Distribution: Slackware
Posts: 1,779
Rep:
|
Quote:
Originally Posted by Hyonane
ERROR: libnvidia-gtk2.so.346.35: cannot open shared object file: No such file or directory
libnvidia-gtk2.so: cannot open shared object file: No such file or directory
ERROR: A problem occured when loading the GUI library. Please check your installation and
library path. You may need to specify this library when calling nvidia-settings.
Please run `nvidia-settings --help` for usage information.
|
I don't have this problem with 346.35 on 14.1 multilib.
There's no output at all when I run nvidia-settings from terminal.
It still exits with segmentation fault whenever I close the window, but I think it's a completely different issue.
Have you tried nvidia.run --uninstall before upgrading the driver?
Maybe some leftover from old driver did this, I have seen it happen before.
|
|
|
01-28-2015, 04:01 AM
|
#8
|
Member
Registered: Aug 2012
Location: UK
Posts: 206
Rep:
|
I believe the script you use to install the NVIDIA driver just doesn't include the libnvidia-gtk2.so.346.35 and libnvidia-gtk3.so.346.35 files.
EDIT: If it's similar to the nvidia-driver SlackBuild you'll probably need to add something like (untested BTW, I just use the binary installer, which has stopped removing libEGL.la ... for now):
Code:
install -m 755 libnvidia-gtk2.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
install -m 755 libnvidia-gtk3.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
Last edited by turtleli; 01-28-2015 at 04:13 AM.
|
|
|
01-28-2015, 07:43 AM
|
#9
|
Member
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288
Rep:
|
I am also running this nvidia driver with the bumblebee setup... without issues. The package creates a menu item under settings that should run it properly. To do it from the command line you need to run
Code:
optirun nvidia-settings -c :8
Not sure what is causing the issues tho you describe above. Have you removed stock slackware packages from your system? What version of slackware are you running?
|
|
|
01-28-2015, 03:13 PM
|
#10
|
Member
Registered: Nov 2010
Location: Bristol, UK
Distribution: Slackware, FreeBSD
Posts: 836
|
Quote:
Originally Posted by turtleli
I believe the script you use to install the NVIDIA driver just doesn't include the libnvidia-gtk2.so.346.35 and libnvidia-gtk3.so.346.35 files.
EDIT: If it's similar to the nvidia-driver SlackBuild you'll probably need to add something like (untested BTW, I just use the binary installer, which has stopped removing libEGL.la ... for now):
Code:
install -m 755 libnvidia-gtk2.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
install -m 755 libnvidia-gtk3.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
|
I can confirm this suggestion works, have been using that with the beta driver through a modified slackbuild with those exact lines for a while now.
|
|
|
01-29-2015, 04:00 AM
|
#11
|
Member
Registered: Sep 2011
Location: Brazil
Distribution: Slackware64-current+multilib
Posts: 32
Original Poster
Rep:
|
No, i havent removed anything from the default full install. Just checked and the 340.76 packages (nvidia-bumblebee and nvidia-kernel) opens the nvidia-settings normally.
When i added the :
install -m 755 libnvidia-gtk2.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
install -m 755 libnvidia-gtk3.so.$VERSION $PKG/usr/lib$LIBDIRSUFFIX/
to the slackbuild, the compilation failed.
I'll do a fresh install later and ill update about this.
|
|
|
01-30-2015, 11:05 AM
|
#12
|
Member
Registered: Sep 2011
Location: Brazil
Distribution: Slackware64-current+multilib
Posts: 32
Original Poster
Rep:
|
Well, i kept digging around in this. Looks like now i only get those errors if im starting from the terminal, in my need fresh slackware install ( when i created this post, it was not). When i start the nvidia-settings shortcut on the KDE or XFCE menus, it goes on normally.
After making sure those 2 libraries was being compiled, from the terminal, the nvidia-settings opens with:
optirun nvidia-settings -I /usr/lib64/nvidia-bumblebee/libnvidia-gtk2.so.346.35 -c :8
The gtk3.so library works too.
|
|
|
01-30-2015, 03:45 PM
|
#13
|
Member
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 381
Rep:
|
Still broken for me. :-(
|
|
|
01-30-2015, 04:05 PM
|
#14
|
Member
Registered: Apr 2013
Distribution: DistroWanderer
Posts: 381
Rep:
|
Somehow my libs ended up in /usr/local/lib/
Code:
ry@/usr:$ find -name "libnvidia-*"
./lib/nvidia-bumblebee/libnvidia-glcore.so.346.35
./lib/nvidia-bumblebee/libnvidia-tls.so.346.35
./lib/nvidia-bumblebee/libnvidia-ml.so.1
./lib/nvidia-bumblebee/tls/libnvidia-tls.so.346.35
./lib/nvidia-bumblebee/libnvidia-ml.so.346.35
./lib/nvidia-bumblebee/libnvidia-ml.so
./lib/nvidia-bumblebee/libnvidia-compiler.so.346.35
./local/lib/libnvidia-gtk2.so.346.35
./local/lib/libnvidia-gtk3.so.346.35
./lib64/nvidia-bumblebee/libnvidia-glcore.so.346.35
./lib64/nvidia-bumblebee/libnvidia-cfg.so
./lib64/nvidia-bumblebee/libnvidia-cfg.so.346.35
./lib64/nvidia-bumblebee/libnvidia-cfg.so.1
./lib64/nvidia-bumblebee/libnvidia-tls.so.346.35
./lib64/nvidia-bumblebee/libnvidia-ml.so.1
./lib64/nvidia-bumblebee/tls/libnvidia-tls.so.346.35
./lib64/nvidia-bumblebee/libnvidia-wfb.so.346.35
./lib64/nvidia-bumblebee/libnvidia-ml.so.346.35
./lib64/nvidia-bumblebee/libnvidia-ml.so
./lib64/nvidia-bumblebee/libnvidia-compiler.so.346.35
ry@/usr:$
This works:
Code:
optirun nvidia-settings -I /usr/local/lib/libnvidia-gtk3.so.346.35
|
|
|
01-31-2015, 12:06 AM
|
#15
|
Member
Registered: Aug 2012
Location: UK
Posts: 206
Rep:
|
Is the nvidia-bumblebee SlackBuild script the one at https://github.com/WhiteWolf1776/Bum...idia-bumblebee?
A few observations:
1. I think it leaks files. Starting with v346.35, the nvidia-settings package now creates the libnvidia-gtk{2,3}.so.${VERSION} libraries, so LIBDIR=/package/library/location needs to be added to the respective make install line. Otherwise it installs to the default location of /usr/local/lib while the package is being made.
2. The nvidia-settings and nvidia-xconfig packages don't actually need to be downloaded or used. Except for NV-CONTROL-API.txt and FRAMELOCK.txt(which aren't important), all the files that are installed from those packages are actually present in the NVIDIA binary installer. So the SlackBuild could be simplified slightly.
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 04:28 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|