Can't Start the Desktop After Login! Quadro P1000, CUDA 10.2 deb[network] install, Ubuntu-18.04LTS

Hello! I can’t seem to get the lightdm desktop after installing Cuda 10.2 with NVIDIA’s proprietary driver (440.33.01). I switched to lightdm from gdm, trying to circumvent this problem. I am currently able to see a GUI for the login screen, but after typing in the password, I only see a (still move-able) mouse arrow and the Bionic Beaver splash screen. I am currently logging in through ssh.

After consulting the forums, I found someone with a similar problem (https://devtalk.nvidia.com/default/topic/1054962/linux/nvidia-quadro-p1000-repo-nvidia-driver-430-not-running/post/5347818/#). I tried replicating the solution on my machine, but didn’t resolve the problem.

I am running Ubuntu 18.04 LTS. I installed CUDA via network deb method (https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1804&target_type=debnetwork) I have not disabled Wayland Server. I have blacklisted nouveau drivers.

I added the following to my bashrc file as instructed in the documentation:

export PATH=/usr/local/cuda-10.2/bin:/usr/local/cuda-10.2/NsightCompute-2019.1${PATH:+:${PATH}}

This is what nvidia-smi shows me:

Tue Dec  3 13:33:38 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.33.01    Driver Version: 440.33.01    CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Quadro P1000        On   | 00000000:01:00.0  On |                  N/A |
| 34%   34C    P8    N/A /  N/A |    183MiB /  4025MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0       930      G   /usr/lib/xorg/Xorg                           174MiB |
|    0      1558      G   /usr/bin/gnome-shell                           5MiB |
+-----------------------------------------------------------------------------+

This is what building and running deviceQuery from NVIDIA samples shows me:

CUDA Device Query (Runtime API) version (CUDART static linking)

Detected 1 CUDA Capable device(s)

Device 0: "Quadro P1000"
  CUDA Driver Version / Runtime Version          10.2 / 10.2
  CUDA Capability Major/Minor version number:    6.1
  Total amount of global memory:                 4026 MBytes (4221435904 bytes)
  ( 5) Multiprocessors, (128) CUDA Cores/MP:     640 CUDA Cores
  GPU Max Clock rate:                            1481 MHz (1.48 GHz)
  Memory Clock rate:                             2505 Mhz
  Memory Bus Width:                              128-bit
  L2 Cache Size:                                 1048576 bytes
  Maximum Texture Dimension Size (x,y,z)         1D=(131072), 2D=(131072, 65536), 3D=(16384, 16384, 16384)
  Maximum Layered 1D Texture Size, (num) layers  1D=(32768), 2048 layers
  Maximum Layered 2D Texture Size, (num) layers  2D=(32768, 32768), 2048 layers
  Total amount of constant memory:               65536 bytes
  Total amount of shared memory per block:       49152 bytes
  Total number of registers available per block: 65536
  Warp size:                                     32
  Maximum number of threads per multiprocessor:  2048
  Maximum number of threads per block:           1024
  Max dimension size of a thread block (x,y,z): (1024, 1024, 64)
  Max dimension size of a grid size    (x,y,z): (2147483647, 65535, 65535)
  Maximum memory pitch:                          2147483647 bytes
  Texture alignment:                             512 bytes
  Concurrent copy and kernel execution:          Yes with 2 copy engine(s)
  Run time limit on kernels:                     Yes
  Integrated GPU sharing Host Memory:            No
  Support host page-locked memory mapping:       Yes
  Alignment requirement for Surfaces:            Yes
  Device has ECC support:                        Disabled
  Device supports Unified Addressing (UVA):      Yes
  Device supports Compute Preemption:            Yes
  Supports Cooperative Kernel Launch:            Yes
  Supports MultiDevice Co-op Kernel Launch:      Yes
  Device PCI Domain ID / Bus ID / location ID:   0 / 1 / 0
  Compute Mode:
     < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >

deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 10.2, CUDA Runtime Version = 10.2, NumDevs = 1
Result = PASS

nvidia-settings returns:

Unable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.

The following is the contents of /etc/X11/xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 440.33.01

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Anyone else facing similar issues with deb[network] installation and workstation GPUs?
nvidia-bug-report.log.gz (1.12 MB)

Please try this:

  • purge anything nvidia/cuda
  • add the ubuntu graphics ppa https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa
  • install the driver from that (sudo apt install nvidia-driver-440)
  • download the cuda .deb
  • add the repo to your system (first three steps from install instructions on download page)
  • don’t install cuda
  • instead, run sudo apt install cuda-toolkit-10-2
1 Like

Hi, generix, and thank you for your prompt response, I really appreciate it.

Unfortunately, after purging as described in the installation documentation for CUDA 10.2, I diligently followed your instructions to my best ability and it still brought me to the situation I described in my initial post.

I still can’t seem to get the lightdm desktop. I am currently able to see a GUI for the login screen, but after typing in the password, I only see a (still move-able) mouse arrow and the Bionic Beaver background, no task bar, no “Activities” bar at the top, no “Trash” bin icon. I am currently logging in through ssh.

However, I was able to produce a new nvidia-bug-report.log from /usr/bin/nvidia-bug-report.sh, which hopefully will help. Are there any other diagnostics I can run to help determine why the desktop environment is malfunctioning?

Thanks in advance,

Neil
nvidia-bug-report.log.gz (1.12 MB)

According to the new logs, there’s still the cuda bundled Tesla driver active (440.33.01) instead of the ppa graphics driver (440.36).
Purge nvidia/cuda again, then just install the graphics driver from ppa and make sure graphics works again and loads the correct driver. Afterwards, install the cuda-toolkit. Never! run apt install cuda.

1 Like

Here are the following commands I used in this exact order:

  1. Purge NVIDIA and reboot.
sudo apt-get --purge remove "*cublas*" "cuda*"
sudo apt-get --purge remove "*nvidia*"
sudo reboot
  1. Add graphics PPA, as per instructions at https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update

The following is the output after adding the Ubuntu Graphics PPA, and sudo apt update:

Fresh drivers from upstream, currently shipping Nvidia.

## Current Status

Current long-lived branch release: `nvidia-430` (430.40)
Dropped support for Fermi series (https://nvidia.custhelp.com/app/answers/detail                                                                                                                                        /a_id/4656)

Old long-lived branch release: `nvidia-390` (390.129)

For GF1xx GPUs use `nvidia-390` (390.129)
For G8x, G9x and GT2xx GPUs use `nvidia-340` (340.107)
For NV4x and G7x GPUs use `nvidia-304` (304.137) End-Of-Life!

Support timeframes for Unix legacy GPU releases:
https://nvidia.custhelp.com/app/answers/detail/a_id/3142

## What we're working on right now:

- Normal driver updates
- Help Wanted: Mesa Updates for Intel/AMD users, ping us if you want to help do                                                                                                                                         this work, we're shorthanded.

## WARNINGS:

This PPA is currently in testing, you should be experienced with packaging befor                                                                                                                                        e you dive in here:

Volunteers welcome!

### How you can help:

## Install PTS and benchmark your gear:

    sudo apt-get install phoronix-test-suite

Run the benchmark:

    phoronix-test-suite default-benchmark openarena xonotic tesseract gputest un                                                                                                                                        igine-valley

and then say yes when it asks you to submit your results to openbechmarking.org.                                                                                                                                         Then grab a cup of coffee, it takes a bit for the benchmarks to run. Depending                                                                                                                                         on the version of Ubuntu you're using it might preferable for you to grabs PTS f                                                                                                                                        rom upstream directly: http://www.phoronix-test-suite.com/?k=downloads

## Share your results with the community:

Post a link to your results (or any other feedback to): https://launchpad.net/~g                                                                                                                                        raphics-drivers-testers

Remember to rerun and resubmit the benchmarks after driver upgrades, this will a                                                                                                                                        llow us to gather a bunch of data on performance that we can share with everybod                                                                                                                                        y.

If you run into old documentation referring to other PPAs, you can help us by co                                                                                                                                        nsolidating references to this PPA.

If someone wants to go ahead and start prototyping on `software-properties-gtk`                                                                                                                                         on what the GUI should look like, please start hacking!

## Help us Help You!

We use the donation funds to get the developers hardware to test and upload thes                                                                                                                                        e drivers, please consider donating to the "community" slider on the donation pa                                                                                                                                        ge if you're loving this PPA:

http://www.ubuntu.com/download/desktop/contribute
 More info: https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Ign:2 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64                                                                                                                                          InRelease
Hit:3 https://brave-browser-apt-release.s3.brave.com bionic InRelease
Hit:4 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64                                                                                                                                          Release
Hit:5 https://storage.googleapis.com/bazel-apt stable InRelease
Get:6 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Hit:7 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease
Get:8 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Hit:10 https://download.sublimetext.com apt/stable/ InRelease
Get:12 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [8                                                                                                                                        14 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [62                                                                                                                                        4 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Meta                                                                                                                                        data [295 kB]
Get:15 http://us.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icon                                                                                                                                        s [73.8 kB]
Get:16 http://us.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icon                                                                                                                                        s [143 kB]
Get:17 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Package                                                                                                                                        s [1,032 kB]
Get:18 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages                                                                                                                                         [996 kB]
Get:19 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11                                                                                                                                         Metadata [264 kB]
Get:20 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48                                                                                                                                         Icons [204 kB]
Get:21 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64                                                                                                                                         Icons [449 kB]
Get:22 http://us.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-1                                                                                                                                        1 Metadata [2,464 B]
Get:23 http://us.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-1                                                                                                                                        1 Metadata [7,976 B]
Get:24 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [413                                                                                                                                         kB]
Get:25 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [59                                                                                                                                        0 kB]
Get:26 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metad                                                                                                                                        ata [38.6 kB]
Get:27 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons                                                                                                                                         [17.6 kB]
Get:28 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons                                                                                                                                         [41.5 kB]
Get:29 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages                                                                                                                                         [600 kB]
Get:30 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages                                                                                                                                         [626 kB]
Get:31 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 M                                                                                                                                        etadata [42.1 kB]
Get:32 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 I                                                                                                                                        cons [16.4 kB]
Get:33 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 I                                                                                                                                        cons [111 kB]
Get:34 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11                                                                                                                                         Metadata [2,464 B]
Fetched 7,654 kB in 2s (3,411 kB/s)
Reading package lists... Done
neil@Gateway-Ubuntu:~$ sudo apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 https://brave-browser-apt-release.s3.brave.com bionic InRelease
Ign:3 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64                                                                                                                                          InRelease
Hit:4 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64                                                                                                                                          Release
Hit:5 https://storage.googleapis.com/bazel-apt stable InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:7 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:8 https://download.sublimetext.com apt/stable/ InRelease
Hit:9 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease
Hit:10 http://security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done
  1. Install driver.
sudo apt install nvidia-driver-440

Unfortunately, it’s pulling the same driver (440.33.01), instead of the one we want (440.36). The following is the output from the terminal after executing the last command.

Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  nsight-compute-2019.5.0 nsight-systems-2019.5.2
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libnvidia-cfg1-440 libnvidia-common-440 libnvidia-compute-440
  libnvidia-decode-440 libnvidia-encode-440 libnvidia-fbc1-440
  libnvidia-gl-440 libnvidia-ifr1-440 nvidia-compute-utils-440 nvidia-dkms-440
  nvidia-kernel-common-440 nvidia-kernel-source-440 nvidia-prime
  nvidia-settings nvidia-utils-440 xserver-xorg-video-nvidia-440
Recommended packages:
  libnvidia-compute-440:i386 libnvidia-decode-440:i386
  libnvidia-encode-440:i386 libnvidia-ifr1-440:i386 libnvidia-fbc1-440:i386
  libnvidia-gl-440:i386
The following NEW packages will be installed:
  libnvidia-cfg1-440 libnvidia-common-440 libnvidia-compute-440
  libnvidia-decode-440 libnvidia-encode-440 libnvidia-fbc1-440
  libnvidia-gl-440 libnvidia-ifr1-440 nvidia-compute-utils-440 nvidia-dkms-440
  nvidia-driver-440 nvidia-kernel-common-440 nvidia-kernel-source-440
  nvidia-prime nvidia-settings nvidia-utils-440 xserver-xorg-video-nvidia-440
0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/101 MB of archives.
After this operation, 368 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Selecting previously unselected package libnvidia-cfg1-440:amd64.
(Reading database ... 162816 files and directories currently installed.)
Preparing to unpack .../00-libnvidia-cfg1-440_440.33.01-0ubuntu1_amd64.deb ...
Unpacking libnvidia-cfg1-440:amd64 (440.33.01-0ubuntu1) ...
Selecting previously unselected package libnvidia-common-440.
Preparing to unpack .../01-libnvidia-common-440_440.33.01-0ubuntu1_all.deb ...
Checking for existing driver runfile install
/var/lib/dpkg/tmp.ci/preinst: 6: /var/lib/dpkg/tmp.ci/preinst: [[: not found
Unpacking libnvidia-common-440 (440.33.01-0ubuntu1) ...
Selecting previously unselected package libnvidia-compute-440:amd64.
Preparing to unpack .../02-libnvidia-compute-440_440.33.01-0ubuntu1_amd64.deb ..                                                                                                                                        .
Unpacking libnvidia-compute-440:amd64 (440.33.01-0ubuntu1) ...
Selecting previously unselected package libnvidia-decode-440:amd64.
Preparing to unpack .../03-libnvidia-decode-440_440.33.01-0ubuntu1_amd64.deb ...
Unpacking libnvidia-decode-440:amd64 (440.33.01-0ubuntu1) ...
Selecting previously unselected package libnvidia-encode-440:amd64.
Preparing to unpack .../04-libnvidia-encode-440_440.33.01-0ubuntu1_amd64.deb ...
Unpacking libnvidia-encode-440:amd64 (440.33.01-0ubuntu1) ...
Selecting previously unselected package libnvidia-fbc1-440:amd64.
Preparing to unpack .../05-libnvidia-fbc1-440_440.33.01-0ubuntu1_amd64.deb ...
Unpacking libnvidia-fbc1-440:amd64 (440.33.01-0ubuntu1) ...
Selecting previously unselected package libnvidia-gl-440:amd64.
Preparing to unpack .../06-libnvidia-gl-440_440.33.01-0ubuntu1_amd64.deb ...
Unpacking libnvidia-gl-440:amd64 (440.33.01-0ubuntu1) ...
Selecting previously unselected package libnvidia-ifr1-440:amd64.
Preparing to unpack .../07-libnvidia-ifr1-440_440.33.01-0ubuntu1_amd64.deb ...
Unpacking libnvidia-ifr1-440:amd64 (440.33.01-0ubuntu1) ...
Selecting previously unselected package nvidia-compute-utils-440.
Preparing to unpack .../08-nvidia-compute-utils-440_440.33.01-0ubuntu1_amd64.deb                                                                                                                                         ...
Unpacking nvidia-compute-utils-440 (440.33.01-0ubuntu1) ...
Selecting previously unselected package nvidia-kernel-source-440.
Preparing to unpack .../09-nvidia-kernel-source-440_440.33.01-0ubuntu1_amd64.deb                                                                                                                                         ...
Unpacking nvidia-kernel-source-440 (440.33.01-0ubuntu1) ...
Selecting previously unselected package nvidia-kernel-common-440.
Preparing to unpack .../10-nvidia-kernel-common-440_440.33.01-0ubuntu1_amd64.deb                                                                                                                                         ...
Unpacking nvidia-kernel-common-440 (440.33.01-0ubuntu1) ...
Selecting previously unselected package nvidia-dkms-440.
Preparing to unpack .../11-nvidia-dkms-440_440.33.01-0ubuntu1_amd64.deb ...
Unpacking nvidia-dkms-440 (440.33.01-0ubuntu1) ...
Selecting previously unselected package nvidia-utils-440.
Preparing to unpack .../12-nvidia-utils-440_440.33.01-0ubuntu1_amd64.deb ...
Unpacking nvidia-utils-440 (440.33.01-0ubuntu1) ...
Selecting previously unselected package xserver-xorg-video-nvidia-440.
Preparing to unpack .../13-xserver-xorg-video-nvidia-440_440.33.01-0ubuntu1_amd6                                                                                                                                        4.deb ...
Unpacking xserver-xorg-video-nvidia-440 (440.33.01-0ubuntu1) ...
Selecting previously unselected package nvidia-driver-440.
Preparing to unpack .../14-nvidia-driver-440_440.33.01-0ubuntu1_amd64.deb ...
Unpacking nvidia-driver-440 (440.33.01-0ubuntu1) ...
Selecting previously unselected package nvidia-prime.
Preparing to unpack .../15-nvidia-prime_0.8.8.2_all.deb ...
Unpacking nvidia-prime (0.8.8.2) ...
Selecting previously unselected package nvidia-settings.
Preparing to unpack .../16-nvidia-settings_440.33.01-0ubuntu1_amd64.deb ...
Unpacking nvidia-settings (440.33.01-0ubuntu1) ...
Setting up libnvidia-common-440 (440.33.01-0ubuntu1) ...
Setting up nvidia-prime (0.8.8.2) ...
Setting up libnvidia-fbc1-440:amd64 (440.33.01-0ubuntu1) ...
Setting up libnvidia-compute-440:amd64 (440.33.01-0ubuntu1) ...
Setting up nvidia-settings (440.33.01-0ubuntu1) ...
Setting up nvidia-utils-440 (440.33.01-0ubuntu1) ...
Setting up nvidia-kernel-common-440 (440.33.01-0ubuntu1) ...
update-initramfs: deferring update (trigger activated)
Setting up libnvidia-cfg1-440:amd64 (440.33.01-0ubuntu1) ...
Setting up libnvidia-decode-440:amd64 (440.33.01-0ubuntu1) ...
Setting up nvidia-compute-utils-440 (440.33.01-0ubuntu1) ...
Warning: The home dir /nonexistent you specified can't be accessed: No such file                                                                                                                                         or directory
Adding system user `nvidia-persistenced' (UID 124) ...
Adding new group `nvidia-persistenced' (GID 130) ...
Adding new user `nvidia-persistenced' (UID 124) with group `nvidia-persistenced'                                                                                                                                         ...
Not creating home directory `/nonexistent'.
Created symlink /etc/systemd/system/multi-user.target.wants/nvidia-persistenced.                                                                                                                                        service → /lib/systemd/system/nvidia-persistenced.service.
Setting up libnvidia-encode-440:amd64 (440.33.01-0ubuntu1) ...
Setting up nvidia-kernel-source-440 (440.33.01-0ubuntu1) ...
Setting up xserver-xorg-video-nvidia-440 (440.33.01-0ubuntu1) ...
Setting up libnvidia-gl-440:amd64 (440.33.01-0ubuntu1) ...
Setting up nvidia-dkms-440 (440.33.01-0ubuntu1) ...
update-initramfs: deferring update (trigger activated)

A modprobe blacklist file has been created at /etc/modprobe.d to prevent Nouveau
from loading. This can be reverted by deleting the following file:
/etc/modprobe.d/nvidia-graphics-drivers.conf

A new initrd image has also been created. To revert, please regenerate your
initrd by running the following command after deleting the modprobe.d file:
`/usr/sbin/initramfs -u`

*****************************************************************************
*** Reboot your computer and verify that the NVIDIA graphics driver can   ***
*** be loaded.                                                            ***
*****************************************************************************

INFO:Enable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
Loading new nvidia-440.33.01 DKMS files...
Building for 5.0.0-37-generic
Building for architecture x86_64
Building initial module for 5.0.0-37-generic
Done.

nvidia:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.0.0-37-generic/updates/dkms/

nvidia-modeset.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.0.0-37-generic/updates/dkms/

nvidia-drm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.0.0-37-generic/updates/dkms/

nvidia-uvm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/5.0.0-37-generic/updates/dkms/

depmod....

DKMS: install completed.
Setting up libnvidia-ifr1-440:amd64 (440.33.01-0ubuntu1) ...
Setting up nvidia-driver-440 (440.33.01-0ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for initramfs-tools (0.130ubuntu3.9) ...
update-initramfs: Generating /boot/initrd.img-5.0.0-37-generic

Obviously we don’t want 440.33.01. I have purged nvidia again and remain on nouveau drivers. Where in my installation of the Ubuntu Graphics PPA did I go wrong?

Thank you so much for helping me through this!

Kind regards,

Neil

(Sorry for repeat reply posts, devtalk.nvidia.com “crashed” in my browser as I was trying to reply to your last, so I wasn’t sure if it posted properly!)

UPDATE

I successfully downloaded driver 440.36 and installed via a runfile, but am still having issues with the desktop malfunctioning.

I obtained the driver at the following url:

https://www.nvidia.com/Download/driverResults.aspx/154997/en-us

Here’s the output when I run nvidia-smi:

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.36       Driver Version: 440.36       CUDA Version: 10.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Quadro P1000        Off  | 00000000:01:00.0  On |                  N/A |
| 35%   43C    P8    N/A /  N/A |    183MiB /  4025MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0       982      G   /usr/lib/xorg/Xorg                           174MiB |
|    0      1637      G   /usr/bin/gnome-shell                           5MiB |
+-----------------------------------------------------------------------------+

I am still experiencing this problem. I took a short video to show you what’s happening and what I mean when I say there’s a login screen, but as soon as I login, there’s a malfunctioning desktop. Click on the link to see it.
https://drive.google.com/drive/folders/1DuQvr1WwD0Kp61Hu5XMdikc6QPmyT_EA?usp=sharing

I also blacklisted nouveau drivers before installing with the runfile.

Have you ever seen this issue before?
nvidia-bug-report-3.log.gz (1.13 MB)

Looks like gnome-shell is starting, not crashing but also not displying much. Never seen this.
Does it come up if you wiggle the mouse for some time? (missing entropy)
Otherwise maybe test with an empty user profile.

1 Like

UPDATE

@generix, After installing using your method suggested above, I’ve successfully installed driver 440.36 and CUDA 10.2.89.

I am not getting my initially described problem when using Wayland server.

However, I can’t use NVIDIA X Server Settings while using Wayland.

https://drive.google.com/file/d/1VOtvBGPqpzqplcdkKrW22rIDKIxCbCli/view?usp=sharing

I also want to use a VNC server and that is also incompatible with Wayland.

I can switch back to lightDM but, that gives me the problem I experienced before.

https://drive.google.com/open?id=1TITlhU_x_uNou3sJFAJg-dv2hQKS6I0O

Anyway to work around this issue of lightDM problems and driver version 440.36?
nvidia-bug-report-4.log.gz (1.15 MB)