NVIDIA driver is not loaded. Ubuntu 18.10

Looking at the logs again you purged the nvidia driver, it was loading fine previously. Just upgrade to kernel 5.3 to have the igpu working, then reinstall the nvidia driver from Software&Updates.

The kernel upgrade did it.

Thank you so much! Youā€™re an absolute angel.

(I purged the nvidia driver because the system was hanging when trying to load ubuntu. It was loading fine without the presence of any nvidia drivers however. Now everything seems to be working fine.)

Hi there,

Iā€™m also having the same issues as everyone in this post, even after following all the suggestions. Iā€™m currently running the 435 drivers for an MX230.

Things checked:
secure boot is disabled
no blacklist-nvidia.conf file exists
no multiple versions of drivers installed

Iā€™m also attaching the nvidia-bug-report.log.gz.

With thanks
nvidia-bug-report.log.gz (1.14 MB)

ckraus0089, your cpu is too new for the running kernel so the intel gpu is not supported. Please upgrade to kernel 5.3. See post #19.

Hi generix, thank you sooo much, itā€™s finally working!!

I am also facing the same issue with graphics driver. After installing the drivers, drivers are not loading. I am using Ryzen 5 + GTX 1650 and driver v430. I donā€™t know what to do for resolving the issue

Tue Dec  3 00:10:47 2019       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.50       Driver Version: 430.50       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 1650    Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   39C    P8     2W /  N/A |      0MiB /  3911MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

nvidia-bug-report.log.gz (283 KB)

Please see this:
https://devtalk.nvidia.com/default/topic/1067083/linux/nvidia-xconfig-doesnt-do-what-i-want-it-to-nor-does-nvidia-settings/post/5404726/#5404726

I am also trying to get my Nvidia driver to work. I am running Intel IntelĀ® Coreā„¢ i5-8300H CPU @ 2.30GHz Ɨ 8 and GeForce GTX 1050/PCIe/SSE2

The GPU hasnā€™t worked since nvidia-driver-440 release.

I have checked:
Secure boot is disabled
I havenā€™t blacklisted anything
No multiple Nvidia drivers present

I have removed and purged nvidia drivers and then installed the driver from system76

sudo apt-add-repository -y ppa:system76-dev/stable
sudo apt-get update
sudo apt-get install -y system76-driver
sudo apt-get install system76-driver-nvidia

When I try to install

nvidia-prime

I get this error:

dpkg-divert: error: rename involves overwriting '/etc/gdm3/custom.conf' with
  different file '/etc/gdm3/custom.conf.diverted', not allowed
dpkg: error processing package pop-default-settings (--remove):
 installed pop-default-settings package pre-removal script subprocess returned e
rror exit status 2
dpkg: too many errors, stopping
Errors were encountered while processing:
 pop-default-settings
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)

I did follow this instruction completely but with no luck
https://devtalk.nvidia.com/default/topic/1067083/linux/nvidia-xconfig-doesnt-do-what-i-want-it-to-nor-does-nvidia-settings/post/5404726/#5404726

I didnā€™t know how to attach nvidia-bug-report.sh, so I put it here:

https://drive.google.com/open?id=10ORCCnutPPiifu15BXLAMotr7ZkaieiK

Hello
COuld you please help me with the same issue?
Many tks.
Alexandre
nvidia-bug-report.log.gz (139 KB)

Hi, I have the same issue. After simply system reboot ubuntu began using my integrated intel card.

What I tried:

  • Purged and reinstalled all Nvidia related packets
  • Switching driver version from 390 to 340 and nouveau
  • Disabling Wayland
  • Switching to intel via prime-select and back
    Also:
  • There is no /lib/modprobe.d/blacklist-nvidia.conf
  • SecureBoot is not supported

nvidia-settings runs with the following errors:

ERROR: NVIDIA driver is not loaded
ERROR: Error querying enabled displays on GPU 0 (Missing Extension).
ERROR: Error querying connected displays on GPU 0 (Missing Extension).

and contains only Prime profiles, application profiles, and configuration tabs

prime-select query shows that nvidia card is in use but de-facto it is intel (About info, gaming experience)

Thanks in advance
nvidia-bug-report.log.gz (67.2 KB)

Hi, I have the same issue.

Iā€™ve (stupidly) tried all the available drivers ($ ubuntu-drivers devices) and have confirmed that SecureBoot is disabled and there arenā€™t any blacklist-nvidia.conf files left.

I currently have nvidia-drivers-390 installed:

(base) spike@spike-X550JK:~$ dkms status
nvidia, 390.132, 4.15.0-76-generic, x86_64: installed

Iā€™m running Linux Mint 19 Cinnamon (v.3.8.9)
on Linux Kernel 4.15.0-76-generic

My laptop is an Asus X550J with an NVIDIA GeForce GTX 850M.

And finally, Iā€™ve uploaded nvidia-bug-report.log.gz

Thanks in advance.
nvidia-bug-report.log.gz (324 KB)

Hi,
I experienced same issue. Currently I have nvidia-driver-410 installed. I have tried so far :

  • Secure boot is disabled
  • /etc/modprobe.d/blacklist-nvidia.conf is not exists
  • many thanks
    nvidia-bug-report.log.gz (65.6 KB)

    I am facing the exact same issue and not able to resolve it.

    My OS is Ubuntu in dual boot and GPU is Quadro RTX 5000 in Thinkpad 73 laptop.

    Find my report attached.
    nvidia-bug-report.log.gz (172 KB)

    Having the exact same problem. I have Ubuntu 18.04 and NVIDIA MX110 graphics. Tried previous solutions but no help. Also, having this problem for a long time, I managed to solve it somehow, although I didnā€™t change anything. I was just trying installing driver again and again, following different procedures and somehow it worked at one point. But now, the problem is back. Just by itself. No updates, no anything. Very frustrating.

    Here is my bug report log.
    nvidia-bug-report.log (475.8 KB)

    Looks like you installed the driver using the .run installer and now you got a kernel update so the driver got lost. Please uninstall the .run driver by running it with --uninstall option, then install the driver from ubuntu repositories using Ubuntuā€™s Software&Updates application.

    1 Like

    I tried that but it then said that there are no drivers installed. Still, I tried to install driver again as you said, and then reboot. Now, when I go to settings, details, in graphics it says llvmpipe(LLVM 9.0, 128 bits), not Intel Kaby Lake like before. No idea what this means. On top of that, somehow, system doesnā€™t recognize wi-fi and bluetooth adapter. I donā€™t know how is this possible.

    Regarding your thoughts about kernel update, that is probably the case. I now have 5.3.0-45 kernel and error log says it couldnā€™t find 5.3.0-42 kernel linux headers. But does that mean the problem is with nvidia drivers and they are not synced with new kernel version or something like that? Or can they use old kernel version to build itā€™s kernel?

    Edit: now I see that intel display is also unclaimed. Probably same thing with bluetooth and wi-fi adapter. No idea how could this happen.

    UPDATE: I entered grub and booted old kernel, 5.3.0-42. Adapters then started working fine, and graphics changed to intel. I then removed new kernel (5.3.0-45) and installed nvidia-440 driver again. Reboot, and now it works fine, probably because everything reverted to state before update.

    Now Iā€™m not sure what should I do. Should I keep using this slightly older version of kernel and hope this keeps working? And what to do when kernel update is really needed?

    1 Like

    You can install the headers for the running kernel

    sudo apt-get install linux-headers-$(uname -r)
    

    Hello,

    Iā€™m also experiencing similar issue as the original post.

    lspci -k | grep VGA prints:
    00:02.0 VGA compatible controller: Intel Corporation Device 3e9b
    01:00.0 VGA compatible controller: NVIDIA Corporation Device 2191 (rev a1)

    nvidia-smi
    NVIDIA-SMI has failed because it couldnā€™t communicate with the NVIDIA driver. Make sure that the latest NVIDIA
    driver is installed and running.

    also tried, prime-select nvidia,
    it said that it selected the profile, rebooted but with no success

    couldnā€™t run the bug report script either,
    Running nvidia-bug-report.shā€¦ls: cannot access ā€˜/proc/driver/nvidia/./gpus/ā€™: No such file or directory

    I got stuck at this after trying to instal CUDA 10.0.
    Any help appreciated.

    By installing the full cuda bundle you overwrote the Ubuntu provided driver with an older bundled one which doesnā€™t support your gpu. Please purge anything cuda* nvidia, then

    • install the driver from repo using Software&Updates appication
    • 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-0
    • set PATH variable if necessary