nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Mon Dec 9 16:06:00 2019 installer version: 435.21 PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin nvidia-installer command line: ./nvidia-installer Using: nvidia-installer ncurses v6 user interface -> Detected 12 CPUs online; setting concurrency level to 12. -> Installing NVIDIA driver version 435.21. -> There appears to already be a driver installed on your system (version: 435.21). As part of installing this driver (version: 435.21), the existing driver will be uninstalled. Are you sure you want to continue? (Answer: Continue installation) -> An alternate method of installing the NVIDIA driver was detected. (This is usually a package provided by your distributor.) A driver installed via that method may integrate better with your system than a driver installed by nvidia-installer. Please review the message provided by the maintainer of this alternate installation method and decide how to proceed: The NVIDIA driver provided by Ubuntu can be installed by launching the "Software & Updates" application, and by selecting the NVIDIA driver from the "Additional Drivers" tab. (Answer: Continue installation) -> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: Yes) -> Install NVIDIA's 32-bit compatibility libraries? (Answer: Yes) -> Uninstalling the previous installation with /usr/bin/nvidia-uninstall. Looking for install checker script at ./libglvnd_install_checker/check-libglvnd-install.sh executing: '/bin/sh ./libglvnd_install_checker/check-libglvnd-install.sh'... Checking for libglvnd installation. Checking libGLdispatch... Checking libGLdispatch dispatch table Checking call through libGLdispatch All OK libGLdispatch is OK Checking for libGLX libGLX is OK Checking for libEGL libEGL is OK Checking entrypoint library libOpenGL.so.0 Checking call through libGLdispatch Checking call through library libOpenGL.so.0 dlopen("libOpenGL.so.0") failed: libOpenGL.so.0: cannot open shared object file: No such file or directory Checking entrypoint library libGL.so.1 Checking call through libGLdispatch Checking call through library libGL.so.1 All OK Entrypoint library libGL.so.1 is OK Found libglvnd libraries: libGL.so.1 libEGL.so.1 libGLX.so.0 libGLdispatch.so.0 Missing libglvnd libraries: libOpenGL.so.0 -> An incomplete installation of libglvnd was found. All of the essential libglvnd libraries are present, but one or more optional components are missing. Do you want to install a full copy of libglvnd? This will overwrite any existing libglvnd libraries. (Answer: Install and overwrite existing files) Will install libglvnd libraries. Will install libEGL vendor library config file to /usr/share/glvnd/egl_vendor.d -> Searching for conflicting files: -> done. -> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86_64' (435.21): executing: '/sbin/ldconfig'... -> done. -> Driver file installation is complete. -> Installing DKMS kernel module: ERROR: Failed to run `/usr/sbin/dkms build -m nvidia -v 435.21 -k 5.4.0-050400-generic`: Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area... 'make' -j12 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=5.4.0-050400-generic IGNORE_CC_MISMATCH='' modules................(bad exit status: 2) ERROR (dkms apport): binary package for nvidia: 435.21 not found Error! Bad return status for module build on kernel: 5.4.0-050400-generic (x86_64) Consult /var/lib/dkms/nvidia/435.21/build/make.log for more information. -> error. ERROR: Failed to install the kernel module through DKMS. No kernel module was installed; please try installing again without DKMS, or check the DKMS logs for more information. ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.