Need some help getting hybrid graphics working

Hi!

I was just wondering if someone could help me get my nvidia 820m chip to work on my HP 15-r085no laptop. Seems that the intel HD4400 chip is doing the work. I’ve installed the nvidia drivers via the Additional Drivers utility, but there is no profiles showing in the Nvidia X.server settings.

Thought I’d ask here since Ubuntu Mate is my prefered distro. I’m using 16.04 by the way.

Thanks a lot! :smile:

EDIT: Some additional Information:

lspci -v
00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b)
	Subsystem: Hewlett-Packard Company Haswell-ULT DRAM Controller
	Flags: bus master, fast devsel, latency 0
	Capabilities: <access denied>
	Kernel driver in use: hsw_uncore

00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b) (prog-if 00 [VGA controller])
	Subsystem: Hewlett-Packard Company Haswell-ULT Integrated Graphics Controller
	Flags: bus master, fast devsel, latency 0, IRQ 44
	Memory at b5000000 (64-bit, non-prefetchable) [size=4M]
	Memory at c0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 6000 [size=64]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: <access denied>
	Kernel driver in use: i915
	Kernel modules: i915

00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
	Subsystem: Hewlett-Packard Company Haswell-ULT HD Audio Controller
	Flags: bus master, fast devsel, latency 0, IRQ 47
	Memory at b5710000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04) (prog-if 30 [XHCI])
	Subsystem: Hewlett-Packard Company 8 Series USB xHCI HC
	Flags: bus master, medium devsel, latency 0, IRQ 40
	Memory at b5700000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd

00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
	Subsystem: Hewlett-Packard Company 8 Series HECI
	Flags: bus master, fast devsel, latency 0, IRQ 45
	Memory at b5718000 (64-bit, non-prefetchable) [size=32]
	Capabilities: <access denied>
	Kernel driver in use: mei_me
	Kernel modules: mei_me

00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
	Subsystem: Hewlett-Packard Company 8 Series HD Audio Controller
	Flags: bus master, fast devsel, latency 0, IRQ 46
	Memory at b5714000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 00002000-00002fff
	Memory behind bridge: 9fb00000-9fcfffff
	Prefetchable memory behind bridge: 000000009fd00000-000000009fefffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.1 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 2 (rev e4) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Bus: primary=00, secondary=02, subordinate=07, sec-latency=0
	I/O behind bridge: 00005000-00005fff
	Memory behind bridge: b4000000-b4ffffff
	Prefetchable memory behind bridge: 00000000b2000000-00000000b2ffffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 18
	Bus: primary=00, secondary=08, subordinate=08, sec-latency=0
	I/O behind bridge: 00004000-00004fff
	Memory behind bridge: b5600000-b56fffff
	Prefetchable memory behind bridge: 00000000b5400000-00000000b54fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Bus: primary=00, secondary=09, subordinate=09, sec-latency=0
	I/O behind bridge: 00003000-00003fff
	Memory behind bridge: b3000000-b3ffffff
	Prefetchable memory behind bridge: 00000000a0000000-00000000b1ffffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1c.5 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 6 (rev e4) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 17
	Bus: primary=00, secondary=0a, subordinate=0a, sec-latency=0
	Memory behind bridge: b5500000-b55fffff
	Capabilities: <access denied>
	Kernel driver in use: pcieport
	Kernel modules: shpchp

00:1d.0 USB controller: Intel Corporation 8 Series USB EHCI #1 (rev 04) (prog-if 20 [EHCI])
	Subsystem: Hewlett-Packard Company 8 Series USB EHCI
	Flags: bus master, medium devsel, latency 0, IRQ 23
	Memory at b571c000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci-pci

00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
	Subsystem: Hewlett-Packard Company 8 Series LPC Controller
	Flags: bus master, medium devsel, latency 0
	Capabilities: <access denied>
	Kernel driver in use: lpc_ich
	Kernel modules: lpc_ich

00:1f.2 SATA controller: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] (rev 04) (prog-if 01 [AHCI 1.0])
	Subsystem: Hewlett-Packard Company 8 Series SATA Controller 1 [AHCI mode]
	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 43
	I/O ports at 6088 [size=8]
	I/O ports at 6094 [size=4]
	I/O ports at 6080 [size=8]
	I/O ports at 6090 [size=4]
	I/O ports at 6060 [size=32]
	Memory at b571b000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci
	Kernel modules: ahci

00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
	Subsystem: Hewlett-Packard Company 8 Series SMBus Controller
	Flags: medium devsel
	Memory at b5719000 (64-bit, non-prefetchable) [size=256]
	I/O ports at 6040 [size=32]
	Kernel modules: i2c_i801

02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
	Subsystem: Hewlett-Packard Company RTS5229 PCI Express Card Reader
	Flags: bus master, fast devsel, latency 0, IRQ 41
	Memory at b4000000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: <access denied>
	Kernel driver in use: rtsx_pci
	Kernel modules: rtsx_pci

08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller (rev 07)
	Subsystem: Hewlett-Packard Company RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
	Flags: bus master, fast devsel, latency 0, IRQ 42
	I/O ports at 4000 [size=256]
	Memory at b5600000 (64-bit, non-prefetchable) [size=4K]
	Memory at b5400000 (64-bit, prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: r8169
	Kernel modules: r8169

09:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev a1)
	Subsystem: Hewlett-Packard Company GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M]
	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 3000 [disabled] [size=128]
	Expansion ROM at <ignored> [disabled]
	Capabilities: <access denied>
	Kernel modules: nvidiafb, nouveau, nvidia_340

0a:00.0 Network controller: Ralink corp. RT3290 Wireless 802.11n 1T/1R PCIe
	DeviceName:  
	Subsystem: Hewlett-Packard Company Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at b5510000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>
	Kernel driver in use: rt2800pci
	Kernel modules: rt2800pci

0a:00.1 Bluetooth: Ralink corp. RT3290 Bluetooth
	Subsystem: Hewlett-Packard Company Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter
	Flags: bus master, fast devsel, latency 0
	Memory at b5500000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: <access denied>

glxinfo|egrep "OpenGL vendor|OpenGL renderer*"
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile

Hi,

run the following terminal command (Ctrl + Alt + t) and remove the nvidia-340 package for the nvidia-304 one and see how that works for you:

sudo apt-get update && sudo apt-get remove nvidia-340 && sudo apt-get install nvidia-304

DO A RESTART AFTER RUNNING THE ABOVE COMMAND!.

See also:

Thanks for responding. I really appreciate it. Unfortunately it seems to have made no difference. I am used to using Radeon drivers on my desktop, and installing those have never been a problem, but then I don’t have two different GPUs there… Nvidia drivers seem to me to be a different beast altogether and far more complex. What’s this bumblebee stuff I’ve read about?

Hi @ocean,

try removing the Nvidia drivers as the main VGA controller is from Intel and the drivers for that are already in the kernel!.

sudo apt-get remove nvidia-304

(The above is assuming you have the 304 package installed and a restart is required after removal!).

Bumble Bee Info:

https://wiki.ubuntu.com/Bumblebee

Hi,

Being a newer NVIDIA GPU, you may need a more recent driver than available with stock UM 16.04.1. Thankfully this is easy to do (honest!). :slight_smile:

Open a Terminal, copy ‘n’ paste the following

sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update

Above commands adds the latest NVIDIA drivers available from the Ubuntu Graphics Drivers team

Next time you open Additional Drivers, you should see newer driver versions

In case helpful, I had a couple of issues with latest 370.28 driver, so went with 367.57 which has been working very well.


If not keen on using the Terminal, you can add the above PPA by opening the Additional Drivers window, switch to ‘Other Software’ and add the PPA (ppa:graphics-drivers/ppa) there.

In closing, recommend always checking on the source of a PPA before adding (Software Boutique being the exception, since they are carefully curated).

Hope the above is in some way helpful!

1 Like

Hi again!

Sorry for the late reply. Been busy with real life matters. But I appreciate the help.

Unfortunately this didn't bring in any new drivers to choose from. The only one available to me seems to be 340.98. But installing that doesn't matter anyway, because after reboot it seems to automatically revert back to the Nouveau driver.

Something's amiss. :confused:

Perhaps the output of lshw might help some? I don’t know…

description: Notebook
    product: HP 15 Notebook PC (J2U45EA#UUW)
    vendor: Hewlett-Packard
    version: 0976100000405F00000620180
    serial: CND42504TL
    width: 64 bits
    capabilities: smbios-2.7 dmi-2.7 vsyscall32
    configuration: administrator_password=disabled boot=normal chassis=notebook family=103C_5335KV G=N L=CON B=HP S=PAV frontpanel_password=disabled keyboard_password=disabled power-on_password=disabled sku=J2U45EA#UUW uuid=3DC228BF-E549-11E3-B2A0-F8A96392F1A1
  *-core
       description: Motherboard
       product: 2212
       vendor: Hewlett-Packard
       physical id: 0
       version: 86.28
       serial: PEGTPE21U6RCJK
       slot: Type2 - Board Chassis Location
     *-memory
          description: System Memory
          physical id: 1
          slot: System board or motherboard
          size: 8GiB
        *-bank:0
             description: DIMM [empty]
             product: Empty
             vendor: Empty
             physical id: 0
             serial: Empty
             slot: Bottom-Slot 1(left)
        *-bank:1
             description: SODIMM DDR3 Synchronous 1600 MHz (0,6 ns)
             product: 16KTF1G64HZ-1G6E1
             vendor: Micron Technology
             physical id: 1
             serial: FC7D8DFB
             slot: Bottom-Slot 2(right)
             size: 8GiB
             width: 64 bits
             clock: 1600MHz (0.6ns)
     *-firmware
          description: BIOS
          vendor: Insyde
          physical id: b
          version: F.18
          date: 05/21/2014
          size: 128KiB
          capacity: 6080KiB
          capabilities: pci upgrade shadowing cdboot bootselect edd int13floppynec int13floppytoshiba int13floppy360 int13floppy1200 int13floppy720 int13floppy2880 int9keyboard int10video acpi usb biosbootspecification uefi
     *-cpu
          description: CPU
          product: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz
          vendor: Intel Corp.
          physical id: 38
          bus info: cpu@0
          version: Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz
          serial: To Be Filled By O.E.M.
          slot: U3E1
          size: 1698MHz
          capacity: 2700MHz
          width: 64 bits
          clock: 100MHz
          capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm epb tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts cpufreq
          configuration: cores=2 enabledcores=2 threads=4
        *-cache:0
             description: L1 cache
             physical id: 3a
             slot: L1 Cache
             size: 32KiB
             capacity: 32KiB
             capabilities: synchronous internal write-back instruction
             configuration: level=1
        *-cache:1
             description: L2 cache
             physical id: 3b
             slot: L2 Cache
             size: 256KiB
             capacity: 256KiB
             capabilities: synchronous internal write-back unified
             configuration: level=2
        *-cache:2
             description: L3 cache
             physical id: 3c
             slot: L3 Cache
             size: 3MiB
             capacity: 3MiB
             capabilities: synchronous internal write-back unified
             configuration: level=3
     *-cache
          description: L1 cache
          physical id: 39
          slot: L1 Cache
          size: 32KiB
          capacity: 32KiB
          capabilities: synchronous internal write-back data
          configuration: level=1
     *-pci
          description: Host bridge
          product: Haswell-ULT DRAM Controller
          vendor: Intel Corporation
          physical id: 100
          bus info: pci@0000:00:00.0
          version: 0b
          width: 32 bits
          clock: 33MHz
          configuration: driver=hsw_uncore
          resources: irq:0
        *-display
             description: VGA compatible controller
             product: Haswell-ULT Integrated Graphics Controller
             vendor: Intel Corporation
             physical id: 2
             bus info: pci@0000:00:02.0
             version: 0b
             width: 64 bits
             clock: 33MHz
             capabilities: msi pm vga_controller bus_master cap_list rom
             configuration: driver=i915 latency=0
             resources: irq:45 memory:b5000000-b53fffff memory:c0000000-cfffffff ioport:6000(size=64)
        *-multimedia:0
             description: Audio device
             product: Haswell-ULT HD Audio Controller
             vendor: Intel Corporation
             physical id: 3
             bus info: pci@0000:00:03.0
             version: 0b
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi pciexpress bus_master cap_list
             configuration: driver=snd_hda_intel latency=0
             resources: irq:48 memory:b5710000-b5713fff
        *-usb:0
             description: USB controller
             product: 8 Series USB xHCI HC
             vendor: Intel Corporation
             physical id: 14
             bus info: pci@0000:00:14.0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi xhci bus_master cap_list
             configuration: driver=xhci_hcd latency=0
             resources: irq:40 memory:b5700000-b570ffff
           *-usbhost:0
                product: xHCI Host Controller
                vendor: Linux 4.4.0-43-generic xhci-hcd
                physical id: 0
                bus info: usb@3
                logical name: usb3
                version: 4.04
                capabilities: usb-3.00
                configuration: driver=hub slots=4 speed=5000Mbit/s
              *-usb
                   description: Mass storage device
                   product: Expansion
                   vendor: Seagate
                   physical id: 1
                   bus info: usb@3:1
                   logical name: scsi3
                   version: 7.06
                   serial: NA82T4TE
                   capabilities: usb-3.00 scsi
                   configuration: driver=uas maxpower=896mA speed=5000Mbit/s
                 *-disk
                      description: SCSI Disk
                      product: Expansion
                      vendor: Seagate
                      physical id: 0.0.0
                      bus info: scsi@3:0.0.0
                      logical name: /dev/sdb
                      version: 0706
                      serial: NA82T4TE
                      size: 931GiB (1TB)
                      capabilities: partitioned partitioned:dos
                      configuration: ansiversion=6 logicalsectorsize=512 sectorsize=4096 signature=0921c3c0
                    *-volume:0
                         description: Windows NTFS volume
                         physical id: 1
                         bus info: scsi@3:0.0.0,1
                         logical name: /dev/sdb1
                         logical name: /media/ocean/Seagate Expansion Drive
                         version: 3.1
                         serial: a638cafe-6b51-f74f-ac2f-925bd64b7e57
                         size: 14GiB
                         capacity: 14GiB
                         capabilities: primary ntfs initialized
                         configuration: clustersize=4096 created=2016-01-09 02:42:25 filesystem=ntfs label=Seagate Expansion Drive modified_by_chkdsk=true mount.fstype=fuseblk mount.options=rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 mounted_on_nt4=true resize_log_file=true state=mounted upgrade_on_mount=true
                    *-volume:1
                         description: EXT4 volume
                         vendor: Linux
                         physical id: 2
                         bus info: scsi@3:0.0.0,2
                         logical name: /dev/sdb2
                         logical name: /
                         version: 1.0
                         serial: 7b18a72b-67db-4443-8a3c-a83654c49387
                         size: 912GiB
                         capacity: 912GiB
                         capabilities: primary journaled extended_attributes large_files huge_files dir_nlink extents ext4 ext2 initialized
                         configuration: created=2016-10-15 02:02:51 filesystem=ext4 lastmountpoint=/ modified=2016-10-21 21:32:34 mount.fstype=ext4 mount.options=rw,relatime,errors=remount-ro,stripe=8191,data=ordered mounted=2016-10-21 11:10:10 state=mounted
                    *-volume:2
                         description: Linux swap volume
                         physical id: 4
                         bus info: scsi@3:0.0.0,4
                         logical name: /dev/sdb4
                         version: 1
                         serial: e4608741-c5e8-4a2c-a455-34d5563d2494
                         size: 4GiB
                         capacity: 4GiB
                         capabilities: primary nofs swap initialized
                         configuration: filesystem=swap pagesize=4096
           *-usbhost:1
                product: xHCI Host Controller
                vendor: Linux 4.4.0-43-generic xhci-hcd
                physical id: 1
                bus info: usb@2
                logical name: usb2
                version: 4.04
                capabilities: usb-2.00
                configuration: driver=hub slots=9 speed=480Mbit/s
              *-usb
                   description: Mouse
                   product: Wireless Receiver
                   vendor: Telink
                   physical id: 2
                   bus info: usb@2:2
                   version: 1.00
                   capabilities: usb-1.10
                   configuration: driver=usbhid maxpower=50mA speed=12Mbit/s
        *-communication
             description: Communication controller
             product: 8 Series HECI #0
             vendor: Intel Corporation
             physical id: 16
             bus info: pci@0000:00:16.0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi bus_master cap_list
             configuration: driver=mei_me latency=0
             resources: irq:46 memory:b5718000-b571801f
        *-multimedia:1
             description: Audio device
             product: 8 Series HD Audio Controller
             vendor: Intel Corporation
             physical id: 1b
             bus info: pci@0000:00:1b.0
             version: 04
             width: 64 bits
             clock: 33MHz
             capabilities: pm msi pciexpress bus_master cap_list
             configuration: driver=snd_hda_intel latency=0
             resources: irq:47 memory:b5714000-b5717fff
        *-pci:0
             description: PCI bridge
             product: 8 Series PCI Express Root Port 1
             vendor: Intel Corporation
             physical id: 1c
             bus info: pci@0000:00:1c.0
             version: e4
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:16 ioport:2000(size=4096) memory:9fb00000-9fcfffff ioport:9fd00000(size=2097152)
        *-pci:1
             description: PCI bridge
             product: 8 Series PCI Express Root Port 2
             vendor: Intel Corporation
             physical id: 1c.1
             bus info: pci@0000:00:1c.1
             version: e4
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:17 ioport:5000(size=4096) memory:b4000000-b4ffffff ioport:b2000000(size=16777216)
           *-generic
                description: Unassigned class
                product: RTS5229 PCI Express Card Reader
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0
                bus info: pci@0000:02:00.0
                version: 01
                width: 32 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list
                configuration: driver=rtsx_pci latency=0
                resources: irq:41 memory:b4000000-b4000fff
        *-pci:2
             description: PCI bridge
             product: 8 Series PCI Express Root Port 3
             vendor: Intel Corporation
             physical id: 1c.2
             bus info: pci@0000:00:1c.2
             version: e4
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:18 ioport:4000(size=4096) memory:b5600000-b56fffff ioport:b5400000(size=1048576)
           *-network
                description: Ethernet interface
                product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
                vendor: Realtek Semiconductor Co., Ltd.
                physical id: 0
                bus info: pci@0000:08:00.0
                logical name: enp8s0
                version: 07
                serial: f8:a9:63:92:f1:a1
                size: 10Mbit/s
                capacity: 100Mbit/s
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
                configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8106e-1_0.0.1 06/29/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
                resources: irq:42 ioport:4000(size=256) memory:b5600000-b5600fff memory:b5400000-b5403fff
        *-pci:3
             description: PCI bridge
             product: 8 Series PCI Express Root Port 5
             vendor: Intel Corporation
             physical id: 1c.4
             bus info: pci@0000:00:1c.4
             version: e4
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:16 ioport:3000(size=4096) memory:b3000000-b3ffffff ioport:a0000000(size=301989888)
           *-display
                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:09:00.0
                version: a1
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list
                configuration: driver=nouveau latency=0
                resources: irq:44 memory:b3000000-b3ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:3000(size=128)
        *-pci:4
             description: PCI bridge
             product: 8 Series PCI Express Root Port 6
             vendor: Intel Corporation
             physical id: 1c.5
             bus info: pci@0000:00:1c.5
             version: e4
             width: 32 bits
             clock: 33MHz
             capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
             configuration: driver=pcieport
             resources: irq:17 memory:b5500000-b55fffff
           *-network
                description: Wireless interface
                product: RT3290 Wireless 802.11n 1T/1R PCIe
                vendor: Ralink corp.
                physical id: 0
                bus info: pci@0000:0a:00.0
                logical name: wlo1
                version: 00
                serial: 90:48:9a:b8:4a:bb
                width: 32 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
                configuration: broadcast=yes driver=rt2800pci driverversion=4.4.0-43-generic firmware=0.37 ip=10.0.0.87 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
                resources: irq:16 memory:b5510000-b551ffff
           *-generic UNCLAIMED
                description: Bluetooth
                product: RT3290 Bluetooth
                vendor: Ralink corp.
                physical id: 0.1
                bus info: pci@0000:0a:00.1
                version: 00
                width: 32 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list
                configuration: latency=0
                resources: memory:b5500000-b550ffff
        *-usb:1
             description: USB controller
             product: 8 Series USB EHCI #1
             vendor: Intel Corporation
             physical id: 1d
             bus info: pci@0000:00:1d.0
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: pm debug ehci bus_master cap_list
             configuration: driver=ehci-pci latency=0
             resources: irq:23 memory:b571c000-b571c3ff
           *-usbhost
                product: EHCI Host Controller
                vendor: Linux 4.4.0-43-generic ehci_hcd
                physical id: 1
                bus info: usb@1
                logical name: usb1
                version: 4.04
                capabilities: usb-2.00
                configuration: driver=hub slots=2 speed=480Mbit/s
              *-usb
                   description: USB hub
                   vendor: Intel Corp.
                   physical id: 1
                   bus info: usb@1:1
                   version: 0.04
                   capabilities: usb-2.00
                   configuration: driver=hub slots=8 speed=480Mbit/s
                 *-usb
                      description: Video
                      product: HP Truevision HD
                      vendor: Chicony Electronics Co., Ltd.
                      physical id: 5
                      bus info: usb@1:1.5
                      version: 69.34
                      capabilities: usb-2.00
                      configuration: driver=uvcvideo maxpower=500mA speed=480Mbit/s
        *-isa
             description: ISA bridge
             product: 8 Series LPC Controller
             vendor: Intel Corporation
             physical id: 1f
             bus info: pci@0000:00:1f.0
             version: 04
             width: 32 bits
             clock: 33MHz
             capabilities: isa bus_master cap_list
             configuration: driver=lpc_ich latency=0
             resources: irq:0
        *-storage
             description: SATA controller
             product: 8 Series SATA Controller 1 [AHCI mode]
             vendor: Intel Corporation
             physical id: 1f.2
             bus info: pci@0000:00:1f.2
             version: 04
             width: 32 bits
             clock: 66MHz
             capabilities: storage msi pm ahci_1.0 bus_master cap_list
             configuration: driver=ahci latency=0
             resources: irq:43 ioport:6088(size=8) ioport:6094(size=4) ioport:6080(size=8) ioport:6090(size=4) ioport:6060(size=32) memory:b571b000-b571b7ff
        *-serial UNCLAIMED
             description: SMBus
             product: 8 Series SMBus Controller
             vendor: Intel Corporation
             physical id: 1f.3
             bus info: pci@0000:00:1f.3
             version: 04
             width: 64 bits
             clock: 33MHz
             configuration: latency=0
             resources: memory:b5719000-b57190ff ioport:6040(size=32)
     *-scsi:0
          physical id: 0
          logical name: scsi0
          capabilities: emulated
        *-disk
             description: ATA Disk
             product: HGST HTS541010A9
             physical id: 0.0.0
             bus info: scsi@0:0.0.0
             logical name: /dev/sda
             version: A710
             serial: JA10061038UH0V
             size: 931GiB (1TB)
             capabilities: gpt-1.00 partitioned partitioned:gpt
             configuration: ansiversion=5 guid=c1ca5e39-c56d-4089-9b8b-7b08615204d6 logicalsectorsize=512 sectorsize=4096
           *-volume:0
                description: Windows NTFS volume
                vendor: Windows
                physical id: 1
                bus info: scsi@0:0.0.0,1
                logical name: /dev/sda1
                version: 3.1
                serial: f257-a664
                size: 648MiB
                capacity: 649MiB
                capabilities: boot precious readonly hidden nomount ntfs initialized
                configuration: clustersize=4096 created=2014-06-16 14:20:20 filesystem=ntfs label=WINRE modified_by_chkdsk=true mounted_on_nt4=true name=Basic data partition resize_log_file=true state=dirty upgrade_on_mount=true
           *-volume:1
                description: Windows FAT volume
                vendor: MSDOS5.0
                physical id: 2
                bus info: scsi@0:0.0.0,2
                logical name: /dev/sda2
                logical name: /boot/efi
                version: FAT32
                serial: 1638-4ddd
                size: 245MiB
                capacity: 259MiB
                capabilities: boot precious readonly hidden nomount fat initialized
                configuration: FATs=2 filesystem=fat mount.fstype=vfat mount.options=rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro name=EFI system partition state=mounted
           *-volume:2
                description: reserved partition
                vendor: Windows
                physical id: 3
                bus info: scsi@0:0.0.0,3
                logical name: /dev/sda3
                serial: 90ceb961-510b-4ccf-abe2-8b6cb91502b4
                capacity: 127MiB
                capabilities: nofs precious readonly hidden nomount
                configuration: name=Microsoft reserved partition
           *-volume:3
                description: Windows NTFS volume
                vendor: Windows
                physical id: 4
                bus info: scsi@0:0.0.0,4
                logical name: /dev/sda4
                version: 3.1
                serial: 54e1ae2c-eb98-844c-8ded-3464ad228d8e
                size: 914GiB
                capacity: 914GiB
                capabilities: ntfs initialized
                configuration: clustersize=4096 created=2014-04-26 09:10:57 filesystem=ntfs label=Windows name=Basic data partition state=clean
           *-volume:4
                description: Windows NTFS volume
                vendor: Windows
                physical id: 5
                bus info: scsi@0:0.0.0,5
                logical name: /dev/sda5
                version: 3.1
                serial: 72ef-0059
                size: 838MiB
                capacity: 861MiB
                capabilities: boot precious readonly hidden nomount ntfs initialized
                configuration: clustersize=4096 created=2016-07-18 01:07:04 filesystem=ntfs modified_by_chkdsk=true mounted_on_nt4=true resize_log_file=true state=dirty upgrade_on_mount=true
           *-volume:5
                description: Windows NTFS volume
                vendor: Windows
                physical id: 6
                bus info: scsi@0:0.0.0,6
                logical name: /dev/sda6
                version: 3.1
                serial: 6e19948c-1c5d-064c-bc44-19f4422f8eff
                size: 15GiB
                capacity: 15GiB
                capabilities: precious readonly hidden nomount ntfs initialized
                configuration: clustersize=4096 created=2014-06-16 14:20:15 filesystem=ntfs label=RECOVERY modified_by_chkdsk=true mounted_on_nt4=true name=Basic data partition resize_log_file=true state=dirty upgrade_on_mount=true
     *-scsi:1
          physical id: 2
          logical name: scsi1
          capabilities: emulated
        *-cdrom
             description: DVD-RAM writer
             product: DVDRAM GU90N
             vendor: hp
             physical id: 0.0.0
             bus info: scsi@1:0.0.0
             logical name: /dev/cdrom
             logical name: /dev/cdrw
             logical name: /dev/dvd
             logical name: /dev/dvdrw
             logical name: /dev/sr0
             version: U900
             capabilities: removable audio cd-r cd-rw dvd dvd-r dvd-ram
             configuration: ansiversion=5 status=nodisc
  *-battery
       description: Lithium Ion Battery
       product: OA04041
       vendor: 13-42
       physical id: 1
       version: 01/01/2013
       serial: SERIAL
       slot: Primary
       capacity: 41440mWh
       configuration: voltage=14,8V
  *-power UNCLAIMED
       description: OEM_Define1
       product: OEM_Define5
       vendor: OEM_Define2
       physical id: 2
       version: OEM_Define6
       serial: OEM_Define3
       capacity: 75mWh

Hi @ocean,

I would remove anything Nvidia related as the main VGA (Video Graphics Adapter) is from Intel!. :smiley:

Hmmm… Does that mean I can’t use the Nvidia chip on this computer with Linux? I need OpenGL 4 compatibility. Luckily I’ve kept the Windows partition for the time being, but I really don’t want it there.

HI @ocean,

try it and find out!. :thumbsup:

After quick glance, without seeing NVIDIA hardware listed, wonder if your Optimus laptop behaves bit like mine? With my system, after a second reboot the NVIDIA GPU is shut-down and become unavailable, some describe this as ‘device falls off the bus’.

If your system works anything like mine, simple solution is to shut-down the computer completely, after next start NVIDIA hardware should re-appear. Another option (your system may differer), on my system I can enter the BIOS and switch from SG (iGPU (Intel)) to PEG (dGPU (NVIDIA)).

PS: Once NVIDIA driver is installed, and NVIDIA device is selected within Prime settings (NVIDIA driver settings), then is should no longer disappear after system reboot.

That could be… Just wondering why I don’t get any updated drivers. Maybe I should try installing 16.10 and see how that works.

It’s listed here I guess:

*-display
                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:09:00.0
                version: a1
                width: 64 bits
                clock: 33MHz
                capabilities: pm msi pciexpress bus_master cap_list
                configuration: driver=nouveau latency=0
                resources: irq:44 memory:b3000000-b3ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:3000(size=128)

Oops! My bad, missed seeing that section :blush:

In case helpful, a less verbose hardware summery will be presented using

inxi -Fxz

Edit: Since your GPU is detected, we need to find why the added ‘Ubuntu Graphics Drivers team’ PPA isn’t working.

https://ubuntu-mate.community/uploads/default/original/2X/c/c4a8f1ae075ebc4ccf3ac0780ecfd3f44c263f2e.png

Please open Software & Updates again (found with 'Additional Drivers'), switch to 'Other Software' tab, and provide a screen capture. Thanks.

Okay. Thank you so much for taking the time. 16.10 didn't provide any other drivers, at least from the Live-USB.

Great, the Ubuntu Graphics Drivers PPA is installed okay.

This may be a long shot, how about opening Additional Drivers, switch from Nouveau back to 340.98, restart, and then check if (since NVIDIA GPU becomes active) newer drivers appear?

Failing that, try installing the PPA in a live session, with either 16.04.1 or 16.10, and see if newer divers are shown. You won’t be able to restart of course, but can logout and back in.

To give you some idea of what you should be seeing, on my system (with a slightly older NVIDIA GPU), and added drivers PPA, I now see 7 different NVIDIA drivers to choose from, plus Nouveau driver.


Edit: Another idea to try. Since the graphics drivers PPA is active, possibly try…

sudo apt-get install nvidia-367
  • Reboot

Installed the 340 driver. The installation seemed to halt at a certain point. I cancelled. But it reported that it was installed and in use. So I rebooted and tried to launch Leadwerks which requires OpenGl 4.0 and it reported back that it failed to initialize the video hardware.

Should I uninstall anything, before attempting nvidia-367?

EDIT: No additional drivers appeared after installing 340.

Installation can seem to take awhile, as drivers are being built against the kernel in use (slower the CPU, longer the installation). It’s important to wait until completion, even if it appears nothing is happening.

Considering changing from one GPU driver to another with Additional Drivers does not first require un-installation, I would assume installing nvidia-367 driver via Terminal will automatically disable the nvidia-340 driver while installing/building the newer driver.

Hopefully this will turn out to be a hiccup, as NVIDIA driver installation using Additional Drivers is usually easy these days.

Thanks. I’m trying to install 367 now. Informed me that the previous process didn’t complete. Something about running dpkg to repair something. Did that first. But maybe the secure boot thing is a problem, since I’m never prompted for the password on reboot?

EDIT: Install output (for reference):

sudo apt-get install nvidia-367
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-31 linux-headers-4.4.0-31-generic linux-image-4.4.0-31-generic
  linux-image-extra-4.4.0-31-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libcuda1-367 nvidia-opencl-icd-367
The following packages will be REMOVED:
  libcuda1-304 nvidia-340 nvidia-opencl-icd-304
The following NEW packages will be installed:
  libcuda1-367 nvidia-367 nvidia-opencl-icd-367
0 upgraded, 3 newly installed, 3 to remove and 12 not upgraded.
Need to get 75,2 MB of archives.
After this operation, 30,1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial/main amd64 nvidia-367 amd64 367.57-0ubuntu0~gpu16.04.1 [69,6 MB]
Get:2 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial/main amd64 libcuda1-367 amd64 367.57-0ubuntu0~gpu16.04.1 [2 706 kB]
Get:3 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial/main amd64 nvidia-opencl-icd-367 amd64 367.57-0ubuntu0~gpu16.04.1 [2 900 kB]
Fetched 75,2 MB in 1min 31s (824 kB/s)                                                             
(Reading database ... 263580 files and directories currently installed.)
Removing libcuda1-304 (304.132-0ubuntu0~gpu16.04.1) ...
Removing nvidia-340 (340.98-0ubuntu0~gpu16.04.1) ...
Stopping nvidia-persistenced
nvidia-persistenced: no process found
Done.
Removing all DKMS Modules
Done.
INFO:Disable nvidia-340
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
update-initramfs: deferring update (trigger activated)
Removing nvidia-opencl-icd-304 (304.132-0ubuntu0~gpu16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for initramfs-tools (0.122ubuntu8.3) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-45-generic
Selecting previously unselected package nvidia-367.
(Reading database ... 263283 files and directories currently installed.)
Preparing to unpack .../nvidia-367_367.57-0ubuntu0~gpu16.04.1_amd64.deb ...
Unpacking nvidia-367 (367.57-0ubuntu0~gpu16.04.1) ...
Selecting previously unselected package libcuda1-367.
Preparing to unpack .../libcuda1-367_367.57-0ubuntu0~gpu16.04.1_amd64.deb ...
Unpacking libcuda1-367 (367.57-0ubuntu0~gpu16.04.1) ...
Selecting previously unselected package nvidia-opencl-icd-367.
Preparing to unpack .../nvidia-opencl-icd-367_367.57-0ubuntu0~gpu16.04.1_amd64.deb ...
Unpacking nvidia-opencl-icd-367 (367.57-0ubuntu0~gpu16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Setting up nvidia-367 (367.57-0ubuntu0~gpu16.04.1) ...
update-alternatives: using /usr/lib/nvidia-367/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_EGL.conf (i386-linux-gnu_egl_conf) in auto mode
update-alternatives: using /usr/share/nvidia-367/glamor.conf to provide /usr/share/X11/xorg.conf.d/glamoregl.conf (glamor_conf) in auto mode
INFO:Enable nvidia-367
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
Adding system user `nvidia-persistenced' (UID 123) ...
Adding new group `nvidia-persistenced' (GID 131) ...
Adding new user `nvidia-persistenced' (UID 123) with group `nvidia-persistenced' ...
Not creating home directory `/'.
Loading new nvidia-367-367.57 DKMS files...
First Installation: checking all kernels...
Building only for 4.4.0-45-generic
Building for architecture x86_64
Building initial module for 4.4.0-45-generic
Done.

nvidia_367:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.4.0-45-generic/updates/dkms/

nvidia_367_modeset.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.4.0-45-generic/updates/dkms/

nvidia_367_drm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.4.0-45-generic/updates/dkms/

nvidia_367_uvm.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.4.0-45-generic/updates/dkms/

depmod....

DKMS: install completed.
Setting up libcuda1-367 (367.57-0ubuntu0~gpu16.04.1) ...
Setting up nvidia-opencl-icd-367 (367.57-0ubuntu0~gpu16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for shim-signed (1.18~16.04.1+0.8-0ubuntu2) ...

Looks promising!

Before rebooting.

sudo apt autoremove
sudo apt autoclean

Above can be combined using sudo apt autoremove && sudo apt autoclean, but using them separately you learn the function of each command.