Nvidia drivers install

I have HP Oman laptop with a Geforce GTX 1050ti. I want to install the nvidia drivers but am having troubles when I follow the official guide. I dont think my card uses bumblebee so I am now at a loss as to how to proceed.

I have previously installed it on kali using the steps in the link below but am not sure if it would work with Parrot

https://forums.kali.org/showthread.php?35748-TUTORIAL-Installing-official-NVIDIA-driver-in-Optimus-laptop

Can anyone perhaps help me?


What version of Parrot are you running? (include version, edition, and architecture)
Linux parrot 4.16.0-parrot5-amd64 #1 SMP Parrot 4.16.5-1parrot5 (2018-05-03) x86_64 GNU/Linux

What method did you use to install Parrot? (Debian Standard / Debian GTK / parrot-experimental)
Debain Standard

Configured to multiboot with other systems? (yes / no)
Yes, Windows

If there are any similar issues or solutions, link to them below:

If there are any error messages or relevant logs, post them below:

1 Like

My impression from the link you posted is that it is good but you should look for your correct Legacy driver from the Parrot repository, this is also what everybody recommends. Maybe you should consider to uninstall the one you got, verify it is the correct for your GPU but i dont think so. Also if you dont find the correct driver sometimes its even better a nouveau driver. Good Luck

1 Like

look there https://docs.parrotsec.org/doku.php/nvidia-drivers your gtx 1050ti does not show up, i dont know if the page has been updated though

anyway parrot handle graphics card the same way debian does, so i think you might find more help by creating an issue about it on the debian forums, as bumblebee, nvidia-nouveau etc are from their repository
and if you manage to install it on kali, it will work the same on parrot since they are both debian based

@Oman try this driver maybe it is good for your video card.

https://packages.debian.org/sid/nvidia-driver

EDIT TO BE CLEAR: THIS WORKS ON PARROT WITHOUT THE NEED TO GO OUTSIDE THE REPOSITORY

Sadly, two stabs at that issue on the parrot doc and it’s still only about as useful as the people that tell you to avoid nVidia with linux (gah). This is as much my fault as anyone else’s as we all have the ability to contribute the solutions we’ve found to various hardware build outs. props to the people that approached it

I do not think you’ll see a noticable performance gain in X if you’re just out to make sure nVidia handles X, that approach seems excessive to me.

I’ve been meaning to clean up that document for the parrot community, and hopefully a parrot team member can chime in here, but bumblebee is for situations like mine (nVidia optimus type setup), where default it will run on my Intel Haswell because the nVidia is simply not needed, however when it is needed or preferred rather 3d bumblebee will hand over control to nVidia. I’m kind of taking a wild stab here, but this sounds like your situation, just based on the fact that you’re on a laptop with an nVidia GPU

nouveau works great out of the box, but it is definitely lacking behind the nVidia drivers. This isn’t the communities fault. While I appreciate that nVidia has “bothered” to develop binaries for linux, nVidia hasn’t played nice with the open source community, In fact, they’ve played pretty damn dirty.

Back to the topic at-hand. The current linux kernel is awesome, you can probably remove the intel modules that parrot/debian come packed with for ease-of-use, install the nVidia driver and allow the KMS + bumblebee to handle the rest.

I meant to organize my notes back when people were complaining about hashcat, because I bothered to get it all working on my rig (historically, I don’t spend too much time dicking around with nVidia and linux, as I just said, it’s not been a fun road to drive down… some cards/some distros “just work” cough, right and others a different combo works, etc…
For now, I’ll leave you with the Arch Wiki, it should give you some key insights on where to start looking for solutions. Please don’t just start issuing commands as you come across them, finish reading the entire section and decide if it applies to you.

Sorry this is such a mess, I’ll try to make this a priority for this weekend, the whole debian laptop situation (nVidia GPUs and intel wifi) has been a bit of a nightmare. The point is the drivers DO work. And, yes, those intel wifi’s can monitor and inject… they just don’t do it very well/like to change channels/flat out hate certain channels/don’t handle “noisy” areas well college, apartments, coffee shop, airport, etc….

┌─[mootiny@parrot]─[~]
└──╼ $clinfo
Number of platforms                               4
  Platform Name                                   NVIDIA CUDA
  Platform Vendor                                 NVIDIA Corporation
  Platform Version                                OpenCL 1.2 CUDA 9.1.84
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer
  Platform Extensions function suffix             NV

  Platform Name                                   Intel Gen OCL Driver
  Platform Vendor                                 Intel
  Platform Version                                OpenCL 2.0 beignet 1.3
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_3d_image_writes cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_spir cl_khr_icd cl_intel_accelerator cl_intel_subgroups cl_intel_subgroups_short cl_khr_gl_sharing
  Platform Extensions function suffix             Intel

  Platform Name                                   Portable Computing Language
  Platform Vendor                                 The pocl project
  Platform Version                                OpenCL 1.2 pocl 1.1 None+Asserts, LLVM 6.0.0, SPIR, SLEEF, DISTRO, POCL_DEBUG
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd
  Platform Extensions function suffix             POCL

  Platform Name                                   Clover
  Platform Vendor                                 Mesa
  Platform Version                                OpenCL 1.1 Mesa 17.3.9
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd
  Platform Extensions function suffix             MESA

  Platform Name                                   NVIDIA CUDA
Number of devices                                 1
  Device Name                                     GeForce 840M
  Device Vendor                                   NVIDIA Corporation
  Device Vendor ID                                0x10de
  Device Version                                  OpenCL 1.2 CUDA
  Driver Version                                  390.48
  Device OpenCL C Version                         OpenCL C 1.2 
  Device Type                                     GPU
  Device Topology (NV)                            PCI-E, 04:00.0
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               3
  Max clock frequency                             1124MHz
  Compute Capability (NV)                         5.0
  Device Partition                                (core)
    Max number of sub-devices                     1
    Supported partition types                     None
  Max work item dimensions                        3
  Max work item sizes                             1024x1024x64
  Max work group size                             1024
  Preferred work group size multiple              32
  Warp size (NV)                                  32
  Preferred / native vector sizes                 
    char                                                 1 / 1       
    short                                                1 / 1       
    int                                                  1 / 1       
    long                                                 1 / 1       
    half                                                 0 / 0        (n/a)
    float                                                1 / 1       
    double                                               1 / 1        (cl_khr_fp64)
  Half-precision Floating-point support           (n/a)
  Single-precision Floating-point support         (core)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  Yes
  Double-precision Floating-point support         (cl_khr_fp64)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
  Address bits                                    64, Little-Endian
  Global memory size                              2101870592 (1.958GiB)
  Error Correction support                        No
  Max memory allocation                           525467648 (501.1MiB)
  Unified memory for Host and Device              No
  Integrated memory (NV)                          No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       4096 bits (512 bytes)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        49152 (48KiB)
  Global Memory cache line size                   128 bytes
  Image support                                   Yes
    Max number of samplers per kernel             32
    Max size for 1D images from buffer            134217728 pixels
    Max 1D or 2D image array size                 2048 images
    Max 2D image size                             16384x16384 pixels
    Max 3D image size                             4096x4096x4096 pixels
    Max number of read image args                 256
    Max number of write image args                16
  Local memory type                               Local
  Local memory size                               49152 (48KiB)
  Registers per block (NV)                        65536
  Max number of constant args                     9
  Max constant buffer size                        65536 (64KiB)
  Max size of kernel argument                     4352 (4.25KiB)
  Queue properties                                
    Out-of-order execution                        Yes
    Profiling                                     Yes
  Prefer user sync for interop                    No
  Profiling timer resolution                      1000ns
  Execution capabilities                          
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Kernel execution timeout (NV)                 No
  Concurrent copy and kernel execution (NV)       Yes
    Number of async copy engines                  1
  printf() buffer size                            1048576 (1024KiB)
  Built-in kernels                                
  Device Extensions                               cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_fp64 cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer

  Platform Name                                   Intel Gen OCL Driver
Number of devices                                 1
  Device Name                                     Intel(R) HD Graphics Haswell Ultrabook GT2 Mobile
  Device Vendor                                   Intel
  Device Vendor ID                                0x8086
  Device Version                                  OpenCL 1.2 beignet 1.3
  Driver Version                                  1.3
  Device OpenCL C Version                         OpenCL C 1.2 beignet 1.3
  Device Type                                     GPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               20
  Max clock frequency                             1000MHz
  Device Partition                                (core)
    Max number of sub-devices                     1
    Supported partition types                     None, None, None
  Max work item dimensions                        3
  Max work item sizes                             512x512x512
  Max work group size                             512
  Preferred work group size multiple              16
  Preferred / native vector sizes                 
    char                                                16 / 8       
    short                                                8 / 8       
    int                                                  4 / 4       
    long                                                 2 / 2       
    half                                                 0 / 8        (n/a)
    float                                                4 / 4       
    double                                               0 / 2        (n/a)
  Half-precision Floating-point support           (n/a)
  Single-precision Floating-point support         (core)
    Denormals                                     No
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 No
    Round to infinity                             No
    IEEE754-2008 fused multiply-add               No
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  No
  Double-precision Floating-point support         (n/a)
  Address bits                                    32, Little-Endian
  Global memory size                              2147483648 (2GiB)
  Error Correction support                        No
  Max memory allocation                           1610612736 (1.5GiB)
  Unified memory for Host and Device              Yes
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       1024 bits (128 bytes)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        8192 (8KiB)
  Global Memory cache line size                   64 bytes
  Image support                                   Yes
    Max number of samplers per kernel             16
    Max size for 1D images from buffer            65536 pixels
    Max 1D or 2D image array size                 2048 images
    Base address alignment for 2D image buffers   4096 bytes
    Pitch alignment for 2D image buffers          1 pixels
    Max 2D image size                             8192x8192 pixels
    Max 3D image size                             8192x8192x2048 pixels
    Max number of read image args                 128
    Max number of write image args                8
  Local memory type                               Local
  Local memory size                               65536 (64KiB)
  Max number of constant args                     8
  Max constant buffer size                        134217728 (128MiB)
  Max size of kernel argument                     1024
  Queue properties                                
    Out-of-order execution                        No
    Profiling                                     Yes
  Prefer user sync for interop                    Yes
  Profiling timer resolution                      80ns
  Execution capabilities                          
    Run OpenCL kernels                            Yes
    Run native kernels                            Yes
    SPIR versions                                 1.2
  printf() buffer size                            1048576 (1024KiB)
  Built-in kernels                                __cl_copy_region_align4;__cl_copy_region_align16;__cl_cpy_region_unalign_same_offset;__cl_copy_region_unalign_dst_offset;__cl_copy_region_unalign_src_offset;__cl_copy_buffer_rect;__cl_copy_image_1d_to_1d;__cl_copy_image_2d_to_2d;__cl_copy_image_3d_to_2d;__cl_copy_image_2d_to_3d;__cl_copy_image_3d_to_3d;__cl_copy_image_2d_to_buffer;__cl_copy_image_3d_to_buffer;__cl_copy_buffer_to_image_2d;__cl_copy_buffer_to_image_3d;__cl_fill_region_unalign;__cl_fill_region_align2;__cl_fill_region_align4;__cl_fill_region_align8_2;__cl_fill_region_align8_4;__cl_fill_region_align8_8;__cl_fill_region_align8_16;__cl_fill_region_align128;__cl_fill_image_1d;__cl_fill_image_1d_array;__cl_fill_image_2d;__cl_fill_image_2d_array;__cl_fill_image_3d;
  Device Extensions                               cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_3d_image_writes cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_spir cl_khr_icd cl_intel_accelerator cl_intel_subgroups cl_intel_subgroups_short cl_khr_gl_sharing

  Platform Name                                   Portable Computing Language
Number of devices                                 1
  Device Name                                     pthread-Intel(R) Core(TM) i7-4510U CPU @ 2.00GHz
  Device Vendor                                   GenuineIntel
  Device Vendor ID                                0x8086
  Device Version                                  OpenCL 1.2 pocl HSTR: pthread-x86_64-pc-linux-gnu-haswell
  Driver Version                                  1.1
  Device OpenCL C Version                         OpenCL C 1.2 pocl
  Device Type                                     CPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               4
  Max clock frequency                             3100MHz
  Device Partition                                (core)
    Max number of sub-devices                     4
    Supported partition types                     equally, by counts
  Max work item dimensions                        3
  Max work item sizes                             4096x4096x4096
  Max work group size                             4096
  Preferred work group size multiple              8
  Preferred / native vector sizes                 
    char                                                16 / 16      
    short                                               16 / 16      
    int                                                  8 / 8       
    long                                                 4 / 4       
    half                                                 0 / 0        (n/a)
    float                                                8 / 8       
    double                                               4 / 4        (cl_khr_fp64)
  Half-precision Floating-point support           (n/a)
  Single-precision Floating-point support         (core)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  Yes
  Double-precision Floating-point support         (cl_khr_fp64)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
  Address bits                                    64, Little-Endian
  Global memory size                              6098395136 (5.68GiB)
  Error Correction support                        No
  Max memory allocation                           2147483648 (2GiB)
  Unified memory for Host and Device              Yes
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       1024 bits (128 bytes)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        4194304 (4MiB)
  Global Memory cache line size                   64 bytes
  Image support                                   Yes
    Max number of samplers per kernel             16
    Max size for 1D images from buffer            134217728 pixels
    Max 1D or 2D image array size                 2048 images
    Max 2D image size                             8192x8192 pixels
    Max 3D image size                             2048x2048x2048 pixels
    Max number of read image args                 128
    Max number of write image args                128
  Local memory type                               Global
  Local memory size                               2097152 (2MiB)
  Max number of constant args                     8
  Max constant buffer size                        2097152 (2MiB)
  Max size of kernel argument                     1024
  Queue properties                                
    Out-of-order execution                        No
    Profiling                                     Yes
  Prefer user sync for interop                    Yes
  Profiling timer resolution                      1ns
  Execution capabilities                          
    Run OpenCL kernels                            Yes
    Run native kernels                            Yes
    SPIR versions                                 1.2
  printf() buffer size                            1048576 (1024KiB)
  Built-in kernels                                
  Device Extensions                               cl_khr_byte_addressable_store cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_3d_image_writes cl_khr_spir cl_khr_fp64 cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp64

  Platform Name                                   Clover
Number of devices                                 0

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  NVIDIA CUDA
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Success [NV]
  clCreateContext(NULL, ...) [default]            Success [NV]
  clCreateContext(NULL, ...) [other]              Success [Intel]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  No platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  Invalid device type for platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  No platform

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

I hesitate to post that, because I should not be using the beignet for the Intel. It’s acceptable but not optimal. I’ll fix that this weekend too, I suppose. Clearly, I’m already “giving GNU the finger” with the nVidia driver, can do the same for the Intel for better OpenCL support. However, if I burn out my 840M mining bitcoins or cracking my own wifi router over and over again, my laptop lives on. If I burn out the Core i7, it’ll be time to buy a new laptop (which, it already is anyway cranks up SETi @home).

Keep in mind, PARROT IS NOT ARCH OR GENTOO, so DO NOT follow this guy like some cooking recipe. It’s not all step one, do this, step two do that. Just try to read up and apply the insights.
https://wiki.gentoo.org/wiki/NVIDIA/Optimus
https://forums.gentoo.org/viewtopic-p-7597344.html
(I’m partial to the Gentoo guys, because they’re document whores and I was an angry BSD teen a decade + some ago #unixpunx - They however do not use a bumblebee method.)
http://us.download.nvidia.com/XFree86/Linux-x86_64/325.15/README/optimus.html
http://us.download.nvidia.com/XFree86/Linux-x86_64/325.15/README/faq.html#devicenodes
http://us.download.nvidia.com/XFree86/Linux-x86/370.28/README/kms.html
https://wiki.archlinux.org/index.php/Kernel_mode_setting
https://wiki.archlinux.org/index.php/Bumblebee
https://wiki.archlinux.org/index.php/NVIDIA_Optimus
https://wiki.archlinux.org/index.php/Intel_graphics

The same reason this post is such a mess is the reason why I haven’t gotten around to making some kind of sense of my notes and updating the Parrot wiki. But, enough time has passed, that I should have gotten around to it (especially back when it was fresh in my mind). For that, I apologize. Also sorry for the document chaos, it should be more organized and consistent (I had been awake for too long on the Good Ole “don’t stop until everything works” mission and simply emailed myself all of my open tabs and went to bed)… but they mostly say the same in the other versions. Again, I’ll come back to this later… good luck and please use patience. If it frustrates you, just know, you’re not alone in anyway. It is not “just you” that struggles with this.

There was some information around here too. I forget where, again DO NOT INSTALL THIS GUY’S THING

1 Like

Thank you for all of your suggestions guys. When I made my initial post I was in a hurry and forgot to mention that I an new to Linux and Parrot etc so most of these suggestions are really foreign to me so I still have no idea what I am or have to do.

I previously used Kali and following the initial link made the GPU card work like it should. If I go onto Parrot and type lspci | with any command my system freezes for some reason.

When I add acpi=off in the GRUB menu the system gives me and error upon booting ( failed to start light display manager)

I really want to platy around with ParrotOS and compare it to Kali but at this moment it is causing more grey hair than happiness.

I honestly have no idea where to go from here as I know nothing about Linux etc so everything is greek to me I am struggling to find my way just to get this card to work as it does in kali.

It’s cool. Slow your roll a bit and back off the nvidia stuff. nouveau’s gonna work for you for now

What do you want to do, with the distro?

I am not trying to be shitty here, but I bet your stock parrot install, apt update, apt dist-upgrade works just as well as kali’s.

Instead of telling us negatives, what you don’t know. Please tell us what your goals are (of you want CUDA for password cracking or parsing signals from space for signs of intelligent life, we can leave X alone… if X is underperforming, maybe we can solve that). What are you trying to do basically? We’ll be in a better position to help you.

personally remembering I didn’t do that documentation because there’s no universal roadmap, so that’ll never happen until nVidia quits being shitty

1 Like

Sorry, I was not trying to sound negative or bash Parrot in any way whatsoever, I was just a bit frustrated yesterday not being able to figure this out.

I am basically trying to see if this is a field I am really interested in exploring more thus the reason for using kali previously.

The reason I want to use the gpu is to use hashcat etc to its full potential when it comes to cracking passwords, I know its not such a big deal as cracking will take a couple of years but I would just like to try it like its supposed to work.

Again, my apologies for coming across as being negative.

Me too, that’s not what I meant either. Can you run through all the lshw, lspci, etc…
I’m sure you know the model you have, but if you just need it for hashcat, it’s much easier to solve… don’t purge bumblebee but that’s the wrong avenue to be on.

We need to know what kernel modules your kernel is seeing and which opencl libraries you have, once your kernel sees your device and you have the right libraries, hashcat will build at runtime and amaze you.

https://hashcat.net/wiki/doku.php?id=frequently_asked_questions#i_may_have_the_wrong_driver_installed_what_should_i_do

let me know what timezone you’re in an i’ll get with you…
we only need the kernel to recognize your device and know which development libraries you need, from there hashcat will take over and do the rest
again, parrot is currently shipping the stable hashcat, so don’t mess with that and also the latest nvidia drivers, so stay inside the repository (this is always the case, but saying dont go downloading ,bins and such, it’s all on parrot’s repository)

mainly, if your kernel sees it, we need to make sure you have the right libraries, so hashcat can build on the fly and run through primus or some other options

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.