Ubuntu 16.04 doesn't seem to see my gtx 1060 gpu

29,404

Disable Secure Boot in BIOS. With Secure Boot enabled proprietary drivers will never load. Then run in a terminal

sudo apt purge 'nvidia.*'
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt update
sudo apt install nvidia-367 nvidia-prime

The 367 driver is a recommended by Nvidia LTS driver.

Share:
29,404

Related videos on Youtube

Jecke
Author by

Jecke

Updated on September 18, 2022

Comments

  • Jecke
    Jecke over 1 year

    Hi :) I've recently bought a new PC with Palit GeForce GTX 1060 6GB Dual video card. Unfortunately, it seems like Ubuntu has some problems with it. When I type "sudo lshw -C display", I get this message:

     *-display UNCLAIMED
       description: VGA compatible controller
       product: NVIDIA Corporation
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller cap_list
       configuration: latency=0
       resources: memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:f7000000-f707ffff
    
      *-display
       description: VGA compatible controller
       product: Sky Lake Integrated Graphics
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 06
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915_bpo latency=0
       resources: irq:124 memory:f5000000-f5ffffff memory:d0000000-dfffffff ioport:f000(size=64)
    

    and when I go to "Additional drivers", I get this: Unknown: Unknown. The device is using an alternative driver.

    • oldfred
      oldfred over 7 years
      You probably need the ppa for very newest drivers. askubuntu.com/questions/813676/…
    • Jecke
      Jecke over 7 years
      And how do I get this ppa? I've written: ubuntu-drivers devices ... ubuntu-drivers devices | grep recommended ... sudo apt-get remove --purge nvidia-* ... sudo ubuntu-drivers devices ... sudo ubuntu-drivers autoinstall ... ubuntu-drivers devices ... sudo apt-add-repository ppa:graphics-drivers/ppa ... ubuntu-drivers devices just as they said in the post You linked to, but that didn't change anything (by anything, I mean I still get the same messages as I described in the question). Sorry, I'm a linux newbie.
    • Jecke
      Jecke over 7 years
      In "Software & Updates", I've change "Download from:" from "Poland server" to "Main server" and something new appeared: s17.postimg.org/a0ycqs4e5/… still, VGA compatible controller appears as UNCLAIMED
    • Jecke
      Jecke over 7 years
      But this is super old. Ubuntu 10 and gtx 560? I would think something could change for the last 5 years. I'll try to follow the answers anyway
    • Jecke
      Jecke over 7 years
      I tried following these instructions. I used sudo add-apt-repository ppa:graphics-drivers/ppa and sudo apt-get install nvidia-367 ...and now nothing works. System boots normally, but when the login screen shoul appear, everything goes black and monitor goes into sleep mode... I've discovered that using ctrl+alt+f1 brings up terminal, but that's all. I think that nothing graphics-related works...
    • Jecke
      Jecke over 7 years
      I managed to restore graphics by removing installed nvidia drivers. Now I'm at the beginning again...
    • You'reAGitForNotUsingGit
      You'reAGitForNotUsingGit over 7 years
      Have you ran sudo apt-get upgrade and sudo apt-get dist-upgrade?
    • Jecke
      Jecke over 7 years
      yes; that didn't change anything. I have downloaded heaven benchmark and on high settings I get full 5 fps. Nvidia still shows as unclaimed and the driver is "using X.org X server..."
    • oldfred
      oldfred over 7 years
      Others have just connected to Intel video on motherboard to boot and then installed nVidia driver as above. Then reconnected to nVidia card and had it worked.
    • Jeremiah Peschka
      Jeremiah Peschka over 7 years
      nvidia-370 should support that card. It supports my 1080.
    • Pilot6
      Pilot6 over 7 years
      Disable Secure Boot and install the driver (367 or 370) they both should work.
    • Jecke
      Jecke over 7 years
      @Pilot6 could you tell me, step by step, how I should do that? I think I managed to install 367 and 370 before, and all it did was to delete all graphics on my pc, but I didn't do it with secure boot disabled, so maybe that will help.
    • Pilot6
      Pilot6 over 7 years
      See the answer.
  • Jecke
    Jecke over 7 years
    What does nvidia-prime do? I heard it's for laptops?
  • Jecke
    Jecke over 7 years
    ok, I somehow managed to disable secure boot (deleted all "keys" under the "Secure boot" option). I installed the drivers and what happened is what have happened each time before - after turning on the PC, it goes completely black, monitor goes into the sleep mode and the only thing I can do is enter the terminal by ctrl+alt+f1. Everything goes back to normal after I purge 'nvidia.*
  • Pilot6
    Pilot6 over 7 years
    Deleting keys is wrong. You need to disable Secure Boot option.
  • Pilot6
    Pilot6 over 7 years
    If you can't disable in BIOS, use mokutil.
  • Jecke
    Jecke over 7 years
    I did finally manage to disable it . But still, the installation of the drivers led to the same thing that every other time - black screen, no graphics, only ctrl+alt+f1 working.
  • Pilot6
    Pilot6 over 7 years
    No ideas then. I am keeping the answer so other people can see what you already tried.
  • Dane Powell
    Dane Powell about 7 years
    I think nvidia-prime is a tool that lets you switch between installed GPUs. Not specific to laptops that I can tell. Source: askubuntu.com/questions/661922/…
  • Pilot6
    Pilot6 about 7 years
    This is a bad solution because you will get a black screen after the first kernel upgrade.