I managed to resolve this problem. Here I will describe the steps and
errors I did and/or occurred:

 1. I added the NVIDIA drivers PPA: ppa:graphics-drivers/ppa which caused to 
install a new non- 
    distro free version of my current driver: from 418.56 to 418.67.
 2. The new driver version included new dependencies that caused X-Org to crash 
when trying to use 
    NVIDIA for processing the screen.
 3. In addition, the new installation created non-valid "xorg.conf" which 
caused, again, X-Org 
    crashing when trying to log-in either boot screen.

The solution:
 1. Remove both NVIDIA drivers PPA and CUDA ones from "sources.list" and/or 
"sources.list.d".
 2. Uninstall both "mesa drivers" and "gstreamer":
    $ sudo apt remove mesa-va-drivers gstreamer1.0-vaapi

[REBOOT]

 3. Completely delete "/etc/X11/xorg.conf" which contains invalid configuration.
 4. Remove new NVIDIA drivers and libraries in order to install the "older" 
(but working) ones.
    $ sudo apt remove --purge nvidia-*
    $ sudo apt remove --purge libnvidia*
    $ sudo apt remove --purge *nvidia*
    $ sudo apt remove --purge *cuda*
    I removed that all because of new dependencies installed in order to avoid 
versions' compatibility errors when trying to install the recommended drivers.

[REBOOT]

 5. Install recommended drivers with: 
    $ sudo ubuntu-drivers autoinstall

[REBOOT]

 6. Boot again into Ubuntu and log-in normally, checked "nvidia-smi" and got 
working configuration:
    $ nvidia-smi
Sat Jun 15 17:25:18 2019       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 418.56       Driver Version: 418.56       CUDA Version: 10.1     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 950M    Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   43C    P8    N/A /  N/A |    750MiB /  2004MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1207      G   /usr/lib/xorg/Xorg                            24MiB |
|    0      1431      G   /usr/bin/gnome-shell                          48MiB |
|    0      1693      G   /usr/lib/xorg/Xorg                           120MiB |
|    0      1878      G   /usr/bin/gnome-shell                         460MiB |
|    0      2137      G   /usr/bin/nextcloud                             2MiB |
|    0      2641      G   ...-token=671EE9C10F25860492D3CA477A4C4162     5MiB |
|    0      2690      G   ...quest-channel-token=4068114528266404073     7MiB |
|    0      2702      G   ...uest-channel-token=18369271805930189070    33MiB |
|    0      3188      G   ...quest-channel-token=6098888096153109739     5MiB |
|    0      3304      G   ...quest-channel-token=5873873380325413621    38MiB |
+-----------------------------------------------------------------------------+

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832935

Title:
  NVIDIA driver 418.67 - Ubuntu 19.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1832935/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to