Ubuntu – Installing Ubuntu 16.04 drivers for Nvidia Geforce 820M

16.04aptdriversgraphicsnvidia

I have a Lenovo Z50-70 laptop, which has Intel Integrated Graphics and an Nvidia Geforce 820M; however, since I installed Ubuntu 16.04, it has not been using the graphics card. I have tried uninstalling everything Nvidia-related and reinstalling nvidia-375, which then declares that it depends on libc6-i386, which then returns

The following packages have unmet dependencies.
 libc6-i386 : Depends: libc6 (= 2.23-0ubuntu3) but 2.23-0ubuntu5 is to be installed
E: Unable to correct problems, you have held broken packages.

When I try to install libc6, I get libc6 is already the newest version (2.23-0ubuntu5).

How do I install these, or is there another way to make my graphics card work?

In terms of other commands:

lspci -vnn | grep 3D -A 12 returns:

03:00.0 3D controller [0302]: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] [10de:1140] (rev a1)
Subsystem: Lenovo GeForce 820M [17aa:380d]
Flags: bus master, fast devsel, latency 0, IRQ 46
Memory at c2000000 (32-bit, non-prefetchable) [size=16M]
Memory at b0000000 (64-bit, prefetchable) [size=256M]
Memory at c0000000 (64-bit, prefetchable) [size=32M]
I/O ports at 3000 [size=128]
Expansion ROM at <ignored> [disabled]
Capabilities: <access denied>
Kernel driver in use: nouveau
Kernel modules: nvidiafb, nouveau

cat /etc/apt/sources.list returns:

deb http://archive.ubuntu.com/ubuntu xenial main universe
# deb-src http://archive.ubuntu.com/ubuntu xenial universe

Best Answer

  1. The Nvidia adapter will be seen if you instead of grep VGA will use grep 3D.

  2. nvidia-340 is wrong for this adapter. Install nvidia-375.

You have only main and universe repos connected. Go to System Settings -> Software & Updates and enable all other repos, especially restricted. xenial-updates is not connected either. You need to enable it as well.

You may need to update the system before you install the driver.

Related Question