PDA

View Full Version : NVIDIA driver installation fails



bebin
2015-08-07, 14:27
HI guys i am new to kali linux. When i try to install the nvidia driver NVIDIA-Linux-x86_64-304.125.run i get error.
I have pasted the full nvidia-installer log file . what could be the problem please help guys.

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Aug 7 19:22:28 2015
installer version: 304.125

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

nvidia-installer command line:
./nvidia-installer

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 304.125.
-> There appears to already be a driver installed on your system (version: 304.125). As part of installing this driver (version: 304.125), the existing driver will be uninstalled. Are you sure you want to continue? ('no' will abort installation) (Answer: Yes)
-> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: Yes)
-> Installing both new and classic TLS OpenGL libraries.
-> Installing both new and classic TLS 32bit OpenGL libraries.
-> Install NVIDIA's 32-bit compatibility OpenGL libraries? (Answer: No)
-> Uninstalling the previous installation with /usr/bin/nvidia-uninstall.
-> Searching for conflicting X files:
-> done.
-> Searching for conflicting OpenGL files:
-> done.
-> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86_64' (304.125):
executing: '/sbin/ldconfig'...
executing: '/sbin/depmod -aq'...
ignored deprecated option -q
-> done.
-> Driver file installation is complete.
-> Installing DKMS kernel module:
ERROR: Failed to run `/usr/sbin/dkms build -m nvidia -v 304.125 -k 3.18.0-kali3-amd64`:
Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=3.18.0-kali3-amd64 module SYSSRC=/lib/modules/3.18.0-kali3-amd64/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.18.0-kali3-amd64 (x86_64)
Consult /var/lib/dkms/nvidia/304.125/build/make.log for more information.
-> error.
ERROR: Failed to install the kernel module through DKMS. No kernel module was installed; please try installing again without DKMS, or check the DKMS logs for more information.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.

amnesia
2015-08-20, 10:09
Same here.. If I try to install it without DKMS it says 'Unable to build nvidia kernel module'. If I try to install the driver via aptitude like its recommended in Kali Docs, I get an error due to unmet dependencies because the installation of libgl1-nvidia-glx fails. Dpkg returns an error while processing the package with ('--unpack'). Any ideas?

ilia
2016-02-09, 12:41
Hi all. I have problem with Nvidia graphics on kali linux. http://docs.kali.org/general-use/install-nvidia-drivers-on-kali-linux this and all others that I find by google not work on my laptop.
After installing Nvidia drivers it says: Oh no, something has gone wrong..................................... After this only 2 way, uninstall Nvidia drivers or instal kali again. Of caurse after uninstall it works without 3D graphics. Someone had this problem and fix it?

Laptop: Dell Inspiron 15 3542

lspci
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)
00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)
00:1c.3 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 4 (rev e4)
00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)
00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
06:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)
07:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 07)
08:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev a1)