---
# System prepended metadata

title: Your card is not supported by any driver version up to

---

# Your card is not supported by any driver version up to

## kali安裝nvidia顯卡驅動報錯
## 前期準備工作
```
kali@kali:~$ sudo apt update
[...]
kali@kali:~$
kali@kali:~$ sudo apt -y full-upgrade -y
[...]
kali@kali:~$
kali@kali:~$ sudo apt install linux-headers-amd64 -y
kali@kali:~$
kali@kali:~$ [ -f /var/run/reboot-required ] && sudo reboot -f

```

```
kali@kali:~$ lspci | grep -i vga
07:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)
kali@kali:~$
kali@kali:~$ lspci -s 07:00.0 -v
07:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Gigabyte Technology Co., Ltd GP106 [GeForce GTX 1060 6GB]
        Flags: bus master, fast devsel, latency 0, IRQ 100
        Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Memory at f0000000 (64-bit, prefetchable) [size=32M]
        I/O ports at e000 [size=128]
        Expansion ROM at 000c0000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: nouveau
        Kernel modules: nouveau

kali@kali:~$

```
```
nvidia-detect 
Detected NVIDIA GPUs:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GB206M [GeForce RTX 5060 Max-Q / Mobile] [10de:2d59] (rev a1)

Checking card:  NVIDIA Corporation GB206M [GeForce RTX 5060 Max-Q / Mobile] (rev a1)
Uh oh. Your card is not supported by any driver version up to 550.163.01.
A newer driver may add support for your card.
Newer driver releases may be available in backports, unstable or experimental.

```
**完蛋，我們可以看到，倉庫裏的顯卡驅動太老了。**
## 去英偉達官網下載驅動
https://www.nvidia.com/en-us/drivers/

![image](https://hackmd.io/_uploads/SyRwTXffWx.png)

直接搜索你自己的顯卡型號
![image](https://hackmd.io/_uploads/BJnca7ffbg.png)
點view
![image](https://hackmd.io/_uploads/r1g2aXMGWe.png)
點download
## 安裝驅動
```
cd ~/Downloads
chmod +x NVIDIA-Linux-x86_64-580.105.08.run 
sudo ./ NVIDIA-Linux-x86_64-580.105.08.run
```

一路yes ok, continue instll就完了。該rebuild的就rebuild