I installed a driver from the graphics-drivers ppa on Ubuntu 18.04, which should support the GTX 1060 5 GB:
https://download.nvidia.com/XFree86/Linux-x86_64/415.27/README/supportedchips.html
However, it dmesg shows repeated errors like this one:
[ 19.766252] nvidia-nvlink: Nvlink Core is being initialized, major device number 235
[ 19.766685] nvidia 0000:09:00.0: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=none
[ 19.766719] NVRM: The NVIDIA GPU 0000:09:00.0 (PCI ID: 10de:1c04)
NVRM: installed in this system is not supported by the
NVRM: NVIDIA 415.27 driver release.
NVRM: Please see 'Appendix A - Supported NVIDIA GPU Products'
NVRM: in this release's README, available on the operating system
NVRM: specific graphics driver download page at www.nvidia.com.
[ 19.766768] nvidia: probe of 0000:09:00.0 failed with error -1
[ 19.766780] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 19.766781] NVRM: None of the NVIDIA graphics adapters were initialized!
[ 19.766871] nvidia-nvlink: Unregistered the Nvlink Core, major device number 235
The PCI identifier seems to be correct: