#StackBounty: #drivers #nvidia #graphics #xorg What configuration files in Ubuntu control the graphics drivers in a dual GPU system?

Bounty: 50

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

  • 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
       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)

Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.