Lenovo t470p - GeForce 940MX - Linux 4.15.2 - Xorg 1.19.5 - NV Drv 390.25 - Nvidia Optimus not Working

Following instructions provided in http://us.download.nvidia.com/XFree86/Linux-x86_64/390.25/README/optimus.html , http://us.download.nvidia.com/XFree86/Linux-x86_64/390.25/README/randr14.html and http://us.download.nvidia.com/XFree86/Linux-x86_64/390.25/README/kms.html I am unable to successfully start a X-Server with NVIDIA Optimus enabled - all I get is a black screen.

I collected data as described here: https://devtalk.nvidia.com/default/topic/522835/linux/if-you-have-a-problem-please-read-this-first/ by the NVIDIA team. I Hope I can attach them here eventually.

What am I doing wrong?

Main Components:

  • Lenovo T470p
  • Nvidia GM108M (GeForce 940MX)
  • Linux 4.15.2
  • Xorg Server 1.19.5
  • Nvidia Drivers 390.25

xorg.conf:

Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "us"
        Option "XkbModel" "thinkpad"
        Option "XkbVariant" "altgr-intl"
EndSection

Section "Files"
	ModulePath "/usr/lib64/opengl/nvidia"
	ModulePath "/usr/lib64/xorg/modules"
EndSection

Section "ServerLayout"
      Identifier	"layout"
      Screen	0	"nvidia"
      Inactive		"intel"
EndSection

Section "Device"
      Identifier	"nvidia"
      Driver		"nvidia"
      BusID		"PCI:2:0:0"
EndSection

Section "Screen"
      Identifier	"nvidia"
      Device		"nvidia"

      Option		"AllowEmptyInitialConfiguration"
EndSection

Section "Device"
      Identifier	"intel"
      Driver		"modesetting"
EndSection

Section "Screen"
      Identifier	"intel"
      Device		"intel"
EndSection

Xorg.6.log

[  2993.820] 
X.Org X Server 1.19.5
Release Date: 2017-10-12
[  2993.820] X Protocol Version 11, Revision 0
[  2993.820] Build Operating System: Linux 4.15.1-gentoo x86_64 Gentoo
[  2993.820] Current Operating System: Linux ymir 4.15.2-gentoo #1 SMP Fri Feb 9 15:11:01 CET 2018 x86_64
[  2993.820] Kernel command line: BOOT_IMAGE=/vmlinuz-4.15.2-gentoo root=/dev/nvme0n1p4 ro console=tty1 video=1920x1080
[  2993.820] Build Date: 09 February 2018  03:23:48PM
[  2993.820]  
[  2993.820] Current version of pixman: 0.34.0
[  2993.820] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  2993.820] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  2993.820] (==) Log file: "/var/log/Xorg.6.log", Time: Fri Feb  9 16:55:40 2018
[  2993.820] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  2993.820] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  2993.820] (==) ServerLayout "layout"
[  2993.820] (**) |-->Screen "nvidia" (0)
[  2993.820] (**) |   |-->Monitor "<default monitor>"
[  2993.820] (**) |   |-->Device "nvidia"
[  2993.820] (**) |   |-->GPUDevice "intel"
[  2993.820] (==) No monitor specified for screen "nvidia".
	Using a default monitor configuration.
[  2993.820] (**) |-->Inactive Device "intel"
[  2993.820] (==) Automatically adding devices
[  2993.820] (==) Automatically enabling devices
[  2993.820] (==) Automatically adding GPU devices
[  2993.820] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  2993.820] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/,
	/usr/share/fonts/100dpi/,
	/usr/share/fonts/75dpi/
[  2993.820] (**) ModulePath set to "/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules"
[  2993.820] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  2993.820] (II) Loader magic: 0x55ef070f5d00
[  2993.820] (II) Module ABI versions:
[  2993.820] 	X.Org ANSI C Emulation: 0.4
[  2993.820] 	X.Org Video Driver: 23.0
[  2993.821] 	X.Org XInput driver : 24.1
[  2993.821] 	X.Org Server Extension : 10.0
[  2993.821] (--) using VT number 7

[  2993.821] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[  2993.822] (II) xfree86: Adding drm device (/dev/dri/card1)
[  2993.822] (II) xfree86: Adding drm device (/dev/dri/card0)
[  2993.841] (--) PCI:*(0:0:2:0) 8086:591b:17aa:505e rev 4, Mem @ 0xf2000000/16777216, 0xc0000000/536870912, I/O @ 0x0000e000/64, BIOS @ 0x????????/131072
[  2993.841] (--) PCI: (0:2:0:0) 10de:134d:17aa:505e rev 162, Mem @ 0xf3000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000d000/128
[  2993.841] (II) LoadModule: "glx"
[  2993.841] (II) Loading /usr/lib64/opengl/nvidia/extensions/libglx.so
[  2993.843] (II) Module glx: vendor="NVIDIA Corporation"
[  2993.843] 	compiled for 4.0.2, module version = 1.0.0
[  2993.843] 	Module class: X.Org Server Extension
[  2993.843] (II) NVIDIA GLX Module  390.25  Wed Jan 24 19:23:51 PST 2018
[  2993.843] (II) LoadModule: "nvidia"
[  2993.843] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[  2993.843] (II) Module nvidia: vendor="NVIDIA Corporation"
[  2993.843] 	compiled for 4.0.2, module version = 1.0.0
[  2993.843] 	Module class: X.Org Video Driver
[  2993.843] (II) LoadModule: "modesetting"
[  2993.844] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[  2993.844] (II) Module modesetting: vendor="X.Org Foundation"
[  2993.844] 	compiled for 1.19.5, module version = 1.19.5
[  2993.844] 	Module class: X.Org Video Driver
[  2993.844] 	ABI class: X.Org Video Driver, version 23.0
[  2993.844] (II) NVIDIA dlloader X Driver  390.25  Wed Jan 24 18:57:05 PST 2018
[  2993.844] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  2993.844] (II) NVIDIA X compatibility module for ABI 23.0 built from xorg-server-1.18.99.902
[  2993.844] (II) X log verbosity: 6
[  2993.844] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  2993.844] (II) Loading sub module "fb"
[  2993.844] (II) LoadModule: "fb"
[  2993.844] (II) Loading /usr/lib64/xorg/modules/libfb.so
[  2993.844] (II) Module fb: vendor="X.Org Foundation"
[  2993.844] 	compiled for 1.19.5, module version = 1.0.0
[  2993.844] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  2993.844] (II) Loading sub module "wfb"
[  2993.844] (II) LoadModule: "wfb"
[  2993.844] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[  2993.844] (II) Module wfb: vendor="X.Org Foundation"
[  2993.844] 	compiled for 1.19.5, module version = 1.0.0
[  2993.844] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  2993.844] (II) Loading sub module "ramdac"
[  2993.844] (II) LoadModule: "ramdac"
[  2993.844] (II) Module "ramdac" already built-in
[  2993.858] (II) modeset(G0): using drv /dev/dri/card0
[  2993.859] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"nvidia" for depth/fbbpp 24/32
[  2993.859] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[  2993.859] (==) NVIDIA(0): RGB weight 888
[  2993.859] (==) NVIDIA(0): Default visual is TrueColor
[  2993.859] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[  2993.859] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[  2993.859] (==) NVIDIA(0): Using HW cursor
[  2993.859] (**) NVIDIA(0): Enabling 2D acceleration
[  2994.014] (II) NVIDIA(0): NVIDIA GPU GeForce 940MX (GM108-A) at PCI:2:0:0 (GPU-0)
[  2994.014] (II) NVIDIA(0): GPU UUID: GPU-72de14d3-53fd-3c5d-139d-7205c4e26af7
[  2994.014] (--) NVIDIA(0): Memory: 2097152 kBytes
[  2994.014] (II) NVIDIA(0): Board ID: 0xe846
[  2994.014] (II) NVIDIA(0): Chip SKU: 670
[  2994.014] (II) NVIDIA(0): Chip SKU Mod: 2
[  2994.014] (II) NVIDIA(0): Project: 2702
[  2994.014] (II) NVIDIA(0): Project SKU: 0000
[  2994.014] (II) NVIDIA(0): GPU RAM Type: GDDR5
[  2994.014] (--) NVIDIA(0): VideoBIOS: 82.08.6c.00.10
[  2994.014] (--) NVIDIA(0): Found 0 head on board
[  2994.014] (II) NVIDIA(0): Supported display device(s): 
[  2994.014] (II) NVIDIA(0): Bus detected as PCI Express
[  2994.014] (II) NVIDIA(0): Detected PCI Express Link width: 4X
[  2994.014] (II) NVIDIA(0): SPS  : 1
[  2994.014] (II) NVIDIA(0): User configuration of GPU PowerMizer is supported
[  2994.014] (II) NVIDIA(0): 
[  2994.014] (II) NVIDIA(0): NoScanout X screen configured with resolution 640x480
[  2994.014] (II) NVIDIA(0):     (default)
[  2994.014] (II) NVIDIA(0): Validated MetaModes:
[  2994.014] (II) NVIDIA(0): MetaMode "NULL":
[  2994.014] (II) NVIDIA(0):     Size: 640 x 480
[  2994.014] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[  2994.014] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[  2994.014] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[  2994.014] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[  2994.014] (==) modeset(G0): RGB weight 888
[  2994.014] (==) modeset(G0): Default visual is TrueColor
[  2994.014] (II) modeset(G0): No glamor support in the X Server
[  2994.014] (II) modeset(G0): ShadowFB: preferred YES, enabled YES
[  2994.014] (II) modeset(G0): Double-buffered shadow updates: off
[  2994.016] (II) modeset(G0): Output eDP-1-1 has no monitor section
[  2994.016] (II) modeset(G0): Output DP-1-1 has no monitor section
[  2994.024] (II) modeset(G0): Output HDMI-1-1 has no monitor section
[  2994.024] (II) modeset(G0): Output DP-1-2 has no monitor section
[  2994.032] (II) modeset(G0): Output HDMI-1-2 has no monitor section
[  2994.032] (II) modeset(G0): Output DP-1-3 has no monitor section
[  2994.042] (II) modeset(G0): Output HDMI-1-3 has no monitor section
[  2994.042] (II) modeset(G0): Up to 7 crtcs needed for screen.
[  2994.042] (II) modeset(G0): Allocated crtc nr. 0 to this screen.
[  2994.042] (II) modeset(G0): Allocated crtc nr. 1 to this screen.
[  2994.042] (II) modeset(G0): Allocated crtc nr. 2 to this screen.
[  2994.043] (II) modeset(G0): EDID for output eDP-1-1
[  2994.043] (II) modeset(G0): Manufacturer: AUO  Model: 243d  Serial#: 0
[  2994.043] (II) modeset(G0): Year: 2016  Week: 0
[  2994.043] (II) modeset(G0): EDID Version: 1.4
[  2994.043] (II) modeset(G0): Digital Display Input
[  2994.043] (II) modeset(G0): 6 bits per channel
[  2994.043] (II) modeset(G0): Digital interface is DisplayPort
[  2994.043] (II) modeset(G0): Max Image Size [cm]: horiz.: 31  vert.: 17
[  2994.043] (II) modeset(G0): Gamma: 2.20
[  2994.043] (II) modeset(G0): No DPMS capabilities specified
[  2994.043] (II) modeset(G0): Supported color encodings: RGB 4:4:4 
[  2994.043] (II) modeset(G0): First detailed timing is preferred mode
[  2994.043] (II) modeset(G0): Preferred mode is native pixel format and refresh rate
[  2994.043] (II) modeset(G0): redX: 0.568 redY: 0.342   greenX: 0.344 greenY: 0.580
[  2994.043] (II) modeset(G0): blueX: 0.158 blueY: 0.112   whiteX: 0.313 whiteY: 0.329
[  2994.043] (II) modeset(G0): Manufacturer's mask: 0
[  2994.043] (II) modeset(G0): Supported detailed timing:
[  2994.043] (II) modeset(G0): clock: 149.8 MHz   Image Size:  309 x 173 mm
[  2994.043] (II) modeset(G0): h_active: 1920  h_sync: 1968  h_sync_end 2068 h_blank_end 2228 h_border: 0
[  2994.043] (II) modeset(G0): v_active: 1080  v_sync: 1083  v_sync_end 1084 v_blanking: 1120 v_border: 0
[  2994.043] (II) modeset(G0): Supported detailed timing:
[  2994.043] (II) modeset(G0): clock: 119.8 MHz   Image Size:  309 x 173 mm
[  2994.043] (II) modeset(G0): h_active: 1920  h_sync: 1968  h_sync_end 2068 h_blank_end 2228 h_border: 0
[  2994.043] (II) modeset(G0): v_active: 1080  v_sync: 1083  v_sync_end 1084 v_blanking: 1120 v_border: 0
[  2994.043] (II) modeset(G0):  AUO
[  2994.043] (II) modeset(G0):  B140HAN02.4
[  2994.043] (II) modeset(G0): EDID (in hex):
[  2994.043] (II) modeset(G0): 	00ffffffffffff0006af3d2400000000
[  2994.043] (II) modeset(G0): 	001a0104951f117802a2b59157589428
[  2994.043] (II) modeset(G0): 	1c505400000001010101010101010101
[  2994.043] (II) modeset(G0): 	010101010101843a8034713828403064
[  2994.043] (II) modeset(G0): 	310035ad10000018d02e803471382840
[  2994.043] (II) modeset(G0): 	3064310035ad10000018000000fe0041
[  2994.043] (II) modeset(G0): 	554f0a202020202020202020000000fe
[  2994.044] (II) modeset(G0): 	004231343048414e30322e34200a00e4
[  2994.044] (II) modeset(G0): Printing probed modes for output eDP-1-1
[  2994.044] (II) modeset(G0): Modeline "1920x1080"x60.0  149.80  1920 1968 2068 2228  1080 1083 1084 1120 -hsync -vsync (67.2 kHz eP)
[  2994.044] (II) modeset(G0): Modeline "1920x1080"x48.0  119.84  1920 1968 2068 2228  1080 1083 1084 1120 -hsync -vsync (53.8 kHz e)
[  2994.044] (II) modeset(G0): Modeline "1400x1050"x60.0  122.00  1400 1488 1640 1880  1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
[  2994.044] (II) modeset(G0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[  2994.044] (II) modeset(G0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz d)
[  2994.044] (II) modeset(G0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[  2994.044] (II) modeset(G0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[  2994.044] (II) modeset(G0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[  2994.044] (II) modeset(G0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[  2994.044] (II) modeset(G0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[  2994.044] (II) modeset(G0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[  2994.044] (II) modeset(G0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[  2994.044] (II) modeset(G0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[  2994.044] (II) modeset(G0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[  2994.044] (II) modeset(G0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[  2994.044] (II) modeset(G0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[  2994.044] (II) modeset(G0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[  2994.044] (II) modeset(G0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[  2994.044] (II) modeset(G0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[  2994.044] (II) modeset(G0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[  2994.044] (II) modeset(G0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[  2994.044] (II) modeset(G0): EDID for output DP-1-1
[  2994.053] (II) modeset(G0): EDID for output HDMI-1-1
[  2994.053] (II) modeset(G0): EDID for output DP-1-2
[  2994.062] (II) modeset(G0): EDID for output HDMI-1-2
[  2994.062] (II) modeset(G0): EDID for output DP-1-3
[  2994.072] (II) modeset(G0): EDID for output HDMI-1-3
[  2994.072] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[  2994.072] (==) modeset(G0): DPI set to (96, 96)
[  2994.072] (II) Loading sub module "fb"
[  2994.072] (II) LoadModule: "fb"
[  2994.072] (II) Loading /usr/lib64/xorg/modules/libfb.so
[  2994.072] (II) Module fb: vendor="X.Org Foundation"
[  2994.072] 	compiled for 1.19.5, module version = 1.0.0
[  2994.072] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  2994.072] (II) Loading sub module "shadow"
[  2994.072] (II) LoadModule: "shadow"
[  2994.072] (II) Loading /usr/lib64/xorg/modules/libshadow.so
[  2994.073] (II) Module shadow: vendor="X.Org Foundation"
[  2994.073] 	compiled for 1.19.5, module version = 1.1.0
[  2994.073] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  2994.073] (--) Depth 24 pixmap format is 32 bpp
[  2994.073] (==) modeset(G0): Backing store enabled
[  2994.073] (==) modeset(G0): Silken mouse enabled
[  2994.073] (II) modeset(G0): RandR 1.2 enabled, ignore the following RandR disabled message.
[  2994.151] (==) modeset(G0): DPMS enabled
[  2994.151] (WW) modeset(G0): Option "AllowEmptyInitialConfiguration" is not used
[  2994.152] (II) NVIDIA: Using 6144.00 MB of virtual memory for indirect memory
[  2994.152] (II) NVIDIA:     access.
[  2994.157] (II) NVIDIA(0): kernel module enabled successfully
[  2994.157] (II) NVIDIA(0): GPU initialized
[  2994.158] (II) NVIDIA(0): ACPI: AC state file path: /sys/class/power_supply/AC/online
[  2994.158] (II) NVIDIA(0): ACPI: the system is running on AC power
[  2994.159] (WW) NVIDIA(0): ACPI: failed to determine the system's docking state: Unable
[  2994.159] (WW) NVIDIA(0):     to find /sys/devices/platform/dock.*/docked file. Kernel
[  2994.159] (WW) NVIDIA(0):     version may be less than 2.6.20 or dock.ko driver may not
[  2994.159] (WW) NVIDIA(0):     be present
[  2994.162] (==) NVIDIA(0): Using 8388608 bytes for software rendering cache
[  2994.193] (II) NVIDIA(0): Setting mode "NULL"
[  2994.193] (II) NVIDIA(0): First mode initialized
[  2994.198] (II) NVIDIA(0): Initialized OpenGL Acceleration
[  2994.198] (II) NVIDIA(0): Visuals set up
[  2994.198] (II) NVIDIA(0): Pixmap depths set up
[  2994.198] (II) NVIDIA(0): GLX visuals set up
[  2994.199] (II) NVIDIA(0): Framebuffer set up
[  2994.199] (==) NVIDIA(0): Disabling shared memory pixmaps
[  2994.199] (II) NVIDIA(0): Initialized X Rendering Acceleration
[  2994.199] (==) NVIDIA(0): Backing store enabled
[  2994.199] (==) NVIDIA(0): Silken mouse enabled
[  2994.199] (II) NVIDIA(0): Default colormap initialized.
[  2994.199] (II) NVIDIA(0): Palette loaded
[  2994.199] (==) NVIDIA(0): DPMS enabled
[  2994.199] (II) Loading sub module "dri2"
[  2994.199] (II) LoadModule: "dri2"
[  2994.199] (II) Module "dri2" already built-in
[  2994.199] (II) NVIDIA(0): [DRI2] Setup complete
[  2994.199] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[  2994.199] (II) NVIDIA(0): Screen initialization complete
[  2994.199] (--) RandR disabled
[  2994.201] (II) Initializing extension GLX
[  2994.202] (II) Indirect GLX disabled.
[  2994.537] (II) modeset(G0): Damage tracking initialized
[  2994.582] (II) XKB: Reusing cached keymap
[  2994.588] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[  2994.588] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[  2994.588] (**) Power Button: Applying InputClass "joystick-all"
[  2994.588] (**) Power Button: Applying InputClass "system-keyboard"
[  2994.588] (II) LoadModule: "evdev"
[  2994.589] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[  2994.589] (II) Module evdev: vendor="X.Org Foundation"
[  2994.589] 	compiled for 1.19.5, module version = 2.10.5
[  2994.589] 	Module class: X.Org XInput Driver
[  2994.589] 	ABI class: X.Org XInput driver, version 24.1
[  2994.589] (II) Using input driver 'evdev' for 'Power Button'
[  2994.589] 	Option "_source" "server/udev"
[  2994.589] 	Option "name" "Power Button"
[  2994.589] 	Option "path" "/dev/input/event2"
[  2994.589] 	Option "device" "/dev/input/event2"
[  2994.589] 	Option "major" "13"
[  2994.589] 	Option "minor" "66"
[  2994.589] 	Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[  2994.589] 	Option "driver" "evdev"
[  2994.589] 	Option "MapButton1" "button=1"
[  2994.589] 	Option "MapButton2" "button=2"
[  2994.589] 	Option "MapButton3" "button=3"
[  2994.589] 	Option "MapAxis1" "mode=relative axis=+1x deadzone=5000"
[  2994.589] 	Option "MapAxis2" "mode=relative axis=+1y deadzone=5000"
[  2994.589] 	Option "MapAxis3" "mode=relative axis=+1zx deadzone=5000"
[  2994.589] 	Option "MapAxis4" "mode=relative axis=+1zy deadzone=5000"
[  2994.589] 	Option "MapAxis5" "mode=accelerated axis=+1x deadzone=5000"
[  2994.589] 	Option "MapAxis6" "mode=accelerated axis=+1y deadzone=5000"
[  2994.589] 	Option "XkbLayout" "us"
[  2994.589] 	Option "XkbModel" "thinkpad"
[  2994.589] 	Option "XkbVariant" "altgr-intl"
[  2994.589] (**) Power Button: always reports core events
[  2994.589] (**) evdev: Power Button: Device: "/dev/input/event2"
[  2994.589] (--) evdev: Power Button: Vendor 0 Product 0x1
[  2994.589] (--) evdev: Power Button: Found keys
[  2994.589] (II) evdev: Power Button: Configuring as keyboard
[  2994.589] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[  2994.589] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[  2994.589] (**) Option "xkb_rules" "evdev"
[  2994.589] (**) Option "xkb_model" "thinkpad"
[  2994.589] (**) Option "xkb_layout" "us"
[  2994.589] (**) Option "xkb_variant" "altgr-intl"
[  2994.600] (II) config/udev: Adding input device Video Bus (/dev/input/event7)
[  2994.600] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[  2994.600] (**) Video Bus: Applying InputClass "joystick-all"
[  2994.600] (**) Video Bus: Applying InputClass "system-keyboard"
[  2994.600] (II) Using input driver 'evdev' for 'Video Bus'
[  2994.600] 	Option "_source" "server/udev"
[  2994.600] 	Option "name" "Video Bus"
[  2994.600] 	Option "path" "/dev/input/event7"
[  2994.600] 	Option "device" "/dev/input/event7"
[  2994.600] 	Option "major" "13"
[  2994.600] 	Option "minor" "71"
[  2994.600] 	Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input9/event7"
[  2994.600] 	Option "driver" "evdev"
[  2994.600] 	Option "MapButton1" "button=1"
[  2994.600] 	Option "MapButton2" "button=2"
[  2994.600] 	Option "MapButton3" "button=3"
[  2994.600] 	Option "MapAxis1" "mode=relative axis=+1x deadzone=5000"
[  2994.600] 	Option "MapAxis2" "mode=relative axis=+1y deadzone=5000"
[  2994.600] 	Option "MapAxis3" "mode=relative axis=+1zx deadzone=5000"
[  2994.600] 	Option "MapAxis4" "mode=relative axis=+1zy deadzone=5000"
[  2994.600] 	Option "MapAxis5" "mode=accelerated axis=+1x deadzone=5000"
[  2994.600] 	Option "MapAxis6" "mode=accelerated axis=+1y deadzone=5000"
[  2994.600] 	Option "XkbLayout" "us"
[  2994.600] 	Option "XkbModel" "thinkpad"
[  2994.600] 	Option "XkbVariant" "altgr-intl"
[  2994.600] (**) Video Bus: always reports core events
[  2994.600] (**) evdev: Video Bus: Device: "/dev/input/event7"
[  2994.600] (--) evdev: Video Bus: Vendor 0 Product 0x6
[  2994.600] (--) evdev: Video Bus: Found keys
[  2994.600] (II) evdev: Video Bus: Configuring as keyboard
[  2994.600] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input9/event7"
[  2994.600] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[  2994.600] (**) Option "xkb_rules" "evdev"
[  2994.600] (**) Option "xkb_model" "thinkpad"
[  2994.600] (**) Option "xkb_layout" "us"
[  2994.600] (**) Option "xkb_variant" "altgr-intl"
[  2994.600] (II) XKB: Reusing cached keymap
[  2994.600] (II) config/udev: Adding input device Video Bus (/dev/input/event6)
[  2994.600] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[  2994.600] (**) Video Bus: Applying InputClass "joystick-all"
[  2994.600] (**) Video Bus: Applying InputClass "system-keyboard"
[  2994.600] (II) Using input driver 'evdev' for 'Video Bus'
[  2994.600] 	Option "_source" "server/udev"
[  2994.600] 	Option "name" "Video Bus"
[  2994.600] 	Option "path" "/dev/input/event6"
[  2994.600] 	Option "device" "/dev/input/event6"
[  2994.600] 	Option "major" "13"
[  2994.600] 	Option "minor" "70"
[  2994.600] 	Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:04/LNXVIDEO:00/input/input8/event6"
[  2994.600] 	Option "driver" "evdev"
[  2994.600] 	Option "MapButton1" "button=1"
[  2994.600] 	Option "MapButton2" "button=2"
[  2994.600] 	Option "MapButton3" "button=3"
[  2994.600] 	Option "MapAxis1" "mode=relative axis=+1x deadzone=5000"
[  2994.600] 	Option "MapAxis2" "mode=relative axis=+1y deadzone=5000"
[  2994.600] 	Option "MapAxis3" "mode=relative axis=+1zx deadzone=5000"
[  2994.600] 	Option "MapAxis4" "mode=relative axis=+1zy deadzone=5000"
[  2994.600] 	Option "MapAxis5" "mode=accelerated axis=+1x deadzone=5000"
[  2994.600] 	Option "MapAxis6" "mode=accelerated axis=+1y deadzone=5000"
[  2994.600] 	Option "XkbLayout" "us"
[  2994.600] 	Option "XkbModel" "thinkpad"
[  2994.600] 	Option "XkbVariant" "altgr-intl"
[  2994.600] (**) Video Bus: always reports core events
[  2994.600] (**) evdev: Video Bus: Device: "/dev/input/event6"
[  2994.600] (--) evdev: Video Bus: Vendor 0 Product 0x6
[  2994.600] (--) evdev: Video Bus: Found keys
[  2994.600] (II) evdev: Video Bus: Configuring as keyboard
[  2994.600] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:04/LNXVIDEO:00/input/input8/event6"
[  2994.600] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[  2994.600] (**) Option "xkb_rules" "evdev"
[  2994.600] (**) Option "xkb_model" "thinkpad"
[  2994.600] (**) Option "xkb_layout" "us"
[  2994.600] (**) Option "xkb_variant" "altgr-intl"
[  2994.600] (II) XKB: Reusing cached keymap
[  2994.601] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[  2994.601] (**) Lid Switch: Applying InputClass "joystick-all"
[  2994.601] (II) No input driver specified, ignoring this device.
[  2994.601] (II) This device may have been added with another device file.
[  2994.601] (II) config/udev: Adding input device Sleep Button (/dev/input/event0)
[  2994.601] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[  2994.601] (**) Sleep Button: Applying InputClass "joystick-all"
[  2994.601] (**) Sleep Button: Applying InputClass "system-keyboard"
[  2994.601] (II) Using input driver 'evdev' for 'Sleep Button'
[  2994.601] 	Option "_source" "server/udev"
[  2994.601] 	Option "name" "Sleep Button"
[  2994.601] 	Option "path" "/dev/input/event0"
[  2994.601] 	Option "device" "/dev/input/event0"
[  2994.601] 	Option "major" "13"
[  2994.601] 	Option "minor" "64"
[  2994.601] 	Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0/event0"
[  2994.601] 	Option "driver" "evdev"
[  2994.601] 	Option "MapButton1" "button=1"
[  2994.601] 	Option "MapButton2" "button=2"
[  2994.601] 	Option "MapButton3" "button=3"
[  2994.601] 	Option "MapAxis1" "mode=relative axis=+1x deadzone=5000"
[  2994.601] 	Option "MapAxis2" "mode=relative axis=+1y deadzone=5000"
[  2994.601] 	Option "MapAxis3" "mode=relative axis=+1zx deadzone=5000"
[  2994.601] 	Option "MapAxis4" "mode=relative axis=+1zy deadzone=5000"
[  2994.601] 	Option "MapAxis5" "mode=accelerated axis=+1x deadzone=5000"
[  2994.601] 	Option "MapAxis6" "mode=accelerated axis=+1y deadzone=5000"
[  2994.601] 	Option "XkbLayout" "us"
[  2994.601] 	Option "XkbModel" "thinkpad"
[  2994.601] 	Option "XkbVariant" "altgr-intl"
[  2994.601] (**) Sleep Button: always reports core events
[  2994.601] (**) evdev: Sleep Button: Device: "/dev/input/event0"
[  2994.601] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[  2994.601] (--) evdev: Sleep Button: Found keys
[  2994.601] (II) evdev: Sleep Button: Configuring as keyboard
[  2994.601] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0/event0"
[  2994.601] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[  2994.601] (**) Option "xkb_rules" "evdev"
[  2994.601] (**) Option "xkb_model" "thinkpad"
[  2994.601] (**) Option "xkb_layout" "us"
[  2994.601] (**) Option "xkb_variant" "altgr-intl"
[  2994.601] (II) XKB: Reusing cached keymap
[  2994.602] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event9)
[  2994.602] (**) HDA Digital PCBeep: Applying InputClass "joystick-all"
[  2994.602] (II) No input driver specified, ignoring this device.
[  2994.602] (II) This device may have been added with another device file.
[  2994.602] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event10)
[  2994.602] (**) HDA Intel PCH Mic: Applying InputClass "joystick-all"
[  2994.602] (II) No input driver specified, ignoring this device.
[  2994.602] (II) This device may have been added with another device file.
[  2994.602] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event11)
[  2994.602] (**) HDA Intel PCH Headphone: Applying InputClass "joystick-all"
[  2994.602] (II) No input driver specified, ignoring this device.
[  2994.602] (II) This device may have been added with another device file.
[  2994.602] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event12)
[  2994.602] (**) HDA Intel PCH HDMI/DP,pcm=3: Applying InputClass "joystick-all"
[  2994.602] (II) No input driver specified, ignoring this device.
[  2994.602] (II) This device may have been added with another device file.
[  2994.602] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event13)
[  2994.602] (**) HDA Intel PCH HDMI/DP,pcm=7: Applying InputClass "joystick-all"
[  2994.602] (II) No input driver specified, ignoring this device.
[  2994.602] (II) This device may have been added with another device file.
[  2994.603] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event14)
[  2994.603] (**) HDA Intel PCH HDMI/DP,pcm=8: Applying InputClass "joystick-all"
[  2994.603] (II) No input driver specified, ignoring this device.
[  2994.603] (II) This device may have been added with another device file.
[  2994.603] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event15)
[  2994.603] (**) HDA Intel PCH HDMI/DP,pcm=9: Applying InputClass "joystick-all"
[  2994.603] (II) No input driver specified, ignoring this device.
[  2994.603] (II) This device may have been added with another device file.
[  2994.603] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=10 (/dev/input/event16)
[  2994.603] (**) HDA Intel PCH HDMI/DP,pcm=10: Applying InputClass "joystick-all"
[  2994.603] (II) No input driver specified, ignoring this device.
[  2994.603] (II) This device may have been added with another device file.
[  2994.603] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[  2994.603] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[  2994.603] (**) AT Translated Set 2 keyboard: Applying InputClass "joystick-all"
[  2994.603] (**) AT Translated Set 2 keyboard: Applying InputClass "system-keyboard"
[  2994.603] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[  2994.603] 	Option "_source" "server/udev"
[  2994.603] 	Option "name" "AT Translated Set 2 keyboard"
[  2994.603] 	Option "path" "/dev/input/event4"
[  2994.603] 	Option "device" "/dev/input/event4"
[  2994.603] 	Option "major" "13"
[  2994.603] 	Option "minor" "68"
[  2994.603] 	Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event4"
[  2994.603] 	Option "driver" "evdev"
[  2994.603] 	Option "MapButton1" "button=1"
[  2994.603] 	Option "MapButton2" "button=2"
[  2994.603] 	Option "MapButton3" "button=3"
[  2994.603] 	Option "MapAxis1" "mode=relative axis=+1x deadzone=5000"
[  2994.603] 	Option "MapAxis2" "mode=relative axis=+1y deadzone=5000"
[  2994.603] 	Option "MapAxis3" "mode=relative axis=+1zx deadzone=5000"
[  2994.603] 	Option "MapAxis4" "mode=relative axis=+1zy deadzone=5000"
[  2994.603] 	Option "MapAxis5" "mode=accelerated axis=+1x deadzone=5000"
[  2994.603] 	Option "MapAxis6" "mode=accelerated axis=+1y deadzone=5000"
[  2994.603] 	Option "XkbLayout" "us"
[  2994.603] 	Option "XkbModel" "thinkpad"
[  2994.603] 	Option "XkbVariant" "altgr-intl"
[  2994.603] (**) AT Translated Set 2 keyboard: always reports core events
[  2994.603] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event4"
[  2994.603] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[  2994.603] (--) evdev: AT Translated Set 2 keyboard: Found keys
[  2994.603] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[  2994.603] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event4"
[  2994.603] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 10)
[  2994.603] (**) Option "xkb_rules" "evdev"
[  2994.603] (**) Option "xkb_model" "thinkpad"
[  2994.603] (**) Option "xkb_layout" "us"
[  2994.603] (**) Option "xkb_variant" "altgr-intl"
[  2994.603] (II) XKB: Reusing cached keymap
[  2994.604] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event8)
[  2994.604] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[  2994.604] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "joystick-all"
[  2994.604] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[  2994.604] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[  2994.604] (II) LoadModule: "synaptics"
[  2994.604] (II) Loading /usr/lib64/xorg/modules/input/synaptics_drv.so
[  2994.604] (II) Module synaptics: vendor="X.Org Foundation"
[  2994.604] 	compiled for 1.19.5, module version = 1.9.0
[  2994.604] 	Module class: X.Org XInput Driver
[  2994.604] 	ABI class: X.Org XInput driver, version 24.1
[  2994.604] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[  2994.604] 	Option "_source" "server/udev"
[  2994.604] 	Option "name" "SynPS/2 Synaptics TouchPad"
[  2994.604] 	Option "path" "/dev/input/event8"
[  2994.604] 	Option "device" "/dev/input/event8"
[  2994.604] 	Option "major" "13"
[  2994.604] 	Option "minor" "72"
[  2994.604] 	Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event8"
[  2994.604] 	Option "driver" "synaptics"
[  2994.604] 	Option "MapButton1" "button=1"
[  2994.604] 	Option "MapButton2" "button=2"
[  2994.604] 	Option "MapButton3" "button=3"
[  2994.604] 	Option "MapAxis1" "mode=relative axis=+1x deadzone=5000"
[  2994.604] 	Option "MapAxis2" "mode=relative axis=+1y deadzone=5000"
[  2994.604] 	Option "MapAxis3" "mode=relative axis=+1zx deadzone=5000"
[  2994.604] 	Option "MapAxis4" "mode=relative axis=+1zy deadzone=5000"
[  2994.604] 	Option "MapAxis5" "mode=accelerated axis=+1x deadzone=5000"
[  2994.604] 	Option "MapAxis6" "mode=accelerated axis=+1y deadzone=5000"
[  2994.604] 	Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[  2994.604] 	Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%"
[  2994.604] (**) SynPS/2 Synaptics TouchPad: always reports core events
[  2994.604] (**) Option "Device" "/dev/input/event8"
[  2994.621] (**) Option "Device" "/dev/input/event8"
[  2994.621] port opened successfully
[  2994.621] (II) synaptics: SynPS/2 Synaptics TouchPad: found clickpad property
[  2994.621] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1266 - 5676 (res 45)
[  2994.621] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1096 - 4758 (res 68)
[  2994.621] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[  2994.621] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[  2994.621] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left double triple
[  2994.621] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[  2994.621] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[  2994.621] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[  2994.621] (**) SynPS/2 Synaptics TouchPad: always reports core events
[  2994.637] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event8"
[  2994.637] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 11)
[  2994.637] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[  2994.637] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[  2994.637] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.035
[  2994.637] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[  2994.637] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[  2994.637] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[  2994.637] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[  2994.637] (**) Option "Device" "/dev/input/event8"
[  2994.637] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[  2994.637] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[  2994.637] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[  2994.638] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event17)
[  2994.638] (**) TPPS/2 IBM TrackPoint: Applying InputClass "evdev pointer catchall"
[  2994.638] (**) TPPS/2 IBM TrackPoint: Applying InputClass "joystick-all"
[  2994.638] (II) Using input driver 'evdev' for 'TPPS/2 IBM TrackPoint'
[  2994.638] 	Option "_source" "server/udev"
[  2994.638] 	Option "name" "TPPS/2 IBM TrackPoint"
[  2994.638] 	Option "path" "/dev/input/event17"
[  2994.638] 	Option "device" "/dev/input/event17"
[  2994.638] 	Option "major" "13"
[  2994.638] 	Option "minor" "81"
[  2994.638] 	Option "config_info" "udev:/sys/devices/platform/i8042/serio1/serio2/input/input10/event17"
[  2994.638] 	Option "driver" "evdev"
[  2994.638] 	Option "MapButton1" "button=1"
[  2994.638] 	Option "MapButton2" "button=2"
[  2994.638] 	Option "MapButton3" "button=3"
[  2994.638] 	Option "MapAxis1" "mode=relative axis=+1x deadzone=5000"
[  2994.638] 	Option "MapAxis2" "mode=relative axis=+1y deadzone=5000"
[  2994.638] 	Option "MapAxis3" "mode=relative axis=+1zx deadzone=5000"
[  2994.638] 	Option "MapAxis4" "mode=relative axis=+1zy deadzone=5000"
[  2994.638] 	Option "MapAxis5" "mode=accelerated axis=+1x deadzone=5000"
[  2994.638] 	Option "MapAxis6" "mode=accelerated axis=+1y deadzone=5000"
[  2994.638] (**) TPPS/2 IBM TrackPoint: always reports core events
[  2994.638] (**) evdev: TPPS/2 IBM TrackPoint: Device: "/dev/input/event17"
[  2994.638] (--) evdev: TPPS/2 IBM TrackPoint: Vendor 0x2 Product 0xa
[  2994.638] (--) evdev: TPPS/2 IBM TrackPoint: Found 3 mouse buttons
[  2994.638] (--) evdev: TPPS/2 IBM TrackPoint: Found relative axes
[  2994.638] (--) evdev: TPPS/2 IBM TrackPoint: Found x and y relative axes
[  2994.638] (II) evdev: TPPS/2 IBM TrackPoint: Configuring as mouse
[  2994.638] (**) evdev: TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
[  2994.638] (**) evdev: TPPS/2 IBM TrackPoint: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  2994.638] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/serio2/input/input10/event17"
[  2994.638] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 12)
[  2994.638] (II) evdev: TPPS/2 IBM TrackPoint: initialized for relative axes.
[  2994.638] (**) TPPS/2 IBM TrackPoint: (accel) keeping acceleration scheme 1
[  2994.638] (**) TPPS/2 IBM TrackPoint: (accel) acceleration profile 0
[  2994.638] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[  2994.638] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[  2994.638] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse1)
[  2994.638] (**) TPPS/2 IBM TrackPoint: Applying InputClass "joystick-all"
[  2994.638] (II) No input driver specified, ignoring this device.
[  2994.638] (II) This device may have been added with another device file.
[  2994.639] (II) config/udev: Adding input device PC Speaker (/dev/input/event3)
[  2994.639] (**) PC Speaker: Applying InputClass "joystick-all"
[  2994.639] (II) No input driver specified, ignoring this device.
[  2994.639] (II) This device may have been added with another device file.
[  2994.639] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event5)
[  2994.639] (**) ThinkPad Extra Buttons: Applying InputClass "evdev keyboard catchall"
[  2994.639] (**) ThinkPad Extra Buttons: Applying InputClass "joystick-all"
[  2994.639] (**) ThinkPad Extra Buttons: Applying InputClass "system-keyboard"
[  2994.639] (II) Using input driver 'evdev' for 'ThinkPad Extra Buttons'
[  2994.639] 	Option "_source" "server/udev"
[  2994.639] 	Option "name" "ThinkPad Extra Buttons"
[  2994.639] 	Option "path" "/dev/input/event5"
[  2994.639] 	Option "device" "/dev/input/event5"
[  2994.639] 	Option "major" "13"
[  2994.639] 	Option "minor" "69"
[  2994.639] 	Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input7/event5"
[  2994.639] 	Option "driver" "evdev"
[  2994.639] 	Option "MapButton1" "button=1"
[  2994.639] 	Option "MapButton2" "button=2"
[  2994.639] 	Option "MapButton3" "button=3"
[  2994.639] 	Option "MapAxis1" "mode=relative axis=+1x deadzone=5000"
[  2994.639] 	Option "MapAxis2" "mode=relative axis=+1y deadzone=5000"
[  2994.639] 	Option "MapAxis3" "mode=relative axis=+1zx deadzone=5000"
[  2994.639] 	Option "MapAxis4" "mode=relative axis=+1zy deadzone=5000"
[  2994.639] 	Option "MapAxis5" "mode=accelerated axis=+1x deadzone=5000"
[  2994.639] 	Option "MapAxis6" "mode=accelerated axis=+1y deadzone=5000"
[  2994.639] 	Option "XkbLayout" "us"
[  2994.639] 	Option "XkbModel" "thinkpad"
[  2994.639] 	Option "XkbVariant" "altgr-intl"
[  2994.639] (**) ThinkPad Extra Buttons: always reports core events
[  2994.639] (**) evdev: ThinkPad Extra Buttons: Device: "/dev/input/event5"
[  2994.639] (--) evdev: ThinkPad Extra Buttons: Vendor 0x17aa Product 0x5054
[  2994.639] (--) evdev: ThinkPad Extra Buttons: Found keys
[  2994.639] (II) evdev: ThinkPad Extra Buttons: Configuring as keyboard
[  2994.639] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input7/event5"
[  2994.639] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 13)
[  2994.639] (**) Option "xkb_rules" "evdev"
[  2994.639] (**) Option "xkb_model" "thinkpad"
[  2994.639] (**) Option "xkb_layout" "us"
[  2994.639] (**) Option "xkb_variant" "altgr-intl"
[  2994.639] (II) XKB: Reusing cached keymap
[  2994.651] (II) NVIDIA(0): XRRSetScreenSize(screen:0 size:1920x1080 sizeMM:652x366)
[  2994.651] (II) NVIDIA(0): NoScanout X screen configured with resolution 1920x1080 (from
[  2994.651] (II) NVIDIA(0):     the Resize and Rotate extension)
[  2994.655] (EE) modeset(G0): failed to set mode: No space left on device
[  2994.655] (II) NVIDIA(0): XRRSetScreenSize(screen:0 size:640x480 sizeMM:217x163)
[  2994.655] (II) NVIDIA(0): NoScanout X screen configured with resolution 640x480 (from
[  2994.655] (II) NVIDIA(0):     the Resize and Rotate extension)
[  3044.626] (II) NVIDIA(0): Setting mode "NULL"
[  3044.626] (II) NVIDIA(0): ACPI: AC state file path: /sys/class/power_supply/AC/online
[  3044.626] (II) NVIDIA(0): ACPI: the system is running on AC power
[  3044.627] (WW) NVIDIA(0): ACPI: failed to determine the system's docking state: Unable
[  3044.627] (WW) NVIDIA(0):     to find /sys/devices/platform/dock.*/docked file. Kernel
[  3044.627] (WW) NVIDIA(0):     version may be less than 2.6.20 or dock.ko driver may not
[  3044.627] (WW) NVIDIA(0):     be present
[  3045.845] (**) Option "Device" "/dev/input/event8"
[  3045.845] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[  3152.783] (II) NVIDIA(0): Setting mode "NULL"
[  3152.783] (II) NVIDIA(0): ACPI: AC state file path: /sys/class/power_supply/AC/online
[  3152.783] (II) NVIDIA(0): ACPI: the system is running on AC power
[  3152.784] (WW) NVIDIA(0): ACPI: failed to determine the system's docking state: Unable
[  3152.784] (WW) NVIDIA(0):     to find /sys/devices/platform/dock.*/docked file. Kernel
[  3152.784] (WW) NVIDIA(0):     version may be less than 2.6.20 or dock.ko driver may not
[  3152.784] (WW) NVIDIA(0):     be present
[  3154.003] (**) Option "Device" "/dev/input/event8"
[  3154.003] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found

Commands run during startup of X. I intentionally dumped It down to the bare minimum Xserver with only twm starting and the commands Nvidia wants to be run:

2018-02-09T16:55:41,380716080+01:00 X-Server Start (using /home/mageta/.xinitrc)
+ export LANG=en_US
+ LANG=en_US
+ export LC_ALL=en_US
+ LC_ALL=en_US
+ export LANGUAGE=en_US
+ LANGUAGE=en_US
+ export LC_CTYPE=en_US
+ LC_CTYPE=en_US
+ xrandr --setprovideroutputsource modesetting NVIDIA-0
+ xrandr --auto
xrandr: Configure crtc 0 failed
+ xrandr --verbose
Screen 0: minimum 8 x 8, current 640 x 480, maximum 16384 x 16384
eDP-1-1 connected (normal left inverted right x axis y axis)
	Identifier: 0x42
	Timestamp:  2994656
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	EDID: 
		00ffffffffffff0006af3d2400000000
		001a0104951f117802a2b59157589428
		1c505400000001010101010101010101
		010101010101843a8034713828403064
		310035ad10000018d02e803471382840
		3064310035ad10000018000000fe0041
		554f0a202020202020202020000000fe
		004231343048414e30322e34200a00e4
	PRIME Synchronization: 1 
		supported: 0, 1
	scaling mode: Full aspect 
		supported: Full, Center, Full aspect
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
  1920x1080 (0x4a) 149.800MHz -HSync -VSync +preferred
        h: width  1920 start 1968 end 2068 total 2228 skew    0 clock  67.24KHz
        v: height 1080 start 1083 end 1084 total 1120           clock  60.03Hz
  1920x1080 (0x4b) 119.840MHz -HSync -VSync
        h: width  1920 start 1968 end 2068 total 2228 skew    0 clock  53.79KHz
        v: height 1080 start 1083 end 1084 total 1120           clock  48.03Hz
  1400x1050 (0x4c) 122.000MHz +HSync +VSync
        h: width  1400 start 1488 end 1640 total 1880 skew    0 clock  64.89KHz
        v: height 1050 start 1052 end 1064 total 1082           clock  59.98Hz
  1280x1024 (0x4d) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1280x960 (0x4e) 108.000MHz +HSync +VSync
        h: width  1280 start 1376 end 1488 total 1800 skew    0 clock  60.00KHz
        v: height  960 start  961 end  964 total 1000           clock  60.00Hz
  1024x768 (0x4f) 133.475MHz -HSync +VSync DoubleScan
        h: width  1024 start 1100 end 1212 total 1400 skew    0 clock  95.34KHz
        v: height  768 start  768 end  770 total  794           clock  60.04Hz
  1024x768 (0x50) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  960x720 (0x51) 117.000MHz -HSync +VSync DoubleScan
        h: width   960 start 1024 end 1128 total 1300 skew    0 clock  90.00KHz
        v: height  720 start  720 end  722 total  750           clock  60.00Hz
  928x696 (0x52) 109.150MHz -HSync +VSync DoubleScan
        h: width   928 start  976 end 1088 total 1264 skew    0 clock  86.35KHz
        v: height  696 start  696 end  698 total  719           clock  60.05Hz
  896x672 (0x53) 102.400MHz -HSync +VSync DoubleScan
        h: width   896 start  960 end 1060 total 1224 skew    0 clock  83.66KHz
        v: height  672 start  672 end  674 total  697           clock  60.01Hz
  800x600 (0x54) 81.000MHz +HSync +VSync DoubleScan
        h: width   800 start  832 end  928 total 1080 skew    0 clock  75.00KHz
        v: height  600 start  600 end  602 total  625           clock  60.00Hz
  800x600 (0x55) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x56) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  700x525 (0x57) 61.000MHz +HSync +VSync DoubleScan
        h: width   700 start  744 end  820 total  940 skew    0 clock  64.89KHz
        v: height  525 start  526 end  532 total  541           clock  59.98Hz
  640x512 (0x58) 54.000MHz +HSync +VSync DoubleScan
        h: width   640 start  664 end  720 total  844 skew    0 clock  63.98KHz
        v: height  512 start  512 end  514 total  533           clock  60.02Hz
  640x480 (0x59) 54.000MHz +HSync +VSync DoubleScan
        h: width   640 start  688 end  744 total  900 skew    0 clock  60.00KHz
        v: height  480 start  480 end  482 total  500           clock  60.00Hz
  640x480 (0x5a) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz
  512x384 (0x5b) 32.500MHz -HSync -VSync DoubleScan
        h: width   512 start  524 end  592 total  672 skew    0 clock  48.36KHz
        v: height  384 start  385 end  388 total  403           clock  60.00Hz
  400x300 (0x5c) 20.000MHz +HSync +VSync DoubleScan
        h: width   400 start  420 end  484 total  528 skew    0 clock  37.88KHz
        v: height  300 start  300 end  302 total  314           clock  60.32Hz
  400x300 (0x5d) 18.000MHz +HSync +VSync DoubleScan
        h: width   400 start  412 end  448 total  512 skew    0 clock  35.16KHz
        v: height  300 start  300 end  301 total  312           clock  56.34Hz
  320x240 (0x5e) 12.587MHz -HSync -VSync DoubleScan
        h: width   320 start  328 end  376 total  400 skew    0 clock  31.47KHz
        v: height  240 start  245 end  246 total  262           clock  60.05Hz
DP-1-1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x43
	Timestamp:  2994656
	Subpixel:   unknown
	Clones:     HDMI-1-1
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	PRIME Synchronization: 1 
		supported: 0, 1
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
HDMI-1-1 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x44
	Timestamp:  2994656
	Subpixel:   unknown
	Clones:     DP-1-1
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	PRIME Synchronization: 1 
		supported: 0, 1
	aspect ratio: Automatic 
		supported: Automatic, 4:3, 16:9
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
DP-1-2 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x45
	Timestamp:  2994656
	Subpixel:   unknown
	Clones:     HDMI-1-2
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	PRIME Synchronization: 1 
		supported: 0, 1
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
HDMI-1-2 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x46
	Timestamp:  2994656
	Subpixel:   unknown
	Clones:     DP-1-2
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	PRIME Synchronization: 1 
		supported: 0, 1
	aspect ratio: Automatic 
		supported: Automatic, 4:3, 16:9
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
DP-1-3 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x47
	Timestamp:  2994656
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	PRIME Synchronization: 1 
		supported: 0, 1
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
HDMI-1-3 disconnected (normal left inverted right x axis y axis)
	Identifier: 0x48
	Timestamp:  2994656
	Subpixel:   unknown
	Clones:    
	CRTCs:      0 1 2
	Transform:  1.000000 0.000000 0.000000
	            0.000000 1.000000 0.000000
	            0.000000 0.000000 1.000000
	           filter: 
	PRIME Synchronization: 1 
		supported: 0, 1
	aspect ratio: Automatic 
		supported: Automatic, 4:3, 16:9
	Broadcast RGB: Automatic 
		supported: Automatic, Full, Limited 16:235
	audio: auto 
		supported: force-dvi, off, auto, on
	non-desktop: 0 
		range: (0, 1)
	link-status: Good 
		supported: Good, Bad
+ xrandr --listmonitors
Monitors: 0
+ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x1f8 cap: 0x1, Source Output crtcs: 0 outputs: 0 associated providers: 1 name:NVIDIA-0
Provider 1: id: 0x49 cap: 0x2, Sink Output crtcs: 3 outputs: 7 associated providers: 1 name:modesetting
+ sysresources=/etc/X11/xinit/Xresources
+ sysmodmap=/etc/X11/xinit/Xmodmap
+ userresources=/home/mageta/.Xresources
+ twm
+ usermodmap=/home/mageta/.Xmodmap
+ '[' -f /etc/X11/xinit/Xresources ']'
+ '[' -f /etc/X11/xinit/Xmodmap ']'
+ '[' -f /home/mageta/.Xresources ']'
+ xrdb -merge /home/mageta/.Xresources
+ '[' -f /home/mageta/.Xmodmap ']'
+ xmodmap /home/mageta/.Xmodmap
+ xsetroot -solid black
+ xclock -geometry 50x50-1+1
+ exec xterm -geometry 80x66+0+0 -name login
+ xterm -geometry 80x20+494-0
+ xterm -geometry 80x50+494+51
XIO:  fatal IO error 0 (Success) on X server ":6"
      after 587 requests (587 known processed) with 0 events remaining.
xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":6"
xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":6"
xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":6"

Here is the debug-file: http://mageta.org/download/nvidia-bug-report.log.gz

Looks like you’re using gentoo, xorg-server has to be built with USE=“glamor” for Prime to work. Furthermore, downgrade kernel to 4.14.x, nvidia-drivers doesn’t yet fully work with kernel 4.15. Then you will want to set nvidia-drm.modeset=1 as kernel parameter to get rid of tearing.

some more quirks:
the intel device section has to be defined before the nvidia device section (don’t know if that bug in xorg has been fixed) and also has to have the busid and glamor disabled like this:

Section "Device"
    Identifier     "intel"
    Driver         "modesetting"
    Option         "AccelMethod" "none"
    BusID          "PCI:0:2:0"
EndSection

Edit: See this:https://devtalk.nvidia.com/default/topic/1022670/linux/official-driver-384-59-with-geforce-1050m-doesn-t-work-on-opensuse-tumbleweed-kde/post/5203910/#5203910

@generix: ty for the glamor thing. my guess is, that did the trick. And there I thought I read in the NVIDIA manual the extact opposite.

In http://us.download.nvidia.com/XFree86/Linux-x86_64/390.25/README/randr14.html it says ‘versions of the “modesetting” driver try to load a sub-module called “glamor”, which conflicts with the NVIDIA GLX implementation. Please ensure that the libglamoregl.so X module is not installed.’, so I went and globally disabled the glamor useflag before testing my NVIDIA gpu. Strange…

But ty. After learning that I had to add the sddm user to video as well I finally did see something.

Thing is, there’s a difference between glamor use being compiled in and glamor actually being used. The modesetting driver needs part of the glamor code to work properly. Glamor use is disabled with

Option         "AccelMethod" "none"

Thx for the explanation! No more problems ATM, seems to work fine.