Nvidia Drivers For Kali Linux

admin

Ağustos 17, 2019

Kali_Linux_Nvidia_Driver

Hi Dude! If you reading this tuttorial, there are two possibilities, you’re terribly tired and fed up or you’re trying to first my tuttorial as a final experiment. If you trying first with my way, you’re really lucky. :) My way cover of the nvidia drivers for Kali Linux Desktops and Kali Linux Laptop nvidia drivers. But u may take some errors. I also give you solutions for the most common errors. So you can easily install kali linux nvidia drivers . If you cant solution your problem please comment.

How to install nvidia drivers for kali linux

STEP-1

Before Setup Nvidia Drivers For Kali Linux you have to make the system ready. So you’ll need to make sure you have the kernel headers for your currently active kernel in order to build the NVIDIA driver kernel modules. Lets run this commands in terminal!

Copy

This will automatically resolve the kernel headers package required for the kernel you are currently using.

STEP-2

Now we’re going to disable the intel graphics card because we prefer nvidia to intel! First lets see your hybrid graphics.

Copy

As you can see, we have hybrid graphics. Now we will disable intel for use nvidia.

Copy

Initramfs updated with this command and rebooted your computer. Now let’s check is that successful.

Copy

If shows nothing, means nouveau successfully disabled.

STEP-3

Now we will install Nvidia Drivers For Kali Linux !
DRIVERS

You must download kali linux nvidia driver installation package for your computer. If you don’t know which package to download :

Bottom From:

Linux x86_64/AMD64/EM64T

Enter green links order from top and check under from SUPPORTED PRODUCTS for your nvidia graphics card. If you find your graphics card model in SUPPORTED PRODUCTS, DOWNLOAD that.

If you don’t know your nvidia graphics card model :

Copy

My nvidia graphics card model is GT 525M but maybe yours different whatever yours model will write there. After install kali linux nvidia driver installation package, open terminal and go where u download package like Downloads.

Copy

(Change 390.129 with yours package. Code must look like sudo sh ./Nvidia-driver-filename.run)

STEP-4

Now we will download requirement conf files for kali linux nvidia driver .
DOWNLOAD

After install Xconfs.zip extract the files and copy all files to root/etc/X11/

STEP-5

Now we must check to files we copied to /etc/X11/ are compatible with our computer.
So we will learn the BusID code of our video card.

Copy

it should show something like this:
PCI:1:0:0

This is our BusID code of our video card.After typing the command, I get the result PCI:1: 0: 0, so my BusID code is PCI:1: 0: 0 if you have the same, no problem you can skip STEP-5.

If your BusID is different from my BusID copy yours and open with leafpad to files we just coppied into the /etc/X11/ folder (xorg.conf and xong.conf) and change BusID “xxxxxxx” like BusID “PCI:1:0:0” with yours for example BusID “PCI:2:0:0” and the FINAL STEP I know you tired :)

FINAL STEP

Last step to happy end :)
Now we’ll download a file again for kali nvidia driver , don’t worry, this time you won’t see ads, it was a one-time, but I also need some money, right?

DOWNLOAD
After download optimus.desktop copy it to that folders:
/usr/share/gdm/greeter/autostart/
/etc/xdg/autostart/

UUWWWHH YEAAAH DONE! Now reboot your computer :) Don’t be afraid if you have a error after reboot. I gave solutions to the most common errors at the end of tuttorial. Find yours error and follow the instructions. Unlimited Solutions with TaBuAy :)

MOST COMMON ERRORS

Kali Linux Nvidia Lag, Freeze and Screen Tearing Problem2021-11-24T20:40:21+00:00

After installing Kali Linux Graphics Card Driver and rebooting the computer, you will probably experience screen tearing problems, such as moving active windows or video and so open our terminal again and run the that command.

probably output something like this:

PRIME Synchronization: 0
PRIME Synchronization: 1

First one is our connected display.So PRIME sync is disabled. Edit /etc/default/grub and append nvidia-drm.modeset=1 in GRUB_CMDLINE_LINUX_DEFAULT after quiet. Like the following:

…
GRUB_CMDLINE_LINUX_DEFAULT=”quiet nvidia-drm.modeset=1″
…

Save the changes and update grub using the command:

Reboot your system . That is all. Have a nice day :)

STUCK IN GREY SCREEN!2021-11-24T20:37:06+00:00

If you see grey screen like kali lockscreen press CTRL+ALT+F2 or CTRL+ALT+F3, login with your password. After login successfull run this commands.

Have a nice day :)

STUCK IN BOOT SCREEN!2021-11-24T20:35:56+00:00

When your kali linux stuck in boot screen, we can’t be sure where is the problem. So we will make experiments after that we will do different actions based on the results of the trials. If you cant solute your problem with any solutions with ı gave you, please ask us in comments, We can help you. But no think worst immediately let’s try the solve problem :)

If you stuck in boot screen Press CTRL+ALT+F2 or CTRL+ALT+F3, login with your password. After login successfull run this commands

If your computer is turned on, now you know where the problem is caused. We can help you, ask us in comments. If your computer is still stuck in boot screen Press CTRL+ALT+F2 or CTRL+ALT+F3, login with your password. After login successfull run this commands

Now your computer will turn on but We revert what we have done so far and we uninstalled nvidia drivers so you must retry my install Nvidia Drivers for Kali Linux tutorial .
Please be more careful this time :(

If you get different errors that you didn’t receive in your previous experiment while trying again you must reinstalling kali linux, ie after format You should retry my install Nvidia Drivers for Kali Linux tutorial .

Kali_Linux_Nvidia_Driver_Kurulumu

2 Comments

  1. NotMyName Ekim 22, 2021 at 10:12 am - Reply

    Thanks so much for this tutorial, it helped me setup my dual monitor setup <3

    • admin Ekim 22, 2021 at 12:39 pm - Reply

      Have fun :)

Leave A Comment

Yazılarımızdan Haberdar Olun!

Yeni içeriklerde size bildirim maili gönderelim…

Teşekkürler! En güncel paylaşımlardan haberdar olacaksınız!
Ups! Sanırım bir hata oldu. Lütfen sonra tekrar dene veya "Canlı Destek" hizmetini kullanabilirsin.

Mailiniz yalnızca yeni yazılar için kullanılacaktır!