PDA

View Full Version : Nvidia Drivers



mkIV
2020-01-10, 01:04
Hi guys!! I'm brand new to this forum (first post) but not brand new to linux. I do, however have a question.
I was previously on Kali 2019.2 and everything worked fine following these instructions:
https://www.kali.org/docs/general-use/install-nvidia-drivers-on-kali-linux/
But now I had to reinstall mint and kali (dual boot) and now I can't get kali to see my graphics card.
When I type


apt install -y ocl-icd-libopencl1 nvidia-driver nvidia-cuda-toolkit
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package nvidia-driver
E: Unable to locate package nvidia-cuda-toolkit
Here's my uname:

uname -a
Linux Kali 5.3.0-kali2-amd64 #1 SMP Debian 5.3.9-3kali1 (2019-11-20) x86_64 GNU/Linux

Went into hashcat to see if it would even see anything, and I got nothing with a benchmark:

hashcat -b
hashcat (v5.1.0) starting in benchmark mode...

Benchmarking uses hand-optimized kernel code by default.
You can use it in your cracking session by setting the -O option.
Note: Using optimized kernel code limits the maximum supported password length.
To disable the optimized kernel code in benchmark mode, use the -w option.

* Device #1: Not a native Intel OpenCL runtime. Expect massive speed loss.
You can use --force to override, but do not report related errors.
No devices found/left.

Started: Thu Jan 9 18:48:51 2020
Stopped: Thu Jan 9 18:48:51 2020



I have an Nvidia 1660TI GPU and an i7-9750H CPU

lspci doesn't pull up the GPU:

lspci -v
00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
Subsystem: Acer Incorporated [ALI] 8th Gen Core Processor Host Bridge/DRAM Registers
Flags: bus master, fast devsel, latency 0
Capabilities: [e0] Vendor Specific Information: Len=10 <?>
Kernel driver in use: skl_uncore

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 07) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 122
Bus: primary=00, secondary=01, subordinate=05, sec-latency=0
I/O behind bridge: 00004000-00004fff [size=4K]
Memory behind bridge: a0000000-b40fffff [size=321M]
Prefetchable memory behind bridge: 00000000b4100000-00000000b41fffff [size=1M]
Capabilities: [88] Subsystem: Acer Incorporated [ALI] Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16)
Capabilities: [80] Power Management version 3
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [a0] Express Root Port (Slot+), MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [140] Root Complex Link
Capabilities: [d94] Secondary PCI Express <?>
Kernel driver in use: pcieport

00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile) (prog-if 00 [VGA controller])
Subsystem: Acer Incorporated [ALI] UHD Graphics 630 (Mobile)
Flags: bus master, fast devsel, latency 0, IRQ 130
Memory at b5000000 (64-bit, non-prefetchable) [size=16M]
Memory at 90000000 (64-bit, prefetchable) [size=256M]
I/O ports at 5000 [size=64]
[virtual] Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [40] Vendor Specific Information: Len=0c <?>
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [ac] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [100] Process Address Space ID (PASID)
Capabilities: [200] Address Translation Service (ATS)
Capabilities: [300] Page Request Interface (PRI)
Kernel driver in use: i915
Kernel modules: i915

00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 07)
Subsystem: Acer Incorporated [ALI] Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at b4510000 (64-bit, non-prefetchable) [size=32K]
Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 3
Capabilities: [e0] Vendor Specific Information: Len=0c <?>
Kernel driver in use: proc_thermal
Kernel modules: processor_thermal_device

00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
Subsystem: Acer Incorporated [ALI] Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model
Flags: bus master, fast devsel, latency 0, IRQ 255
Memory at b4524000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [dc] Power Management version 2
Capabilities: [f0] PCI Advanced Features

00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
Subsystem: Acer Incorporated [ALI] Cannon Lake PCH Thermal Controller
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at b4525000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [50] Power Management version 3
Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
Kernel driver in use: intel_pch_thermal
Kernel modules: intel_pch_thermal

00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10) (prog-if 30 [XHCI])
Subsystem: Acer Incorporated [ALI] Cannon Lake PCH USB 3.1 xHCI Host Controller
Flags: bus master, medium devsel, latency 0, IRQ 126
Memory at b4500000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [70] Power Management version 2
Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
Capabilities: [90] Vendor Specific Information: Len=14 <?>
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci

00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
Subsystem: Acer Incorporated [ALI] Cannon Lake PCH Shared SRAM
Flags: bus master, fast devsel, latency 0
Memory at b4520000 (64-bit, non-prefetchable) [size=8K]
Memory at b4526000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [80] Power Management version 3

00:14.3 Network controller: Intel Corporation Wireless-AC 9560 [Jefferson Peak] (rev 10)
Subsystem: Bigfoot Networks, Inc. Wireless-AC 9560 [Jefferson Peak]
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at b4518000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [c8] Power Management version 3
Capabilities: [d0] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [40] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [80] MSI-X: Enable+ Count=16 Masked-
Capabilities: [100] Null
Capabilities: [14c] Latency Tolerance Reporting
Capabilities: [164] Vendor Specific Information: ID=0010 Rev=0 Len=014 <?>
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi

00:15.0 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #0 (rev 10)
Subsystem: Acer Incorporated [ALI] Cannon Lake PCH Serial IO I2C Controller
Flags: bus master, fast devsel, latency 0, IRQ 16
[virtual] Memory at 8f800000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [80] Power Management version 3
Capabilities: [90] Vendor Specific Information: Len=14 <?>
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:15.1 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #1 (rev 10)
Subsystem: Acer Incorporated [ALI] Cannon Lake PCH Serial IO I2C Controller
Flags: bus master, fast devsel, latency 0, IRQ 17
[virtual] Memory at 8f801000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [80] Power Management version 3
Capabilities: [90] Vendor Specific Information: Len=14 <?>
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci

00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
Subsystem: Acer Incorporated [ALI] Cannon Lake PCH HECI Controller
Flags: bus master, fast devsel, latency 0, IRQ 144
Memory at b4529000 (64-bit, non-prefetchable) [size=4K]
Capabilities: [50] Power Management version 3
Capabilities: [8c] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [a4] Vendor Specific Information: Len=14 <?>
Kernel driver in use: mei_me
Kernel modules: mei_me

00:17.0 SATA controller: Intel Corporation Cannon Lake Mobile PCH SATA AHCI Controller (rev 10) (prog-if 01 [AHCI 1.0])
Subsystem: Acer Incorporated [ALI] Cannon Lake Mobile PCH SATA AHCI Controller
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 128
Memory at b4522000 (32-bit, non-prefetchable) [size=8K]
Memory at b452d000 (32-bit, non-prefetchable) [size=256]
I/O ports at 5080 [size=8]
I/O ports at 5088 [size=4]
I/O ports at 5060 [size=32]
Memory at b452c000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [70] Power Management version 3
Capabilities: [a8] SATA HBA v1.0
Kernel driver in use: ahci
Kernel modules: ahci

00:1b.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #21 (rev f0) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 123
Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
I/O behind bridge: None
Memory behind bridge: b4400000-b44fffff [size=1M]
Prefetchable memory behind bridge: None
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Acer Incorporated [ALI] Cannon Lake PCH PCI Express Root Port
Capabilities: [a0] Power Management version 3
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Access Control Services
Capabilities: [150] Precision Time Measurement
Capabilities: [200] L1 PM Substates
Capabilities: [220] Secondary PCI Express <?>
Capabilities: [250] Downstream Port Containment
Kernel driver in use: pcieport

00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #13 (rev f0) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0, IRQ 124
Bus: primary=00, secondary=07, subordinate=07, sec-latency=0
I/O behind bridge: 00003000-00003fff [size=4K]
Memory behind bridge: b4300000-b43fffff [size=1M]
Prefetchable memory behind bridge: None
Capabilities: [40] Express Root Port (Slot+), MSI 00
Capabilities: [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [90] Subsystem: Acer Incorporated [ALI] Cannon Lake PCH PCI Express Root Port
Capabilities: [a0] Power Management version 3
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Access Control Services
Capabilities: [150] Precision Time Measurement
Capabilities: [200] L1 PM Substates
Capabilities: [220] Secondary PCI Express <?>
Capabilities: [250] Downstream Port Containment
Kernel driver in use: pcieport

00:1f.0 ISA bridge: Intel Corporation Device a30d (rev 10)
Subsystem: Acer Incorporated [ALI] Device 1343
Flags: bus master, medium devsel, latency 0

00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
Subsystem: Acer Incorporated [ALI] Cannon Lake PCH cAVS
Flags: bus master, fast devsel, latency 32, IRQ 159
Memory at b451c000 (64-bit, non-prefetchable) [size=16K]
Memory at b4200000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [50] Power Management version 3
Capabilities: [80] Vendor Specific Information: Len=14 <?>
Capabilities: [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel, snd_soc_skl, sof_pci_dev

00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
Subsystem: Acer Incorporated [ALI] Cannon Lake PCH SMBus Controller
Flags: medium devsel, IRQ 16
Memory at b452a000 (64-bit, non-prefetchable) [size=256]
I/O ports at 5040 [size=32]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801

00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
Subsystem: Acer Incorporated [ALI] Cannon Lake PCH SPI Controller
Flags: bus master, fast devsel, latency 0
Memory at fe010000 (32-bit, non-prefetchable) [size=4K]

01:00.0 VGA compatible controller: NVIDIA Corporation TU116M [GeForce GTX 1660 Ti Mobile] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Acer Incorporated [ALI] TU116M [GeForce GTX 1660 Ti Mobile]
Flags: bus master, fast devsel, latency 0, IRQ 129
Memory at b3000000 (32-bit, non-prefetchable) [size=16M]
Memory at a0000000 (64-bit, prefetchable) [size=256M]
Memory at b0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 4000 [size=128]
Expansion ROM at b2000000 [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Legacy Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [250] Latency Tolerance Reporting
Capabilities: [258] L1 PM Substates
Capabilities: [128] Power Budgeting <?>
Capabilities: [420] Advanced Error Reporting
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Capabilities: [900] Secondary PCI Express <?>
Capabilities: [bb0] Resizable BAR <?>
Kernel driver in use: nouveau
Kernel modules: nouveau

01:00.1 Audio device: NVIDIA Corporation TU116 High Definition Audio Controller (rev a1)
Subsystem: Acer Incorporated [ALI] Device 1342
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at b4000000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel

01:00.2 USB controller: NVIDIA Corporation Device 1aec (rev a1) (prog-if 30 [XHCI])
Subsystem: Acer Incorporated [ALI] Device 1342
Flags: bus master, fast devsel, latency 0, IRQ 127
Memory at b4100000 (64-bit, prefetchable) [size=256K]
Memory at b4140000 (64-bit, prefetchable) [size=64K]
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [b4] Power Management version 3
Capabilities: [100] Advanced Error Reporting
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci

01:00.3 Serial bus controller [0c80]: NVIDIA Corporation Device 1aed (rev a1)
Subsystem: Acer Incorporated [ALI] Device 1342
Flags: fast devsel, IRQ 255
Memory at b4004000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [b4] Power Management version 3
Capabilities: [100] Advanced Error Reporting

06:00.0 Non-Volatile memory controller: SK hynix Device 1327 (prog-if 02 [NVM Express])
Subsystem: SK hynix Device 0000
Flags: bus master, fast devsel, latency 0, IRQ 16, NUMA node 0
Memory at b4400000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [80] Power Management version 3
Capabilities: [90] MSI: Enable- Count=1/32 Maskable+ 64bit+
Capabilities: [b0] MSI-X: Enable+ Count=32 Masked-
Capabilities: [c0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [150] Device Serial Number 00-00-00-00-00-00-00-00
Capabilities: [160] Power Budgeting <?>
Capabilities: [1b8] Latency Tolerance Reporting
Capabilities: [300] Secondary PCI Express <?>
Capabilities: [400] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
Capabilities: [900] L1 PM Substates
Kernel driver in use: nvme
Kernel modules: nvme

07:00.0 Ethernet controller: Qualcomm Atheros Killer E2500 Gigabit Ethernet Controller (rev 10)
Subsystem: Acer Incorporated [ALI] Killer E2500 Gigabit Ethernet Controller
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at b4300000 (64-bit, non-prefetchable) [size=256K]
I/O ports at 3000 [size=128]
Capabilities: [40] Power Management version 3
Capabilities: [58] Express Endpoint, MSI 00
Capabilities: [c0] MSI: Enable- Count=1/16 Maskable+ 64bit+
Capabilities: [d8] MSI-X: Enable+ Count=16 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [180] Device Serial Number ff-81-24-74-7c-d3-0a-ff
Kernel driver in use: alx
Kernel modules: alx
What's going on here?

Thanks in advance!!



Jed