Skip to content

Commit efef724

Browse files
creating a basic nvidia article for customers to reference
1 parent c66a97e commit efef724

File tree

2 files changed

+142
-0
lines changed

2 files changed

+142
-0
lines changed

content/nvidia-graphics-pop.md

Lines changed: 142 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
---
2+
title: NVIDIA Drivers on Pop!_OS
3+
description: >
4+
Install, remove and troubleshoot NVIDIA drivers
5+
keywords:
6+
- Support
7+
- Guides
8+
- System76
9+
- NVIDIA
10+
- dedicated graphics
11+
- linux
12+
13+
facebookImage: /_social/article
14+
twitterImage: /_social/article
15+
16+
hidden: false
17+
section: pop
18+
tableOfContents: true
19+
---
20+
21+
The NVIDIA driver is software that allows the operating system to communicate with the NVIDIA graphics card in order to control the GPU, manage performance, handle displays, and run graphics smoothly. This enables the computer to properly use the GPU for things like fast graphics, gaming, video editing, and hardware-accelerated apps.
22+
23+
### List NVIDIA Driver Information
24+
25+
To list the currently installed NVIDIA driver version, GPU model and CUDA version, open a terminal (<kbd>SUPER</kbd>+<kbd>t</kbd>) and run the following command.
26+
27+
```bash
28+
nvidia-smi
29+
```
30+
The driver version, CUDA version and model information are highlighted in red in the output below.
31+
32+
![nvidia-smi ouput in the terminal with the NVIDIA driver, CUDA version and model info highlighted in red](/images/nvidia-pop/nvidia-smi.png)
33+
34+
### Install NVIDIA Driver Versions
35+
36+
Run `sudo apt update` before installing, removing, or upgrading NVIDIA drivers to prevent missing-package errors and outdated driver installs.
37+
38+
**System76 NVIDIA Driver**
39+
40+
Install the NVIDIA driver packaged and tested by System76 to provide graphics stability for Pop!_OS and System76 hardware.
41+
42+
```bash
43+
sudo apt install system76-driver-nvidia
44+
```
45+
46+
**NVIDIA Driver**
47+
48+
Install a specific NVIDIA driver version by indicating the version number in the command. In the example below, the driver version is '580.'
49+
50+
```bash
51+
sudo apt install nvidia-driver-580
52+
```
53+
54+
**NVIDIA Driver Open**
55+
56+
The main NVIDIA Driver with some open modules. Install with the correct version number included in the command. In the example below, the driver version is '580.
57+
58+
```bash
59+
sudo apt install nvidia-driver-580-open
60+
```
61+
62+
**Server**
63+
64+
Headless/compute‑oriented driver that does not include the Xorg display driver and related graphics stack, keeping only the kernel module and CUDA libraries. Used where no graphical output is neded.
65+
66+
```bash
67+
sudo apt install nvidia-driver-[version]-server
68+
```
69+
70+
**Headless**
71+
72+
No display driver included, but contains the kernel module and user‑space libraries (CUDA, OpenGL/Vulkan). It’s meant for machines that run GPU workloads without ever attaching a monitor.
73+
74+
```bash
75+
sudo apt install nvidia-headless-[version]
76+
```
77+
78+
**Headless-no-dkms**
79+
80+
Same as `‑headless`, but the kernel module is **pre‑built** for the current kernel instead of being compiled via DKMS. This eliminates the need for a compiler and DKMS infrastructure, which is handy on minimal container images or very locked‑down systems.
81+
82+
```bash
83+
sudo apt install nvidia-headless-no-dkms-[version]
84+
```
85+
86+
## Remove and Reinstall Specific NVIDIA Driver Version
87+
The following set of commands will purge the Nvidia drivers and reinstall the specified version. This process can help fix a broken NVIDIA driver installation, remove older drivers and install new ones.
88+
89+
First, update the system packages.
90+
91+
```bash
92+
sudo apt update
93+
```
94+
95+
Purge NVIDIA by removing any package that includes the word 'nvidia.'
96+
97+
```bash
98+
sudo apt purge ~nnvidia
99+
```
100+
Clear and update the apt repository cache.
101+
102+
```bash
103+
sudo apt clean
104+
sudo apt update
105+
```
106+
Install the specific driver version.
107+
108+
```bash
109+
sudo apt install nvidia-driver-[version]
110+
```
111+
Fix any interrupted or incomplete package installations.
112+
113+
```bash
114+
sudo dpkg --configure -a
115+
```
116+
117+
Reboot the system.
118+
119+
## Suspend and Resume Stability
120+
121+
Enabling Systemd power management services can help improve suspend and resume stability.
122+
123+
The following command tells systemd to run NVIDIA’s GPU-specific suspend script whenever the system enters suspend (sleep) mode.
124+
125+
```bash
126+
sudo systemctl enable nvidia-suspend.service
127+
```
128+
To restore NVIDIA GPU state after the system resumes from suspend or hibernate, enable nvidia-resume.service.
129+
130+
```bash
131+
sudo systemctl enable nvidia-resume.service
132+
```
133+
Save the GPU state and power down GPU safely before hibernation to ensure GPU restores correctly on wake.
134+
135+
```bash
136+
sudo systemctl enable nvidia-hibernate.service
137+
```
138+
Prepares GPU for initial suspend and hibernate if the system transitions.
139+
140+
```bash
141+
sudo systemctl enable nvidia-suspend-then-hibernate.service
142+
```
34.2 KB
Loading

0 commit comments

Comments
 (0)