LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-20-2020, 09:17 AM   #391
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,537

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899

With current getting wayland, any gotchas those of us using the NVIDIA drivers should be aware of? Seems to be life as usual with it installed.
 
1 members found this post helpful.
Old 02-20-2020, 10:53 AM   #392
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Original Poster
Rep: Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276
Quote:
Originally Posted by garpu View Post
With current getting wayland, any gotchas those of us using the NVIDIA drivers should be aware of? Seems to be life as usual with it installed.
So far, so good.
 
Old 02-20-2020, 10:59 AM   #393
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,537

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
Originally Posted by cwizardone View Post
So far, so good.
Are you using it? I thought it didn't work with Nvidia cards yet?
 
Old 02-20-2020, 11:57 AM   #394
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Original Poster
Rep: Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276
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.
 
Old 02-20-2020, 02:01 PM   #395
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Original Poster
Rep: Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276
Oops. Spoke too soon. No audio. Seems to be a kernel problem.
 
Old 02-20-2020, 02:41 PM   #396
slacktroll
Member
 
Registered: May 2011
Distribution: Slackware64/current
Posts: 175

Rep: Reputation: 44
Hi guys!

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:
Code:
    Option         "MetaModes" "2560x1440_165 +0+0 { AllowGSYNC=On }"
When i wanted to turn on/off G-Sync, i quitted xorg with ctrl + alt + escape and just change the file (from On/Off)

To the solution: first of all, add 2 modes in xorg.conf, in my case i will have these two lines

Code:
    Option         "MetaModes" "2560x1440_165 +0+0 { AllowGSYNC=On }"
    Option         "MetaModes" "2560x1440_120 +0+0 { AllowGSYNC=Off }"
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 :-)
 
1 members found this post helpful.
Old 02-21-2020, 03:51 AM   #397
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
Quote:
Originally Posted by cwizardone View Post
Oops. Spoke too soon. No audio. Seems to be a kernel problem.

Works fine for me with same Nvidia driver 440.59
 
1 members found this post helpful.
Old 02-21-2020, 05:25 AM   #398
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Original Poster
Rep: Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276
Quote:
Originally Posted by Regnad Kcin View Post
Works fine for me with same Nvidia driver 440.59
The video driver has nothing to do with this particular problem, but thanks for taking the time to reply.
 
Old 02-28-2020, 11:13 AM   #399
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Original Poster
Rep: Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276
440.64

Nvidia's latest "Long Lived Branch" driver, version 440.64, has been released and
can be found here, https://www.nvidia.com/download/driv...x/157462/en-us

Release highlight:
Quote:
Added support for the following GPUs:

GeForce MX330
GeForce MX350

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.
 
2 members found this post helpful.
Old 03-20-2020, 09:49 PM   #400
simotrone
LQ Newbie
 
Registered: Aug 2010
Location: Internet
Distribution: Debian, Slackware, and other...
Posts: 22

Rep: Reputation: 4
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:
Quote:
install -m 755 src/_out/Linux_$TARGET/libnvidia-gtk3.so $PKG/usr/lib$LIBDIRSUFFIX/libnvidia-gtk3.so.$VERSION
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?
Quote:
# slackpkg search gtk
[...]
[ installed ] - gtk+-1.2.10-x86_64-7
[ installed ] - gtk+2-2.24.32-x86_64-3
[ installed ] - gtk+3-3.24.14-x86_64-3
[...]
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?
 
1 members found this post helpful.
Old 03-25-2020, 12:58 AM   #401
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
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
  1. 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.
  2. 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.
 
2 members found this post helpful.
Old 04-07-2020, 10:32 AM   #402
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,097

Original Poster
Rep: Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276
440.82

Nvidia's latest "Long Lived Branch" driver, version 440.82, has been released and
can be found here,

https://www.nvidia.com/Download/driv...x/159360/en-us

The release highlights,
Quote:
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".
 
1 members found this post helpful.
Old 04-08-2020, 12:01 AM   #403
kcynice
Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 154

Rep: Reputation: 25
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.
 
Old 04-08-2020, 01:13 AM   #404
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
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.
 
Old 04-08-2020, 01:20 AM   #405
kcynice
Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 154

Rep: Reputation: 25
Quote:
Originally Posted by Regnad Kcin View Post
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.
 
  


Reply

Tags
nvidia



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
LXer: NVIDIA Launches a New Stable Driver for Linux Users, Latest Kernels Supported LXer Syndicated Linux News 0 12-11-2014 05:34 PM
[SOLVED] How do I install Nvidia latest driver on Ubuntu 10.10? volt220 Linux - Newbie 3 04-24-2012 11:42 AM
Enable SLI on latest nvidia driver don_wombat_73 Linux - Hardware 2 10-13-2008 04:55 AM
How do I install the latest Nvidia Driver captaincaveman Linux - Software 2 05-03-2004 11:26 PM
How do I remove latest nvidia driver? - Suse 8.2 ford Linux - Hardware 3 01-18-2004 02:37 AM

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

All times are GMT -5. The time now is 10:27 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