Xubuntu 20.04.1 (Desktop, obviously)
Note for the impatient -- skip to the end. But you should probably read the other answers (and the README from NVidia) if you decide to actually install the NVidia code directly.
Identify my card.
root@...:/lib/modules/5.4.0-62-generic# dmesg | grep -i nvidia
[ 10.448241] nouveau 0000:01:00.0: NVIDIA GK208B (b06070b1)
[ 12.059748] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input16
[ 12.059815] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
[ 12.059874] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input18
[ 12.059936] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input19
[ 12.059993] input: HDA NVidia HDMI/DP,pcm=10 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input20
Just double-checking (this is the piece of information I need to continue).
root@...:/lib/modules/5.4.0-62-generic# lspci | grep -i nvidia
01:00.0 VGA compatible controller: NVIDIA Corporation GK208B [GeForce GT 730] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK208 HDMI/DP Audio Controller (rev a1)
Go to this page for NVidia Drivers
Then selected parameters to include above card...
results (chose the most recent of several)
https://www.nvidia.com/en-us/drivers/results/168347/ Don't use this page. Just included for reference.
Downloaded the driver package I wanted.
Check the Additional Information on the website (at the bottom of the page of package details). There is a handy link to the README, which is worth reviewing.
Vulkan with flipping enabled on Quadro cards can lead to graphic
corruption. If you think you have run into it you can do either of the
following as a workaround:
- Disable flipping in nvidia-settings (uncheck "Allow Flipping" in the "OpenGL Settings" panel)
- Disable UBB (run 'nvidia-xconfig --no-ubb')
- Use a composited desktop
Note that many Linux distributions provide their own packages of the
NVIDIA Linux Graphics Driver in the distribution's native package
management format. This may interact better with the rest of your
distribution's framework, and you may want to use this rather than
NVIDIA's official package.
Also note that SuSE users should read the SuSE NVIDIA Installer HOWTO
before downloading the driver.
[NOT INCLUDED in the quoted section]
must first stop the Xserver
-- for xubuntu 20.04,
log off your session
switch to tty1 (ctrl+alt+f1)
log on as root
systemctl stop lightdm
systemctl status lightdm
[back to instuctions]
Installation instructions: Once you have downloaded the driver, change
to the directory containing the driver package and install the driver
by running, as root, sh ./NVIDIA-Linux-x86_64-460.32.03.run
One of the last installation steps will offer to update your X
configuration file. Either accept that offer, edit your X
configuration file manually so that the NVIDIA X driver will be used,
or run nvidia-xconfig
Note that the list of supported GPU products is provided to indicate
which GPUs are supported by a particular driver version. Some designs
incorporating supported GPUs may not be compatible with the NVIDIA
Linux driver: in particular, notebook and all-in-one desktop designs
with switchable (hybrid) or Optimus graphics will not work if means to
disable the integrated graphics in hardware are not available.
Hardware designs will vary from manufacturer to manufacturer, so
please consult with a system's manufacturer to determine whether that
particular system is compatible.
See the README for more detailed instructions.
For further information please visit our forum,
Note for the impatient:
When I had launched the installation, it reminded me that there might be better-integrated drivers available in:
software & updates --> Additional Drivers
Lo and behold - there was, and the metapackage had the same major release number as the one I had just downloaded (460.32). (see screen shot at the end).
So, I installed the most recent one, and after a day, I have not been bothered by all the weird video and xserver hangs that had been plaguing me multiple times per day.
Kudos to nvidia and ubuntu for keeping the drivers so wonderfully up to date.