ubuntu:gpu:nvidia_gpu:setup:setup_manually
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ubuntu:gpu:nvidia_gpu:setup:setup_manually [2023/06/07 17:52] – created peter | ubuntu:gpu:nvidia_gpu:setup:setup_manually [2025/05/21 15:56] (current) – [Restart] peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Ubuntu - GPU - NVIDIA GPU - Setup - Setup manually ====== | ====== Ubuntu - GPU - NVIDIA GPU - Setup - Setup manually ====== | ||
- | ===== Check the driver needed by the devices | + | <WRAP important> |
+ | **WARNING: | ||
+ | |||
+ | * This approach requires manual recompilation or re-installation of the driver each time the kernel is updated, as the NVIDIA kernel module may not automatically adapt to the new kernel version. | ||
+ | * Such updates can lead to system instability, | ||
+ | * Opting for drivers provided through the Ubuntu repositories or via a PPA is generally safer, ensuring smoother updates and system stability. | ||
+ | |||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Identify | ||
<code bash> | <code bash> | ||
+ | sudo lshw -numeric -C display | ||
+ | |||
+ | or | ||
+ | |||
+ | sudo lspci -vnn | grep VGA | ||
+ | |||
+ | or | ||
+ | |||
sudo ubuntu-drivers devices | sudo ubuntu-drivers devices | ||
</ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | </ | ||
---- | ---- | ||
Line 12: | Line 35: | ||
Visit the [[https:// | Visit the [[https:// | ||
+ | |||
+ | Download the appropriate driver for your graphics card. | ||
<code bash> | <code bash> | ||
Line 24: | Line 49: | ||
sudo apt install build-essential libglvnd-dev pkg-config | sudo apt install build-essential libglvnd-dev pkg-config | ||
</ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Disable Nouveau Nvidia Driver ===== | ||
+ | |||
+ | The default Nouveau Nvidia driver must be disabled before installing the official Nvidia driver. | ||
+ | |||
+ | * This step is crucial for preventing conflicts between drivers. | ||
+ | |||
+ | See [[Ubuntu: | ||
+ | |||
+ | |||
+ | <WRAP important> | ||
+ | **WARNING: | ||
+ | |||
+ | * Be sure that you have the SSH enabled on your system to be able login remotely or use **CTRL+ALT+F2** to switch TTY console and continue with the installation. | ||
+ | |||
+ | </ | ||
---- | ---- | ||
Line 30: | Line 73: | ||
Before installing the driver, it is mandatory to stop your current display server by changing the run level to 3. | Before installing the driver, it is mandatory to stop your current display server by changing the run level to 3. | ||
+ | |||
+ | <WRAP important> | ||
+ | **WARNING: | ||
+ | |||
+ | * Switch to a TTY1 session by pressing **CTRL+ALT+F1** and log in. | ||
+ | |||
+ | </ | ||
<code bash> | <code bash> | ||
Line 42: | Line 92: | ||
sudo bash NVIDIA-Linux-x86_64-510.60.02.run | sudo bash NVIDIA-Linux-x86_64-510.60.02.run | ||
</ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | * The wizard may complain that another NVIDIA driver method is available, in that case simply ignore and hit **continue**. | ||
+ | |||
+ | </ | ||
---- | ---- | ||
Line 55: | Line 112: | ||
<WRAP info> | <WRAP info> | ||
**NOTE: | **NOTE: | ||
+ | |||
+ | * Upon reboot, configure the NVIDIA settings. | ||
+ | * Access the **NVIDIA X Server Settings** app from the **Activities** menu to adjust the graphics settings as desired. | ||
+ | |||
</ | </ | ||
ubuntu/gpu/nvidia_gpu/setup/setup_manually.1686160339.txt.gz · Last modified: 2023/06/07 17:52 by peter