在ubuntu下安裝3060m驅(qū)動(dòng)
環(huán)境:
ubuntu22.04
發(fā)行者3060m 12g
(其他移動(dòng)端魔改卡
參考
驅(qū)動(dòng)項(xiàng)目:https://github.com/arutar/FrankenDriver
安裝參考:https://blog.csdn.net/bale11guo/article/details/126086948?spm=wolai.workspace.0.0.581e7b07ygoxGu
禁用Nouveau驅(qū)動(dòng)?
sudo gedit /etc/modprobe.d/blacklist.conf 在末尾添加:
blacklist nouveau options nouveau modeset=0
sudo update-initramfs -u reboot
安裝過程
下載驅(qū)動(dòng)并且切換到驅(qū)動(dòng)目錄下
sudo apt-get install libglvnd-dev build-essential
按下 CTRL+ALT+F3,并且作為用戶登錄
sudo systemctl stop gdm3
?,之后按下CTRL+ALT+F3。(注意:
sudo systemctl stop gdm3
有可能會(huì)卡死,原因未知,可以嘗試sudo service lightdm stop
)開始安裝。
sudo?
./NVIDIA-Linux-x86_64-525.78.01.run
?安裝過程中可以按?CTRL+ALT+F3切換gui。
重啟
顯卡驅(qū)動(dòng)安裝過程中一些選項(xiàng)(有一些問題記不清楚了,只給出需要選擇的選項(xiàng):):
1.The distribution-provided pre-install script failed! Are you sure you want to continue?
選擇continue installation
2.Would you like to register the kernel module souces with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later?
選擇 No 繼續(xù)。
3.問題沒記住,選項(xiàng)是:install without signing
4.問題大概是:Nvidia's 32-bit compatibility libraries? 選擇 No 繼續(xù)。
5.Would you like to run the nvidia-xconfigutility to automatically update your x configuration so that the NVIDIA x driver will be used when you restart x? Any pre-existing x confile will be backed up.
選擇 Yes ?繼續(xù)