Laptop freezing after switching to dgpu

The laptop is freezing after few minutes, when switched to “nvidia” through optimus. The freeze seems to be random. Also, it detects two screens
after the switch. Why is that?

$ inxi -Fazy
System:
  Kernel: 5.9.11-3-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 
  root=UUID=360406bd-4b88-4225-9ed6-83c55baae3e2 rw apparmor=1 
  security=apparmor resume=UUID=7fcf84c8-a451-458d-b68b-b28222217236 
  udev.log_priority=3 
  Desktop: Xfce 4.14.3 tk: Gtk 3.24.23 info: xfce4-panel wm: xfwm4 
  dm: LightDM 1.30.0 Distro: Manjaro Linux 
Machine:
  Type: Portable System: Dell product: Dell System XPS L502X v: N/A 
  serial: <filter> Chassis: type: 8 v: 0.1 serial: <filter> 
  Mobo: Dell model: 0MY6GN v: A00 serial: <filter> UEFI [Legacy]: Dell v: A12 
  date: 09/07/2012 
Battery:
  ID-1: BAT0 charge: 39.0 Wh condition: 81.6/93.2 Wh (88%) volts: 12.1/11.1 
  model: SANYO Dell type: Li-ion serial: <filter> status: Charging 
CPU:
  Info: Dual Core model: Intel Core i5-2450M bits: 64 type: MT MCP 
  arch: Sandy Bridge family: 6 model-id: 2A (42) stepping: 7 microcode: 2F 
  L2 cache: 3072 KiB 
  flags: avx lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 19967 
  Speed: 798 MHz min/max: 800/3100 MHz Core speeds (MHz): 1: 798 2: 798 3: 798 
  4: 799 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
  vendor: Dell driver: i915 v: kernel bus ID: 00:02.0 chip ID: 8086:0126 
  Device-2: NVIDIA GF108M [GeForce GT 540M] driver: N/A 
  alternate: nouveau, nvidia_drm, nvidia bus ID: 01:00.0 chip ID: 10de:0df4 
  Device-3: Quanta Laptop_Integrated_Webcam_2HDM type: USB driver: uvcvideo 
  bus ID: 1-1.4:3 chip ID: 0408:2fb1 
  Display: x11 server: X.Org 1.20.10 driver: modesetting display ID: :0.0 
  screens: 1 
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0") 
  s-diag: 414mm (16.3") 
  Monitor-1: LVDS-1 res: 1366x768 hz: 60 dpi: 101 size: 344x194mm (13.5x7.6") 
  diag: 395mm (15.5") 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 3000 (SNB GT2) 
  v: 3.3 Mesa 20.2.3 compat-v: 3.0 direct render: Yes 
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio 
  vendor: Dell driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  chip ID: 8086:1c20 
  Device-2: NVIDIA GF108 High Definition Audio driver: snd_hda_intel v: kernel 
  bus ID: 01:00.1 chip ID: 10de:0bea 
  Sound Server: ALSA v: k5.9.11-3-MANJARO 
Network:
  Device-1: Intel Centrino Wireless-N 1030 [Rainbow Peak] driver: iwlwifi 
  v: kernel port: efa0 bus ID: 03:00.0 chip ID: 8086:008a 
  IF: wlp3s0 state: up mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Dell driver: r8169 v: kernel port: 2000 bus ID: 06:00.0 
  chip ID: 10ec:8168 
  IF: enp6s0 state: down mac: <filter> 
Drives:
  Local Storage: total: 931.51 GiB used: 540.76 GiB (58.1%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/sda vendor: Seagate model: ST1000LM024 HN-M101MBB 
  size: 931.51 GiB block size: physical: 512 B logical: 512 B speed: 3.0 Gb/s 
  rotation: 5400 rpm serial: <filter> rev: 0002 scheme: MBR 
Partition:
  ID-1: / raw size: 922.71 GiB size: 907.23 GiB (98.32%) 
  used: 540.76 GiB (59.6%) fs: ext4 dev: /dev/sda1 
Swap:
  Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 8.80 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/sda2 
Sensors:
  System Temperatures: cpu: 72.0 C mobo: 51.0 C 
  Fan Speeds (RPM): cpu: 2807 
Info:
  Processes: 191 Uptime: 8h 11m Memory: 7.67 GiB used: 2.11 GiB (27.5%) 
  Init: systemd v: 246 Compilers: gcc: 10.2.0 Packages: pacman: 1508 lib: 366 
  Shell: Bash v: 5.0.18 running in: xfce4-terminal inxi: 3.1.08

One of the log from /var/log/optimus-manager/switch/:

[13] INFO: # Xorg pre-start hook
[13] INFO: Previous state was: {'type': 'pending_pre_xorg_start', 'requested_mode': 'nvidia', 'current_mode': 'intel'}
[13] INFO: Requested mode is: nvidia
[13] INFO: Checking for GDM display servers
[284] INFO: Available modules: ['nouveau', 'bbswitch', 'nvidia', 'nvidia_drm', 'nvidia_modeset', 'nvidia_uvm']
[285] INFO: Unloading modules ['nouveau'] (if loaded)
[291] INFO: Loading module bbswitch
[298] INFO: Setting GPU power to ON via bbswitch
[882] INFO: Loading module nvidia
[1056] INFO: Loading module nvidia_drm
[1600] INFO: Loaded extra Intel Xorg options (0 lines)
[1602] INFO: Loaded extra Intel Xorg options (0 lines)
[1603] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf
[1603] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20201216T120132', 'requested_mode': 'nvidia'}
[1604] INFO: Xorg pre-start hook completed successfully.
[7] INFO: # Xorg post-start hook
[7] INFO: Running xrandr commands
[153] INFO: Running /etc/optimus-manager/xsetup-nvidia.sh
[241] INFO: Writing state {'type': 'done', 'switch_id': '20201216T120132', 'current_mode': 'nvidia'}
[242] INFO: Xorg post-start hook completed successfully.

/var/log/Xorg.0.log.old:

[   359.107] 
X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[   359.107] Build Operating System: Linux Manjaro Linux
[   359.107] Current Operating System: Linux xps 5.9.11-3-MANJARO #1 SMP PREEMPT Sat Nov 28 09:08:57 UTC 2020 x86_64
[   359.107] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 root=UUID=360406bd-4b88-4225-9ed6-83c55baae3e2 rw apparmor=1 security=apparmor resume=UUID=7fcf84c8-a451-458d-b68b-b28222217236 udev.log_priority=3
[   359.107] Build Date: 03 December 2020  08:59:12AM
[   359.107]  
[   359.107] Current version of pixman: 0.40.0
[   359.107] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   359.107] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   359.107] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 16 13:16:18 2020
[   359.107] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   359.107] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   359.107] (==) ServerLayout "layout"
[   359.107] (**) |-->Screen "nvidia" (0)
[   359.107] (**) |   |-->Monitor "<default monitor>"
[   359.108] (**) |   |-->Device "nvidia"
[   359.108] (**) |   |-->GPUDevice "intel"
[   359.108] (==) No monitor specified for screen "nvidia".
	Using a default monitor configuration.
[   359.108] (**) |-->Inactive Device "intel"
[   359.108] (==) Automatically adding devices
[   359.108] (==) Automatically enabling devices
[   359.108] (==) Automatically adding GPU devices
[   359.108] (==) Automatically binding GPU devices
[   359.108] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   359.108] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[   359.108] 	Entry deleted from font path.
[   359.108] 	(Run 'mkfontdir' on "/usr/share/fonts/misc").
[   359.108] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[   359.108] 	Entry deleted from font path.
[   359.108] 	(Run 'mkfontdir' on "/usr/share/fonts/TTF").
[   359.108] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   359.108] 	Entry deleted from font path.
[   359.108] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   359.108] 	Entry deleted from font path.
[   359.108] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[   359.108] 	Entry deleted from font path.
[   359.108] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[   359.108] 	Entry deleted from font path.
[   359.108] (==) FontPath set to:
	
[   359.108] (**) ModulePath set to "/usr/lib/nvidia,/usr/lib32/nvidia,/usr/lib32/nvidia/xorg/modules,/usr/lib32/xorg/modules,/usr/lib64/nvidia/xorg/modules,/usr/lib64/nvidia/xorg,/usr/lib64/xorg/modules"
[   359.108] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   359.108] (II) Module ABI versions:
[   359.108] 	X.Org ANSI C Emulation: 0.4
[   359.108] 	X.Org Video Driver: 24.1
[   359.108] 	X.Org XInput driver : 24.1
[   359.108] 	X.Org Server Extension : 10.0
[   359.108] (++) using VT number 7

[   359.108] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[   359.110] (II) xfree86: Adding drm device (/dev/dri/card1)
[   359.118] (II) xfree86: Adding drm device (/dev/dri/card0)
[   359.128] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/nvidia,/usr/lib32/nvidia,/usr/lib32/nvidia/xorg/modules,/usr/lib32/xorg/modules,/usr/lib64/nvidia/xorg/modules,/usr/lib64/nvidia/xorg,/usr/lib64/xorg/modules"
[   359.128] (**) OutputClass "nvidia" setting /dev/dri/card1 as PrimaryGPU
[   359.129] (--) PCI: (0@0:2:0) 8086:0126:1028:050e rev 9, Mem @ 0xf1400000/4194304, 0xe0000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[   359.129] (--) PCI:*(1@0:0:0) 10de:0df4:1028:050e rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
[   359.130] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   359.130] (II) LoadModule: "glx"
[   359.152] (II) Loading /usr/lib/nvidia/xorg/libglx.so
[   359.912] (II) Module glx: vendor="NVIDIA Corporation"
[   359.912] 	compiled for 4.0.2, module version = 1.0.0
[   359.912] 	Module class: X.Org Server Extension
[   359.919] (II) NVIDIA GLX Module  390.132  Fri Nov  1 04:00:46 PDT 2019
[   359.932] (II) LoadModule: "nvidia"
[   359.932] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   360.016] (II) Module nvidia: vendor="NVIDIA Corporation"
[   360.017] 	compiled for 4.0.2, module version = 1.0.0
[   360.017] 	Module class: X.Org Video Driver
[   360.024] (II) LoadModule: "modesetting"
[   360.024] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   360.026] (II) Module modesetting: vendor="X.Org Foundation"
[   360.026] 	compiled for 1.20.10, module version = 1.20.10
[   360.026] 	Module class: X.Org Video Driver
[   360.026] 	ABI class: X.Org Video Driver, version 24.1
[   360.031] (II) NVIDIA dlloader X Driver  390.132  Fri Nov  1 03:36:28 PDT 2019
[   360.032] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   360.032] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   360.046] (II) Loading sub module "fb"
[   360.046] (II) LoadModule: "fb"
[   360.047] (II) Loading /usr/lib/xorg/modules/libfb.so
[   360.048] (II) Module fb: vendor="X.Org Foundation"
[   360.048] 	compiled for 1.20.10, module version = 1.0.0
[   360.048] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   360.048] (II) Loading sub module "wfb"
[   360.048] (II) LoadModule: "wfb"
[   360.048] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   360.063] (II) Module wfb: vendor="X.Org Foundation"
[   360.063] 	compiled for 1.20.10, module version = 1.0.0
[   360.063] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   360.063] (II) Loading sub module "ramdac"
[   360.063] (II) LoadModule: "ramdac"
[   360.063] (II) Module "ramdac" already built-in
[   360.096] (II) modeset(G0): using drv /dev/dri/card0
[   360.096] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"nvidia" for depth/fbbpp 24/32
[   360.096] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[   360.096] (==) NVIDIA(0): RGB weight 888
[   360.096] (==) NVIDIA(0): Default visual is TrueColor
[   360.096] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   360.096] (II) Applying OutputClass "nvidia" options to /dev/dri/card1
[   360.096] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[   360.096] (**) NVIDIA(0): Option "Coolbits" "28"
[   360.097] (**) NVIDIA(0): Enabling 2D acceleration
[   360.134] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[   360.134] (--) NVIDIA(0):     CRT-0 (boot)
[   360.134] (--) NVIDIA(0):     DFP-0
[   360.136] (II) NVIDIA(0): NVIDIA GPU GeForce GT 540M (GF108) at PCI:1:0:0 (GPU-0)
[   360.136] (--) NVIDIA(0): Memory: 2097152 kBytes
[   360.136] (--) NVIDIA(0): VideoBIOS: 70.08.44.00.11
[   360.136] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   360.138] (--) NVIDIA(GPU-0): CRT-0: connected
[   360.138] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   360.138] (--) NVIDIA(GPU-0): 
[   360.138] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   360.138] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   360.138] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   360.138] (--) NVIDIA(GPU-0): 
[   360.142] (==) NVIDIA(0): 
[   360.142] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[   360.142] (==) NVIDIA(0):     will be used as the requested mode.
[   360.142] (==) NVIDIA(0): 
[   360.142] (II) NVIDIA(0): Validated MetaModes:
[   360.142] (II) NVIDIA(0):     "CRT-0:nvidia-auto-select"
[   360.142] (II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
[   360.150] (WW) NVIDIA(0): CRT-0 does not have an EDID, or its EDID does not contain a
[   360.150] (WW) NVIDIA(0):     maximum image size; cannot compute DPI from CRT-0's EDID.
[   360.150] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[   360.150] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[   360.150] (==) modeset(G0): RGB weight 888
[   360.150] (==) modeset(G0): Default visual is TrueColor
[   360.150] (II) Loading sub module "glamoregl"
[   360.150] (II) LoadModule: "glamoregl"
[   360.151] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[   360.154] (II) Module glamoregl: vendor="X.Org Foundation"
[   360.154] 	compiled for 1.20.10, module version = 1.0.1
[   360.154] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   360.233] (II) modeset(G0): glamor X acceleration enabled on Mesa DRI Intel(R) HD Graphics 3000 (SNB GT2)
[   360.233] (II) modeset(G0): glamor initialized
[   360.233] (II) modeset(G0): Output LVDS-1-1 has no monitor section
[   360.335] (II) modeset(G0): Output VGA-1-1 has no monitor section
[   360.337] (II) modeset(G0): Output HDMI-1-1 has no monitor section
[   360.337] (II) modeset(G0): Output DP-1-1 has no monitor section
[   360.337] (II) modeset(G0): EDID for output LVDS-1-1
[   360.337] (II) modeset(G0): Manufacturer: LGD  Model: 33b  Serial#: 0
[   360.337] (II) modeset(G0): Year: 2011  Week: 0
[   360.337] (II) modeset(G0): EDID Version: 1.3
[   360.337] (II) modeset(G0): Digital Display Input
[   360.337] (II) modeset(G0): Max Image Size [cm]: horiz.: 34  vert.: 19
[   360.337] (II) modeset(G0): Gamma: 2.20
[   360.337] (II) modeset(G0): No DPMS capabilities specified
[   360.337] (II) modeset(G0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[   360.337] (II) modeset(G0): First detailed timing is preferred mode
[   360.337] (II) modeset(G0): redX: 0.618 redY: 0.369   greenX: 0.355 greenY: 0.603
[   360.337] (II) modeset(G0): blueX: 0.151 blueY: 0.103   whiteX: 0.313 whiteY: 0.329
[   360.337] (II) modeset(G0): Manufacturer's mask: 0
[   360.337] (II) modeset(G0): Supported detailed timing:
[   360.337] (II) modeset(G0): clock: 70.0 MHz   Image Size:  344 x 194 mm
[   360.337] (II) modeset(G0): h_active: 1366  h_sync: 1402  h_sync_end 1450 h_blank_end 1492 h_border: 0
[   360.337] (II) modeset(G0): v_active: 768  v_sync: 771  v_sync_end 776 v_blanking: 782 v_border: 0
[   360.337] (II) modeset(G0):  LG Display
[   360.337] (II) modeset(G0):  LP156WH4-TLP1
[   360.337] (II) modeset(G0): EDID (in hex):
[   360.337] (II) modeset(G0): 	00ffffffffffff0030e43b0300000000
[   360.337] (II) modeset(G0): 	00150103802213780a61d59e5e5b9a26
[   360.337] (II) modeset(G0): 	1a505400000001010101010101010101
[   360.337] (II) modeset(G0): 	010101010101581b567e50000e302430
[   360.337] (II) modeset(G0): 	350058c2100000190000000000000000
[   360.337] (II) modeset(G0): 	00000000000000000000000000fe004c
[   360.337] (II) modeset(G0): 	4720446973706c61790a2020000000fe
[   360.337] (II) modeset(G0): 	004c503135365748342d544c50310080
[   360.338] (II) modeset(G0): Printing probed modes for output LVDS-1-1
[   360.338] (II) modeset(G0): Modeline "1366x768"x60.0   70.00  1366 1402 1450 1492  768 771 776 782 -hsync -vsync (46.9 kHz eP)
[   360.338] (II) modeset(G0): Modeline "1280x720"x120.0  156.12  1280 1376 1512 1744  720 721 724 746 doublescan -hsync +vsync (89.5 kHz d)
[   360.338] (II) modeset(G0): Modeline "1280x720"x120.0  120.75  1280 1304 1320 1360  720 721 724 740 doublescan +hsync -vsync (88.8 kHz d)
[   360.338] (II) modeset(G0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz d)
[   360.338] (II) modeset(G0): Modeline "1280x720"x59.7   63.75  1280 1328 1360 1440  720 723 728 741 +hsync -vsync (44.3 kHz d)
[   360.338] (II) modeset(G0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[   360.338] (II) modeset(G0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[   360.338] (II) modeset(G0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[   360.338] (II) modeset(G0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[   360.338] (II) modeset(G0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[   360.338] (II) modeset(G0): Modeline "1024x576"x119.9   98.50  1024 1092 1200 1376  576 577 580 597 doublescan -hsync +vsync (71.6 kHz d)
[   360.338] (II) modeset(G0): Modeline "1024x576"x119.9   78.38  1024 1048 1064 1104  576 577 580 592 doublescan +hsync -vsync (71.0 kHz d)
[   360.338] (II) modeset(G0): Modeline "1024x576"x59.9   46.50  1024 1064 1160 1296  576 579 584 599 -hsync +vsync (35.9 kHz d)
[   360.338] (II) modeset(G0): Modeline "1024x576"x59.8   42.00  1024 1072 1104 1184  576 579 584 593 +hsync -vsync (35.5 kHz d)
[   360.338] (II) modeset(G0): Modeline "960x600"x119.9   96.62  960 1028 1128 1296  600 601 604 622 doublescan -hsync +vsync (74.6 kHz d)
[   360.338] (II) modeset(G0): Modeline "960x600"x120.0   77.00  960 984 1000 1040  600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[   360.338] (II) modeset(G0): Modeline "960x540"x119.9   86.50  960 1024 1124 1288  540 541 544 560 doublescan -hsync +vsync (67.2 kHz d)
[   360.338] (II) modeset(G0): Modeline "960x540"x120.0   69.25  960 984 1000 1040  540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[   360.338] (II) modeset(G0): Modeline "960x540"x59.6   40.75  960 992 1088 1216  540 543 548 562 -hsync +vsync (33.5 kHz d)
[   360.338] (II) modeset(G0): Modeline "960x540"x59.8   37.25  960 1008 1040 1120  540 543 548 556 +hsync -vsync (33.3 kHz d)
[   360.338] (II) modeset(G0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[   360.338] (II) modeset(G0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[   360.338] (II) modeset(G0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[   360.338] (II) modeset(G0): Modeline "840x525"x120.0   73.12  840 892 980 1120  525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[   360.338] (II) modeset(G0): Modeline "840x525"x119.8   59.50  840 864 880 920  525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[   360.338] (II) modeset(G0): Modeline "864x486"x59.9   32.50  864 888 968 1072  486 489 494 506 -hsync +vsync (30.3 kHz d)
[   360.338] (II) modeset(G0): Modeline "864x486"x59.6   30.50  864 912 944 1024  486 489 494 500 +hsync -vsync (29.8 kHz d)
[   360.338] (II) modeset(G0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[   360.338] (II) modeset(G0): Modeline "800x450"x119.9   59.12  800 848 928 1056  450 451 454 467 doublescan -hsync +vsync (56.0 kHz d)
[   360.338] (II) modeset(G0): Modeline "800x450"x119.6   48.75  800 824 840 880  450 451 454 463 doublescan +hsync -vsync (55.4 kHz d)
[   360.338] (II) modeset(G0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[   360.338] (II) modeset(G0): Modeline "700x450"x119.9   51.75  700 740 812 924  450 451 456 467 doublescan -hsync +vsync (56.0 kHz d)
[   360.338] (II) modeset(G0): Modeline "700x450"x119.8   43.25  700 724 740 780  450 451 456 463 doublescan +hsync -vsync (55.4 kHz d)
[   360.338] (II) modeset(G0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[   360.338] (II) modeset(G0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[   360.338] (II) modeset(G0): Modeline "720x405"x59.5   22.50  720 744 808 896  405 408 413 422 -hsync +vsync (25.1 kHz d)
[   360.338] (II) modeset(G0): Modeline "720x405"x59.0   21.75  720 768 800 880  405 408 413 419 +hsync -vsync (24.7 kHz d)
[   360.338] (II) modeset(G0): Modeline "684x384"x119.8   42.62  684 720 788 892  384 385 390 399 doublescan -hsync +vsync (47.8 kHz d)
[   360.338] (II) modeset(G0): Modeline "684x384"x119.7   36.12  684 708 724 764  384 385 390 395 doublescan +hsync -vsync (47.3 kHz d)
[   360.338] (II) modeset(G0): Modeline "640x400"x119.8   41.75  640 676 740 840  400 401 404 415 doublescan -hsync +vsync (49.7 kHz d)
[   360.338] (II) modeset(G0): Modeline "640x400"x120.0   35.50  640 664 680 720  400 401 404 411 doublescan +hsync -vsync (49.3 kHz d)
[   360.338] (II) modeset(G0): Modeline "640x360"x119.7   37.25  640 672 736 832  360 361 364 374 doublescan -hsync +vsync (44.8 kHz d)
[   360.338] (II) modeset(G0): Modeline "640x360"x119.7   31.88  640 664 680 720  360 361 364 370 doublescan +hsync -vsync (44.3 kHz d)
[   360.338] (II) modeset(G0): Modeline "640x360"x59.8   18.00  640 664 720 800  360 363 368 376 -hsync +vsync (22.5 kHz d)
[   360.338] (II) modeset(G0): Modeline "640x360"x59.3   17.75  640 688 720 800  360 363 368 374 +hsync -vsync (22.2 kHz d)
[   360.338] (II) modeset(G0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[   360.338] (II) modeset(G0): Modeline "512x288"x120.0   23.25  512 532 580 648  288 289 292 299 doublescan -hsync +vsync (35.9 kHz d)
[   360.338] (II) modeset(G0): Modeline "512x288"x119.8   21.00  512 536 552 592  288 289 292 296 doublescan +hsync -vsync (35.5 kHz d)
[   360.338] (II) modeset(G0): Modeline "480x270"x119.3   20.38  480 496 544 608  270 271 274 281 doublescan -hsync +vsync (33.5 kHz d)
[   360.338] (II) modeset(G0): Modeline "480x270"x119.6   18.62  480 504 520 560  270 271 274 278 doublescan +hsync -vsync (33.3 kHz d)
[   360.338] (II) modeset(G0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[   360.338] (II) modeset(G0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[   360.338] (II) modeset(G0): Modeline "432x243"x119.8   16.25  432 444 484 536  243 244 247 253 doublescan -hsync +vsync (30.3 kHz d)
[   360.338] (II) modeset(G0): Modeline "432x243"x119.1   15.25  432 456 472 512  243 244 247 250 doublescan +hsync -vsync (29.8 kHz d)
[   360.338] (II) modeset(G0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[   360.338] (II) modeset(G0): Modeline "360x202"x119.0   11.25  360 372 404 448  202 204 206 211 doublescan -hsync +vsync (25.1 kHz d)
[   360.338] (II) modeset(G0): Modeline "360x202"x118.3   10.88  360 384 400 440  202 204 206 209 doublescan +hsync -vsync (24.7 kHz d)
[   360.338] (II) modeset(G0): Modeline "320x180"x119.7    9.00  320 332 360 400  180 181 184 188 doublescan -hsync +vsync (22.5 kHz d)
[   360.338] (II) modeset(G0): Modeline "320x180"x118.6    8.88  320 344 360 400  180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
[   360.442] (II) modeset(G0): EDID for output VGA-1-1
[   360.444] (II) modeset(G0): EDID for output HDMI-1-1
[   360.444] (II) modeset(G0): EDID for output DP-1-1
[   360.444] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[   360.444] (==) modeset(G0): DPI set to (96, 96)
[   360.444] (II) Loading sub module "fb"
[   360.444] (II) LoadModule: "fb"
[   360.444] (II) Loading /usr/lib/xorg/modules/libfb.so
[   360.444] (II) Module fb: vendor="X.Org Foundation"
[   360.444] 	compiled for 1.20.10, module version = 1.0.0
[   360.444] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   360.444] (II) NVIDIA: Using 6144.00 MB of virtual memory for indirect memory
[   360.444] (II) NVIDIA:     access.
[   360.553] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   360.553] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   360.553] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   360.553] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   360.553] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   360.553] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   360.553] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   360.553] (II) NVIDIA(0):     Config Options in the README.
[   360.594] (II) NVIDIA(0): Setting mode "CRT-0:nvidia-auto-select"
[   360.619] (==) NVIDIA(0): Disabling shared memory pixmaps
[   360.619] (==) NVIDIA(0): Backing store enabled
[   360.619] (==) NVIDIA(0): Silken mouse disabled
[   360.620] (==) NVIDIA(0): DPMS enabled
[   360.620] (WW) NVIDIA(0): Option "PrimaryGPU" is not used
[   360.620] (II) Loading sub module "dri2"
[   360.620] (II) LoadModule: "dri2"
[   360.620] (II) Module "dri2" already built-in
[   360.620] (II) NVIDIA(0): [DRI2] Setup complete
[   360.620] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   360.630] (==) modeset(G0): Backing store enabled
[   360.630] (==) modeset(G0): Silken mouse disabled
[   360.664] (II) modeset(G0): Initializing kms color map for depth 24, 8 bpc.
[   360.664] (==) modeset(G0): DPMS enabled
[   360.664] (WW) modeset(G0): Option "AllowEmptyInitialConfiguration" is not used
[   360.664] (II) modeset(G0): [DRI2] Setup complete
[   360.664] (II) modeset(G0): [DRI2]   DRI driver: i965
[   360.664] (II) modeset(G0): [DRI2]   VDPAU driver: va_gl
[   360.664] (II) Initializing extension Generic Event Extension
[   360.664] (II) Initializing extension SHAPE
[   360.665] (II) Initializing extension MIT-SHM
[   360.665] (II) Initializing extension XInputExtension
[   360.665] (II) Initializing extension XTEST
[   360.665] (II) Initializing extension BIG-REQUESTS
[   360.665] (II) Initializing extension SYNC
[   360.665] (II) Initializing extension XKEYBOARD
[   360.665] (II) Initializing extension XC-MISC
[   360.666] (II) Initializing extension SECURITY
[   360.666] (II) Initializing extension XFIXES
[   360.666] (II) Initializing extension RENDER
[   360.666] (II) Initializing extension RANDR
[   360.666] (II) Initializing extension COMPOSITE
[   360.666] (II) Initializing extension DAMAGE
[   360.667] (II) Initializing extension MIT-SCREEN-SAVER
[   360.667] (II) Initializing extension DOUBLE-BUFFER
[   360.667] (II) Initializing extension RECORD
[   360.667] (II) Initializing extension DPMS
[   360.667] (II) Initializing extension Present
[   360.667] (II) Initializing extension DRI3
[   360.667] (II) Initializing extension X-Resource
[   360.668] (II) Initializing extension XVideo
[   360.668] (II) Initializing extension XVideo-MotionCompensation
[   360.668] (II) Initializing extension XFree86-VidModeExtension
[   360.668] (II) Initializing extension XFree86-DGA
[   360.668] (II) Initializing extension XFree86-DRI
[   360.668] (II) Initializing extension DRI2
[   360.668] (II) Initializing extension GLX
[   360.668] (II) Initializing extension GLX
[   360.668] (II) Indirect GLX disabled.
[   360.668] (II) Initializing extension NV-GLX
[   360.668] (II) Initializing extension NV-CONTROL
[   360.669] (II) Initializing extension XINERAMA
[   361.051] (II) modeset(G0): Damage tracking initialized
[   361.345] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[   361.345] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   361.345] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   361.345] (**) Power Button: Applying InputClass "system-keyboard"
[   361.345] (II) LoadModule: "libinput"
[   361.345] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   361.346] (II) Module libinput: vendor="X.Org Foundation"
[   361.347] 	compiled for 1.20.8, module version = 0.30.0
[   361.347] 	Module class: X.Org XInput Driver
[   361.347] 	ABI class: X.Org XInput driver, version 24.1
[   361.347] (II) Using input driver 'libinput' for 'Power Button'
[   361.347] (**) Power Button: always reports core events
[   361.347] (**) Option "Device" "/dev/input/event3"
[   361.347] (**) Option "_source" "server/udev"
[   361.348] (II) event3  - Power Button: is tagged by udev as: Keyboard
[   361.348] (II) event3  - Power Button: device is a keyboard
[   361.348] (II) event3  - Power Button: device removed
[   361.373] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[   361.373] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   361.373] (**) Option "xkb_model" "pc105"
[   361.373] (**) Option "xkb_layout" "us"
[   361.375] (II) event3  - Power Button: is tagged by udev as: Keyboard
[   361.375] (II) event3  - Power Button: device is a keyboard
[   361.376] (II) config/udev: Adding input device Video Bus (/dev/input/event19)
[   361.376] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[   361.376] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[   361.376] (**) Video Bus: Applying InputClass "system-keyboard"
[   361.376] (II) Using input driver 'libinput' for 'Video Bus'
[   361.377] (**) Video Bus: always reports core events
[   361.377] (**) Option "Device" "/dev/input/event19"
[   361.377] (**) Option "_source" "server/udev"
[   361.378] (II) event19 - Video Bus: is tagged by udev as: Keyboard
[   361.378] (II) event19 - Video Bus: device is a keyboard
[   361.379] (II) event19 - Video Bus: device removed
[   361.439] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input20/event19"
[   361.439] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[   361.439] (**) Option "xkb_model" "pc105"
[   361.439] (**) Option "xkb_layout" "us"
[   361.443] (II) event19 - Video Bus: is tagged by udev as: Keyboard
[   361.444] (II) event19 - Video Bus: device is a keyboard
[   361.446] (II) config/udev: Adding input device Video Bus (/dev/input/event18)
[   361.446] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[   361.446] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[   361.446] (**) Video Bus: Applying InputClass "system-keyboard"
[   361.446] (II) Using input driver 'libinput' for 'Video Bus'
[   361.446] (**) Video Bus: always reports core events
[   361.446] (**) Option "Device" "/dev/input/event18"
[   361.446] (**) Option "_source" "server/udev"
[   361.450] (II) event18 - Video Bus: is tagged by udev as: Keyboard
[   361.450] (II) event18 - Video Bus: device is a keyboard
[   361.450] (II) event18 - Video Bus: device removed
[   361.519] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:32/LNXVIDEO:00/input/input19/event18"
[   361.519] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[   361.519] (**) Option "xkb_model" "pc105"
[   361.519] (**) Option "xkb_layout" "us"
[   361.524] (II) event18 - Video Bus: is tagged by udev as: Keyboard
[   361.525] (II) event18 - Video Bus: device is a keyboard
[   361.527] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[   361.527] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   361.527] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   361.527] (**) Power Button: Applying InputClass "system-keyboard"
[   361.527] (II) Using input driver 'libinput' for 'Power Button'
[   361.527] (**) Power Button: always reports core events
[   361.527] (**) Option "Device" "/dev/input/event0"
[   361.527] (**) Option "_source" "server/udev"
[   361.530] (II) event0  - Power Button: is tagged by udev as: Keyboard
[   361.530] (II) event0  - Power Button: device is a keyboard
[   361.531] (II) event0  - Power Button: device removed
[   361.558] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[   361.558] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 9)
[   361.559] (**) Option "xkb_model" "pc105"
[   361.559] (**) Option "xkb_layout" "us"
[   361.562] (II) event0  - Power Button: is tagged by udev as: Keyboard
[   361.563] (II) event0  - Power Button: device is a keyboard
[   361.565] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
[   361.565] (II) No input driver specified, ignoring this device.
[   361.565] (II) This device may have been added with another device file.
[   361.566] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[   361.566] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[   361.566] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[   361.567] (**) Sleep Button: Applying InputClass "system-keyboard"
[   361.567] (II) Using input driver 'libinput' for 'Sleep Button'
[   361.567] (**) Sleep Button: always reports core events
[   361.567] (**) Option "Device" "/dev/input/event1"
[   361.567] (**) Option "_source" "server/udev"
[   361.568] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[   361.568] (II) event1  - Sleep Button: device is a keyboard
[   361.568] (II) event1  - Sleep Button: device removed
[   361.576] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1/event1"
[   361.576] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 10)
[   361.576] (**) Option "xkb_model" "pc105"
[   361.576] (**) Option "xkb_layout" "us"
[   361.580] (II) event1  - Sleep Button: is tagged by udev as: Keyboard
[   361.581] (II) event1  - Sleep Button: device is a keyboard
[   361.581] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event13)
[   361.581] (II) No input driver specified, ignoring this device.
[   361.581] (II) This device may have been added with another device file.
[   361.582] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event14)
[   361.582] (II) No input driver specified, ignoring this device.
[   361.582] (II) This device may have been added with another device file.
[   361.582] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event15)
[   361.582] (II) No input driver specified, ignoring this device.
[   361.582] (II) This device may have been added with another device file.
[   361.583] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event16)
[   361.583] (II) No input driver specified, ignoring this device.
[   361.583] (II) This device may have been added with another device file.
[   361.584] (II) config/udev: Adding input device Laptop_Integrated_Webcam_2HDM:  (/dev/input/event25)
[   361.584] (**) Laptop_Integrated_Webcam_2HDM: : Applying InputClass "evdev keyboard catchall"
[   361.584] (**) Laptop_Integrated_Webcam_2HDM: : Applying InputClass "libinput keyboard catchall"
[   361.584] (**) Laptop_Integrated_Webcam_2HDM: : Applying InputClass "system-keyboard"
[   361.584] (II) Using input driver 'libinput' for 'Laptop_Integrated_Webcam_2HDM: '
[   361.584] (**) Laptop_Integrated_Webcam_2HDM: : always reports core events
[   361.584] (**) Option "Device" "/dev/input/event25"
[   361.584] (**) Option "_source" "server/udev"
[   361.585] (II) event25 - Laptop_Integrated_Webcam_2HDM: : is tagged by udev as: Keyboard
[   361.585] (II) event25 - Laptop_Integrated_Webcam_2HDM: : device is a keyboard
[   361.585] (II) event25 - Laptop_Integrated_Webcam_2HDM: : device removed
[   361.639] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input26/event25"
[   361.639] (II) XINPUT: Adding extended input device "Laptop_Integrated_Webcam_2HDM: " (type: KEYBOARD, id 11)
[   361.639] (**) Option "xkb_model" "pc105"
[   361.639] (**) Option "xkb_layout" "us"
[   361.645] (II) event25 - Laptop_Integrated_Webcam_2HDM: : is tagged by udev as: Keyboard
[   361.645] (II) event25 - Laptop_Integrated_Webcam_2HDM: : device is a keyboard
[   361.647] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event20)
[   361.647] (II) No input driver specified, ignoring this device.
[   361.647] (II) This device may have been added with another device file.
[   361.648] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event21)
[   361.648] (II) No input driver specified, ignoring this device.
[   361.648] (II) This device may have been added with another device file.
[   361.650] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event22)
[   361.650] (II) No input driver specified, ignoring this device.
[   361.650] (II) This device may have been added with another device file.
[   361.651] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event23)
[   361.651] (II) No input driver specified, ignoring this device.
[   361.651] (II) This device may have been added with another device file.
[   361.653] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event24)
[   361.653] (II) No input driver specified, ignoring this device.
[   361.653] (II) This device may have been added with another device file.
[   361.654] (II) config/udev: Adding input device CHICONY USB Keyboard (/dev/input/event5)
[   361.654] (**) CHICONY USB Keyboard: Applying InputClass "evdev keyboard catchall"
[   361.654] (**) CHICONY USB Keyboard: Applying InputClass "libinput keyboard catchall"
[   361.654] (**) CHICONY USB Keyboard: Applying InputClass "system-keyboard"
[   361.654] (II) Using input driver 'libinput' for 'CHICONY USB Keyboard'
[   361.654] (**) CHICONY USB Keyboard: always reports core events
[   361.654] (**) Option "Device" "/dev/input/event5"
[   361.654] (**) Option "_source" "server/udev"
[   361.656] (II) event5  - CHICONY USB Keyboard: is tagged by udev as: Keyboard
[   361.656] (II) event5  - CHICONY USB Keyboard: device is a keyboard
[   361.656] (II) event5  - CHICONY USB Keyboard: device removed
[   361.683] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.3/0000:04:00.0/usb3/3-1/3-1:1.0/0003:04F2:0833.0001/input/input6/event5"
[   361.684] (II) XINPUT: Adding extended input device "CHICONY USB Keyboard" (type: KEYBOARD, id 12)
[   361.684] (**) Option "xkb_model" "pc105"
[   361.684] (**) Option "xkb_layout" "us"
[   361.690] (II) event5  - CHICONY USB Keyboard: is tagged by udev as: Keyboard
[   361.690] (II) event5  - CHICONY USB Keyboard: device is a keyboard
[   361.694] (II) config/udev: Adding input device CHICONY USB Keyboard System Control (/dev/input/event6)
[   361.694] (**) CHICONY USB Keyboard System Control: Applying InputClass "evdev keyboard catchall"
[   361.694] (**) CHICONY USB Keyboard System Control: Applying InputClass "libinput keyboard catchall"
[   361.694] (**) CHICONY USB Keyboard System Control: Applying InputClass "system-keyboard"
[   361.694] (II) Using input driver 'libinput' for 'CHICONY USB Keyboard System Control'
[   361.694] (**) CHICONY USB Keyboard System Control: always reports core events
[   361.694] (**) Option "Device" "/dev/input/event6"
[   361.694] (**) Option "_source" "server/udev"
[   361.700] (II) event6  - CHICONY USB Keyboard System Control: is tagged by udev as: Keyboard
[   361.701] (II) event6  - CHICONY USB Keyboard System Control: device is a keyboard
[   361.701] (II) event6  - CHICONY USB Keyboard System Control: device removed
[   361.732] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.3/0000:04:00.0/usb3/3-1/3-1:1.1/0003:04F2:0833.0002/input/input7/event6"
[   361.733] (II) XINPUT: Adding extended input device "CHICONY USB Keyboard System Control" (type: KEYBOARD, id 13)
[   361.733] (**) Option "xkb_model" "pc105"
[   361.733] (**) Option "xkb_layout" "us"
[   361.739] (II) event6  - CHICONY USB Keyboard System Control: is tagged by udev as: Keyboard
[   361.740] (II) event6  - CHICONY USB Keyboard System Control: device is a keyboard
[   361.743] (II) config/udev: Adding input device CHICONY USB Keyboard Consumer Control (/dev/input/event7)
[   361.743] (**) CHICONY USB Keyboard Consumer Control: Applying InputClass "evdev keyboard catchall"
[   361.743] (**) CHICONY USB Keyboard Consumer Control: Applying InputClass "libinput keyboard catchall"
[   361.743] (**) CHICONY USB Keyboard Consumer Control: Applying InputClass "system-keyboard"
[   361.743] (II) Using input driver 'libinput' for 'CHICONY USB Keyboard Consumer Control'
[   361.743] (**) CHICONY USB Keyboard Consumer Control: always reports core events
[   361.743] (**) Option "Device" "/dev/input/event7"
[   361.743] (**) Option "_source" "server/udev"
[   361.749] (II) event7  - CHICONY USB Keyboard Consumer Control: is tagged by udev as: Keyboard
[   361.750] (II) event7  - CHICONY USB Keyboard Consumer Control: device is a keyboard
[   361.750] (II) event7  - CHICONY USB Keyboard Consumer Control: device removed
[   361.826] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.3/0000:04:00.0/usb3/3-1/3-1:1.1/0003:04F2:0833.0002/input/input8/event7"
[   361.826] (II) XINPUT: Adding extended input device "CHICONY USB Keyboard Consumer Control" (type: KEYBOARD, id 14)
[   361.826] (**) Option "xkb_model" "pc105"
[   361.826] (**) Option "xkb_layout" "us"
[   361.832] (II) event7  - CHICONY USB Keyboard Consumer Control: is tagged by udev as: Keyboard
[   361.833] (II) event7  - CHICONY USB Keyboard Consumer Control: device is a keyboard
[   361.836] (II) config/udev: Adding input device CHICONY USB Keyboard (/dev/input/event8)
[   361.836] (**) CHICONY USB Keyboard: Applying InputClass "evdev keyboard catchall"
[   361.836] (**) CHICONY USB Keyboard: Applying InputClass "libinput keyboard catchall"
[   361.836] (**) CHICONY USB Keyboard: Applying InputClass "system-keyboard"
[   361.836] (II) Using input driver 'libinput' for 'CHICONY USB Keyboard'
[   361.837] (**) CHICONY USB Keyboard: always reports core events
[   361.837] (**) Option "Device" "/dev/input/event8"
[   361.837] (**) Option "_source" "server/udev"
[   361.842] (II) event8  - CHICONY USB Keyboard: is tagged by udev as: Keyboard
[   361.843] (II) event8  - CHICONY USB Keyboard: device is a keyboard
[   361.843] (II) event8  - CHICONY USB Keyboard: device removed
[   361.897] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.3/0000:04:00.0/usb3/3-1/3-1:1.1/0003:04F2:0833.0002/input/input9/event8"
[   361.897] (II) XINPUT: Adding extended input device "CHICONY USB Keyboard" (type: KEYBOARD, id 15)
[   361.897] (**) Option "xkb_model" "pc105"
[   361.898] (**) Option "xkb_layout" "us"
[   361.904] (II) event8  - CHICONY USB Keyboard: is tagged by udev as: Keyboard
[   361.904] (II) event8  - CHICONY USB Keyboard: device is a keyboard
[   361.908] (II) config/udev: Adding input device MOSART Semi. 2.4G Wireless Mouse (/dev/input/event9)
[   361.908] (**) MOSART Semi. 2.4G Wireless Mouse: Applying InputClass "evdev pointer catchall"
[   361.908] (**) MOSART Semi. 2.4G Wireless Mouse: Applying InputClass "libinput pointer catchall"
[   361.908] (II) Using input driver 'libinput' for 'MOSART Semi. 2.4G Wireless Mouse'
[   361.908] (**) MOSART Semi. 2.4G Wireless Mouse: always reports core events
[   361.908] (**) Option "Device" "/dev/input/event9"
[   361.908] (**) Option "_source" "server/udev"
[   361.971] (II) event9  - MOSART Semi. 2.4G Wireless Mouse: is tagged by udev as: Mouse
[   361.972] (II) event9  - MOSART Semi. 2.4G Wireless Mouse: device is a pointer
[   361.972] (II) event9  - MOSART Semi. 2.4G Wireless Mouse: device removed
[   362.026] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1c.3/0000:04:00.0/usb3/3-2/3-2:1.0/0003:3938:1031.0003/input/input10/event9"
[   362.026] (II) XINPUT: Adding extended input device "MOSART Semi. 2.4G Wireless Mouse" (type: MOUSE, id 16)
[   362.026] (**) Option "AccelerationScheme" "none"
[   362.026] (**) MOSART Semi. 2.4G Wireless Mouse: (accel) selected scheme none/0
[   362.026] (**) MOSART Semi. 2.4G Wireless Mouse: (accel) acceleration factor: 2.000
[   362.026] (**) MOSART Semi. 2.4G Wireless Mouse: (accel) acceleration threshold: 4
[   362.084] (II) event9  - MOSART Semi. 2.4G Wireless Mouse: is tagged by udev as: Mouse
[   362.084] (II) event9  - MOSART Semi. 2.4G Wireless Mouse: device is a pointer
[   362.085] (II) config/udev: Adding input device MOSART Semi. 2.4G Wireless Mouse (/dev/input/mouse0)
[   362.085] (II) No input driver specified, ignoring this device.
[   362.085] (II) This device may have been added with another device file.
[   362.085] (II) config/udev: Adding input device MOSART Semi. 2.4G Wireless Mouse (/dev/input/event10)
[   362.086] (II) No input driver specified, ignoring this device.
[   362.086] (II) This device may have been added with another device file.
[   362.086] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event12)
[   362.086] (**) Dell WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[   362.086] (**) Dell WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[   362.086] (**) Dell WMI hotkeys: Applying InputClass "system-keyboard"
[   362.086] (II) Using input driver 'libinput' for 'Dell WMI hotkeys'
[   362.086] (**) Dell WMI hotkeys: always reports core events
[   362.086] (**) Option "Device" "/dev/input/event12"
[   362.086] (**) Option "_source" "server/udev"
[   362.087] (II) event12 - Dell WMI hotkeys: is tagged by udev as: Keyboard
[   362.088] (II) event12 - Dell WMI hotkeys: device is a keyboard
[   362.088] (II) event12 - Dell WMI hotkeys: device removed
[   362.146] (**) Option "config_info" "udev:/sys/devices/platform/PNP0C14:00/wmi_bus/wmi_bus-PNP0C14:00/PNP0C14:00-9DBB5994-A997-11DA-B012-B622A1EF5492/input/input14/event12"
[   362.146] (II) XINPUT: Adding extended input device "Dell WMI hotkeys" (type: KEYBOARD, id 17)
[   362.146] (**) Option "xkb_model" "pc105"
[   362.146] (**) Option "xkb_layout" "us"
[   362.150] (II) event12 - Dell WMI hotkeys: is tagged by udev as: Keyboard
[   362.150] (II) event12 - Dell WMI hotkeys: device is a keyboard
[   362.150] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[   362.150] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[   362.150] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[   362.150] (**) AT Translated Set 2 keyboard: Applying InputClass "system-keyboard"
[   362.150] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[   362.151] (**) AT Translated Set 2 keyboard: always reports core events
[   362.151] (**) Option "Device" "/dev/input/event4"
[   362.151] (**) Option "_source" "server/udev"
[   362.152] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   362.152] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[   362.153] (II) event4  - AT Translated Set 2 keyboard: device removed
[   362.182] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[   362.182] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 18)
[   362.182] (**) Option "xkb_model" "pc105"
[   362.182] (**) Option "xkb_layout" "us"
[   362.187] (II) event4  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   362.187] (II) event4  - AT Translated Set 2 keyboard: device is a keyboard
[   362.191] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event17)
[   362.191] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[   362.191] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[   362.191] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[   362.191] (**) SynPS/2 Synaptics TouchPad: always reports core events
[   362.191] (**) Option "Device" "/dev/input/event17"
[   362.191] (**) Option "_source" "server/udev"
[   362.192] (II) event17 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[   362.193] (II) event17 - SynPS/2 Synaptics TouchPad: device is a touchpad
[   362.193] (II) event17 - SynPS/2 Synaptics TouchPad: device removed
[   362.267] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input13/event17"
[   362.267] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 19)
[   362.268] (**) Option "AccelerationScheme" "none"
[   362.269] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[   362.269] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[   362.269] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[   362.273] (II) event17 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[   362.276] (II) event17 - SynPS/2 Synaptics TouchPad: device is a touchpad
[   362.278] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
[   362.278] (II) No input driver specified, ignoring this device.
[   362.279] (II) This device may have been added with another device file.
[   362.280] (II) config/udev: Adding input device PC Speaker (/dev/input/event11)
[   362.280] (II) No input driver specified, ignoring this device.
[   362.280] (II) This device may have been added with another device file.
[   362.385] (--) NVIDIA(GPU-0): CRT-0: connected
[   362.385] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   362.385] (--) NVIDIA(GPU-0): 
[   362.385] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   362.385] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   362.385] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   362.385] (--) NVIDIA(GPU-0): 
[   374.647] (--) NVIDIA(GPU-0): CRT-0: connected
[   374.647] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   374.648] (--) NVIDIA(GPU-0): 
[   374.648] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   374.648] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   374.648] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   374.648] (--) NVIDIA(GPU-0): 
[   374.665] (--) NVIDIA(GPU-0): CRT-0: connected
[   374.665] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   374.665] (--) NVIDIA(GPU-0): 
[   374.665] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   374.665] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   374.665] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   374.665] (--) NVIDIA(GPU-0): 
[   374.825] (II) NVIDIA(0): Setting mode "NULL"
[   375.177] (--) NVIDIA(GPU-0): CRT-0: connected
[   375.177] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   375.177] (--) NVIDIA(GPU-0): 
[   375.177] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   375.177] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   375.177] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   375.177] (--) NVIDIA(GPU-0): 
[   375.179] (--) NVIDIA(GPU-0): CRT-0: connected
[   375.179] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   375.179] (--) NVIDIA(GPU-0): 
[   375.179] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   375.179] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   375.179] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   375.179] (--) NVIDIA(GPU-0): 
[   375.827] (--) NVIDIA(GPU-0): CRT-0: connected
[   375.835] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   375.835] (--) NVIDIA(GPU-0): 
[   375.836] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   375.836] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   375.836] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   375.836] (--) NVIDIA(GPU-0): 
[   375.838] (--) NVIDIA(GPU-0): CRT-0: connected
[   375.838] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   375.838] (--) NVIDIA(GPU-0): 
[   375.838] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   375.838] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   375.838] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   375.838] (--) NVIDIA(GPU-0): 
[   378.508] (--) NVIDIA(GPU-0): CRT-0: connected
[   378.508] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   378.508] (--) NVIDIA(GPU-0): 
[   378.508] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   378.508] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   378.508] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   378.508] (--) NVIDIA(GPU-0): 
[   378.511] (--) NVIDIA(GPU-0): CRT-0: connected
[   378.511] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   378.511] (--) NVIDIA(GPU-0): 
[   378.511] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   378.511] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   378.511] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   378.511] (--) NVIDIA(GPU-0): 
[   383.088] (--) NVIDIA(GPU-0): CRT-0: connected
[   383.088] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   383.088] (--) NVIDIA(GPU-0): 
[   383.088] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   383.088] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   383.088] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   383.088] (--) NVIDIA(GPU-0): 
[   383.090] (--) NVIDIA(GPU-0): CRT-0: connected
[   383.090] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   383.090] (--) NVIDIA(GPU-0): 
[   383.090] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   383.090] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   383.090] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   383.090] (--) NVIDIA(GPU-0): 
[   396.310] (EE) event9  - MOSART Semi. 2.4G Wireless Mouse: client bug: event processing lagging behind by 29ms, your system is too slow
[   398.137] (--) NVIDIA(GPU-0): CRT-0: connected
[   398.137] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   398.137] (--) NVIDIA(GPU-0): 
[   398.137] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   398.137] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   398.137] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   398.137] (--) NVIDIA(GPU-0): 
[   398.139] (--) NVIDIA(GPU-0): CRT-0: connected
[   398.139] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   398.139] (--) NVIDIA(GPU-0): 
[   398.139] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   398.139] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   398.139] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   398.139] (--) NVIDIA(GPU-0): 
[   423.110] (--) NVIDIA(GPU-0): CRT-0: connected
[   423.110] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   423.110] (--) NVIDIA(GPU-0): 
[   423.110] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   423.110] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   423.110] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   423.110] (--) NVIDIA(GPU-0): 
[   423.115] (--) NVIDIA(GPU-0): CRT-0: connected
[   423.116] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[   423.116] (--) NVIDIA(GPU-0): 
[   423.116] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   423.116] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   423.116] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   423.116] (--) NVIDIA(GPU-0): 
[  5492.842] (EE) event9  - MOSART Semi. 2.4G Wireless Mouse: client bug: event processing lagging behind by 21ms, your system is too slow
[  5643.509] (EE) NVIDIA(0): The NVIDIA X driver has encountered an error; attempting to
[  5643.509] (EE) NVIDIA(0):     recover...
[  5650.518] (EE) NVIDIA(GPU-0): Failed to initialize DMA.
[  5654.526] (EE) NVIDIA(0): Failed to allocate push buffer
[  5654.526] (EE) NVIDIA(0): Error recovery failed.
[  5654.526] (EE) NVIDIA(0):  *** Aborting ***
[  5654.526] (EE) 
Fatal server error:
[  5654.526] (EE) Failed to recover from error!
[  5654.526] (EE) 
[  5654.526] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  5654.526] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  5654.526] (EE)

$ lspci | grep VGA

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation GF108M [GeForce GT 540M] (rev ff)

$ nano /usr/share/optimus-manager.conf

[optimus]

# This parameter defines the method used to power switch the Nvidia card. See the documentation
# for a complete description of what each value does. Possible values :
#
# - nouveau : load the nouveau module on the Nvidia card.
# - bbswitch : power off the card using the bbswitch module (requires the bbswitch dependency).
# - acpi_call : try various ACPI method calls to power the card on and off (requires the acpi_call dependency)
# - custom: use custom scripts at /etc/optimus-manager/nvidia-enable.sh and /etc/optimus-manager/nvidia-disable.sh
# - none : do not use an external module for power management. For some laptop models it's preferable to
#          use this option in combination with pci_power_control (see below).
switching=none

# Enable PCI power management in Intel mode.
# This option is incompatible with acpi_call and bbswitch, so it will be ignored in those cases.
pci_power_control=no

# Remove the Nvidia card from the PCI bus.
# May prevent crashes caused by power switching.
# Ignored if switching=nouveau or switching=bbswitch.
pci_remove=no

# Reset the Nvidia card at the PCI level before reloading the nvidia module.
# Ensures the card is in a fresh state before reloading the nvidia module.
# May fix some switching issues. Possible values :
#
# - no : does not perform any reset
# - function_level : perform a light "function-level" reset
# - hot_reset : perform a "hot reset" of the PCI bridge. ATTENTION : this method messes with the hardware
#         directly, please read the online documentation of optimus-manager before using it.
#         Also, it will perform a PCI remove even if pci_remove=no.
#
pci_reset=no

# Automatically log out the current desktop session when switching GPUs.
# This feature is currently supported for the following DE/WM :
# KDE Plasma, GNOME, XFCE, LXDE, Deepin, i3, Openbox, AwesomeWM, bspwm
# If this option is disabled or you use a different desktop environment,
# GPU switching only becomes effective at the next graphical session login.
auto_logout=yes

# GPU mode to use at computer startup. Possible values: nvidia, intel, hybrid, auto
# "auto" is a special mode that auto-detects if the computer is running on battery
# and selects a proper GPU mode. See the other options below.
startup_mode=intel
# GPU mode to select when startup_mode=auto and the computer is running on battery.
# Possible values: nvidia, intel, hybrid
startup_auto_battery_mode=intel
# GPU mode to select when startup_mode=auto and the computer is running on external power.
# Possible values: nvidia, intel, hybrid
startup_auto_extpower_mode=nvidia


[intel]

# Driver to use for the Intel GPU. Possible values : modesetting, intel
# To use the intel driver, you need to install the package "xf86-video-intel".
driver=modesetting

# Acceleration method (corresponds to AccelMethod in the Xorg configuration).
# Only applies to the intel driver.
# Possible values : sna, xna, uxa
# Leave blank for the default (no option specified)
accel=

# Enable TearFree option in the Xorg configuration.
# Only applies to the intel driver.
# Possible values : yes, no
# Leave blank for the default (no option specified)
tearfree=

# DRI version. Possible values : 2, 3
DRI=3

# Whether or not to enable modesetting for the nouveau driver.
# Does not affect modesetting for the Intel GPU driver !
# This option only matters if you use nouveau as the switching backend.
modeset=yes

[nvidia]

# Whether or not to enable modesetting. Required for PRIME Synchronization (which prevents tearing).
modeset=yes

# Whether or not to enable the NVreg_UsePageAttributeTable option in the Nvidia driver.
# Recommended, can cause poor CPU performance otherwise.
PAT=yes

# DPI value. This will be set using the Xsetup script passed to your login manager.
# It will run the command
# xrandr --dpi <DPI>
# Leave blank for the default (the above command will not be run).
DPI=96

# If you're running an updated version of xorg-server (let's say to get PRIME Render offload enabled),
# the nvidia driver may not load because of an ABI version mismatch. Setting this flag to "yes"
# will allow the loading of the nvidia driver.
ignore_abi=no

# Set to yes if you want to use optimus-manager with external Nvidia GPUs (experimental)
allow_external_gpus=no

# Comma-separated list of Nvidia-specific options to apply.
# Available options :
# - overclocking : enable CoolBits in the Xorg configuration, which unlocks clocking options
#   in the Nvidia control panel. Note: does not work in hybrid mode.
# - triple_buffer : enable triple buffering.
options=overclocking