Installing NVIDIA Drivers.

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
eight.bit.al
Posts: 12
Joined: 3. Nov 2022, 02:17

Installing NVIDIA Drivers.

Post by eight.bit.al »

From the Screenshot thread:
gaucho wrote: 19. Nov 2022, 23:29
eight.bit.al wrote: 11. Nov 2022, 16:02 I'm devastated I can't get NVIDIA drivers installed on this machine with Salix. This is my main computer and I would really like to run Salix on it. I've tried everything that can be found on the web pipes, including several threads on this forum.
Hi, 8bit,

Maybe I missed it, but I didn't see you post anything about this issue. If you start a new thread with the model / specs of your Nvidia GPU and tell us the steps you followed, I bet that one of the Salix wizards here can help get it working ...

Did you try the instructions in the Salix Wiki?

https://docs.salixos.org/wiki/How_to_In ... DIA_driver
Salix Wiki. "How to Install the Proprietary NVIDIA Driver."

The Nvidia Driver Downloads page is here:

https://www.nvidia.com/Download/index.aspx?lang=en-us

On the Main Machine, it barely gets past loading the kernel before locking up.

Code: Select all

https://docs.salixos.org/wiki/How_to_Install_the_proprietary_NVIDIA_driver
HTH. :)
Well, I'm back. And I'm grateful for the reply. Sorry for the delay. Life.

Here's the story:

Tested salix64-xfce-15.0 on the machine used for distro hopping. The more I looked, the more I liked. Minimal, a little challenging, responsive. No NotoriousD.

HP Z440 -

Code: Select all

System:
  Kernel: 5.15.63 x86_64 bits: 64 compiler: gcc v: 2.37-slack15
    parameters: BOOT_IMAGE=dev000:\EFI\Salix-Xfce-15.0\vmlinuz
    root=/dev/nvme0n1p2 vga=normal ro ro
  Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.16.1
    vt: 7 dm: LightDM 1.30.0 Distro: Salix 15.0 base: Slackware 15.0
Machine:
  Type: Desktop System: Hewlett-Packard product: HP Z440 Workstation v: N/A
    serial: <superuser required> Chassis: type: 6 serial: <superuser required>
  Mobo: Hewlett-Packard model: 212B v: 1.01 serial: <superuser required>
    UEFI: Hewlett-Packard v: M60 v02.59 date: 03/31/2022
CPU:
  Info: model: Intel Xeon E5-1620 v3 bits: 64 type: MT MCP arch: Haswell
    family: 6 model-id: 0x3F (63) stepping: 2 microcode: 0x49
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 10 MiB desc: 1x10 MiB
  Speed (MHz): avg: 1246 high: 1483 min/max: 1200/3500 scaling:
    driver: intel_cpufreq governor: ondemand cores: 1: 1239 2: 1198 3: 1197
    4: 1483 5: 1257 6: 1200 7: 1198 8: 1199 bogomips: 55876
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf
    mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed status: Not affected
  Type: spec_store_bypass
    mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
    mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Cape Verde GL [FirePro W4100] vendor: Dell driver: radeon
    v: kernel alternate: amdgpu bus-ID: 02:00.0 chip-ID: 1002:682c
    class-ID: 0300
  Display: x11 server: X.Org 1.20.14 compositor: xfwm4 v: 4.16.1 driver:
    loaded: ati,radeon unloaded: modesetting,vesa alternate: fbdev
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96 s-size: 1016x285mm (40.0x11.2")
    s-diag: 1055mm (41.5")
  Monitor-1: DisplayPort-2 res: 1920x1080 hz: 60 dpi: 102
    size: 476x267mm (18.7x10.5") diag: 546mm (21.5")
  Monitor-2: DisplayPort-3 res: 1920x1080 hz: 60 dpi: 102
    size: 476x267mm (18.7x10.5") diag: 546mm (21.5")
  OpenGL: renderer: AMD VERDE (DRM 2.50.0 5.15.63 LLVM 13.0.0)
    v: 4.5 Mesa 21.3.5 direct render: Yes
Audio:
  Device-1: Intel C610/X99 series HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8d20
    class-ID: 0403
  Device-2: AMD Oland/Hainan/Cape Verde/Pitcairn HDMI Audio [Radeon HD 7000
  Series]
    vendor: Dell driver: snd_hda_intel v: kernel bus-ID: 02:00.1
    chip-ID: 1002:aab0 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.63 running: yes
  Sound Server-2: PulseAudio v: 15.0 running: yes
Network:
  Device-1: Intel Ethernet I218-LM vendor: Hewlett-Packard driver: e1000e
    v: kernel port: 3020 bus-ID: 00:19.0 chip-ID: 8086:15a0 class-ID: 0200
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
RAID:
  Hardware-1: Intel C610/X99 series sSATA Controller [RAID mode] driver: ahci
    v: 3.0 port: 3040 bus-ID: 00:11.4 chip-ID: 8086:2827 rev: N/A
    class-ID: 0104
Drives:
  Local Storage: total: 238.47 GiB used: 10.12 GiB (4.2%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: MZVLB256HBHQ-000L7 size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 5M2QEXH7 temp: 31.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 205.1 GiB size: 205 GiB (99.95%) used: 10.11 GiB (4.9%)
    fs: xfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 555 MiB size: 553.9 MiB (99.80%)
    used: 11.3 MiB (2.0%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 32.83 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:3
Sensors:
  System Temperatures: cpu: 27.0 C mobo: N/A gpu: radeon temp: 48.0 C
  Fan Speeds (RPM): N/A
Repos:
  Packages: note: see --pkg pkgtool: 1 flatpak: 0
  slapt-get repos in: /etc/slapt-get/slapt-getrc
    1: http://mirrors.xmission.com/salix/x86_64/slackware-15.0/:OFFICIAL
    2: http://mirrors.xmission.com/salix/x86_64/slackware-15.0/extra/:OFFICIAL
    3: http://mirrors.xmission.com/salix/x86_64/15.0/:PREFERRED
    4: http://mirrors.xmission.com/salix/x86_64/extra-15.0/:OFFICIAL
  slapt-get repos in: /etc/slapt-get/slapt-srcrc
    1: http://mirrors.xmission.com/salix/slkbuild/15.0/
    2: http://mirrors.xmission.com/salix/sbo/15.0/
Info:
  Processes: 231 Uptime: 25m wakeups: 1 Memory: 31.26 GiB
  used: 1.37 GiB (4.4%) Init: SysVinit v: 3.01 runlevel: 4 default: 4
  tool: service Compilers: gcc: 11.2.0 alt: 11.2.0 clang: 13.0.0 Shell: Bash
  v: 5.1.16 running-in: xfce4-terminal inxi: 3.3.12
inxi says that currently there's a FirePro W4100 video card (true) and Salix self installed ATI and Radeon (minimal?) drivers. This is the fallback plan; if I can't get the NVIDIA card to work.

But on the very same machine with a NVIDIA card; don't remember which one, I have a few. (They are all known to work with the latest stable NVIDIA Linux drivers.)
Edit: Quadro K2200

Of course I followed the WIKI, to the letter. https://docs.salixos.org/wiki/How_to_In ... DIA_driver
Step 7: Reboot, and repeat (run the installer again).
On the distro machine, at least I could get to a TTY and finish the install.

Image

On the main machine, it barely got past the kernal loading before locking up. Step 7.

Code: Select all

al@p3630:~$ inxi -Fxxxrza
System:    Kernel: 5.10.0-16-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-16-amd64 root=UUID=813f9b49-88ad-4877-bcc0-89346f01bdfd ro 
           quiet splash resume=UUID=bc9787f9-a773-4b89-b8d4-061009223a98 
           Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm4 dm: LightDM 1.26.0 
           Distro: SparkyLinux 6.5 (Po-Tolo) base: Debian bullseye/sid 
Machine:   Type: Desktop System: Dell product: Precision 3630 Tower v: N/A serial: <filter> Chassis: type: 3 
           serial: <filter> 
           Mobo: Dell model: 0Y2K8N v: A00 serial: <filter> UEFI: Dell v: 2.15.0 date: 07/04/2022 

CPU:       Info: 6-Core model: Intel Core i5-8600 bits: 64 type: MCP arch: Kaby Lake note: check family: 6 
           model-id: 9E (158) stepping: A (10) microcode: F0 L2 cache: 9 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 37199 
           Speed: 800 MHz min/max: 800/4300 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled 
           Type: mds mitigation: Clear CPU buffers; SMT disabled 
           Type: meltdown mitigation: PTI 
           Type: mmio_stale_data mitigation: Clear CPU buffers; SMT disabled 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: disabled, RSB filling 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort mitigation: Clear CPU buffers; SMT disabled 
Graphics:  Device-1: Intel CoffeeLake-S GT2 [UHD Graphics 630] vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 
           chip ID: 8086:3e92 class ID: 0380 
           Device-2: NVIDIA GP107GL [Quadro P1000] vendor: Dell driver: nvidia v: 470.141.03 bus ID: 01:00.0 
           chip ID: 10de:1cb1 class ID: 0300 
           Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa 
           alternate: nv display ID: :0.0 screens: 1 
           Screen-1: 0 s-res: 5440x2560 s-dpi: 96 s-size: 1439x677mm (56.7x26.7") s-diag: 1590mm (62.6") 
           Monitor-1: DP-6.8 res: 1440x2560 hz: 60 
           Monitor-2: DP-2.8 res: 2560x1440 hz: 60 dpi: 123 size: 527x296mm (20.7x11.7") diag: 604mm (23.8") 
           Monitor-3: DP-0 res: 1440x2560 hz: 60 
           OpenGL: renderer: Quadro P1000/PCIe/SSE2 v: 4.6.0 NVIDIA 470.141.03 direct render: Yes 
Audio:     Device-1: Intel Cannon Lake PCH cAVS vendor: Dell driver: snd_hda_intel v: kernel 
           alternate: snd_soc_skl,snd_sof_pci bus ID: 00:1f.3 chip ID: 8086:a348 class ID: 0403 
           Device-2: NVIDIA GP107GL High Definition Audio vendor: Dell driver: snd_hda_intel v: kernel 
           bus ID: 01:00.1 chip ID: 10de:0fb9 class ID: 0403 
           Sound Server: ALSA v: k5.10.0-16-amd64 
Network:   Device-1: Intel Ethernet I219-LM vendor: Dell driver: e1000e v: kernel port: efa0 bus ID: 00:1f.6 
           chip ID: 8086:15bb class ID: 0200 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 494.42 GiB used: 112.41 GiB (22.7%) 
           SMART Message: Required tool smartctl not installed. Check --recommends 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung model: SSD 980 PRO 250GB size: 232.89 GiB block size: 
           physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 rotation: SSD serial: <filter> rev: 3B2QGXA7 
           temp: 25.9 C scheme: GPT 
           ID-2: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 250GB size: 232.89 GiB block size: 
           physical: 512 B logical: 512 B speed: 6.0 Gb/s rotation: SSD serial: <filter> rev: 4B6Q scheme: GPT 
           ID-3: /dev/sdc maj-min: 8:32 type: USB vendor: SanDisk model: USB 3.2Gen1 size: 28.65 GiB block size: 
           physical: 512 B logical: 512 B serial: <filter> rev: 1.00 scheme: MBR 
Partition: ID-1: / raw size: 232.59 GiB size: 227.88 GiB (97.98%) used: 38.33 GiB (16.8%) fs: ext4 
           dev: /dev/nvme0n1p2 maj-min: 259:2 
           ID-2: /boot/efi raw size: 300 MiB size: 299.4 MiB (99.80%) used: 8.4 MiB (2.8%) fs: vfat 
           dev: /dev/nvme0n1p1 maj-min: 259:1 
Swap:      Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 32.14 GiB used: 1024 KiB (0.0%) priority: -2 dev: /dev/sda1 
           maj-min: 8:1 
Sensors:   System Temperatures: cpu: 44.0 C mobo: N/A gpu: nvidia temp: 49 C 
           Fan Speeds (RPM): cpu: 1767 fan-2: 896 fan-3: 1176 gpu: nvidia fan: 34% 
Repos:     Packages: apt: 1976 lib: 1138 flatpak: 0 
           Active apt repos in: /etc/apt/sources.list 
           1: deb http://deb.debian.org/debian/ bullseye main contrib non-free
           2: deb-src http://deb.debian.org/debian/ bullseye main contrib non-free
           3: deb http://deb.debian.org/debian-security/ bullseye-security/updates main contrib non-free
           4: deb-src http://deb.debian.org/debian-security/ bullseye-security/updates main contrib non-free
           5: deb http://deb-multimedia.org/ bullseye main non-free
           6: deb http://mxrepo.com/mx/repo/ bullseye main non-free
           No active apt repos in: /etc/apt/sources.list.d/dropbox.list 
           No active apt repos in: /etc/apt/sources.list.d/liquorix.list 
           No active apt repos in: /etc/apt/sources.list.d/sid.list 
           Active apt repos in: /etc/apt/sources.list.d/sparky-unstable.list 
           1: deb [signed-by=/usr/share/keyrings/sparky.gpg.key] https://repo.sparkylinux.org/ unstable main
           2: deb-src [signed-by=/usr/share/keyrings/sparky.gpg.key] https://repo.sparkylinux.org/ unstable main
           Active apt repos in: /etc/apt/sources.list.d/sparky.list 
           1: deb [signed-by=/usr/share/keyrings/sparky.gpg.key] https://repo.sparkylinux.org/ core main
           2: deb-src [signed-by=/usr/share/keyrings/sparky.gpg.key] https://repo.sparkylinux.org/ core main
           3: deb [signed-by=/usr/share/keyrings/sparky.gpg.key] https://repo.sparkylinux.org/ potolo main
           4: deb-src [signed-by=/usr/share/keyrings/sparky.gpg.key] https://repo.sparkylinux.org/ potolo main
           Active apt repos in: /etc/apt/sources.list.d/vscodium.list 
           1: deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs vscodium main
Info:      Processes: 227 Uptime: 17d 23h 54m wakeups: 0 Memory: 31.19 GiB used: 4.74 GiB (15.2%) Init: systemd 
           v: 247 runlevel: 5 target: graphical.target Compilers: gcc: 10.2.1 alt: 10 Shell: Bash v: 5.1.4 
           running in: xfce4-terminal inxi: 3.3.01 
Crazy about Salix (and the whole new world (to me) of Slackware). I'm gunna make this work.

Thanks for your time. Your most precious gift.
8bit
sasa_
Posts: 16
Joined: 31. Aug 2022, 11:20

Re: Installing NVIDIA Drivers.

Post by sasa_ »

Do you know what linux driver is required for your nvidia card? Driver 470.xxx, or driver 525.xxx or some other?
Run live linux Mint or live Ubuntu and see what driver it offers to install.
User avatar
gaucho
Donor
Posts: 116
Joined: 23. Dec 2010, 19:12

Re: Installing NVIDIA Drivers.

Post by gaucho »

Hi, 8bit,

Based on my searching of Nvidia's Support website, there are 3 different drivers that will work with the Quadro K2200. I'm not sure which driver you tried installing, but if you only tried one, IMHO it would be worthwhile to experiment with the other two candidates.

==========

Latest "Production Branch" Version:

Nvidia's definition: [Production Branch drivers provide ISV certification and optimal stability and performance for Unix customers. This driver is most commonly deployed at enterprises, providing support for the sustained bug fix and security updates commonly required.]

https://www.nvidia.com/Download/driverR ... 723/en-us/

Version: 525.60.11
Release Date: 2022.11.28
Operating System: Linux 64-bit
Language: English (US)
File Size: 394.72 MB

==========

Latest "New Feature Branch" Version:

Nvidia's definition: [New Feature Branch drivers provide early adopters and bleeding edge developers access to the latest driver features before they are integrated into the Production Branches.]

https://www.nvidia.com/Download/driverR ... 764/en-us/

Version: 520.56.06
Release Date: 2022.10.12
Operating System: Linux 64-bit
Language: English (US)
File Size: 387.36 MB

==========

Latest "Legacy GPU" Version:

https://www.nvidia.com/Download/driverR ... 637/en-us/

Version: 470.161.03
Release Date: 2022.11.22
Operating System: Linux 64-bit
Language: English (US)
File Size: 259.78 MB

==========

(For each of these drivers, if you look under the "Supported Products" tab, the Quadro K2200 is listed).

HTH a little. :)
Registered Linux User # 442201

Dell Latitude E4300 laptop: Intel Core2 Duo P9400 CPU, 8 GB RAM, Samsung 850 EVO 250 GB SSD, Intel Wireless 7260
eight.bit.al
Posts: 12
Joined: 3. Nov 2022, 02:17

Re: Installing NVIDIA Drivers.

Post by eight.bit.al »

Thanks all for the replies; @gaucho, @sasa.

The issue is not with knowing the hardware and or the drivers. I've had these cards for a while and have had every success with them.

After blacklisting the nouveau driver, upon rebooting, the system locks up just past loading the kernel. Details in the previous post.

TIA,
8bit
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: Installing NVIDIA Drivers.

Post by gapan »

Are your kernel packages all for the same version?
Image
Image
Post Reply