$ -weight: 600;">sudo lshw -C display
-weight: 600;">sudo lshw -C display
-weight: 600;">sudo lshw -C display
dmesg | grep Secure
dmesg | grep Secure
dmesg | grep Secure
lsmod | grep -i nouveau
lsmod | grep -i nouveau
lsmod | grep -i nouveau
blacklist nouveau options nouveau modset=0
blacklist nouveau options nouveau modset=0
blacklist nouveau options nouveau modset=0
-weight: 600;">sudo -weight: 500;">update-initramfs -u
-weight: 600;">sudo -weight: 500;">update-initramfs -u
-weight: 600;">sudo -weight: 500;">update-initramfs -u
-weight: 600;">sudo -weight: 500;">apt purge "nvidia-*" -weight: 600;">sudo -weight: 500;">apt autoremove -weight: 600;">sudo -weight: 500;">apt autoclean
-weight: 600;">sudo -weight: 500;">apt purge "nvidia-*" -weight: 600;">sudo -weight: 500;">apt autoremove -weight: 600;">sudo -weight: 500;">apt autoclean
-weight: 600;">sudo -weight: 500;">apt purge "nvidia-*" -weight: 600;">sudo -weight: 500;">apt autoremove -weight: 600;">sudo -weight: 500;">apt autoclean
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">update -weight: 600;">sudo -weight: 500;">apt -weight: 500;">upgrade -y
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">update -weight: 600;">sudo -weight: 500;">apt -weight: 500;">upgrade -y
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">update -weight: 600;">sudo -weight: 500;">apt -weight: 500;">upgrade -y
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">install -y nvidia-driver-535
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">install -y nvidia-driver-535
-weight: 600;">sudo -weight: 500;">apt -weight: 500;">install -y nvidia-driver-535
-weight: 600;">sudo -weight: 500;">apt-get -weight: 500;">install -y cuda-drivers
-weight: 600;">sudo -weight: 500;">apt-get -weight: 500;">install -y cuda-drivers
-weight: 600;">sudo -weight: 500;">apt-get -weight: 500;">install -y cuda-drivers
-weight: 600;">sudo -weight: 500;">apt-get -weight: 500;">install linux-headers-$(uname -r)
-weight: 600;">sudo -weight: 500;">apt-key del 7fa2af80 # Choose an installation method: local repo or network repo. # local
-weight: 600;">sudo dpkg -i cuda-repo-<distro>_<version>_<architecture>.deb
-weight: 600;">sudo cp /var/cuda-repo-<distro>-X-Y-local/cuda-*-keyring.gpg /usr/share/keyrings/
-weight: 500;">wget https://developer.download.nvidia.com/compute/cuda/repos/<distro>/x86_64/cuda-<distro>.pin
-weight: 600;">sudo mv cuda-<distro>.pin /etc/-weight: 500;">apt/preferences.d/cuda-repository-pin-600 # network
-weight: 500;">wget https://developer.download.nvidia.com/compute/cuda/repos/{% katex inline %}distro/{% endkatex %}arch/cuda-keyring_1.1-1_all.deb
-weight: 600;">sudo dpkg -i cuda-keyring_1.1-1_all.deb
-weight: 600;">sudo -weight: 500;">apt-get -weight: 500;">install cuda-drivers-<branch>
-weight: 600;">sudo -weight: 500;">apt-get -weight: 500;">install linux-headers-$(uname -r)
-weight: 600;">sudo -weight: 500;">apt-key del 7fa2af80 # Choose an installation method: local repo or network repo. # local
-weight: 600;">sudo dpkg -i cuda-repo-<distro>_<version>_<architecture>.deb
-weight: 600;">sudo cp /var/cuda-repo-<distro>-X-Y-local/cuda-*-keyring.gpg /usr/share/keyrings/
-weight: 500;">wget https://developer.download.nvidia.com/compute/cuda/repos/<distro>/x86_64/cuda-<distro>.pin
-weight: 600;">sudo mv cuda-<distro>.pin /etc/-weight: 500;">apt/preferences.d/cuda-repository-pin-600 # network
-weight: 500;">wget https://developer.download.nvidia.com/compute/cuda/repos/{% katex inline %}distro/{% endkatex %}arch/cuda-keyring_1.1-1_all.deb
-weight: 600;">sudo dpkg -i cuda-keyring_1.1-1_all.deb
-weight: 600;">sudo -weight: 500;">apt-get -weight: 500;">install cuda-drivers-<branch>
-weight: 600;">sudo -weight: 500;">apt-get -weight: 500;">install linux-headers-$(uname -r)
-weight: 600;">sudo -weight: 500;">apt-key del 7fa2af80 # Choose an installation method: local repo or network repo. # local
-weight: 600;">sudo dpkg -i cuda-repo-<distro>_<version>_<architecture>.deb
-weight: 600;">sudo cp /var/cuda-repo-<distro>-X-Y-local/cuda-*-keyring.gpg /usr/share/keyrings/
-weight: 500;">wget https://developer.download.nvidia.com/compute/cuda/repos/<distro>/x86_64/cuda-<distro>.pin
-weight: 600;">sudo mv cuda-<distro>.pin /etc/-weight: 500;">apt/preferences.d/cuda-repository-pin-600 # network
-weight: 500;">wget https://developer.download.nvidia.com/compute/cuda/repos/{% katex inline %}distro/{% endkatex %}arch/cuda-keyring_1.1-1_all.deb
-weight: 600;">sudo dpkg -i cuda-keyring_1.1-1_all.deb
-weight: 600;">sudo -weight: 500;">apt-get -weight: 500;">install cuda-drivers-<branch>
# cuda-toolkit をインストールすると CUDA がインストールされてしまう
# -weight: 600;">sudo -weight: 500;">apt-get -y -weight: 500;">install cuda-toolkit-<version> # cuda-drivers をインストールすると CUDA なしで NVIDIA ドライバーのみをインストールできる
-weight: 600;">sudo -weight: 500;">apt-get -y -weight: 500;">install cuda-drivers
# cuda-toolkit をインストールすると CUDA がインストールされてしまう
# -weight: 600;">sudo -weight: 500;">apt-get -y -weight: 500;">install cuda-toolkit-<version> # cuda-drivers をインストールすると CUDA なしで NVIDIA ドライバーのみをインストールできる
-weight: 600;">sudo -weight: 500;">apt-get -y -weight: 500;">install cuda-drivers
# cuda-toolkit をインストールすると CUDA がインストールされてしまう
# -weight: 600;">sudo -weight: 500;">apt-get -y -weight: 500;">install cuda-toolkit-<version> # cuda-drivers をインストールすると CUDA なしで NVIDIA ドライバーのみをインストールできる
-weight: 600;">sudo -weight: 500;">apt-get -y -weight: 500;">install cuda-drivers - NVIDIA repository + cuda-drivers: Installs from NVIDIA's repository. Provides the latest drivers. The repository configuration can be reused if you -weight: 500;">install CUDA in the future. See Reference: Installation via the NVIDIA Repository for details.
- Ubuntu repository + nvidia-driver-XXX: Installs drivers that have been tested and packaged by Ubuntu. You can check the recommended version with the ubuntu-drivers devices command, and the procedure is simpler. - Immediately after powering on, repeatedly press the designated key to enter BIOS. DELL: F2 or DEL
HP: ESC (then F10) or F2
ASUS: DEL or F2
Acer: F2 or DEL
- DELL: F2 or DEL
- HP: ESC (then F10) or F2
- ASUS: DEL or F2
- Acer: F2 or DEL
- Navigate to the Secure Boot settings screen.
It is usually found under one of the following tabs: Boot
Security
Authentication
Advanced
- Authentication
- Disable Secure Boot. Set the "Secure Boot" option to "Disabled".
If you cannot -weight: 500;">disable it, try changing the Secure Boot mode to "Custom Mode" first.
In some cases, changing OS Type from "Windows UEFI mode" to "Other OS" is sufficient.
- Set the "Secure Boot" option to "Disabled".
- If you cannot -weight: 500;">disable it, try changing the Secure Boot mode to "Custom Mode" first.
- In some cases, changing OS Type from "Windows UEFI mode" to "Other OS" is sufficient.
- Configure "CSM" or "Legacy Boot" if necessary. On some systems, you may need to -weight: 500;">enable "CSM (Compatibility Support Module)" or "Legacy Boot" when disabling Secure Boot.
To do this, set "CSM" or "Legacy Boot" to "Enabled" in the "Boot" tab.
- On some systems, you may need to -weight: 500;">enable "CSM (Compatibility Support Module)" or "Legacy Boot" when disabling Secure Boot.
- To do this, set "CSM" or "Legacy Boot" to "Enabled" in the "Boot" tab.
- Save changes and -weight: 500;">restart. After making changes, select "Save and Exit".
On some BIOS, you can save and exit with the F10 key.
- After making changes, select "Save and Exit".
- On some BIOS, you can save and exit with the F10 key.
- Verify that Secure Boot has been disabled. - DELL: F2 or DEL
- HP: ESC (then F10) or F2
- ASUS: DEL or F2
- Acer: F2 or DEL - Authentication - Set the "Secure Boot" option to "Disabled".
- If you cannot -weight: 500;">disable it, try changing the Secure Boot mode to "Custom Mode" first.
- In some cases, changing OS Type from "Windows UEFI mode" to "Other OS" is sufficient. - On some systems, you may need to -weight: 500;">enable "CSM (Compatibility Support Module)" or "Legacy Boot" when disabling Secure Boot.
- To do this, set "CSM" or "Legacy Boot" to "Enabled" in the "Boot" tab. - After making changes, select "Save and Exit".
- On some BIOS, you can save and exit with the F10 key. - Check if nouveau is enabled. You can paste the output into ChatGPT to verify whether it is enabled. - Run -weight: 600;">sudo vi /etc/modprobe.d/blacklist-nvidia-nouveau.conf and add the following configuration to -weight: 500;">disable nouveau. - Apply the configuration to -weight: 500;">disable nouveau. - Remove any previously installed NVIDIA drivers or CUDA. - Update the package list to the latest state. - Check the version to -weight: 500;">install on the NVIDIA official driver page as described in Check the Version to Install earlier in this article. - Install the appropriate version of the driver (the following command is for version 535). - Verify that the driver was installed successfully. If GPU information is displayed, the installation was successful. - The procedures in this article are intended for Ubuntu environments.
- NVIDIA's official documentation describes different installation methods.
https://docs.nvidia.com/datacenter/tesla/driver-installation-guide/#ubuntu - 3.4. Choose an Installation Method
- 3.5. Download the NVIDIA CUDA Toolkit