install nvidia driver

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: install nvidia driver

Post by globetrotterdk »

mimosa wrote:Did you follow step 3 of the instructions? That output suggests X is still running.
Oops, you are correct. I just tried running it again and get the following:

Code: Select all

There appears to already be a driver installed on your system (version: 384.111). As part of installing this driver (version: 384.111), the existing driver will be uninstalled.Are you sure you want to continue? Continue installation - Abort installation
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: install nvidia driver

Post by mimosa »

You may as well say yes to that to be sure everything is done correctly.

Oh, and:

Code: Select all

sudo slapt-get --add-keys
will avoid those messages you mentioned earlier, not that it really matters.
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: install nvidia driver

Post by globetrotterdk »

mimosa wrote:You may as well say yes to that to be sure everything is done correctly.
Done. However, when I restarted, it looks like the nouveau driver is still loading.
mimosa wrote:Oh, and:

Code: Select all

sudo slapt-get --add-keys
will avoid those messages you mentioned earlier, not that it really matters.
Ahh, thank you very much.
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: install nvidia driver

Post by mimosa »

What makes you think you are loading the nouveau driver?

In any case, you can probably tell by

Code: Select all

inxi -G
You may need to install inxi.
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: install nvidia driver

Post by globetrotterdk »

Code: Select all

$ inxi -G
Graphics:  Card: NVIDIA Device 1d01
           Display Server: X.Org 1.18.3 driver: nvidia Resolution: 1920x1200@59.95hz
           GLX Renderer: GeForce GT 1030/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 384.111
I had noticed that it was mentioned in the boot up procedure, and it was still there this last time. It is mentioned in syslog:

Code: Select all

Mar 11 20:32:13 darkstar kernel: [    6.303477] nouveau 0000:01:00.0: unknown chipset (138000a1)
Mar 11 20:32:13 darkstar kernel: [    6.303540] nouveau: probe of 0000:01:00.0 failed with error -12
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: install nvidia driver

Post by mimosa »

I don't think it's anything to worry about.
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: install nvidia driver

Post by globetrotterdk »

I have just wiped my Linux installations and reinstalled Salix OS in UEFI mode as my only Linux system. A side note is that when booting from Devuan and Salix USB pen drives, my internal drives still shift /dev/sdX1 address... Anyway, my problem is the following, which the Nvidia installer complains about:

Code: Select all

$ ls /var/log/packages/kernel-*
/var/log/packages/kernel-firmware-20160823git-noarch-1_slack14.2
/var/log/packages/kernel-headers-4.4.19-x86-1_slack14.2
/var/log/packages/kernel-huge-4.4.19-x86_64-1_slack14.2
/var/log/packages/kernel-modules-4.4.19-x86_64-1_slack14.2
/var/log/packages/kernel-source-4.4.118-noarch-1
I can't seem to find a 4.4.19 kernel-source. This is a weakness in the new Nvidia HowTo as it clearly states:
If the kernel-source package version does not match your current kernel, you need to upgrade your kernel packages first.
So the natural reaction would be to run a general

Code: Select all

$ sudo slapt-get --upgrade
and then install the kernel source... Which is what I did.
----
Perhaps something should also be included about running

Code: Select all

$ sudo eliloconfig -v
if running in UEFI mode. BTW, why does the system try to re-install eliloconfig when the above command is run? Shouldn't it just update the settings?
Last edited by globetrotterdk on 12. Mar 2018, 09:50, edited 1 time in total.
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: install nvidia driver

Post by mimosa »

You have to install the kernel packages explicitly, as you did before. Be sure to follow the instructions on the wiki.

This is actually mentioned in the nvidia instructions, with a link to the page telling you how.

It may also be worth reviewing the ones for nvidia as well before you do that.
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: install nvidia driver

Post by globetrotterdk »

? I am not sure that I understand. I ran:

Code: Select all

sudo slapt-get --update
sudo slapt-get --upgrade
sudo slapt-get -i kernel-source
Was that incorrect?
The instructions state to use:

Code: Select all

sudo slapt-get --update
sudo slapt-get -i kernel-source
However, I was on a completely new system. Should I not have included the "--upgrade"? The system reports:

Code: Select all

$ sudo slapt-get -i kernel-source
Reading Package Lists...Done
kernel-source is up to date.
0 upgraded, 0 reinstalled, 0 newly installed, 0 to remove, 0 not upgraded.

Done
----
Yes, got it:

Code: Select all

sudo slapt-get -i kernel-huge kernel-modules kernel-headers kernel-firmware
Military justice is to justice what military music is to music. - Groucho Marx
User avatar
globetrotterdk
Posts: 435
Joined: 26. Oct 2010, 13:57
Location: Denmark

Re: install nvidia driver

Post by globetrotterdk »

Code: Select all

$ ls /var/log/packages/kernel-*
/var/log/packages/kernel-firmware-20180222_7344ec9-noarch-1
/var/log/packages/kernel-headers-4.4.118-x86-1
/var/log/packages/kernel-huge-4.4.118-x86_64-1
/var/log/packages/kernel-modules-4.4.118-x86_64-1
/var/log/packages/kernel-source-4.4.118-noarch-1
OK, everything is looking fine now, but the Nvidia installer is still complaining:

Code: Select all

Error: Unable to load the kernel module 'nvidia.ko'...
From searching, it appears to be most likely either because the gcc version is incorrect or the nouveau driver already needs to be blacklisted at this point.
Military justice is to justice what military music is to music. - Groucho Marx
Post Reply