sudo apt-get install gcc sudo apt-get install make sudo apt install vim
查看显卡型号
# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.5 LTS Release: 18.04 Codename:
更新PCI ID数据库
update-pciids
# lspci | grep -i nvidia 0a:00.0 VGA compatible controller: NVIDIA Corporation GA102 [GeForce RTX 3090] (rev a1) 0a:00.1 Audio device: NVIDIA Corporation Device 1aef (rev a1)
2,驱动安装
wget https://cn.download.nvidia.cn/XFree86/Linux-x86_64/550.78/NVIDIA-Linux-x86_64-550.78.run
# echo $TMPDIR /tmp
bash NVIDIA-Linux-x86_64-550.78.run
3,禁用nouveau
# lsmod | grep nouveau nouveau 1708032 0 mxm_wmi 16384 1 nouveau video 45056 2 asus_wmi,nouveau i2c_algo_bit 16384 1 nouveau ttm 106496 1 nouveau drm_kms_helper 172032 2 nvidia_drm,nouveau drm 401408 5 drm_kms_helper,nvidia_drm,ttm,nouveau wmi 24576 4 asus_wmi,wmi_bmof,mxm_wmi,nouveau
vim /etc/modprobe.d/blacklist.conf
添加
blacklist nouveau
# update-initramfs -u update-initramfs: Generating /boot/initrd.img-4.15.0-118-generic I: The initramfs will attempt to resume from /dev/nvme1n1p3 I: (UUID=204fe6d9-3a1d-4e1c-8110-bca0a46fd38e) I: Set the RESUME variable to override this.
reboot
4,卸载显卡驱动重新安装
dpkg -l | grep -i nvidia apt purge nvidia* -y bash NVIDIA-Linux-x86_64-455.23.04.run
分享目的仅供大家学习和交流,您必须在下载后24小时内删除! 2. 不得使用于非法商业用途,不得违反国家法律。否则后果自负! 3. 本站提供的源码、模板、插件、软件、等等其他资源,都不包含技术服务请大家谅解!内容投诉
资源库 » Ubuntu 23.10 安装 GeForce RTX 3090教程
资源库 » Ubuntu 23.10 安装 GeForce RTX 3090教程