Install xserver-xorg-video-nvidia-390 by entering the following commands in the terminal:
sudo apt update sudo apt install xserver-xorg-video-nvidia-390
Description:
NVIDIA binary Xorg driver
The NVIDIA binary driver provides optimized hardware acceleration of OpenGL/GLX/EGL/GLES applications via a direct-rendering X Server for graphics cards using NVIDIA chip sets. . See /usr/share/doc/nvidia-driver-390/README.txt.gz for a complete list of supported GPUs and PCI IDs.
Homepage: http://www.nvidia.com
Version: 390.48-0ubuntu3
Section: restricted/x11