LinuxQuestions.org
Review your favorite Linux distribution.
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 06-13-2019, 01:04 AM   #301
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

Gerardo Zamudio,
The SBo release does not yet target current. I have to move some stuff around to take into account that libglvnd is in Slackware-current. The symlinks will be adjusted appropriately since with libglvnd we can now have multiple drivers installed without everybody stomping on everybody else. I will not do that until RC1 hits and the final kernel is locked down. If you want to use Nvidia SBo on current, some issues may arise until I can sort everything out.

see also: https://github.com/NVIDIA/libglvnd

That said, I will most likely update for 14.2 since I have run into some display port issues.
 
Old 06-13-2019, 02:28 AM   #302
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
FWIW I just installed the new mesa-19.1.0 (in testing), built nvidia-430.26 driver (Slack64-current w/ Plasma 5) and so far everything is running just fine.

Last edited by 3rensho; 06-13-2019 at 04:37 AM.
 
3 members found this post helpful.
Old 06-13-2019, 04:39 AM   #303
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,098

Original Poster
Rep: Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276
Quote:
Originally Posted by 3rensho View Post
FWIW I just installed the new mesa-19.1.0 (in testing), built nvidia-430.26 driver (Slack64-current w/ Plasma 5) and so far everything is running just fine.
Ditto, but using Xfce and Nvidia's 430.26 blob.
 
1 members found this post helpful.
Old 06-13-2019, 08:29 AM   #304
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
I took the opportunity to switch over to the blob version. Seems to have gone swimmingly.
 
1 members found this post helpful.
Old 06-14-2019, 01:12 AM   #305
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Since there are relatively frequent kernel updates I just want to be clear on what to do (when running the Nvidia blob) after building and booting the new kernel. It looks like -

nvidia-switch --remove

build and reinstall nvidia-kernel and nvidia-driver

reinstall mesa

startx

If I have missed something or one or more of these steps are not needed please let me know. I don't want to mess this up. Thanks in advance.
 
Old 06-14-2019, 04:14 AM   #306
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,098

Original Poster
Rep: Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276Reputation: 7276
Quote:
Originally Posted by 3rensho View Post
Since there are relatively frequent kernel updates I just want to be clear on what to do (when running the Nvidia blob) after building and booting the new kernel. It looks like -

nvidia-switch --remove

build and reinstall nvidia-kernel and nvidia-driver

reinstall mesa........

Shouldn't mesa be installed before installing the Nvidia blob?

Last edited by cwizardone; 06-14-2019 at 04:23 AM.
 
Old 06-14-2019, 04:43 AM   #307
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Not sure of the proper sequence hence the question.
 
Old 06-14-2019, 08:05 AM   #308
system001
Member
 
Registered: Nov 2018
Location: Portland Oregon Canada
Distribution: Kubuntu 19.04 - Manjaro 18.0
Posts: 199

Rep: Reputation: 15
Quote:
Originally Posted by 3rensho View Post
Not sure of the proper sequence hence the question.

this is the tut i used and i have the nvidia drive up and running pergectly


https://linuxconfig.org/install-and-...ulkan-on-linux
 
Old 06-14-2019, 08:47 AM   #309
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
Quote:
Originally Posted by 3rensho View Post
Since there are relatively frequent kernel updates I just want to be clear on what to do (when running the Nvidia blob) after building and booting the new kernel. It looks like -

nvidia-switch --remove

build and reinstall nvidia-kernel and nvidia-driver

reinstall mesa

startx

If I have missed something or one or more of these steps are not needed please let me know. I don't want to mess this up. Thanks in advance.
I just run 'sh NVIDIA-Linux-x86_64-430.26.run' after booting the new kernel or after a mesa upgrade.

The installer removes the installed driver and installs everything needed I think.

I don't reinstall mesa.

I think the SBo NVidia package is usefull when you have more than one kernel installed.
NVidia blob needs to be reinstalled every time you boot a different kernel.
 
Old 06-14-2019, 08:54 AM   #310
3rensho
Senior Member
 
Registered: Mar 2008
Location: Deutschland
Distribution: Slackware64-current
Posts: 1,024

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
OK, thanks for the replies. I'll reinstall with each kernel upgrade. Thanks again
 
Old 06-14-2019, 11:50 AM   #311
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,784

Rep: Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434Reputation: 4434
Quote:
Originally Posted by Paulo2 View Post
I just run 'sh NVIDIA-Linux-x86_64-430.26.run' after booting the new kernel or after a mesa upgrade.

The installer removes the installed driver and installs everything needed I think.

I don't reinstall mesa.

I think the SBo NVidia package is usefull when you have more than one kernel installed.
NVidia blob needs to be reinstalled every time you boot a different kernel.
Just FTR that's how I install nVidia,too. It takes less than 5 minutes to let the .run file do it's work and always works great. However the need for reinstallation appears to be diminishing in importance. I have successfully tried merely modprobing nvidia where versioning was chosen to be ignored 3 out of 5 last kernel upgrades. Currently it is inconsistent and rather a rolling of the dice, but even that 5 minutes may be avoidable, hopefully even moreso as variations are reduced.
 
Old 06-14-2019, 02:08 PM   #312
mats_b_tegner
Member
 
Registered: Nov 2009
Location: Gothenburg, Sweden
Distribution: Slackware
Posts: 946

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Originally Posted by 3rensho View Post
Since there are relatively frequent kernel updates I just want to be clear on what to do (when running the Nvidia blob) after building and booting the new kernel. It looks like -

nvidia-switch --remove

build and reinstall nvidia-kernel and nvidia-driver

reinstall mesa

startx

If I have missed something or one or more of these steps are not needed please let me know. I don't want to mess this up. Thanks in advance.
You don't have to rebuild the nvidia-driver package every time the kernel is upgraded just rebuild the nvidia-kernel package. If you are using the .run file you can specify the -K advanced option to just build the kernel module if the driver is already installed e.g:
Code:
sh NVIDIA-Linux-x86_64-340.107.run -K 4.19.50
I only rebuild the driver if the mesa and/or xorg-server packages are upgraded.

Last edited by mats_b_tegner; 06-16-2019 at 08:50 AM.
 
3 members found this post helpful.
Old 06-15-2019, 02:55 PM   #313
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
Quote:
Originally Posted by mats_b_tegner View Post
You don't have to rebuild the nvidia-driver package every time the kernel is upgraded just rebuild the nvidia-kernel package. If you are using the .run file you can specify the -K advanced option to just build the kernel module if the driver is already installed e.g:
Code:
sh NVIDIA-Linux-x86_64-340.107.run -K 4.19.50
I only rebuild the driver if the mesa and/or xorg-packages are upgraded.
Thanks, you got the correct answer up before me. This saved me from yelling pounding on the screen yelling "NEIN! NEIN! NEIN!"
https://www.youtube.com/watch?v=xoMgnJDXd3k
 
2 members found this post helpful.
Old 06-21-2019, 09:17 AM   #314
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
Quote:
Originally Posted by mats_b_tegner View Post
You don't have to rebuild the nvidia-driver package every time the kernel is upgraded just rebuild the nvidia-kernel package. If you are using the .run file you can specify the -K advanced option to just build the kernel module if the driver is already installed e.g:
Code:
sh NVIDIA-Linux-x86_64-340.107.run -K 4.19.50
I only rebuild the driver if the mesa and/or xorg-server packages are upgraded.


Quote:
Originally Posted by kingbeowulf View Post
Thanks, you got the correct answer up before me. This saved me from yelling pounding on the screen yelling "NEIN! NEIN! NEIN!"
https://www.youtube.com/watch?v=xoMgnJDXd3k
Then if I have two kernel versions (I have the stock -current kernel and 5.1.x) I can first install the, let's say,
"main entire" NVidia blob by running "sh NVIDIA-Linux-x86_64-430.26.run" under any kernel,
and then I can put "sh NVIDIA-Linux-x86_64-430.26.run -K $(uname -r)" in /etc/rc.d/rc.local, this way only
the kernel driver will be built every boot for that particular kernel version.
Will this work?


edit-
This could be better, just build the driver if it doesn't exist.
Code:
if ! [ -e /lib/modules/$(uname -r)/kernel/drivers/video/nvidia.ko ]; then
sh NVIDIA-Linux-x86_64-430.26.run -K $(uname -r)
fi

Last edited by Paulo2; 06-21-2019 at 09:53 AM.
 
Old 06-21-2019, 10:14 AM   #315
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Paulo2 View Post
Then if I have two kernel versions (I have the stock -current kernel and 5.1.x) I can first install the, let's say,
"main entire" NVidia blob by running "sh NVIDIA-Linux-x86_64-430.26.run" under any kernel,
and then I can put "sh NVIDIA-Linux-x86_64-430.26.run -K $(uname -r)" in /etc/rc.d/rc.local, this way only
the kernel driver will be built every boot for that particular kernel version.
Will this work?


edit-
This could be better, just build the driver if it doesn't exist.
Code:
if ! [ -e /lib/modules/$(uname -r)/kernel/drivers/video/nvidia.ko ]; then
sh NVIDIA-Linux-x86_64-430.26.run -K $(uname -r)
fi
From my understanding, this is basically what dkms will do automatically if you have it installed with programs that utilize it (I believe at least Nvidia and VirtualBox support dkms). Make sure you read dkms's README.
 
1 members found this post helpful.
  


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 04:32 PM.

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