Trying to get headless setup working on Linux Mint 18.1 with GeForce 1060 GTX

Hi

I’m trying to get a GeForce 1060 GTX graphics card working (properly) on Linux Mint 18.1.

After (much effort!) I have installed the 375.26 driver and nvidia-modprobe utilities using debian and appear to have a system that is almost working: I want to use the motherboard onboard graphics for display and the GPU for compute purposes only.

Alomst everything seems to be working – I can compile and run code – unless that code attempts to probe the device e.g. using the function checkCudaErrors

However, I get the following

nvidia-smi
No devices were found

./deviceQuery
./deviceQuery Starting…

CUDA Device Query (Runtime API) version (CUDART static linking)

cudaGetDeviceCount returned 38
→ no CUDA-capable device is detected
Result = FAIL

I’ve done loads of research around this issue and can’t find anything that fixes it.

My xorg log file is below. In my BIOS (gigabyte Z170 skylake motherboard), I am initialising using integrated graphics. If I attempt to initialise via PCIE1 (the graphics card) - which was my initial idea, then I get a blank screen I only seem to be able to resolve by removing the graphics card and resetting the BIOS.

Any help would be VERY gratefully received!

Thanks!

[ 8.515]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 8.515] X Protocol Version 11, Revision 0
[ 8.515] Build Operating System: Linux 4.4.0-45-generic x86_64 Ubuntu
[ 8.515] Current Operating System: Linux FrankTurbo 4.4.0-53-generic #74-Ubuntu SMP Fri Dec 2 15:59:10 UTC 2016 x86_64
[ 8.515] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-53-generic root=UUID=a65a6654-4425-4a90-9dab-4435f2f1b1a8 ro quiet splash vt.handoff=7
[ 8.515] Build Date: 02 November 2016 10:06:10PM
[ 8.515] xorg-server 2:1.18.4-0ubuntu0.2 (For technical support please see Enterprise open source support | Ubuntu)
[ 8.515] Current version of pixman: 0.33.6
[ 8.515] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 8.515] Markers: (–) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 8.515] (==) Log file: “/var/log/Xorg.0.log”, Time: Wed Mar 1 07:15:05 2017
[ 8.518] (==) Using config file: “/etc/X11/xorg.conf”
[ 8.518] (==) Using system config directory “/usr/share/X11/xorg.conf.d”
[ 8.518] (==) ServerLayout “Layout0”
[ 8.518] (
) |–>Screen “Screen0” (0)
[ 8.518] () | |–>Monitor “Monitor0”
[ 8.519] (
) | |–>Device “Device0”
[ 8.519] () |–>Input Device “Keyboard0”
[ 8.519] (
) |–>Input Device “Mouse0”
[ 8.519] (==) Automatically adding devices
[ 8.519] (==) Automatically enabling devices
[ 8.519] (==) Automatically adding GPU devices
[ 8.519] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 8.519] (WW) The directory “/usr/share/fonts/X11/cyrillic” does not exist.
[ 8.519] Entry deleted from font path.
[ 8.519] (WW) The directory “/usr/share/fonts/X11/100dpi/” does not exist.
[ 8.519] Entry deleted from font path.
[ 8.519] (WW) The directory “/usr/share/fonts/X11/75dpi/” does not exist.
[ 8.519] Entry deleted from font path.
[ 8.519] (WW) The directory “/usr/share/fonts/X11/100dpi” does not exist.
[ 8.519] Entry deleted from font path.
[ 8.519] (WW) The directory “/usr/share/fonts/X11/75dpi” does not exist.
[ 8.519] Entry deleted from font path.
[ 8.519] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 8.519] (==) ModulePath set to “/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules”
[ 8.519] (WW) Hotplugging is on, devices using drivers ‘kbd’, ‘mouse’ or ‘vmmouse’ will be disabled.
[ 8.519] (WW) Disabling Keyboard0
[ 8.519] (WW) Disabling Mouse0
[ 8.519] (II) Loader magic: 0x56189c305dc0
[ 8.519] (II) Module ABI versions:
[ 8.519] X.Org ANSI C Emulation: 0.4
[ 8.519] X.Org Video Driver: 20.0
[ 8.519] X.Org XInput driver : 22.1
[ 8.519] X.Org Server Extension : 9.0
[ 8.519] (++) using VT number 8

[ 8.519] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 8.520] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 8.520] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 8.522] (–) PCI:*(0:0:2:0) 8086:1912:1458:d000 rev 6, Mem @ 0xdd000000/16777216, 0xb0000000/268435456, I/O @ 0x0000f000/64
[ 8.522] (–) PCI: (0:1:0:0) 10de:1c03:1458:371a rev 161, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x???/524288
[ 8.522] (WW) “glamoregl” will not be loaded unless you’ve specified it to be loaded elsewhere.
[ 8.522] (II) “glx” will be loaded by default.
[ 8.522] (II) LoadModule: “glx”
[ 8.522] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so
[ 8.569] (II) Module glx: vendor=“NVIDIA Corporation”
[ 8.569] compiled for 4.0.2, module version = 1.0.0
[ 8.569] Module class: X.Org Server Extension
[ 8.569] (II) NVIDIA GLX Module 375.26 Thu Dec 8 17:59:51 PST 2016
[ 8.569] (II) LoadModule: “nvidia”
[ 8.569] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
[ 8.572] (II) Module nvidia: vendor=“NVIDIA Corporation”
[ 8.572] compiled for 4.0.2, module version = 1.0.0
[ 8.572] Module class: X.Org Video Driver
[ 8.572] (II) NVIDIA dlloader X Driver 375.26 Thu Dec 8 17:37:15 PST 2016
[ 8.572] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 8.575] (EE) No devices detected.
[ 8.575] (==) Matched intel as autoconfigured driver 0
[ 8.575] (==) Matched nvidia as autoconfigured driver 1
[ 8.575] (==) Matched nouveau as autoconfigured driver 2
[ 8.575] (==) Matched intel as autoconfigured driver 3
[ 8.575] (==) Matched modesetting as autoconfigured driver 4
[ 8.575] (==) Matched fbdev as autoconfigured driver 5
[ 8.575] (==) Matched vesa as autoconfigured driver 6
[ 8.575] (==) Assigned the driver to the xf86ConfigLayout
[ 8.575] (II) LoadModule: “intel”
[ 8.576] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 8.577] (II) Module intel: vendor=“X.Org Foundation”
[ 8.577] compiled for 1.18.4, module version = 2.99.917
[ 8.577] Module class: X.Org Video Driver
[ 8.577] ABI class: X.Org Video Driver, version 20.0
[ 8.577] (II) LoadModule: “nvidia”
[ 8.577] (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so
[ 8.577] (II) Module nvidia: vendor=“NVIDIA Corporation”
[ 8.577] compiled for 4.0.2, module version = 1.0.0
[ 8.577] Module class: X.Org Video Driver
[ 8.577] (II) UnloadModule: “nvidia”
[ 8.577] (II) Unloading nvidia
[ 8.577] (II) Failed to load module “nvidia” (already loaded, 22040)
[ 8.577] (II) LoadModule: “nouveau”
[ 8.577] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 8.578] (II) Module nouveau: vendor=“X.Org Foundation”
[ 8.578] compiled for 1.18.1, module version = 1.0.12
[ 8.578] Module class: X.Org Video Driver
[ 8.578] ABI class: X.Org Video Driver, version 20.0
[ 8.578] (II) LoadModule: “modesetting”
[ 8.579] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 8.579] (II) Module modesetting: vendor=“X.Org Foundation”
[ 8.579] compiled for 1.18.4, module version = 1.18.4
[ 8.579] Module class: X.Org Video Driver
[ 8.579] ABI class: X.Org Video Driver, version 20.0
[ 8.579] (II) LoadModule: “fbdev”
[ 8.579] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 8.579] (II) Module fbdev: vendor=“X.Org Foundation”
[ 8.579] compiled for 1.18.1, module version = 0.4.4
[ 8.579] Module class: X.Org Video Driver
[ 8.579] ABI class: X.Org Video Driver, version 20.0
[ 8.579] (II) LoadModule: “vesa”
[ 8.579] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 8.579] (II) Module vesa: vendor=“X.Org Foundation”
[ 8.579] compiled for 1.18.1, module version = 2.3.4
[ 8.579] Module class: X.Org Video Driver
[ 8.579] ABI class: X.Org Video Driver, version 20.0
[ 8.579] (II) NVIDIA dlloader X Driver 375.26 Thu Dec 8 17:37:15 PST 2016
[ 8.579] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 8.579] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 8.579] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 8.579] (II) intel: Driver for Intel(R) Iris™ Graphics: 5100, 6100
[ 8.579] (II) intel: Driver for Intel(R) Iris™ Pro Graphics: 5200, 6200, P6300
[ 8.579] (II) NOUVEAU driver Date: Tue Dec 8 15:52:25 2015 +1000
[ 8.579] (II) NOUVEAU driver for NVIDIA chipset families :
[ 8.579] RIVA TNT (NV04)
[ 8.579] RIVA TNT2 (NV05)
[ 8.579] GeForce 256 (NV10)
[ 8.579] GeForce 2 (NV11, NV15)
[ 8.579] GeForce 4MX (NV17, NV18)
[ 8.579] GeForce 3 (NV20)
[ 8.579] GeForce 4Ti (NV25, NV28)
[ 8.579] GeForce FX (NV3x)
[ 8.579] GeForce 6 (NV4x)
[ 8.579] GeForce 7 (G7x)
[ 8.579] GeForce 8 (G8x)
[ 8.579] GeForce GTX 200 (NVA0)
[ 8.579] GeForce GTX 400 (NVC0)
[ 8.579] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 8.579] (II) FBDEV: driver for framebuffer: fbdev
[ 8.579] (II) VESA: driver for VESA chipsets: vesa
[ 8.579] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[ 8.579] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[ 8.580] (II) intel(0): Using Kernel Mode Setting driver: i915_bpo, version 1.6.0 20160425
[ 8.580] (II) intel(0): SNA compiled: xserver-xorg-video-intel 2:2.99.917+git20160325-1ubuntu1.2 (Timo Aaltonen tjaalton@debian.org)
[ 8.580] (II) intel(0): SNA compiled for use with valgrind
[ 8.580] (EE) [drm] Failed to open DRM device for (null): -22
[ 8.580] (WW) Falling back to old probe method for modesetting
[ 8.581] (WW) Falling back to old probe method for fbdev
[ 8.581] (II) Loading sub module “fbdevhw”
[ 8.581] (II) LoadModule: “fbdevhw”
[ 8.581] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 8.581] (II) Module fbdevhw: vendor=“X.Org Foundation”
[ 8.581] compiled for 1.18.4, module version = 0.0.2
[ 8.581] ABI class: X.Org Video Driver, version 20.0
[ 8.581] (WW) Falling back to old probe method for vesa
[ 8.581] (–) intel(0): gen9 engineering sample
[ 8.581] (–) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2; using a maximum of 4 threads
[ 8.581] () intel(0): Depth 24, (–) framebuffer bpp 32
[ 8.581] (==) intel(0): RGB weight 888
[ 8.581] (==) intel(0): Default visual is TrueColor
[ 8.582] (II) intel(0): Output HDMI1 using monitor section Monitor0
[ 8.582] (II) intel(0): Enabled output HDMI1
[ 8.582] (II) intel(0): Output HDMI2 has no monitor section
[ 8.582] (II) intel(0): Enabled output HDMI2
[ 8.582] (II) intel(0): Output DP1 has no monitor section
[ 8.582] (II) intel(0): Enabled output DP1
[ 8.582] (II) intel(0): Output HDMI3 has no monitor section
[ 8.582] (II) intel(0): Enabled output HDMI3
[ 8.582] (–) intel(0): Using a maximum size of 256x256 for hardware cursors
[ 8.582] (II) intel(0): Output VIRTUAL1 has no monitor section
[ 8.582] (II) intel(0): Enabled output VIRTUAL1
[ 8.582] (–) intel(0): Output HDMI1 using initial mode 1920x1080 on pipe 0
[ 8.582] (==) intel(0): TearFree disabled
[ 8.582] (==) intel(0): DPI set to (96, 96)
[ 8.582] (II) Loading sub module “dri2”
[ 8.582] (II) LoadModule: “dri2”
[ 8.582] (II) Module “dri2” already built-in
[ 8.582] (II) Loading sub module “present”
[ 8.582] (II) LoadModule: “present”
[ 8.582] (II) Module “present” already built-in
[ 8.582] (II) UnloadModule: “fbdev”
[ 8.582] (II) Unloading fbdev
[ 8.582] (II) UnloadSubModule: “fbdevhw”
[ 8.582] (II) Unloading fbdevhw
[ 8.582] (II) UnloadModule: “vesa”
[ 8.582] (II) Unloading vesa
[ 8.582] (==) Depth 24 pixmap format is 32 bpp
[ 8.585] (II) intel(0): SNA initialized with Skylake (gen9) backend
[ 8.585] (==) intel(0): Backing store enabled
[ 8.585] (==) intel(0): Silken mouse enabled
[ 8.586] (II) intel(0): HW Cursor enabled
[ 8.586] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 8.586] (
) intel(0): DPMS enabled
[ 8.586] (==) intel(0): Display hotplug detection enabled
[ 8.586] (II) intel(0): [DRI2] Setup complete
[ 8.586] (II) intel(0): [DRI2] DRI driver: i965
[ 8.586] (II) intel(0): [DRI2] VDPAU driver: va_gl
[ 8.587] (II) intel(0): direct rendering: DRI2 enabled
[ 8.587] (II) intel(0): hardware support for Present enabled
[ 8.587] (–) RandR disabled
[ 8.589] (II) SELinux: Disabled on system
[ 8.590] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)
[ 8.593] (II) intel(0): switch to mode 1920x1080@60.0 on HDMI1 using pipe 0, position (0, 0), rotation normal, reflection none
[ 8.593] (II) intel(0): Setting screen physical size to 508 x 285
[ 8.615] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 8.615] () Power Button: Applying InputClass “evdev keyboard catchall”
[ 8.615] (II) LoadModule: “evdev”
[ 8.615] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 8.617] (II) Module evdev: vendor=“X.Org Foundation”
[ 8.617] compiled for 1.18.1, module version = 2.10.1
[ 8.617] Module class: X.Org XInput Driver
[ 8.617] ABI class: X.Org XInput driver, version 22.1
[ 8.617] (II) Using input driver ‘evdev’ for ‘Power Button’
[ 8.617] (
) Power Button: always reports core events
[ 8.617] () evdev: Power Button: Device: “/dev/input/event2”
[ 8.617] (–) evdev: Power Button: Vendor 0 Product 0x1
[ 8.617] (–) evdev: Power Button: Found keys
[ 8.617] (II) evdev: Power Button: Configuring as keyboard
[ 8.617] (
) Option “config_info” “udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2”
[ 8.617] (II) XINPUT: Adding extended input device “Power Button” (type: KEYBOARD, id 6)
[ 8.617] () Option “xkb_rules” “evdev”
[ 8.617] (
) Option “xkb_model” “pc105”
[ 8.617] () Option “xkb_layout” “gb”
[ 8.626] (II) config/udev: Adding input device Video Bus (/dev/input/event3)
[ 8.626] (
) Video Bus: Applying InputClass “evdev keyboard catchall”
[ 8.626] (II) Using input driver ‘evdev’ for ‘Video Bus’
[ 8.626] () Video Bus: always reports core events
[ 8.626] (
) evdev: Video Bus: Device: “/dev/input/event3”
[ 8.626] (–) evdev: Video Bus: Vendor 0 Product 0x6
[ 8.626] (–) evdev: Video Bus: Found keys
[ 8.626] (II) evdev: Video Bus: Configuring as keyboard
[ 8.626] () Option “config_info” “udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input6/event3”
[ 8.626] (II) XINPUT: Adding extended input device “Video Bus” (type: KEYBOARD, id 7)
[ 8.626] (
) Option “xkb_rules” “evdev”
[ 8.626] () Option “xkb_model” “pc105”
[ 8.626] (
) Option “xkb_layout” “gb”
[ 8.626] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[ 8.626] () Power Button: Applying InputClass “evdev keyboard catchall”
[ 8.626] (II) Using input driver ‘evdev’ for ‘Power Button’
[ 8.626] (
) Power Button: always reports core events
[ 8.626] () evdev: Power Button: Device: “/dev/input/event1”
[ 8.626] (–) evdev: Power Button: Vendor 0 Product 0x1
[ 8.626] (–) evdev: Power Button: Found keys
[ 8.626] (II) evdev: Power Button: Configuring as keyboard
[ 8.626] (
) Option “config_info” “udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1”
[ 8.626] (II) XINPUT: Adding extended input device “Power Button” (type: KEYBOARD, id 8)
[ 8.626] () Option “xkb_rules” “evdev”
[ 8.626] (
) Option “xkb_model” “pc105”
[ 8.626] () Option “xkb_layout” “gb”
[ 8.626] (II) config/udev: Adding input device Sleep Button (/dev/input/event0)
[ 8.626] (
) Sleep Button: Applying InputClass “evdev keyboard catchall”
[ 8.626] (II) Using input driver ‘evdev’ for ‘Sleep Button’
[ 8.626] () Sleep Button: always reports core events
[ 8.626] (
) evdev: Sleep Button: Device: “/dev/input/event0”
[ 8.627] (–) evdev: Sleep Button: Vendor 0 Product 0x3
[ 8.627] (–) evdev: Sleep Button: Found keys
[ 8.627] (II) evdev: Sleep Button: Configuring as keyboard
[ 8.627] () Option “config_info” “udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0/event0”
[ 8.627] (II) XINPUT: Adding extended input device “Sleep Button” (type: KEYBOARD, id 9)
[ 8.627] (
) Option “xkb_rules” “evdev”
[ 8.627] () Option “xkb_model” “pc105”
[ 8.627] (
) Option “xkb_layout” “gb”
[ 8.627] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event18)
[ 8.627] (II) No input driver specified, ignoring this device.
[ 8.627] (II) This device may have been added with another device file.
[ 8.627] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event19)
[ 8.627] (II) No input driver specified, ignoring this device.
[ 8.627] (II) This device may have been added with another device file.
[ 8.627] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event20)
[ 8.627] (II) No input driver specified, ignoring this device.
[ 8.627] (II) This device may have been added with another device file.
[ 8.627] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event21)
[ 8.627] (II) No input driver specified, ignoring this device.
[ 8.627] (II) This device may have been added with another device file.
[ 8.628] (II) config/udev: Adding input device BTC USB Multimedia Keyboard (/dev/input/event4)
[ 8.628] () BTC USB Multimedia Keyboard: Applying InputClass “evdev keyboard catchall”
[ 8.628] (II) Using input driver ‘evdev’ for ‘BTC USB Multimedia Keyboard’
[ 8.628] (
) BTC USB Multimedia Keyboard: always reports core events
[ 8.628] () evdev: BTC USB Multimedia Keyboard: Device: “/dev/input/event4”
[ 8.628] (–) evdev: BTC USB Multimedia Keyboard: Vendor 0x46d Product 0xc311
[ 8.628] (–) evdev: BTC USB Multimedia Keyboard: Found keys
[ 8.628] (II) evdev: BTC USB Multimedia Keyboard: Configuring as keyboard
[ 8.628] (
) Option “config_info” “udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:046D:C311.0001/input/input7/event4”
[ 8.628] (II) XINPUT: Adding extended input device “BTC USB Multimedia Keyboard” (type: KEYBOARD, id 10)
[ 8.628] () Option “xkb_rules” “evdev”
[ 8.628] (
) Option “xkb_model” “pc105”
[ 8.628] () Option “xkb_layout” “gb”
[ 8.629] (II) config/udev: Adding input device BTC USB Multimedia Keyboard (/dev/input/event5)
[ 8.629] (
) BTC USB Multimedia Keyboard: Applying InputClass “evdev keyboard catchall”
[ 8.629] (II) Using input driver ‘evdev’ for ‘BTC USB Multimedia Keyboard’
[ 8.629] () BTC USB Multimedia Keyboard: always reports core events
[ 8.629] (
) evdev: BTC USB Multimedia Keyboard: Device: “/dev/input/event5”
[ 8.629] (–) evdev: BTC USB Multimedia Keyboard: Vendor 0x46d Product 0xc311
[ 8.629] (–) evdev: BTC USB Multimedia Keyboard: Found keys
[ 8.629] (II) evdev: BTC USB Multimedia Keyboard: Configuring as keyboard
[ 8.629] () Option “config_info” “udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:046D:C311.0002/input/input8/event5”
[ 8.629] (II) XINPUT: Adding extended input device “BTC USB Multimedia Keyboard” (type: KEYBOARD, id 11)
[ 8.629] (
) Option “xkb_rules” “evdev”
[ 8.629] () Option “xkb_model” “pc105”
[ 8.629] (
) Option “xkb_layout” “gb”
[ 8.629] (II) config/udev: Adding input device Logitech USB Laser Mouse (/dev/input/event6)
[ 8.629] () Logitech USB Laser Mouse: Applying InputClass “evdev pointer catchall”
[ 8.629] (II) Using input driver ‘evdev’ for ‘Logitech USB Laser Mouse’
[ 8.629] (
) Logitech USB Laser Mouse: always reports core events
[ 8.629] () evdev: Logitech USB Laser Mouse: Device: “/dev/input/event6”
[ 8.684] (–) evdev: Logitech USB Laser Mouse: Vendor 0x46d Product 0xc061
[ 8.684] (–) evdev: Logitech USB Laser Mouse: Found 12 mouse buttons
[ 8.684] (–) evdev: Logitech USB Laser Mouse: Found scroll wheel(s)
[ 8.684] (–) evdev: Logitech USB Laser Mouse: Found relative axes
[ 8.684] (–) evdev: Logitech USB Laser Mouse: Found x and y relative axes
[ 8.684] (II) evdev: Logitech USB Laser Mouse: Configuring as mouse
[ 8.684] (II) evdev: Logitech USB Laser Mouse: Adding scrollwheel support
[ 8.684] (
) evdev: Logitech USB Laser Mouse: YAxisMapping: buttons 4 and 5
[ 8.684] () evdev: Logitech USB Laser Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 8.684] (
) Option “config_info” “udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-9/1-9:1.0/0003:046D:C061.0003/input/input9/event6”
[ 8.684] (II) XINPUT: Adding extended input device “Logitech USB Laser Mouse” (type: MOUSE, id 12)
[ 8.684] (II) evdev: Logitech USB Laser Mouse: initialized for relative axes.
[ 8.684] () Logitech USB Laser Mouse: (accel) keeping acceleration scheme 1
[ 8.684] (
) Logitech USB Laser Mouse: (accel) acceleration profile 0
[ 8.684] () Logitech USB Laser Mouse: (accel) acceleration factor: 2.000
[ 8.684] (
) Logitech USB Laser Mouse: (accel) acceleration threshold: 4
[ 8.684] (II) config/udev: Adding input device Logitech USB Laser Mouse (/dev/input/mouse0)
[ 8.684] (II) No input driver specified, ignoring this device.
[ 8.684] (II) This device may have been added with another device file.
[ 8.685] (II) config/udev: Adding input device HDA Intel PCH Front Mic (/dev/input/event7)
[ 8.685] (II) No input driver specified, ignoring this device.
[ 8.685] (II) This device may have been added with another device file.
[ 8.685] (II) config/udev: Adding input device HDA Intel PCH Rear Mic (/dev/input/event8)
[ 8.685] (II) No input driver specified, ignoring this device.
[ 8.685] (II) This device may have been added with another device file.
[ 8.685] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event9)
[ 8.685] (II) No input driver specified, ignoring this device.
[ 8.685] (II) This device may have been added with another device file.
[ 8.685] (II) config/udev: Adding input device HDA Intel PCH Line Out Front (/dev/input/event10)
[ 8.685] (II) No input driver specified, ignoring this device.
[ 8.685] (II) This device may have been added with another device file.
[ 8.685] (II) config/udev: Adding input device HDA Intel PCH Line Out Surround (/dev/input/event11)
[ 8.685] (II) No input driver specified, ignoring this device.
[ 8.685] (II) This device may have been added with another device file.
[ 8.685] (II) config/udev: Adding input device HDA Intel PCH Line Out CLFE (/dev/input/event12)
[ 8.685] (II) No input driver specified, ignoring this device.
[ 8.685] (II) This device may have been added with another device file.
[ 8.686] (II) config/udev: Adding input device HDA Intel PCH Line Out Side (/dev/input/event13)
[ 8.686] (II) No input driver specified, ignoring this device.
[ 8.686] (II) This device may have been added with another device file.
[ 8.686] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event14)
[ 8.686] (II) No input driver specified, ignoring this device.
[ 8.686] (II) This device may have been added with another device file.
[ 8.686] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event15)
[ 8.686] (II) No input driver specified, ignoring this device.
[ 8.686] (II) This device may have been added with another device file.
[ 8.686] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event16)
[ 8.686] (II) No input driver specified, ignoring this device.
[ 8.686] (II) This device may have been added with another device file.
[ 8.686] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event17)
[ 8.686] (II) No input driver specified, ignoring this device.
[ 8.686] (II) This device may have been added with another device file.

Does this not indicate that the kernel module was not loaded? Does

lsmod | grep nvidia

return anything?

Hi Thanks for the reply. This is the really weird thing:

lsmod | grep nvidia

returns

nvidia_drm 53248 0
nvidia_modeset 790528 1 nvidia_drm
nvidia 12144640 1 nvidia_modeset
drm_kms_helper 155648 2 i915_bpo,nvidia_drm
drm 364544 6 i915_bpo,drm_kms_helper,nvidia_drm

and

lsmod | grep nouveau

returns nothing.

PS I also see

lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GP106 [GeForce GTX 1060 6GB] (rev a1)

What about xorg.conf?

… and some additional information (do I need to worry about the last?):

lshw -numeric -C display

WARNING: you should run this program as super-user.
*-display
description: VGA compatible controller
product: GP106 [GeForce GTX 1060 6GB] [10DE:1C03]
vendor: NVIDIA Corporation [10DE]
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=nvidia latency=0
resources: irq:16 memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:df000000-df07ffff
*-display
description: VGA compatible controller
product: HD Graphics 530 [8086:1912]
vendor: Intel Corporation [8086]
physical id: 2
bus info: pci@0000:00:02.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=i915_bpo latency=0
resources: irq:129 memory:dd000000-ddffffff memory:b0000000-bfffffff ioport:f000(size=64)
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.

sudo dmidecode -t baseboard | grep -i ‘Product’

Product Name: Z170-HD3P-CF

inxi -M

Machine: System: Gigabyte product: N/A
Mobo: Gigabyte model: Z170-HD3P-CF v: x.x
Bios: American Megatrends v: F5 date: 03/07/2016

glxinfo | grep OpenGL

Xlib: extension “GLX” missing on display “:0.0”.
Xlib: extension “GLX” missing on display “:0.0”.
Xlib: extension “GLX” missing on display “:0.0”.
Xlib: extension “GLX” missing on display “:0.0”.
Xlib: extension “GLX” missing on display “:0.0”.
Xlib: extension “GLX” missing on display “:0.0”.
Xlib: extension “GLX” missing on display “:0.0”.
Error: couldn’t find RGB GLX visual or fbconfig
Xlib: extension “GLX” missing on display “:0.0”.
Xlib: extension “GLX” missing on display “:0.0”.
Xlib: extension “GLX” missing on display “:0.0”.
Xlib: extension “GLX” missing on display “:0.0”.
Xlib: extension “GLX” missing on display “:0.0”.
Xlib: extension “GLX” missing on display “:0.0”.
Xlib: extension “GLX” missing on display “:0.0”.
Xlib: extension “GLX” missing on display “:0.0”.
Xlib: extension “GLX” missing on display “:0.0”.
Xlib: extension “GLX” missing on display “:0.0”.

Here is xorg.conf

nvidia-xconfig: X configuration file generated by nvidia-xconfig

nvidia-xconfig: version 375.39 (buildmeister@swio-display-x86-rhel47-09) Tue Jan 31 20:47:44 PST 2017

Section “ServerLayout”
Identifier “Layout0”
Screen 0 “Screen0” 0 0
InputDevice “Keyboard0” “CoreKeyboard”
InputDevice “Mouse0” “CorePointer”
EndSection

Section “Files”
EndSection

Section “Module”
Load “extmod”
Load “dbe”
Load “type1”
Load “freetype”
Load “glx”
EndSection

Section “InputDevice”

# generated from default
Identifier     "Mouse0"
Driver         "mouse"
Option         "Protocol" "auto"
Option         "Device" "/dev/psaux"
Option         "Emulate3Buttons" "no"
Option         "ZAxisMapping" "4 5"

EndSection

Section “InputDevice”

# generated from default
Identifier     "Keyboard0"
Driver         "kbd"

EndSection

Section “Monitor”
Identifier “Monitor0”
VendorName “Unknown”
ModelName “Unknown”
HorizSync 28.0 - 33.0
VertRefresh 43.0 - 72.0
Option “DPMS”
EndSection

Section “Device”
Identifier “Device0”
Driver “nvidia”
VendorName “NVIDIA Corporation”
EndSection

Section “Screen”
Identifier “Screen0”
Device “Device0”
Monitor “Monitor0”
DefaultDepth 24
SubSection “Display”
Depth 24
EndSubSection
EndSection

I don’t understand how the nouveau driver gets involved. Could it perhaps be that the kernel module and the X module are out of sync? The Xorg.0.log does contain

[ 8.590] (EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not found)

Hattne, many thanks for your interest and time in looking at this issue, I have now solved it by replacing the graphics card. It appears to have been faulty.