I can’t get any nvidia driver to run properly on my Lenovo z510. I tried all kinds of troubleshooting steps from this or ubuntu formus, no luck.
It’s a dual boot with Windows on a HDD, linux on an SSD.
I’m trying all this on 5.4.0-90 headers, but tried 5.4.0-26, also 5.8 (didn’t work at all), 5.11 (didn’t work at all) and 5.13 (same result).
System info: https://termbin.com/rij9
notice Nvidia "Lenovo driver: N/A "
The PC works ok, but having a bunch of Chrome windows open makes my sensors show 85-90 and fan is at full speed - it wasn’t like that a few months ago. I installed all Linux updates suggested by the Update Manager (which was probably a mistake, my PC is from 2014 and probably newer kernels don’t work for it as well. then I started troubleshooting and probably messed more things up…).
sudo lspci -vnnn result:
07:00.0 3D controller : NVIDIA Corporation GK208M [GeForce GT 740M] [10de:1292] (rev a1)
Subsystem: Lenovo GK208M [GeForce GT 740M] [17aa:380a]
Flags: bus master, fast devsel, latency 0
Memory at b3000000 (32-bit, non-prefetchable) [size=16M]
Memory at a0000000 (64-bit, prefetchable) [size=256M]
Memory at b0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 4000 [disabled] [size=128]
Expansion ROM at [disabled]
Capabilities:  Power Management version 3
Capabilities:  MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities:  Express Endpoint, MSI 00
Capabilities:  Virtual Channel
Capabilities:  Power Budgeting <?>
Capabilities:  Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Capabilities:  Secondary PCI Express
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
Note that line
Kernel driver in use:
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
as per NVIDIA driver 470 does not load correctly on Ubuntu 20.04
where I tried all the steps.
sudo ubuntu-drivers devices
WARNING:root:_pkg_get_support nvidia-driver-390: package has invalid Support Legacyheader, cannot determine support level
== /sys/devices/pci0000:00/0000:00:01.1/0000:07:00.0 ==
modalias : pci:v000010DEd00001292sv000017AAsd0000380Abc03sc02i00
vendor : NVIDIA Corporation
model : GK208M [GeForce GT 740M]
driver : nvidia-driver-470-server - distro non-free
driver : nvidia-driver-450-server - distro non-free
driver : nvidia-driver-470 - distro non-free recommended
driver : nvidia-driver-390 - distro non-free
driver : nvidia-driver-418-server - distro non-free
driver : nvidia-340 - distro non-free
driver : xserver-xorg-video-nouveau - distro free builtin
I also tried:
sudo apt purge nvidia* libnvidia* sudo apt install nvidia-driver-470 or again purge + sudo ubuntu-drivers autoinstall
vhen I run Driver Manager, I see this:https://i.imgur.com/aOPfTFP.png
Nvidia X Server Settings shows ok, with Performance Mode set up.
Xorg.conf has “nvidia” kernel in it.
So I actually don’t know whether my PC is using the Nvidia driver or not - different info in different places.
sudo lshw -c video
description: 3D controller
product: GK208M [GeForce GT 740M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:07:00.0
width: 64 bits
capabilities: pm msi pciexpress bus_master cap_list
resources: memory:b3000000-b3ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:4000(size=128)
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
width: 64 bits
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:31 memory:b5000000-b53fffff memory:c0000000-cfffffff ioport:6000(size=64) memory:c0000-dffff
Any insight will be much appreciated!