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.
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097
Original Poster
Rep:
Un-installed the Nvidia driver, installed the updates which included wayland, xorg, mesa and a new kernel, rebooted and re-installed the Nvidia driver (440.59).
All is well, but if you are asking if I've purposely implemented anything that uses wayland, then, no.
I have a Geforce GTX 980Ti and a G-Sync/ULMB Monitor, I sometimes want to use G-Sync and sometimes ULMB.
The problem is, that the monitor is always announced as G-Sync regardless if G-Sync is ticked in or out in nvidia-settings.
Code:
nvidia-settings -a AllowGSYNC=0
Does really disable G-Sync, but it's still announced on the monitor so ULMB can't be turned on.
When starting xorg i ran nvidia-settings and clicked the "Save to X Configure File" and and saved it in
/etc/X11/xorg.conf
My old solution was to edit xorg.conf, and add a MetaMode in the Section "Screen" which had something like this:
To disable G-Sync (In my case the 165hz selection is used by default, probably because it's first in the xorg.conf)
Code:
nvidia-settings -a currentmetamode="2560x1440_120 { AllowGSYNC=Off }"
Monitor led is set to white, G-Sync is not announced and ULMB can be used.
To enable G-Sync
Code:
nvidia-settings -a currentmetamode="2560x1440_165 { AllowGSYNC=On }"
nvidia-settings -q AllowGSYNC
nvidia-settings -a AllowFlipping=1 #this is needed for G-Sync to work in wine + dxvk
Hope anyone else has a G-Sync capable monitor which has ULMB as well :-)
Fixed a regression that allowed displays to enter DPMS mode even when DPMS is disabled in the X server settings.
Fixed driver installation failure on Linux kernel 5.6 release candidates, where the NVIDIA kernel module failed to build with error "implicit declaration of function 'ioremap_nocache'".
Last edited by cwizardone; 02-28-2020 at 11:36 AM.
Hi there.
I'm on a slackware64-current.
At the moment I'm on a working nvidia driver version 390.77 and I want to upgrade to 440.59.
I tried to use the SlackBuild script but it failed. (Ref https://slackbuilds.org/slackbuilds/...ver.SlackBuild)
Indeed it fails after the "compiling nvidia-settings block" when it go for:
and this happen because the nvidia-settings compiling doesn't provide the libnvidia-gtk3.so file (I tested this by hand. The compiling goes well, but provide only gtk2 lib).
1. Someone can help me to understand why the libnvidia-gtk3 is expected but my system doesn't generate it. What lead this?
All the libs seems installed.
Please note: my current is not fully installed (but is almost full). wayland, for example, is not. I don't think should to be this missing, but if it is, of course i can install it.
2. can you explain me why the libnvidia-gtk* are provided by NVIDIA-Linux-xxx.run script but the SlackBuild script overwrites them with the nvidia-settings products?
I just posted nvidia-440.64 updates to SBo for the next weekly release. There were a view script bugs but nothing that would effect nvidia-settings
both libnvidia-gtk3.so and libnvidia-gtk2.so get generated on my Slackware64-current box. Something screwy with your current install? pkg-config? always re-test on FULL slackware before posting a bug report. Note that Current (15.0) support is EXPERIMENTAL.
The SBo buildscript compiles all the open source nvidia utilities natively on Slackware so that Slackware versions of the necessary system dependencies are used. This is right and proper.
Added a workaround for Steam Play title DOOM Eternal, which overrides application requested memory locations, to ensure performance-critical resources be placed in video memory.
Allow presenting from queue families which only expose VK_QUEUE_COMPUTE_BIT when using XCB in addition to Xlib surfaces.
Fixed a bug that caused render-offloaded applications to crash on exit.
Fixed a driver installation failure on Linux kernel 5.6 release candidates, where the NVIDIA kernel module failed to build with error "implicit declaration of function 'timespec_to_ns'".
Fixed a driver installation failure on Linux kernel 5.6 release candidates, where the NVIDIA kernel module failed to build with error "implicit declaration of function 'getrawmonotonic'".
Fixed a driver installation failure on Linux kernel 5.6 release candidates, where the NVIDIA kernel module failed to build with error "implicit declaration of function 'timespec_to_ns'".
Fixed a driver installation failure on Linux kernel 5.6 release candidates, where the NVIDIA kernel module failed to build with error "implicit declaration of function 'getrawmonotonic'".
Fixed a driver installation failure on Linux kernel 5.6 release candidates, where the NVIDIA kernel module failed to build with error "implicit declaration of function 'getnstimeofday'".
Fixed a driver installation failure on Linux kernel 5.6 release candidates, where the NVIDIA kernel module failed to build with error "dereferencing pointer to incomplete type 'struct timeval'".
Fixed a driver installation failure on Linux kernel 5.6 release candidates, where the NVIDIA kernel module failed to build with error "implicit declaration of function 'jiffies_to_timespec'".
Fixed driver installation failure on Linux kernel 5.6 release candidates, where the NVIDIA kernel module failed to build with error "passing argument 4 of 'proc_create_data' from incompatible pointer type".
And where could I get the full guideline to install to my slack?
I use slackware current 64 bit with Plasma 5.
GPU: GP104BM [GeForce GTX 1080 Mobile]
And, I tried from slackbuilds.org and failed to use. refer tomy question about installation
Thanks.
Here is how I handle it. (NVidia has its detractors and Nouveau its fans but the Nvidia drivers suit my needs better.)
Download the nvidia driver from the their website using one of the links provided to us by the unmerited (with respect to our merit) favour of "cwizardone" such as this one which works for me:
Get into the directory where the downloaded binary is located and as root in a terminal at the command line:
sh NVIDIA-Linux-x86_64-440.64.run
The binary will run, and if Nouveau is running, you
will get an error message stating that fact and if you proceed, the program will offer to blacklist Nouveau for you. Agree to allow that, and then reboot your box. After the reboot, get back in as root and run the binary again from the command line as above. Follow the prompts and the kernel module will build and you will be given the option to allow the program to set up a config file that will manage the nvidia driver configs for you. Agree to that and when it finishes you can exit and login as a user and you are good to go.
In the case that you upgrade your kernel you will have to repeat the running of the binary but Nouveau will remain safely blacklisted and out of your way. Since the nvidia modules are kernel-specific, X will not usually start after a kernel upgrade until you run the binary and make new modules. Some of the nvidia "upgrade" drivers are better than others but problems generally are few. You will find a handy app "nvidia-settings" which runs in your desktop and allows you to tweak your monitor settings. As I use multiple monitors and often am changing things up, I find that tool to be invaluable although there are similar but different widgets in xfce and kde5 and gnome-like desktops.
Last edited by Regnad Kcin; 04-08-2020 at 01:23 AM.
The binary will run, and if Nouveau is running, you
will get an error message stating that fact and
if you proceed, the program will offer to blacklist
Nouveau for you. Agree to allow that, and then reboot your box.
But the problem is, I can't using my laptop without nouveau. If so, I will get a blackscreen on my laptop.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.