I installed nvidia driver by:
$ sudo add-apt-repository ppa:graphics-drivers/ppa
$ sudo apt-get install nvidia-390
But it looks like the driver isn't running properly:
$ 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.
I've checked the kernel module by lsmod | nvidia
but failed to find it.
Here's the output for lshw
and lspci
, hoping it could help:
$ lspci
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
...
01:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev a1)
$ lshw -C display 0s
WARNING: you should run this program as super-user.
*-display UNCLAIMED
description: 3D controller
product: GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: latency=0
resources: memory:f2000000-f2ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:6000(size=128)
*-display
description: VGA compatible controller
product: 4th Gen Core Processor Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:29 memory:f3000000-f33fffff memory:d0000000-dfffffff ioport:7000(size=64) memory:c0000-dffff
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
Rebooting, disabling Secure Boot and prime-select nvidia
all have no effect.
I'm using Ubuntu 18.04
with 4.18.0-16-generic
. Thanks for your advices!