I'm trying to get an NVIDIA 970M GPU working after something went wrong with the drivers. I've tried purging and manually wiping the system of everything nvidia/cuda related and reinstalled both from the ppa:graphics-drivers/ppa
and from the NVIDIA installer.
Both approaches fail to get the system to use the NVIDIA GPU (as evidenced by nvidia-prime which I use to switch to the NVIDIA GPU, but after reboot it always returns to the onboard intel GPU).
What I'm trying to understand now is exactly what configuration in ubuntu is used to configure which graphics drivers are actually loaded?
How do I actually query the kernel to understand what drivers it thinks are available, and which drivers it is using?
Are there logs other than dmesg (with show nothing special) that I should be looking at to debug this?
> sudo lshw -C display
*-display UNCLAIMED
description: 3D controller
product: GM204M [GeForce GTX 970M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: memory:f5000000-f5ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:f6000000-f607ffff
*-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: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:29 memory:f6400000-f67fffff memory:d0000000-dfffffff ioport:f000(size=64)
dkms status
Did you purge before installing another driver?sudo apt-get purge nvidia-*
New driver does not totally erase an older driver, so you have conflicts and nothing works.https://askubuntu.com/questions/412452/getting-hybrid-graphics-to-work-nvidia-prime-gt650m – oldfred Mar 30 '18 at 22:31dkms status
showsbbswitch, 0.8, 4.4.0-116-generic, x86_64: installed
nvidia-390, 390.48, 4.4.0-116-generic, x86_64: installed
I'll run it again to be sure it's clean after I try another purge. This looks correct based on what I just installed. – David Parks Mar 30 '18 at 22:34sudo lshw -C display
into your post. This will provide the graphics hardware and drivers in use. – Elder Geek Apr 13 '18 at 19:17lshw
no drivers are currently installed. Is this still the case. @ElderGeek how about a chat session with the OP. David what TZ are you in? CET? ET? – Fabby May 02 '18 at 11:59