Nvidia drivers install

if your lsmod doesn’t already show some nvidia_drm, there’ll be some rebooting

Thanks very much, I will do these things when I am at the machine again in a couple of hours. Its 7am here now.

There is a guy on the telegram group who has been helping me more than I thought possible from a stranger and I am very appreciative of all the help.

1 Like

This is what I get when I run lsmod

Module Size Used by
rfcomm 90112 16
ctr 16384 2
ccm 20480 3
cpufreq_conservative 16384 0
cpufreq_powersave 16384 0
cpufreq_userspace 16384 0
cmac 16384 1
bnep 24576 2
binfmt_misc 20480 1
nls_cp437 20480 1
vfat 24576 1
fat 77824 1 vfat
uvcvideo 106496 0
videobuf2_vmalloc 16384 1 uvcvideo
videobuf2_memops 16384 1 videobuf2_vmalloc
videobuf2_v4l2 28672 1 uvcvideo
videobuf2_common 49152 2 uvcvideo,videobuf2_v4l2
videodev 204800 3 uvcvideo,videobuf2_common,videobuf2_v4l2
media 45056 2 uvcvideo,videodev
btusb 53248 0
btrtl 16384 1 btusb
btbcm 16384 1 btusb
btintel 24576 1 btusb
snd_hda_codec_hdmi 57344 1
bluetooth 626688 41 btrtl,btintel,bnep,btbcm,rfcomm,btusb
snd_hda_codec_realtek 106496 1
drbg 28672 1
snd_hda_codec_generic 86016 1 snd_hda_codec_realtek
arc4 16384 2
ansi_cprng 16384 0
iwlmvm 290816 0
tpm_crb 16384 0
ecdh_generic 24576 2 bluetooth
wl 6459392 0
mac80211 802816 1 iwlmvm
tpm_tis 16384 0
tpm_tis_core 20480 1 tpm_tis
intel_rapl 24576 0
nouveau 2011136 2
x86_pkg_temp_thermal 16384 0
intel_powerclamp 16384 0
snd_hda_intel 45056 3
coretemp 16384 0
snd_hda_codec 151552 4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
mxm_wmi 16384 1 nouveau
ttm 126976 1 nouveau
wmi_bmof 16384 0
iwlwifi 225280 1 iwlmvm
snd_hda_core 94208 5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
efi_pstore 16384 0
hp_wmi 16384 0
sparse_keymap 16384 1 hp_wmi
rtsx_pci_ms 20480 0
memstick 16384 1 rtsx_pci_ms
joydev 24576 0
evdev 28672 15
kvm 704512 0
snd_hwdep 16384 1 snd_hda_codec
cfg80211 729088 4 wl,iwlmvm,iwlwifi,mac80211
snd_pcm 118784 4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
irqbypass 16384 1 kvm
rfkill 28672 8 bluetooth,hp_wmi,cfg80211
intel_cstate 16384 0
serio_raw 16384 0
snd_timer 36864 1 snd_pcm
snd 94208 14 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
tpm 65536 3 tpm_tis,tpm_crb,tpm_tis_core
i915 1658880 3
drm_kms_helper 200704 2 nouveau,i915
shpchp 40960 0
intel_uncore 131072 0
soundcore 16384 1 snd
efivars 20480 1 efi_pstore
intel_rapl_perf 16384 0
pcspkr 16384 0
drm 458752 10 nouveau,i915,ttm,drm_kms_helper
sg 36864 0
iTCO_wdt 16384 0
iTCO_vendor_support 16384 1 iTCO_wdt
mei_me 45056 0
battery 20480 0
processor_thermal_device 16384 0
rng_core 16384 1 tpm
hp_accel 28672 0
lis3lv02d 24576 1 hp_accel
mei 106496 1 mei_me
i2c_algo_bit 16384 2 nouveau,i915
int3400_thermal 16384 0
int340x_thermal_zone 16384 1 processor_thermal_device
intel_soc_dts_iosf 16384 1 processor_thermal_device
video 45056 2 nouveau,i915
input_polldev 16384 1 lis3lv02d
button 16384 2 nouveau,i915
wmi 28672 4 wmi_bmof,mxm_wmi,nouveau,hp_wmi
acpi_thermal_rel 16384 1 int3400_thermal
intel_pch_thermal 16384 0
hp_wireless 16384 0
acpi_pad 24576 0
ac 16384 0
efivarfs 16384 1
ip_tables 28672 0
x_tables 40960 1 ip_tables
autofs4 49152 2
btrfs 1347584 0
xor 24576 1 btrfs
zstd_decompress 94208 1 btrfs
zstd_compress 188416 1 btrfs
xxhash 16384 2 zstd_compress,zstd_decompress
raid6_pq 122880 1 btrfs
ext4 720896 2
crc16 16384 2 bluetooth,ext4
mbcache 16384 1 ext4
jbd2 118784 1 ext4
crc32c_generic 16384 0
fscrypto 32768 1 ext4
ecb 16384 0
nls_ascii 16384 1
hid_generic 16384 0
usbhid 57344 0
hid 135168 2 hid_generic,usbhid
sd_mod 53248 6
crct10dif_pclmul 16384 0
crc32_pclmul 16384 0
crc32c_intel 24576 5
ghash_clmulni_intel 16384 0
pcbc 16384 0
rtsx_pci_sdmmc 28672 0
mmc_core 172032 1 rtsx_pci_sdmmc
ahci 40960 4
libahci 40960 1 ahci
aesni_intel 188416 4
xhci_pci 16384 0
aes_x86_64 20480 1 aesni_intel
libata 274432 2 ahci,libahci
crypto_simd 16384 1 aesni_intel
glue_helper 16384 1 aesni_intel
xhci_hcd 258048 1 xhci_pci
cryptd 28672 3 crypto_simd,ghash_clmulni_intel,aesni_intel
psmouse 172032 0
r8169 94208 0
i2c_i801 28672 0
mii 16384 1 r8169
scsi_mod 253952 3 sd_mod,libata,sg
rtsx_pci 73728 2 rtsx_pci_sdmmc,rtsx_pci_ms
usbcore 290816 5 uvcvideo,usbhid,xhci_pci,btusb,xhci_hcd
usb_common 16384 1 usbcore
thermal 20480 0

When running lspci nothing happens
lspci gives me this output only - PCI (sysfs)

Something else that I have noticed is that I am unable to shut down or reboot the machine. Whem I make the selection the system freezes and I need to keep the power button down.

nouveau is being loaded at boot here, it’s not compatible with any nvidia drivers, i see the intel i915, so it does look like an optimus setup

that’s strange for lspci results on a laptop… did you follow the parrot docs closely?

do you mind purging nvidia packages, rebooting and following the parrot docs closely and carefully

Hi there,

I have done the purging of Nvidia and followed the parrot docs but still have the same issues. I have now done a dist-upgrade and now I cant find my ParrotOS from the boot menu so just quickly want to sort that out

Is grub correctly installed, if not try to do it again sometimes the last setup of it fails

Ok I am back, still with this issue. I manage to just reinstall the entire OS and updated it to the latest version. I am trying to follow the official documentation to install the drivers but get the following error:

The following packages have unmet dependencies:
nvidia-driver : Depends: nvidia-driver-libs (= 390.48-3) but it is not going to be installed or
nvidia-driver-libs-nonglvnd (= 390.48-3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I want to go back to the first link I posted, https://forums.kali.org/showthread.php?35748-TUTORIAL-Installing-official-NVIDIA-driver-in-Optimus-laptop

Now I no this is not a Kali forum but when I had Kali I followed that link exactly and it worked so why wont this method work in ParrotOS?

I have now been sitting with this problem for some time but atleast my system is not freezing anymore when I try to shutdown etc.

I followed the above mentioned link again and everything worked fine up until Step 7 which I am not sure how to proceed with as I tried the Lightdm settings but after reboot I only get a black screen.

When I was using Kali I did not need tocswith between graphics etc, I just followed the link and everything worked.

@Oman sorry my friend you have issues with your video card, i have the same problem, but nouveau driver works for me at least. Anyway to install the Nvidia driver 390.48-3 from the link i posted above and with the problem you are facing you have to go to synaptic and form there search for broken packages, then remove them try to find nvidia-driver-libs and nvidia-driver-libs-nonglvnd in Debian sid packages webpage install those first. So you have a laptop then? Otherwise Optimus driver wont work for you. Good luck.
Note.-
You need a updated kernel for that driver, which is no problem if you update Parrot to version 4 first

thank you for the information, I’ll give it a try. Right now it’s like having a performance engine that just won’t start.

Yes I have a HP laptop with a nvidia 1050ti card.

Correct then your driver must be this one.-

http://www.nvidia.com/Download/driverResults.aspx/112992/en-us

I found in this forum this instructions how to install that driver and they are great.-

https://docs.kali.org/general-use/install-nvidia-drivers-on-kali-linux

If you need more help installing this, search for a thread in this forum with the topic “Failded to start light display manager” in one of those someone explains how to install this driver in Kali, which is almoust the same as Parrot (no way Parrot is better), anyway good day.

2 Likes

When I follow this thread, Failed to start Light Display Manage ,
which is the same as the link you provided it installs a different driver. It install 390.48-3 and not 375.26 as shown in your first link.

Should I just leave the 390.48 driver?

This actually worked thank you so much

My life is now complete.

1 Like

and how you did? just for other who need.

By following the kali link mentioned by Jorge

1 Like

We talked about this subject on the old forums. Long story short, I used this guide (for Kali) to get my GTX1080 going and it seems to work great.

Install NVIDIA GPU Drivers | Kali Linux Documentation

We seem to have some problems with hashcat recognizing the GPU, tho, so if you run into that problem, then run

clinfo | grep -i “icd loader”

then check

hashcat -I

to see if hashcat will recognize the platform. It should.

I used smxi script when I was having a problem installing the driver for my GeForce GTS 360M and it worked! the only problem I’m facing is, if I open the nvidia settings and navigate to OpenGL/GLX information the gui crashed. But so far it’s working.

01:00.0 VGA compatible controller: NVIDIA Corporation GP104M [GeForce GTX 1070] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company GP104BM [GeForce GTX 1070 Mobile]
Flags: bus master, fast devsel, latency 0, IRQ 132
Memory at bb000000 (32-bit, non-prefetchable) [size=16M]
Memory at 90000000 (64-bit, prefetchable) [size=256M]
Memory at a0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 5000 [size=128]
Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities:
Kernel driver in use: nouveau
Kernel modules: nouveau

Is it just showing like this because I have not installed the drivers yet, or do I have to enable the card some how?

I cant figure out what i missed, it seems like it is all there, but it just does not seem to be working. Any help would be greatly appreciated.

┌─[root@localhost]─[/home/user]
└──╼ #apt install -y ocl-icd-libopencl1 nvidia-driver nvidia-cuda-toolkit
Reading package lists… Done
Building dependency tree
Reading state information… Done
ocl-icd-libopencl1 is already the newest version (2.2.12-2).
nvidia-cuda-toolkit is already the newest version (9.2.148-5).
nvidia-driver is already the newest version (390.87-8).

01:00.0 VGA compatible controller: NVIDIA Corporation GP104M [GeForce GTX 1070] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company GP104BM [GeForce GTX 1070 Mobile]
Flags: bus master, fast devsel, latency 0, IRQ 132
Memory at bb000000 (32-bit, non-prefetchable) [size=16M]
Memory at 90000000 (64-bit, prefetchable) [size=256M]
Memory at a0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 5000 [size=128]
Expansion ROM at 000c0000 [disabled] [size=128K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express 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] #19
Kernel driver in use: nouveau
Kernel modules: nvidia
┌─[user@localhost]─[~]
└──╼ $sudo dpkg -l |grep -i icd
ii nvidia-egl-icd:amd64 390.87-8 amd64 NVIDIA EGL installable client driver (ICD)
ii nvidia-opencl-icd:amd64 390.87-8 amd64 NVIDIA OpenCL installable client driver (ICD)
ii nvidia-vulkan-icd:amd64 390.87-8 amd64 NVIDIA Vulkan installable client driver (ICD)
ii ocl-icd-libopencl1:amd64 2.2.12-2 amd64 Generic OpenCL ICD Loader
ii ocl-icd-opencl-dev:amd64 2.2.12-2 amd64 OpenCL development files
ii pocl-opencl-icd:amd64 1.2-5 amd64 pocl ICD
┌─[user@localhost]─[~]
└──╼ $sudo clinfo | grep -i “icd loader”
ICD loader properties
ICD loader Name OpenCL ICD Loader
ICD loader Vendor OCL Icd free software
ICD loader Version 2.2.12
ICD loader Profile OpenCL 2.2
┌─[user@localhost]─[~]
└──╼ $sudo nvidia-smi -i 0 -q
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

Does anyone know how to change the “Driver in use”?

Thank you.