Hi! I have a Ubuntu 18.04 on an an alienware laptop, which has an GTX 1070 (mobile?).
I installed the driver through:
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo ubuntu-drivers autoinstall
sudo apt-get install nvidia-driver-460 (instead of nvidia-driver-460-server, which was the recommed one when running ubuntu-drivers devices)
I think these were all the steps I took to install the driver. However, there are multiple issues that really make me think that I did not install it correctly.
-
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. -
nvidia-settings
ERROR: NVIDIA driver is not loaded
ERROR: Unable to load info from any available system
(nvidia-settings:11901): GLib-GObject-CRITICAL **: 19:41:27.343: g_object_unref: assertion ‘G_IS_OBJECT (object)’ failed
** Message: 19:41:27.346: PRIME: No offloading required. Abort
** Message: 19:41:27.346: PRIME: is it supported? no
- inxi -G
Graphics: Card-1: Intel HD Graphics 530
Card-2: NVIDIA GP104M [GeForce GTX 1070 Mobile]
Display Server: x11 (X.Org 1.20.8 ) driver: i915 Resolution: 3840x2160@60.00hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 530 (SKL GT2) version: 4.6 Mesa 20.0.8
As you can see the OpenGL has intel instead of Nvidia.
However, I am able to use prime-select to switch between intel and nvidia.
Besides, if I run
dkms status
nvidia, 460.56, 5.4.0-42-generic, x86_64: installed
nvidia, 460.56, 5.4.0-66-generic, x86_64: installed
I followed a link and tried
sudo apt install nvidia-cuda-toolkit
which did not solve the issue, and even kind of made it worse because nvidia-settings now opens up a blank window, while before it opens up a window that can switch between nvidia and intel.
Can someone help please? Thank you!
nvidia-bug-report.log.gz (119.1 KB)