NVIDIA Driver install for Dell Optiplex 7070 MT Geforce RTX 1650

news/2024/12/29 20:53:59/

NVIDIA Driver install for Dell Optiplex 7070 MT Geforce RTX 1650

文章目录

  • NVIDIA Driver install for Dell Optiplex 7070 MT Geforce RTX 1650
    • 0.Documents
    • 1 Pre-Pre Installation(For Dell Optiplex 7070 MT Geforce RTX 1650)
    • 2. Pre-Installation
      • 2.1 Verify You Have a CUDA-Capable GPU
      • 2.2 Verify You Have a Supported Version of Linux
      • 2.3 Verify the System Has gcc Installed
      • 2.4 Verify the System has the Correct Kernel Headers and Development Packages Installed(Ubuntu)
      • 2.5 Choose an Installation Method
    • 3. Installation(`run file` method)
      • 3.1 Pre-Installation
      • 3.2 Uninstall previously installations
      • 3.2 disable `Nouveau` driver
      • 3.3 change boot mode
      • 3.4 disable X-Window service
      • 3.5 Install the runfile driver
    • 4.cudnn
    • 5. CUDA CUDNN version

0.Documents

1.NVIDIA CUDA INSTALLATION GUIDE FOR LINUX

2.CUDA Compatibility

3.CUDA Toolkit Archive

1 Pre-Pre Installation(For Dell Optiplex 7070 MT Geforce RTX 1650)

2. Pre-Installation

Before install the CUDA Toolkit and NVIDIA Driver on the computer, Some actions must be taken first.

2.1 Verify You Have a CUDA-Capable GPU

$ lspci | grep -i nvidia 
02:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)

2.2 Verify You Have a Supported Version of Linux

$ uname -m && cat /etc/*release
x86_64
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04.4 LTS"
NAME="Ubuntu"
VERSION="16.04.4 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.4 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

2.3 Verify the System Has gcc Installed

$ gcc --version

2.4 Verify the System has the Correct Kernel Headers and Development Packages Installed(Ubuntu)

$ sudo apt-get install linux-headers-$(uname -r)

2.5 Choose an Installation Method

In this method, i suggest to download the runfile.

3. Installation(run file method)

I strongly recommend to install the NVIDIA dirver in this way ,because in this way ,every step and every part of the driver installed or not installed is under your control.

3.1 Pre-Installation

Execute Step2 Pre-Installation.

3.2 Uninstall previously installations

all the possible nvidia driver previosly installed in th computer, otherwise it may conflict with current nvidia driver

    1. uninstall a Toolkit runfile installation:
    $ sudo /usr/local/cuda-10.0/bin/uninstall_cuda_10.0.pl
    
    1. uninstall a Driver runfile installation:
    $ sudo /usr/bin/nvidia-uninstall
    
    1. uninstall a RPM/Deb installation:
    $ sudo apt-get --purge remove <package_name> # Ubuntu
    

    if this command execute failure, use the following one:

    $ sudo apt-get --purge remove "*cublas*" "cuda*"
    
    To remove CUDA Toolkit:
    $ sudo apt-get --purge remove "*cublas*" "cuda*"
    To remove NVIDIA Drivers:
    $ sudo apt-get --purge remove "*nvidia*"
    

3.2 disable Nouveau driver

create /etc/modprobe.d/blacklist-nouveau.conffile。

$ sudo gedit /etc/modprobe.d/blacklist-nouveau.conf

add the following content in it:

blacklist nouveau
options nouveau modeset=0

generate kernel initramfs again!

$ sudo update-initramfs -u

restart and execute the following command:

$ lsmod | grep nouveau

if the screen output nothing , means the above command line execute successfully!

3.3 change boot mode

restart the computer and enter BIOS,disable Security boot manually.

3.4 disable X-Window service

X-window is a graphics system, our purpose is to ensure the computer disable all the driver about graphic.

After exit from BIOS mode, Ctrl-Alt+F3 to enter text mode and login in.

stop x-window service:

$ sudo service lightdm stop

if it appearsunit lightdm.service not loaded,that means your computer does not have Light installed :

$ sudo apt install lightdm

after this, it will pop up an interface ,choose LightDm,after this:

$ sudo service lightdm stop

the screen gui can be start used:

$ sudo service lightdm start

3.5 Install the runfile driver

1.install nvidia driver

Go to the driver file location.

$ chumod +777 NVIDIA-Linux-x86_64-410.66.run
$ sudo ./NVIDIA-Linux-x86_64-410.66.run  --no-x-check --no-nouveau-check --no-opengl-files 

choose no when it comes with nvidia-xconfig

2. Install cuda

$ sudo ./cuda_9.0.176_384.81_linux.run --no-opengl-libs

choose no when it comes with install nvidia accelerated graphics driver

4.cudnn

Download cudnn and execute the following command line:

sudo cp cuda/include/cudnn.h /usr/local/cuda-10.2/include
sudo cp cuda/lib64/libcudnn* /usr/local/cuda-10.2/lib64
sudo chmod a+r /usr/local/cuda-10.2/include/cudnn.h /usr/local/cuda-10.2/lib64/libcudnn*

5. CUDA CUDNN version

# CUDA 版本
cat /usr/local/cuda/version.txt
# cuDNN 版本
cat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2
$ nvidia-smi 
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
ERROR (dkms apport): binary package for nvidia: 410.48 not found
Error! Bad return status for module build on kernel: 5.3.0-62-generic (x86_64)
Consult /var/lib/dkms/nvidia/410.48/build/make.log for more information.

http://www.ppmy.cn/news/543672.html

相关文章

4G模块使用记录SIMCOM7070

目录 一、概述二、AT指令流程2.1 上电2.2 MQTT2.3 HTTP 三、遇到的问题3.1. ATCREG?查询注网状态返回ERROR3.2. 注册网络被拒绝4. 连接成功后&#xff0c;数据链路关闭 一、概述 二、AT指令流程 《SIM7070_SIM7080_SIM7090 Series_AT Command Manual_V1.04.pdf》 2.1 上电 …

php sslbug,CVE-2020-7070

|参考资料 来源:MLIST 链接:https://lists.debian.org/debian-lts-announce/2020/10/msg00008.html 来源:MISC 链接:http://cve.circl.lu/cve/CVE-2020-8184 来源:MISC 链接:https://bugs.php.net/bug.php?id79699 来源:FEDORA 链接:https://lists.fedoraproject.org/archives…

7070mt安装ubuntu dell_戴尔dell7070MT装win7系统及BIOS设置教程(驱动全可用)

戴尔dell7070MT是一款商业台式电脑系列产品,该系列产品选用Intel 酷睿第八代CPU。默认设置自带了win10系统,近期有许多网民改了win7后发觉进不了系统,因为默认设置戴尔dell7070MT安装win7是没法应用的,除开BIOS时要关掉安全性起动外,也要选用win7新型,否则安装后USB3.1和集…

7070mt安装ubuntu dell_戴尔(dell)7070MT台式机装win7系统及分区教程(支持usb驱动)

[文章导读]戴尔OptiPlex 7070MT是一款商用台式机系列,该系列采用Intel 酷睿第八代处理器。默认预装了win10系统,最近有很多网友改了win7后发现进不了系统,由于默认戴尔OptiPlex 7070MT安装win7是无法使用的,除了BIOS中要关闭安全启动外,还要采用win7新机型,要不然安装后US…

7070mt安装ubuntu dell_戴尔7070MT装win7系统图文教程(包含BIOS设置和分区教程)

戴尔OptiPlex 7070MT是一款台式电脑系列产品,该系列产品采用的CPU是intel第八代系列。出厂自带的系统是win10,近期有许多朋友装成了了win7系统才发现根本进不了系统,因为默认设置戴尔OptiPlex 7070MT安裝win7是没法使用的,除开BIOS时要关掉安全性起动外,也要选用win7的改良…

微服务基础---1.3Eureka注册中心

1.3Eureka注册中心 提供者与消费者 服务提供者&#xff1a;一次业务中&#xff0c;被其他微服务调用的服务。&#xff08;提供接口给他微服务&#xff09;服务消费者&#xff1a;一次业务中&#xff0c;调用其他微服务的服务。&#xff08;调用其他微服务的接口&#xff09; 1…

相机与镜头

做机器视觉的时间也不断了&#xff0c;但我做的几乎都是软件部分&#xff0c;一直以来对相机与镜头选型都没有过多的接触&#xff0c;最近抽空重新进行学习。 凸透镜的成像公式是 1/u1/v1/f 其中u是物距&#xff0c;v是像距&#xff0c;f是焦距。物距就是指物体到透镜光心的距…

为什么360打不开html5,为什么360安全卫士打不开?360安全卫士打不开怎么办?

为什么360安全卫士打不开&#xff1f;360安全卫士打不开怎么办&#xff1f;360安全卫士在进行打开的时候&#xff0c;打不开它的软件&#xff0c;也无法卸载。在它的图标上点击右键打开它的属性的时候&#xff0c;它显示的是该快捷方式指向项目的程序360safe.exe.已经更改或移动…