[Bug 1832935] Re: NVIDIA driver 418.67 - Ubuntu 19.04

2019-06-15 Thread Javier Alonso Silva
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  NamePersistence-M| Bus-IdDisp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap| Memory-Usage | GPU-Util  Compute M. |
|===+==+==|
|   0  GeForce GTX 950MOff  | :01:00.0 Off |  N/A |
| N/A   43CP8N/A /  N/A |750MiB /  2004MiB |  0%  Default |
+---+--+--+
   
+-+
| Processes:   GPU Memory |
|  GPU   PID   Type   Process name Usage  |
|=|
|0  1207  G   /usr/lib/xorg/Xorg24MiB |
|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=1836927180593018907033MiB |
|0  3188  G   ...quest-channel-token=609096153109739 5MiB |
|0  3304  G   ...quest-channel-token=587387338032541362138MiB |
+-+

-- 
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

[Bug 1832935] [NEW] NVIDIA driver 418.67 - Ubuntu 19.04

2019-06-15 Thread Javier Alonso Silva
Public bug reported:

Today I received an Ubuntu 19.04 update which updates the base generic
kernel (5.0.0-16-generic) and also a NVIDIA driver update from 418.56 to
418.67

Everything went ok but when rebooted I was unable to pass from login
screen (when I put my credentials, it starts but freezes on "black"
screen in which I have to reboot by long pressing the power button).

While viewing the logs, everything displayed and said that it was
impossible to find and connect to any GPU (not found), so I tried
manually installing the 430 drivers from NVIDIA PPA and also swtiching
back to 418.56 driver version, but in both cases I was only able to boot
by using the integrated Intel graphics and disabling the NVIDIA ones. In
addition, there is no xorg.conf file which NVIDIA asked to and it is
impossible to open XServer Settings (no card connected and no
configuration available).

Finally, when trying to install NVIDIA drivers manually from NVIDIA
page, the DKMS module complained about a non-finished installed package,
which was not shown if trying to execute an "apt --fix-broken install".

I thought it was maybe because my GPU card died but I was able to boot
to Windows and use the GPU normally.

I was going to submit this as a possible bug but I didn't do as there is
no properly crash on my system.

** Affects: ubuntu
 Importance: Undecided
 Status: New

-- 
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