You are not logged in.

#1 2022-12-08 00:26:28

ArchInUvic
Member
Registered: 2022-12-08
Posts: 19

nvidia seems not working with xorg

Hardware: lenovo, thinkpad T570, with intel and nvidia GeForce 940MX

System: archlinux, which I update almost daily using `sudo pacman -Syu`. So, I am sure that `nvidia` and `nvidia-utils` are all synced with the system.

Problem: I never been successful in running applications using nvidia, although after entering `X` and running `nvidia-smi` it shows that `Xorg` is running as a process on nvidia card. This is my conf file:

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" RightOf "Screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
  ModulePath   "/usr/lib/nvidia/xorg"
	FontPath     "/usr/share/fonts/misc"
	FontPath     "/usr/share/fonts/TTF"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1"
	FontPath     "/usr/share/fonts/100dpi"
	FontPath     "/usr/share/fonts/75dpi"
EndSection

Section "Module"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "Accel"              	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "Backlight"          	# <str>
        #Option     "CustomEDID"         	# <str>
        #Option     "DRI"                	# <str>
        #Option     "Present"            	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "VideoKey"           	# <i>
        #Option     "Tiling"             	# [<bool>]
        #Option     "LinearFramebuffer"  	# [<bool>]
        #Option     "HWRotation"         	# [<bool>]
        #Option     "VSync"              	# [<bool>]
        #Option     "PageFlip"           	# [<bool>]
        #Option     "SwapbuffersWait"    	# [<bool>]
        #Option     "TripleBuffer"       	# [<bool>]
        #Option     "XvPreferOverlay"    	# [<bool>]
        #Option     "HotPlug"            	# [<bool>]
        #Option     "ReprobeOutputs"     	# [<bool>]
        #Option     "XvMC"               	# [<bool>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "VirtualHeads"       	# <i>
        #Option     "TearFree"           	# [<bool>]
        #Option     "PerCrtcPixmaps"     	# [<bool>]
        #Option     "FallbackDebug"      	# [<bool>]
        #Option     "DebugFlushBatches"  	# [<bool>]
        #Option     "DebugFlushCaches"   	# [<bool>]
        #Option     "DebugWait"          	# [<bool>]
        #Option     "BufferCache"        	# [<bool>]
	Identifier  "Card0"
	Driver      "intel"
	Driver      "intel"
	BusID       "PCI:0:2:0"
EndSection

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

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

when I replace the driver of the intel card with "nvidia", instead of "intel" as suggested by `nvidia-xconfig`, the `startx` does not enter `X` even if I keep the `.Xinitrc` with only one statement: `exec awesome`.

I invested days trying solving the problem and reading dozens of pages with no hope!

Offline

#2 2022-12-08 07:45:48

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: nvidia seems not working with xorg

Remove that config file, post your xorg log, https://wiki.archlinux.org/title/Xorg#General and the output of

lspci -k

I assume this is an optimus system, so see https://wiki.archlinux.org/title/Optimus for your options

I never been successful in running applications using nvidia

"How exactly"? What did you try and how did it fail?
Did you try "prime-run glxinfo -B", https://archlinux.org/packages/extra/any/nvidia-prime/ ?

Edit: under no circumstances use

as suggested by `nvidia-xconfig`

Edit #2:

I keep the `.Xinitrc` with only one statement: `exec awesome`.

Last link below…

Last edited by seth (2022-12-08 07:46:56)

Offline

#3 2022-12-08 20:35:56

ArchInUvic
Member
Registered: 2022-12-08
Posts: 19

Re: nvidia seems not working with xorg

Thanks so much for your detailed reply; I really appreciate it.

I removed everything in `/etc/X11`, except `xorg.conf.d/` which has `10-optimus-manager.conf` that is created automatically whenever I delete it:

# 10-optimus-manager.conf

Section "Device"
	Identifier "integrated"
	Driver "modesetting"
	BusID "PCI:0:2:0"
	Option "DRI" "3"
EndSection

Then, I started X. The output of `/home/wyousef/.local/share/xorg/Xorg.0.log` has no `(EE)` line:

[    79.242] 
X.Org X Server 1.21.1.4
X Protocol Version 11, Revision 0
[    79.248] Current Operating System: Linux localhost 6.0.11-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 02 Dec 2022 17:25:31 +0000 x86_64
[    79.248] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=16678473-3a81-4975-8ddf-d07ea4899fbe rw module_blacklist=nouveau
[    79.251]  
[    79.253] Current version of pixman: 0.42.2
[    79.255] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    79.255] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    79.262] (==) Log file: "/home/wyousef/.local/share/xorg/Xorg.0.log", Time: Thu Dec  8 11:57:39 2022
[    79.266] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    79.268] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    79.270] (==) No Layout section.  Using the first Screen section.
[    79.270] (==) No screen section available. Using defaults.
[    79.270] (**) |-->Screen "Default Screen Section" (0)
[    79.270] (**) |   |-->Monitor "<default monitor>"
[    79.270] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    79.270] (**) |   |-->Device "integrated"
[    79.270] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    79.270] (==) Automatically adding devices
[    79.270] (==) Automatically enabling devices
[    79.270] (==) Automatically adding GPU devices
[    79.270] (==) Automatically binding GPU devices
[    79.271] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    79.273] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/misc".
[    79.273] 	Entry deleted from font path.
[    79.273] 	(Run 'mkfontdir' on "/usr/share/fonts/misc").
[    79.277] (==) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF,
	/usr/share/fonts/Type1,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[    79.277] (==) ModulePath set to "/usr/lib/xorg/modules"
[    79.277] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    79.277] (II) Module ABI versions:
[    79.277] 	X.Org ANSI C Emulation: 0.4
[    79.277] 	X.Org Video Driver: 25.2
[    79.277] 	X.Org XInput driver : 24.4
[    79.277] 	X.Org Server Extension : 10.0
[    79.279] (++) using VT number 1

[    79.284] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[    79.287] (II) xfree86: Adding drm device (/dev/dri/card0)
[    79.287] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[    79.289] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 13 paused 0
[    79.298] (--) PCI:*(0@0:2:0) 8086:5916:17aa:2248 rev 2, Mem @ 0xdb000000/16777216, 0x60000000/536870912, I/O @ 0x0000e000/64, BIOS @ 0x????????/131072
[    79.298] (--) PCI: (2@0:0:0) 10de:134d:17aa:2248 rev 162, Mem @ 0xdc000000/16777216, 0x80000000/268435456, 0x90000000/33554432, I/O @ 0x0000d000/128
[    79.299] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    79.299] (II) LoadModule: "glx"
[    79.303] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    79.313] (II) Module glx: vendor="X.Org Foundation"
[    79.314] 	compiled for 1.21.1.4, module version = 1.0.0
[    79.314] 	ABI class: X.Org Server Extension, version 10.0
[    79.314] (II) LoadModule: "modesetting"
[    79.318] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    79.321] (II) Module modesetting: vendor="X.Org Foundation"
[    79.321] 	compiled for 1.21.1.4, module version = 1.21.1
[    79.321] 	Module class: X.Org Video Driver
[    79.321] 	ABI class: X.Org Video Driver, version 25.2
[    79.321] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    79.322] (II) modeset(0): using drv /dev/dri/card0
[    79.322] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    79.322] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    79.322] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[    79.322] (==) modeset(0): RGB weight 888
[    79.322] (==) modeset(0): Default visual is TrueColor
[    79.322] (II) Loading sub module "glamoregl"
[    79.322] (II) LoadModule: "glamoregl"
[    79.323] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[    79.331] (II) Module glamoregl: vendor="X.Org Foundation"
[    79.331] 	compiled for 1.21.1.4, module version = 1.0.1
[    79.331] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    80.934] (II) modeset(0): glamor X acceleration enabled on Mesa Intel(R) HD Graphics 620 (KBL GT2)
[    80.934] (II) modeset(0): glamor initialized
[    80.934] (==) modeset(0): VariableRefresh: disabled
[    80.934] (==) modeset(0): AsyncFlipSecondaries: disabled
[    80.936] (II) modeset(0): Output eDP-1 has no monitor section
[    80.936] (II) modeset(0): Output DP-1 has no monitor section
[    81.116] (II) modeset(0): Output HDMI-1 has no monitor section
[    81.116] (II) modeset(0): Output DP-2 has no monitor section
[    81.121] (II) modeset(0): Output HDMI-2 has no monitor section
[    81.123] (II) modeset(0): EDID for output eDP-1
[    81.123] (II) modeset(0): Manufacturer: BOE  Model: 6d7  Serial#: 0
[    81.123] (II) modeset(0): Year: 2016  Week: 1
[    81.123] (II) modeset(0): EDID Version: 1.4
[    81.123] (II) modeset(0): Digital Display Input
[    81.123] (II) modeset(0): 8 bits per channel
[    81.123] (II) modeset(0): Digital interface is DisplayPort
[    81.123] (II) modeset(0): Max Image Size [cm]: horiz.: 35  vert.: 19
[    81.123] (II) modeset(0): Gamma: 2.20
[    81.123] (II) modeset(0): No DPMS capabilities specified
[    81.123] (II) modeset(0): Supported color encodings: RGB 4:4:4 
[    81.123] (II) modeset(0): First detailed timing is preferred mode
[    81.123] (II) modeset(0): Preferred mode is native pixel format and refresh rate
[    81.123] (II) modeset(0): redX: 0.643 redY: 0.342   greenX: 0.312 greenY: 0.627
[    81.123] (II) modeset(0): blueX: 0.146 blueY: 0.080   whiteX: 0.312 whiteY: 0.328
[    81.123] (II) modeset(0): Manufacturer's mask: 0
[    81.123] (II) modeset(0): Supported detailed timing:
[    81.123] (II) modeset(0): clock: 533.2 MHz   Image Size:  345 x 194 mm
[    81.123] (II) modeset(0): h_active: 3840  h_sync: 3888  h_sync_end 3920 h_blank_end 4000 h_border: 0
[    81.123] (II) modeset(0): v_active: 2160  v_sync: 2163  v_sync_end 2168 v_blanking: 2222 v_border: 0
[    81.123] (II) modeset(0):  BOE HF
[    81.123] (II) modeset(0):  NV156QUM-N44
[    81.123] (II) modeset(0): EDID (in hex):
[    81.124] (II) modeset(0): 	00ffffffffffff0009e5d70600000000
[    81.124] (II) modeset(0): 	011a0104a523137802a260a45750a025
[    81.124] (II) modeset(0): 	14505400000001010101010101010101
[    81.124] (II) modeset(0): 	0101010101014dd000a0f0703e803020
[    81.124] (II) modeset(0): 	350059c21000001a0000000000000000
[    81.124] (II) modeset(0): 	00000000000000000000000000fe0042
[    81.124] (II) modeset(0): 	4f452048460a202020202020000000fe
[    81.124] (II) modeset(0): 	004e5631353651554d2d4e34340a00dd
[    81.124] (II) modeset(0): Printing probed modes for output eDP-1
[    81.124] (II) modeset(0): Modeline "3840x2160"x60.0  533.25  3840 3888 3920 4000  2160 2163 2168 2222 +hsync -vsync (133.3 kHz eP)
[    81.124] (II) modeset(0): Modeline "3840x2160"x60.0  712.75  3840 4160 4576 5312  2160 2163 2168 2237 -hsync +vsync (134.2 kHz d)
[    81.124] (II) modeset(0): Modeline "3840x2160"x60.0  533.00  3840 3888 3920 4000  2160 2163 2168 2222 +hsync -vsync (133.2 kHz d)
[    81.124] (II) modeset(0): Modeline "3200x1800"x60.0  492.00  3200 3456 3800 4400  1800 1803 1808 1865 -hsync +vsync (111.8 kHz d)
[    81.124] (II) modeset(0): Modeline "3200x1800"x59.9  373.00  3200 3248 3280 3360  1800 1803 1808 1852 +hsync -vsync (111.0 kHz d)
[    81.124] (II) modeset(0): Modeline "2880x1620"x60.0  396.25  2880 3096 3408 3936  1620 1623 1628 1679 -hsync +vsync (100.7 kHz d)
[    81.124] (II) modeset(0): Modeline "2880x1620"x60.0  303.75  2880 2928 2960 3040  1620 1623 1628 1666 +hsync -vsync (99.9 kHz d)
[    81.124] (II) modeset(0): Modeline "2560x1600"x60.0  348.50  2560 2760 3032 3504  1600 1603 1609 1658 -hsync +vsync (99.5 kHz d)
[    81.124] (II) modeset(0): Modeline "2560x1600"x60.0  268.50  2560 2608 2640 2720  1600 1603 1609 1646 +hsync -vsync (98.7 kHz d)
[    81.124] (II) modeset(0): Modeline "2560x1440"x120.0  638.25  2560 2780 3064 3568  1440 1441 1444 1491 doublescan -hsync +vsync (178.9 kHz d)
[    81.124] (II) modeset(0): Modeline "2560x1440"x120.0  469.12  2560 2584 2600 2640  1440 1441 1444 1481 doublescan +hsync -vsync (177.7 kHz d)
[    81.124] (II) modeset(0): Modeline "2560x1440"x60.0  312.25  2560 2752 3024 3488  1440 1443 1448 1493 -hsync +vsync (89.5 kHz d)
[    81.124] (II) modeset(0): Modeline "2560x1440"x60.0  241.50  2560 2608 2640 2720  1440 1443 1448 1481 +hsync -vsync (88.8 kHz d)
[    81.124] (II) modeset(0): Modeline "2048x1536"x60.0  266.95  2048 2200 2424 2800  1536 1537 1540 1589 -hsync +vsync (95.3 kHz d)
[    81.124] (II) modeset(0): Modeline "1920x1440"x60.0  234.00  1920 2048 2256 2600  1440 1441 1444 1500 -hsync +vsync (90.0 kHz d)
[    81.124] (II) modeset(0): Modeline "1856x1392"x60.0  218.30  1856 1952 2176 2528  1392 1393 1396 1439 -hsync +vsync (86.4 kHz d)
[    81.124] (II) modeset(0): Modeline "1792x1344"x60.0  204.80  1792 1920 2120 2448  1344 1345 1348 1394 -hsync +vsync (83.7 kHz d)
[    81.124] (II) modeset(0): Modeline "2048x1152"x120.0  406.50  2048 2220 2444 2840  1152 1153 1156 1193 doublescan -hsync +vsync (143.1 kHz d)
[    81.124] (II) modeset(0): Modeline "2048x1152"x120.0  302.50  2048 2072 2088 2128  1152 1153 1156 1185 doublescan +hsync -vsync (142.2 kHz d)
[    81.125] (II) modeset(0): Modeline "2048x1152"x59.9  197.00  2048 2184 2400 2752  1152 1155 1160 1195 -hsync +vsync (71.6 kHz d)
[    81.125] (II) modeset(0): Modeline "2048x1152"x59.9  156.75  2048 2096 2128 2208  1152 1155 1160 1185 +hsync -vsync (71.0 kHz d)
[    81.125] (II) modeset(0): Modeline "1920x1200"x59.9  193.25  1920 2056 2256 2592  1200 1203 1209 1245 -hsync +vsync (74.6 kHz d)
[    81.125] (II) modeset(0): Modeline "1920x1200"x60.0  154.00  1920 1968 2000 2080  1200 1203 1209 1235 +hsync -vsync (74.0 kHz d)
[    81.125] (II) modeset(0): Modeline "1920x1080"x120.0  356.38  1920 2080 2288 2656  1080 1081 1084 1118 doublescan -hsync +vsync (134.2 kHz d)
[    81.125] (II) modeset(0): Modeline "1920x1080"x119.9  266.50  1920 1944 1960 2000  1080 1081 1084 1111 doublescan +hsync -vsync (133.2 kHz d)
[    81.125] (II) modeset(0): Modeline "1920x1080"x60.0  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync (67.2 kHz d)
[    81.125] (II) modeset(0): Modeline "1920x1080"x59.9  138.50  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (66.6 kHz d)
[    81.125] (II) modeset(0): Modeline "1600x1200"x60.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz d)
[    81.125] (II) modeset(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz d)
[    81.125] (II) modeset(0): Modeline "1680x1050"x59.9  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz d)
[    81.125] (II) modeset(0): Modeline "1400x1050"x60.0  122.00  1400 1488 1640 1880  1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
[    81.125] (II) modeset(0): Modeline "1600x900"x120.0  246.00  1600 1728 1900 2200  900 901 904 932 doublescan -hsync +vsync (111.8 kHz d)
[    81.125] (II) modeset(0): Modeline "1600x900"x119.9  186.50  1600 1624 1640 1680  900 901 904 926 doublescan +hsync -vsync (111.0 kHz d)
[    81.125] (II) modeset(0): Modeline "1600x900"x59.9  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync (56.0 kHz d)
[    81.125] (II) modeset(0): Modeline "1600x900"x59.8   97.50  1600 1648 1680 1760  900 903 908 926 +hsync -vsync (55.4 kHz d)
[    81.125] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[    81.125] (II) modeset(0): Modeline "1400x900"x60.0  103.50  1400 1480 1624 1848  900 903 913 934 -hsync +vsync (56.0 kHz d)
[    81.125] (II) modeset(0): Modeline "1400x900"x59.9   86.50  1400 1448 1480 1560  900 903 913 926 +hsync -vsync (55.4 kHz d)
[    81.125] (II) modeset(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz d)
[    81.125] (II) modeset(0): Modeline "1440x810"x120.0  198.12  1440 1548 1704 1968  810 811 814 839 doublescan -hsync +vsync (100.7 kHz d)
[    81.125] (II) modeset(0): Modeline "1440x810"x119.9  151.88  1440 1464 1480 1520  810 811 814 833 doublescan +hsync -vsync (99.9 kHz d)
[    81.125] (II) modeset(0): Modeline "1368x768"x59.9   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync (47.8 kHz d)
[    81.125] (II) modeset(0): Modeline "1368x768"x59.9   72.25  1368 1416 1448 1528  768 771 781 790 +hsync -vsync (47.3 kHz d)
[    81.125] (II) modeset(0): Modeline "1280x800"x120.0  174.25  1280 1380 1516 1752  800 801 804 829 doublescan -hsync +vsync (99.5 kHz d)
[    81.125] (II) modeset(0): Modeline "1280x800"x119.9  134.25  1280 1304 1320 1360  800 801 804 823 doublescan +hsync -vsync (98.7 kHz d)
[    81.125] (II) modeset(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz d)
[    81.125] (II) modeset(0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz d)
[    81.125] (II) modeset(0): Modeline "1280x720"x120.0  156.12  1280 1376 1512 1744  720 721 724 746 doublescan -hsync +vsync (89.5 kHz d)
[    81.125] (II) modeset(0): Modeline "1280x720"x120.0  120.75  1280 1304 1320 1360  720 721 724 740 doublescan +hsync -vsync (88.8 kHz d)
[    81.125] (II) modeset(0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz d)
[    81.125] (II) modeset(0): Modeline "1280x720"x59.7   63.75  1280 1328 1360 1440  720 723 728 741 +hsync -vsync (44.3 kHz d)
[    81.125] (II) modeset(0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[    81.125] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[    81.125] (II) modeset(0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[    81.125] (II) modeset(0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[    81.125] (II) modeset(0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[    81.126] (II) modeset(0): Modeline "1024x576"x119.9   98.50  1024 1092 1200 1376  576 577 580 597 doublescan -hsync +vsync (71.6 kHz d)
[    81.126] (II) modeset(0): Modeline "1024x576"x119.9   78.38  1024 1048 1064 1104  576 577 580 592 doublescan +hsync -vsync (71.0 kHz d)
[    81.126] (II) modeset(0): Modeline "1024x576"x59.9   46.50  1024 1064 1160 1296  576 579 584 599 -hsync +vsync (35.9 kHz d)
[    81.126] (II) modeset(0): Modeline "1024x576"x59.8   42.00  1024 1072 1104 1184  576 579 584 593 +hsync -vsync (35.5 kHz d)
[    81.126] (II) modeset(0): Modeline "960x600"x119.9   96.62  960 1028 1128 1296  600 601 604 622 doublescan -hsync +vsync (74.6 kHz d)
[    81.126] (II) modeset(0): Modeline "960x600"x120.0   77.00  960 984 1000 1040  600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[    81.126] (II) modeset(0): Modeline "960x540"x119.9   86.50  960 1024 1124 1288  540 541 544 560 doublescan -hsync +vsync (67.2 kHz d)
[    81.126] (II) modeset(0): Modeline "960x540"x120.0   69.25  960 984 1000 1040  540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[    81.126] (II) modeset(0): Modeline "960x540"x59.6   40.75  960 992 1088 1216  540 543 548 562 -hsync +vsync (33.5 kHz d)
[    81.126] (II) modeset(0): Modeline "960x540"x59.8   37.25  960 1008 1040 1120  540 543 548 556 +hsync -vsync (33.3 kHz d)
[    81.126] (II) modeset(0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[    81.126] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[    81.126] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[    81.126] (II) modeset(0): Modeline "840x525"x120.0   73.12  840 892 980 1120  525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[    81.126] (II) modeset(0): Modeline "840x525"x119.8   59.50  840 864 880 920  525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[    81.126] (II) modeset(0): Modeline "864x486"x59.9   32.50  864 888 968 1072  486 489 494 506 -hsync +vsync (30.3 kHz d)
[    81.126] (II) modeset(0): Modeline "864x486"x59.6   30.50  864 912 944 1024  486 489 494 500 +hsync -vsync (29.8 kHz d)
[    81.126] (II) modeset(0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[    81.126] (II) modeset(0): Modeline "800x450"x119.9   59.12  800 848 928 1056  450 451 454 467 doublescan -hsync +vsync (56.0 kHz d)
[    81.126] (II) modeset(0): Modeline "800x450"x119.6   48.75  800 824 840 880  450 451 454 463 doublescan +hsync -vsync (55.4 kHz d)
[    81.126] (II) modeset(0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[    81.126] (II) modeset(0): Modeline "700x450"x119.9   51.75  700 740 812 924  450 451 456 467 doublescan -hsync +vsync (56.0 kHz d)
[    81.126] (II) modeset(0): Modeline "700x450"x119.8   43.25  700 724 740 780  450 451 456 463 doublescan +hsync -vsync (55.4 kHz d)
[    81.126] (II) modeset(0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[    81.126] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[    81.126] (II) modeset(0): Modeline "720x405"x59.5   22.50  720 744 808 896  405 408 413 422 -hsync +vsync (25.1 kHz d)
[    81.126] (II) modeset(0): Modeline "720x405"x59.0   21.75  720 768 800 880  405 408 413 419 +hsync -vsync (24.7 kHz d)
[    81.126] (II) modeset(0): Modeline "684x384"x119.8   42.62  684 720 788 892  384 385 390 399 doublescan -hsync +vsync (47.8 kHz d)
[    81.126] (II) modeset(0): Modeline "684x384"x119.7   36.12  684 708 724 764  384 385 390 395 doublescan +hsync -vsync (47.3 kHz d)
[    81.126] (II) modeset(0): Modeline "640x400"x119.8   41.75  640 676 740 840  400 401 404 415 doublescan -hsync +vsync (49.7 kHz d)
[    81.126] (II) modeset(0): Modeline "640x400"x120.0   35.50  640 664 680 720  400 401 404 411 doublescan +hsync -vsync (49.3 kHz d)
[    81.126] (II) modeset(0): Modeline "640x360"x119.7   37.25  640 672 736 832  360 361 364 374 doublescan -hsync +vsync (44.8 kHz d)
[    81.126] (II) modeset(0): Modeline "640x360"x119.7   31.88  640 664 680 720  360 361 364 370 doublescan +hsync -vsync (44.3 kHz d)
[    81.126] (II) modeset(0): Modeline "640x360"x59.8   18.00  640 664 720 800  360 363 368 376 -hsync +vsync (22.5 kHz d)
[    81.126] (II) modeset(0): Modeline "640x360"x59.3   17.75  640 688 720 800  360 363 368 374 +hsync -vsync (22.2 kHz d)
[    81.126] (II) modeset(0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[    81.126] (II) modeset(0): Modeline "512x288"x120.0   23.25  512 532 580 648  288 289 292 299 doublescan -hsync +vsync (35.9 kHz d)
[    81.126] (II) modeset(0): Modeline "512x288"x119.8   21.00  512 536 552 592  288 289 292 296 doublescan +hsync -vsync (35.5 kHz d)
[    81.126] (II) modeset(0): Modeline "480x270"x119.3   20.38  480 496 544 608  270 271 274 281 doublescan -hsync +vsync (33.5 kHz d)
[    81.127] (II) modeset(0): Modeline "480x270"x119.6   18.62  480 504 520 560  270 271 274 278 doublescan +hsync -vsync (33.3 kHz d)
[    81.127] (II) modeset(0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[    81.127] (II) modeset(0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[    81.127] (II) modeset(0): Modeline "432x243"x119.8   16.25  432 444 484 536  243 244 247 253 doublescan -hsync +vsync (30.3 kHz d)
[    81.127] (II) modeset(0): Modeline "432x243"x119.1   15.25  432 456 472 512  243 244 247 250 doublescan +hsync -vsync (29.8 kHz d)
[    81.127] (II) modeset(0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[    81.127] (II) modeset(0): Modeline "360x202"x119.0   11.25  360 372 404 448  202 204 206 211 doublescan -hsync +vsync (25.1 kHz d)
[    81.127] (II) modeset(0): Modeline "360x202"x118.3   10.88  360 384 400 440  202 204 206 209 doublescan +hsync -vsync (24.7 kHz d)
[    81.127] (II) modeset(0): Modeline "320x180"x119.7    9.00  320 332 360 400  180 181 184 188 doublescan -hsync +vsync (22.5 kHz d)
[    81.127] (II) modeset(0): Modeline "320x180"x118.6    8.88  320 344 360 400  180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
[    81.127] (II) modeset(0): EDID for output DP-1
[    81.309] (II) modeset(0): EDID for output HDMI-1
[    81.309] (II) modeset(0): EDID for output DP-2
[    81.313] (II) modeset(0): EDID for output HDMI-2
[    81.313] (II) modeset(0): Output eDP-1 connected
[    81.313] (II) modeset(0): Output DP-1 disconnected
[    81.313] (II) modeset(0): Output HDMI-1 disconnected
[    81.314] (II) modeset(0): Output DP-2 disconnected
[    81.314] (II) modeset(0): Output HDMI-2 disconnected
[    81.314] (II) modeset(0): Using exact sizes for initial modes
[    81.314] (II) modeset(0): Output eDP-1 using initial mode 3840x2160 +0+0
[    81.314] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[    81.314] (==) modeset(0): DPI set to (96, 96)
[    81.314] (II) Loading sub module "fb"
[    81.314] (II) LoadModule: "fb"
[    81.314] (II) Module "fb" already built-in
[    81.343] (==) modeset(0): Backing store enabled
[    81.343] (==) modeset(0): Silken mouse enabled
[    81.432] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[    81.432] (==) modeset(0): DPMS enabled
[    81.432] (WW) modeset(0): Option "DRI" is not used
[    81.432] (II) modeset(0): [DRI2] Setup complete
[    81.432] (II) modeset(0): [DRI2]   DRI driver: iris
[    81.432] (II) modeset(0): [DRI2]   VDPAU driver: va_gl
[    81.432] (II) Initializing extension Generic Event Extension
[    81.432] (II) Initializing extension SHAPE
[    81.433] (II) Initializing extension MIT-SHM
[    81.433] (II) Initializing extension XInputExtension
[    81.433] (II) Initializing extension XTEST
[    81.433] (II) Initializing extension BIG-REQUESTS
[    81.433] (II) Initializing extension SYNC
[    81.433] (II) Initializing extension XKEYBOARD
[    81.433] (II) Initializing extension XC-MISC
[    81.433] (II) Initializing extension SECURITY
[    81.433] (II) Initializing extension XFIXES
[    81.433] (II) Initializing extension RENDER
[    81.433] (II) Initializing extension RANDR
[    81.433] (II) Initializing extension COMPOSITE
[    81.434] (II) Initializing extension DAMAGE
[    81.434] (II) Initializing extension MIT-SCREEN-SAVER
[    81.434] (II) Initializing extension DOUBLE-BUFFER
[    81.434] (II) Initializing extension RECORD
[    81.434] (II) Initializing extension DPMS
[    81.434] (II) Initializing extension Present
[    81.434] (II) Initializing extension DRI3
[    81.434] (II) Initializing extension X-Resource
[    81.434] (II) Initializing extension XVideo
[    81.434] (II) Initializing extension XVideo-MotionCompensation
[    81.434] (II) Initializing extension GLX
[    81.439] (II) AIGLX: Loaded and initialized iris
[    81.439] (II) GLX: Initialized DRI2 GL provider for screen 0
[    81.439] (II) Initializing extension XFree86-VidModeExtension
[    81.439] (II) Initializing extension XFree86-DGA
[    81.439] (II) Initializing extension XFree86-DRI
[    81.439] (II) Initializing extension DRI2
[    81.439] (II) modeset(0): Damage tracking initialized
[    81.439] (II) modeset(0): Setting screen physical size to 1016 x 571
[    81.517] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[    81.517] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    81.517] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    81.517] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    81.517] (II) LoadModule: "libinput"
[    81.518] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[    81.520] (II) Module libinput: vendor="X.Org Foundation"
[    81.520] 	compiled for 1.21.1.3, module version = 1.2.1
[    81.520] 	Module class: X.Org XInput Driver
[    81.520] 	ABI class: X.Org XInput driver, version 24.4
[    81.520] (II) Using input driver 'libinput' for 'Power Button'
[    81.521] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 30 paused 0
[    81.521] (**) Power Button: always reports core events
[    81.521] (**) Option "Device" "/dev/input/event2"
[    81.529] (II) event2  - Power Button: is tagged by udev as: Keyboard
[    81.529] (II) event2  - Power Button: device is a keyboard
[    81.529] (II) event2  - Power Button: device removed
[    81.529] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[    81.530] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    81.531] (II) event2  - Power Button: is tagged by udev as: Keyboard
[    81.531] (II) event2  - Power Button: device is a keyboard
[    81.532] (II) config/udev: Adding input device Video Bus (/dev/input/event5)
[    81.532] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    81.532] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    81.532] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    81.532] (II) Using input driver 'libinput' for 'Video Bus'
[    81.532] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 33 paused 0
[    81.532] (**) Video Bus: always reports core events
[    81.532] (**) Option "Device" "/dev/input/event5"
[    81.534] (II) event5  - Video Bus: is tagged by udev as: Keyboard
[    81.534] (II) event5  - Video Bus: device is a keyboard
[    81.534] (II) event5  - Video Bus: device removed
[    81.534] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input6/event5"
[    81.534] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    81.535] (II) event5  - Video Bus: is tagged by udev as: Keyboard
[    81.535] (II) event5  - Video Bus: device is a keyboard
[    81.536] (II) config/udev: Adding input device Video Bus (/dev/input/event6)
[    81.536] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    81.536] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    81.536] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    81.536] (II) Using input driver 'libinput' for 'Video Bus'
[    81.537] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 34 paused 0
[    81.537] (**) Video Bus: always reports core events
[    81.537] (**) Option "Device" "/dev/input/event6"
[    81.538] (II) event6  - Video Bus: is tagged by udev as: Keyboard
[    81.539] (II) event6  - Video Bus: device is a keyboard
[    81.539] (II) event6  - Video Bus: device removed
[    81.539] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:35/LNXVIDEO:01/input/input7/event6"
[    81.539] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[    81.540] (II) event6  - Video Bus: is tagged by udev as: Keyboard
[    81.541] (II) event6  - Video Bus: device is a keyboard
[    81.541] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[    81.541] (II) No input driver specified, ignoring this device.
[    81.541] (II) This device may have been added with another device file.
[    81.542] (II) config/udev: Adding input device Sleep Button (/dev/input/event0)
[    81.542] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    81.542] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[    81.542] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[    81.542] (II) Using input driver 'libinput' for 'Sleep Button'
[    81.543] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 35 paused 0
[    81.543] (**) Sleep Button: always reports core events
[    81.543] (**) Option "Device" "/dev/input/event0"
[    81.544] (II) event0  - Sleep Button: is tagged by udev as: Keyboard
[    81.544] (II) event0  - Sleep Button: device is a keyboard
[    81.544] (II) event0  - Sleep Button: device removed
[    81.544] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0/event0"
[    81.544] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[    81.545] (II) event0  - Sleep Button: is tagged by udev as: Keyboard
[    81.545] (II) event0  - Sleep Button: device is a keyboard
[    81.547] (II) config/udev: Adding input device ZSA Technology Labs Moonlander Mark I (/dev/input/event7)
[    81.547] (**) ZSA Technology Labs Moonlander Mark I: Applying InputClass "evdev keyboard catchall"
[    81.547] (**) ZSA Technology Labs Moonlander Mark I: Applying InputClass "libinput keyboard catchall"
[    81.547] (**) ZSA Technology Labs Moonlander Mark I: Applying InputClass "libinput keyboard catchall"
[    81.547] (II) Using input driver 'libinput' for 'ZSA Technology Labs Moonlander Mark I'
[    81.548] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 36 paused 0
[    81.548] (**) ZSA Technology Labs Moonlander Mark I: always reports core events
[    81.548] (**) Option "Device" "/dev/input/event7"
[    81.550] (II) event7  - ZSA Technology Labs Moonlander Mark I: is tagged by udev as: Keyboard
[    81.550] (II) event7  - ZSA Technology Labs Moonlander Mark I: device is a keyboard
[    81.551] (II) event7  - ZSA Technology Labs Moonlander Mark I: device removed
[    81.551] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.1/1-4.1:1.0/0003:3297:1969.0001/input/input8/event7"
[    81.551] (II) XINPUT: Adding extended input device "ZSA Technology Labs Moonlander Mark I" (type: KEYBOARD, id 10)
[    81.553] (II) event7  - ZSA Technology Labs Moonlander Mark I: is tagged by udev as: Keyboard
[    81.553] (II) event7  - ZSA Technology Labs Moonlander Mark I: device is a keyboard
[    81.555] (II) config/udev: Adding input device ZSA Technology Labs Moonlander Mark I (/dev/input/event8)
[    81.555] (**) ZSA Technology Labs Moonlander Mark I: Applying InputClass "evdev pointer catchall"
[    81.555] (**) ZSA Technology Labs Moonlander Mark I: Applying InputClass "libinput pointer catchall"
[    81.555] (**) ZSA Technology Labs Moonlander Mark I: Applying InputClass "libinput pointer catchall"
[    81.555] (II) Using input driver 'libinput' for 'ZSA Technology Labs Moonlander Mark I'
[    81.609] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 37 paused 0
[    81.609] (**) ZSA Technology Labs Moonlander Mark I: always reports core events
[    81.610] (**) Option "Device" "/dev/input/event8"
[    81.612] (II) event8  - ZSA Technology Labs Moonlander Mark I: is tagged by udev as: Mouse
[    81.612] (II) event8  - ZSA Technology Labs Moonlander Mark I: device is a pointer
[    81.612] (II) event8  - ZSA Technology Labs Moonlander Mark I: device removed
[    81.612] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.1/1-4.1:1.2/0003:3297:1969.0003/input/input9/event8"
[    81.612] (II) XINPUT: Adding extended input device "ZSA Technology Labs Moonlander Mark I" (type: MOUSE, id 11)
[    81.613] (**) Option "AccelerationScheme" "none"
[    81.613] (**) ZSA Technology Labs Moonlander Mark I: (accel) selected scheme none/0
[    81.613] (**) ZSA Technology Labs Moonlander Mark I: (accel) acceleration factor: 2.000
[    81.613] (**) ZSA Technology Labs Moonlander Mark I: (accel) acceleration threshold: 4
[    81.615] (II) event8  - ZSA Technology Labs Moonlander Mark I: is tagged by udev as: Mouse
[    81.615] (II) event8  - ZSA Technology Labs Moonlander Mark I: device is a pointer
[    81.616] (II) config/udev: Adding input device ZSA Technology Labs Moonlander Mark I (/dev/input/mouse0)
[    81.616] (II) No input driver specified, ignoring this device.
[    81.616] (II) This device may have been added with another device file.
[    81.617] (II) config/udev: Adding input device ZSA Technology Labs Moonlander Mark I System Control (/dev/input/event9)
[    81.617] (**) ZSA Technology Labs Moonlander Mark I System Control: Applying InputClass "evdev keyboard catchall"
[    81.617] (**) ZSA Technology Labs Moonlander Mark I System Control: Applying InputClass "libinput keyboard catchall"
[    81.617] (**) ZSA Technology Labs Moonlander Mark I System Control: Applying InputClass "libinput keyboard catchall"
[    81.617] (II) Using input driver 'libinput' for 'ZSA Technology Labs Moonlander Mark I System Control'
[    81.618] (II) systemd-logind: got fd for /dev/input/event9 13:73 fd 38 paused 0
[    81.618] (**) ZSA Technology Labs Moonlander Mark I System Control: always reports core events
[    81.618] (**) Option "Device" "/dev/input/event9"
[    81.620] (II) event9  - ZSA Technology Labs Moonlander Mark I System Control: is tagged by udev as: Keyboard
[    81.620] (II) event9  - ZSA Technology Labs Moonlander Mark I System Control: device is a keyboard
[    81.621] (II) event9  - ZSA Technology Labs Moonlander Mark I System Control: device removed
[    81.621] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.1/1-4.1:1.3/0003:3297:1969.0004/input/input10/event9"
[    81.621] (II) XINPUT: Adding extended input device "ZSA Technology Labs Moonlander Mark I System Control" (type: KEYBOARD, id 12)
[    81.622] (II) event9  - ZSA Technology Labs Moonlander Mark I System Control: is tagged by udev as: Keyboard
[    81.622] (II) event9  - ZSA Technology Labs Moonlander Mark I System Control: device is a keyboard
[    81.623] (II) config/udev: Adding input device ZSA Technology Labs Moonlander Mark I Consumer Control (/dev/input/event10)
[    81.623] (**) ZSA Technology Labs Moonlander Mark I Consumer Control: Applying InputClass "evdev keyboard catchall"
[    81.623] (**) ZSA Technology Labs Moonlander Mark I Consumer Control: Applying InputClass "libinput keyboard catchall"
[    81.623] (**) ZSA Technology Labs Moonlander Mark I Consumer Control: Applying InputClass "libinput keyboard catchall"
[    81.623] (II) Using input driver 'libinput' for 'ZSA Technology Labs Moonlander Mark I Consumer Control'
[    81.624] (II) systemd-logind: got fd for /dev/input/event10 13:74 fd 39 paused 0
[    81.624] (**) ZSA Technology Labs Moonlander Mark I Consumer Control: always reports core events
[    81.624] (**) Option "Device" "/dev/input/event10"
[    81.625] (II) event10 - ZSA Technology Labs Moonlander Mark I Consumer Control: is tagged by udev as: Keyboard
[    81.626] (II) event10 - ZSA Technology Labs Moonlander Mark I Consumer Control: device is a keyboard
[    81.626] (II) event10 - ZSA Technology Labs Moonlander Mark I Consumer Control: device removed
[    81.626] (II) libinput: ZSA Technology Labs Moonlander Mark I Consumer Control: needs a virtual subdevice
[    81.626] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.1/1-4.1:1.3/0003:3297:1969.0004/input/input11/event10"
[    81.626] (II) XINPUT: Adding extended input device "ZSA Technology Labs Moonlander Mark I Consumer Control" (type: MOUSE, id 13)
[    81.626] (**) Option "AccelerationScheme" "none"
[    81.626] (**) ZSA Technology Labs Moonlander Mark I Consumer Control: (accel) selected scheme none/0
[    81.626] (**) ZSA Technology Labs Moonlander Mark I Consumer Control: (accel) acceleration factor: 2.000
[    81.626] (**) ZSA Technology Labs Moonlander Mark I Consumer Control: (accel) acceleration threshold: 4
[    81.627] (II) event10 - ZSA Technology Labs Moonlander Mark I Consumer Control: is tagged by udev as: Keyboard
[    81.627] (II) event10 - ZSA Technology Labs Moonlander Mark I Consumer Control: device is a keyboard
[    81.628] (II) config/udev: Adding input device ZSA Technology Labs Moonlander Mark I Keyboard (/dev/input/event11)
[    81.628] (**) ZSA Technology Labs Moonlander Mark I Keyboard: Applying InputClass "evdev keyboard catchall"
[    81.628] (**) ZSA Technology Labs Moonlander Mark I Keyboard: Applying InputClass "libinput keyboard catchall"
[    81.628] (**) ZSA Technology Labs Moonlander Mark I Keyboard: Applying InputClass "libinput keyboard catchall"
[    81.628] (II) Using input driver 'libinput' for 'ZSA Technology Labs Moonlander Mark I Keyboard'
[    81.629] (II) systemd-logind: got fd for /dev/input/event11 13:75 fd 40 paused 0
[    81.629] (**) ZSA Technology Labs Moonlander Mark I Keyboard: always reports core events
[    81.629] (**) Option "Device" "/dev/input/event11"
[    81.630] (II) event11 - ZSA Technology Labs Moonlander Mark I Keyboard: is tagged by udev as: Keyboard
[    81.630] (II) event11 - ZSA Technology Labs Moonlander Mark I Keyboard: device is a keyboard
[    81.630] (II) event11 - ZSA Technology Labs Moonlander Mark I Keyboard: device removed
[    81.631] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.1/1-4.1:1.3/0003:3297:1969.0004/input/input12/event11"
[    81.631] (II) XINPUT: Adding extended input device "ZSA Technology Labs Moonlander Mark I Keyboard" (type: KEYBOARD, id 14)
[    81.632] (II) event11 - ZSA Technology Labs Moonlander Mark I Keyboard: is tagged by udev as: Keyboard
[    81.632] (II) event11 - ZSA Technology Labs Moonlander Mark I Keyboard: device is a keyboard
[    81.633] (II) config/udev: Adding input device Integrated IR Camera: Integrate (/dev/input/event13)
[    81.633] (**) Integrated IR Camera: Integrate: Applying InputClass "evdev keyboard catchall"
[    81.633] (**) Integrated IR Camera: Integrate: Applying InputClass "libinput keyboard catchall"
[    81.633] (**) Integrated IR Camera: Integrate: Applying InputClass "libinput keyboard catchall"
[    81.633] (II) Using input driver 'libinput' for 'Integrated IR Camera: Integrate'
[    81.633] (II) systemd-logind: got fd for /dev/input/event13 13:77 fd 41 paused 0
[    81.633] (**) Integrated IR Camera: Integrate: always reports core events
[    81.633] (**) Option "Device" "/dev/input/event13"
[    81.635] (II) event13 - Integrated IR Camera: Integrate: is tagged by udev as: Keyboard
[    81.635] (II) event13 - Integrated IR Camera: Integrate: device is a keyboard
[    81.635] (II) event13 - Integrated IR Camera: Integrate: device removed
[    81.635] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input15/event13"
[    81.635] (II) XINPUT: Adding extended input device "Integrated IR Camera: Integrate" (type: KEYBOARD, id 15)
[    81.637] (II) event13 - Integrated IR Camera: Integrate: is tagged by udev as: Keyboard
[    81.637] (II) event13 - Integrated IR Camera: Integrate: device is a keyboard
[    81.639] (II) config/udev: Adding input device Integrated Camera: Integrated C (/dev/input/event14)
[    81.639] (**) Integrated Camera: Integrated C: Applying InputClass "evdev keyboard catchall"
[    81.639] (**) Integrated Camera: Integrated C: Applying InputClass "libinput keyboard catchall"
[    81.639] (**) Integrated Camera: Integrated C: Applying InputClass "libinput keyboard catchall"
[    81.639] (II) Using input driver 'libinput' for 'Integrated Camera: Integrated C'
[    81.639] (II) systemd-logind: got fd for /dev/input/event14 13:78 fd 42 paused 0
[    81.639] (**) Integrated Camera: Integrated C: always reports core events
[    81.639] (**) Option "Device" "/dev/input/event14"
[    81.641] (II) event14 - Integrated Camera: Integrated C: is tagged by udev as: Keyboard
[    81.641] (II) event14 - Integrated Camera: Integrated C: device is a keyboard
[    81.641] (II) event14 - Integrated Camera: Integrated C: device removed
[    81.641] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/input/input16/event14"
[    81.642] (II) XINPUT: Adding extended input device "Integrated Camera: Integrated C" (type: KEYBOARD, id 16)
[    81.643] (II) event14 - Integrated Camera: Integrated C: is tagged by udev as: Keyboard
[    81.643] (II) event14 - Integrated Camera: Integrated C: device is a keyboard
[    81.644] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event15)
[    81.644] (II) No input driver specified, ignoring this device.
[    81.644] (II) This device may have been added with another device file.
[    81.645] (II) config/udev: Adding input device HDA Intel PCH Dock Mic (/dev/input/event16)
[    81.645] (II) No input driver specified, ignoring this device.
[    81.645] (II) This device may have been added with another device file.
[    81.645] (II) config/udev: Adding input device HDA Intel PCH Dock Headphone (/dev/input/event17)
[    81.645] (II) No input driver specified, ignoring this device.
[    81.645] (II) This device may have been added with another device file.
[    81.646] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event18)
[    81.646] (II) No input driver specified, ignoring this device.
[    81.646] (II) This device may have been added with another device file.
[    81.646] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event19)
[    81.646] (II) No input driver specified, ignoring this device.
[    81.646] (II) This device may have been added with another device file.
[    81.647] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event20)
[    81.647] (II) No input driver specified, ignoring this device.
[    81.647] (II) This device may have been added with another device file.
[    81.647] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event21)
[    81.647] (II) No input driver specified, ignoring this device.
[    81.647] (II) This device may have been added with another device file.
[    81.647] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=9 (/dev/input/event22)
[    81.647] (II) No input driver specified, ignoring this device.
[    81.647] (II) This device may have been added with another device file.
[    81.647] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=10 (/dev/input/event23)
[    81.647] (II) No input driver specified, ignoring this device.
[    81.647] (II) This device may have been added with another device file.
[    81.648] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[    81.648] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    81.648] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    81.648] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[    81.648] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[    81.649] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 43 paused 0
[    81.649] (**) AT Translated Set 2 keyboard: always reports core events
[    81.649] (**) Option "Device" "/dev/input/event3"
[    81.649] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    81.650] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[    81.651] (II) event3  - AT Translated Set 2 keyboard: device removed
[    81.651] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
[    81.651] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 17)
[    81.651] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[    81.652] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[    81.653] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event24)
[    81.653] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[    81.653] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[    81.653] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[    81.653] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[    81.653] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[    81.653] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad"
[    81.653] (II) LoadModule: "synaptics"
[    81.653] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    81.654] (II) Module synaptics: vendor="X.Org Foundation"
[    81.654] 	compiled for 1.21.1.3, module version = 1.9.2
[    81.654] 	Module class: X.Org XInput Driver
[    81.654] 	ABI class: X.Org XInput driver, version 24.4
[    81.654] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[    81.655] (II) systemd-logind: got fd for /dev/input/event24 13:88 fd 44 paused 0
[    81.655] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    81.655] (**) Option "Device" "/dev/input/event24"
[    81.655] (II) synaptics: SynPS/2 Synaptics TouchPad: found clickpad property
[    81.655] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1266 - 5676 (res 45)
[    81.655] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1162 - 4690 (res 54)
[    81.655] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[    81.655] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[    81.655] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left double triple
[    81.655] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[    81.655] (**) Option "FingerLow" "30"
[    81.655] (**) Option "FingerHigh" "50"
[    81.655] (**) Option "MaxTapTime" "125"
[    81.655] (**) Option "EmulateTwoFingerMinZ" "40"
[    81.655] (**) Option "EmulateTwoFingerMinW" "8"
[    81.655] (**) Option "VertEdgeScroll" "on"
[    81.655] (**) Option "HorizEdgeScroll" "on"
[    81.655] (**) Option "VertTwoFingerScroll" "on"
[    81.655] (**) Option "HorizTwoFingerScroll" "on"
[    81.655] (**) Option "TapButton1" "1"
[    81.655] (**) Option "TapButton2" "3"
[    81.655] (**) Option "TapButton3" "2"
[    81.655] (**) Option "CircularScrolling" "on"
[    81.655] (**) Option "CircScrollTrigger" "2"
[    81.655] (**) Option "CoastingSpeed" "0"
[    81.656] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[    81.656] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    81.656] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    81.656] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input14/event24"
[    81.656] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 18)
[    81.656] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[    81.656] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[    81.656] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.035
[    81.656] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[    81.656] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[    81.656] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    81.656] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    81.656] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    81.656] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse1)
[    81.656] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[    81.657] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event25)
[    81.657] (**) TPPS/2 IBM TrackPoint: Applying InputClass "evdev pointer catchall"
[    81.657] (**) TPPS/2 IBM TrackPoint: Applying InputClass "libinput pointer catchall"
[    81.657] (**) TPPS/2 IBM TrackPoint: Applying InputClass "libinput pointer catchall"
[    81.657] (II) Using input driver 'libinput' for 'TPPS/2 IBM TrackPoint'
[    81.657] (II) systemd-logind: got fd for /dev/input/event25 13:89 fd 45 paused 0
[    81.657] (**) TPPS/2 IBM TrackPoint: always reports core events
[    81.657] (**) Option "Device" "/dev/input/event25"
[    81.658] (II) event25 - TPPS/2 IBM TrackPoint: is tagged by udev as: Mouse Pointingstick
[    81.658] (II) event25 - TPPS/2 IBM TrackPoint: device is a pointer
[    81.659] (II) event25 - TPPS/2 IBM TrackPoint: device removed
[    81.659] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/serio2/input/input26/event25"
[    81.659] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 19)
[    81.659] (**) Option "AccelerationScheme" "none"
[    81.660] (**) TPPS/2 IBM TrackPoint: (accel) selected scheme none/0
[    81.660] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[    81.660] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[    81.660] (II) event25 - TPPS/2 IBM TrackPoint: is tagged by udev as: Mouse Pointingstick
[    81.661] (II) event25 - TPPS/2 IBM TrackPoint: device is a pointer
[    81.662] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse2)
[    81.662] (II) No input driver specified, ignoring this device.
[    81.662] (II) This device may have been added with another device file.
[    81.662] (II) config/udev: Adding input device PC Speaker (/dev/input/event12)
[    81.662] (II) No input driver specified, ignoring this device.
[    81.662] (II) This device may have been added with another device file.
[    81.664] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event4)
[    81.664] (**) ThinkPad Extra Buttons: Applying InputClass "evdev keyboard catchall"
[    81.664] (**) ThinkPad Extra Buttons: Applying InputClass "libinput keyboard catchall"
[    81.664] (**) ThinkPad Extra Buttons: Applying InputClass "libinput keyboard catchall"
[    81.664] (II) Using input driver 'libinput' for 'ThinkPad Extra Buttons'
[    81.665] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 46 paused 0
[    81.665] (**) ThinkPad Extra Buttons: always reports core events
[    81.665] (**) Option "Device" "/dev/input/event4"
[    81.665] (II) event4  - ThinkPad Extra Buttons: is tagged by udev as: Keyboard Switch
[    81.665] (II) event4  - ThinkPad Extra Buttons: device is a keyboard
[    81.666] (II) event4  - ThinkPad Extra Buttons: device removed
[    81.666] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input4/event4"
[    81.666] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 20)
[    81.666] (II) event4  - ThinkPad Extra Buttons: is tagged by udev as: Keyboard Switch
[    81.666] (II) event4  - ThinkPad Extra Buttons: device is a keyboard
[    81.694] (**) ZSA Technology Labs Moonlander Mark I Consumer Control: Applying InputClass "evdev keyboard catchall"
[    81.694] (**) ZSA Technology Labs Moonlander Mark I Consumer Control: Applying InputClass "libinput keyboard catchall"
[    81.694] (**) ZSA Technology Labs Moonlander Mark I Consumer Control: Applying InputClass "libinput keyboard catchall"
[    81.694] (II) Using input driver 'libinput' for 'ZSA Technology Labs Moonlander Mark I Consumer Control'
[    81.694] (II) systemd-logind: returning pre-existing fd for /dev/input/event10 13:74
[    81.694] (**) ZSA Technology Labs Moonlander Mark I Consumer Control: always reports core events
[    81.694] (**) Option "Device" "/dev/input/event10"
[    81.694] (II) libinput: ZSA Technology Labs Moonlander Mark I Consumer Control: is a virtual subdevice
[    81.694] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.1/1-4.1:1.3/0003:3297:1969.0004/input/input11/event10"
[    81.694] (II) XINPUT: Adding extended input device "ZSA Technology Labs Moonlander Mark I Consumer Control" (type: KEYBOARD, id 21)

The output of `lspci -k` is:

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
        Subsystem: Lenovo ThinkPad T570
        Kernel driver in use: skl_uncore
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
        Subsystem: Lenovo ThinkPad T570
        Kernel driver in use: i915
        Kernel modules: i915
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
        Subsystem: Lenovo ThinkPad T570
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
        Subsystem: Lenovo ThinkPad T570
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
        Subsystem: Lenovo ThinkPad T570
        Kernel driver in use: intel_pch_thermal
        Kernel modules: intel_pch_thermal
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
        Subsystem: Lenovo ThinkPad T570
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:16.3 Serial controller: Intel Corporation Sunrise Point-LP Active Management Technology - SOL (rev 21)
        Subsystem: Lenovo ThinkPad T570
        Kernel driver in use: serial
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
        Subsystem: Lenovo Device 2247
        Kernel driver in use: ahci
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
        Subsystem: Lenovo Device 2247
        Kernel driver in use: pcieport
00:1c.6 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #7 (rev f1)
        Subsystem: Lenovo Device 2247
        Kernel driver in use: pcieport
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
        Subsystem: Lenovo ThinkPad T570
        Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC Controller/eSPI Controller (rev 21)
        Subsystem: Lenovo Device 2247
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
        Subsystem: Lenovo ThinkPad T570
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
        Subsystem: Lenovo Device 2247
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel, snd_soc_skl, snd_soc_avs
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
        Subsystem: Lenovo ThinkPad T570
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-LM (rev 21)
        Subsystem: Lenovo Device 2247
        Kernel driver in use: e1000e
        Kernel modules: e1000e
02:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)
        Subsystem: Lenovo ThinkPad T570
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia
04:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
        Subsystem: Intel Corporation Dual Band Wireless-AC 8265
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

The output of `prime-run glxinfo -B` is:

name of display: :0
display: :0  screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 2048 MB
    Total available memory: 2048 MB
    Currently available dedicated video memory: 1999 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce 940MX/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 525.60.11
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6.0 NVIDIA 525.60.11
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)

OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 525.60.11
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

The things that I tried to do are many, including:
1. Trying running nvidia alone as in: https://wiki.archlinux.org/title/NVIDIA … phics_only
2. Adding all nvidia modules in `mkinitcpoi`, as:

MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)

, which is my current settings. However, I observed that the command `mkinitcpio -P` complains about missing the nvidia modules!!

==> Building image from preset: /etc/mkinitcpio.d/5.4.38-1-lts.preset: 'default'
  -> -k /boot/vmlinuz-5.4.38-1-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4.38-1-lts.img
==> Starting build: 5.4.38-1-lts
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
/etc/vconsole.conf: line 2: KEYMAP: command not found
/etc/vconsole.conf: line 3: FONT: command not found
  -> Running build hook: [consolefont]
/etc/vconsole.conf: line 2: KEYMAP: command not found
/etc/vconsole.conf: line 3: FONT: command not found
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> ERROR: module not found: `nvidia'
==> ERROR: module not found: `nvidia_modeset'
==> ERROR: module not found: `nvidia_uvm'
==> ERROR: module not found: `nvidia_drm'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-5.4.38-1-lts.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/5.4.38-1-lts.preset: 'fallback'
  -> -k /boot/vmlinuz-5.4.38-1-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-5.4.38-1-lts-fallback.img -S autodetect
==> Starting build: 5.4.38-1-lts
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: ast
  -> Running build hook: [keyboard]
  -> Running build hook: [keymap]
/etc/vconsole.conf: line 2: KEYMAP: command not found
/etc/vconsole.conf: line 3: FONT: command not found
  -> Running build hook: [consolefont]
/etc/vconsole.conf: line 2: KEYMAP: command not found
/etc/vconsole.conf: line 3: FONT: command not found
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: aic94xx
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> ERROR: module not found: `nvidia'
==> ERROR: module not found: `nvidia_modeset'
==> ERROR: module not found: `nvidia_uvm'
==> ERROR: module not found: `nvidia_drm'
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-5.4.38-1-lts-fallback.img
==> WARNING: errors were encountered during the build. The image may not be complete.
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 6.0.11-arch1-1
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keymap]
/etc/vconsole.conf: line 2: KEYMAP: command not found
/etc/vconsole.conf: line 3: FONT: command not found
  -> Running build hook: [consolefont]
/etc/vconsole.conf: line 2: KEYMAP: command not found
/etc/vconsole.conf: line 3: FONT: command not found
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 6.0.11-arch1-1
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: ast
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: xhci_pci
  -> Running build hook: [keymap]
/etc/vconsole.conf: line 2: KEYMAP: command not found
/etc/vconsole.conf: line 3: FONT: command not found
  -> Running build hook: [consolefont]
/etc/vconsole.conf: line 2: KEYMAP: command not found
/etc/vconsole.conf: line 3: FONT: command not found
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: qed
==> WARNING: Possibly missing firmware for module: qla2xxx
==> WARNING: Possibly missing firmware for module: qla1280
==> WARNING: Possibly missing firmware for module: bfa
==> WARNING: Possibly missing firmware for module: wd719x
==> WARNING: Possibly missing firmware for module: aic94xx
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful

3. removing everything in `.xinitrc` except `exec awesome.
4. installing `nvidia-dkms`, which replaces `nvidia` and installing the zen version of archlinux in addition to the regular headers.
5. applying all steps of this page https://howto.lintel.in/install-nvidia-arch-linux/
6. really many other things available in help pages and discussion groups, which I cannot remember.

I hope I provided you with enough information. Thanks so much again.

Offline

#4 2022-12-08 20:45:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,657

Re: nvidia seems not working with xorg

Where's this kernel for the mkinitcpio execution from? It's ages old, and you probably shouldn't and aren't actually using it.

You don't need to do anything of the steps you tried, prime-run glxinfo -B working shows your nvidia card works an you can run applications you want to on there with prime-run $insertapplication$.

From your steps most are somewhat misguided, especially the .xinitrc should follow the template as linked to by seth's signature

Offline

#5 2022-12-08 21:06:45

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: nvidia seems not working with xorg

V1del wrote:

especially the .xinitrc should follow the template as linked to by seth's signature

Which is not gonna work if

ArchInUvic wrote:

I removed everything in '/etc/X11'

that included /etc/X11/xinit/xinitrc.d

pacman -Qkk xorg-xinit

In doubt re-install xorg-xinit.

You might as well want to get rid of optimus-manager, the nvidia chip is no VGA device. Running on it "only" will not be possible.

Offline

#6 2022-12-12 20:50:26

ArchInUvic
Member
Registered: 2022-12-08
Posts: 19

Re: nvidia seems not working with xorg

Thank you all! (just a fast note, when I said I removed everything in my `.xinitrc` except `exec awesome` this was only for testing to make sure that nothing in this file is the source of the problem).

OK; anyway; I kept experimenting the last two days. Now, the majority of applications seem working on nvidia using `prime-run`; however:

1. `prime-run firefox` give this message:

[GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI connection.
[2022-12-12T17:47:43Z ERROR glean_core::metrics::ping] Invalid reason code startup for ping background-update
[2022-12-12T17:47:43Z ERROR glean_core::metrics::ping] Invalid reason code startup for ping newtab

and `nvidia-smi` shows that firefox is not on the running processes (only Xorg is).

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A       982      G   /usr/lib/Xorg                      69MiB |
+-----------------------------------------------------------------------------+

Although firefox is running only on intel, it is running perfectly without glitches.

2. `prime-run brave` give this message:

MESA-LOADER: failed to retrieve device information
MESA-LOADER: failed to open i915: /usr/lib/dri/i915_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/dri, suffix _dri)
failed to load driver: i915
MESA-LOADER: failed to open zink: /usr/lib/dri/zink_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/dri, suffix _dri)
failed to load driver: zink
MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/dri, suffix _dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: Permission denied (search paths /usr/lib/dri, suffix _dri)
failed to load swrast driver

and `nvidia-smi` shows that brave seems to be running on nvidia:

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A       982      G   /usr/lib/Xorg                     133MiB |
|    0   N/A  N/A     52809      G   ...260047582532478472,131072      129MiB |
+-----------------------------------------------------------------------------+

However, brave started freezing every once and then (whether on nvidia or intel); then unfreezes after a while. Moreover, on nvidia it has several anomalies, including: typing is slow, drop-down menus appear empty until I hover with the mouse.

3. Mathematica renders animated scientific graphics slowly; I thought it should be as fast as a bullet on nvidia!

Thanks again

Offline

#7 2022-12-12 21:34:51

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: nvidia seems not working with xorg

wrt FF see https://wiki.archlinux.org/title/Firefo … celeration

Mathematica will hinge on 1) how it renders stuff (HW support at all?) and 2) whether the graphcis are actually the limiting factor (and not perhaps the CPU)
Is it slower than on the IGP and how slow exactly? (1fps, 10fps, …)
Does the function matter?

Offline

#8 2022-12-12 22:49:53

ArchInUvic
Member
Registered: 2022-12-08
Posts: 19

Re: nvidia seems not working with xorg

Thanks @seth. I will reply your questions; meanwhile, what is your response about brave (point 2 in my latest response)

Offline

#9 2022-12-13 07:40:43

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: nvidia seems not working with xorg

I don't use brave, but I'd first and foremost check about:gpu
The MESA-LOADER messages are probably irrelevant (and misleading)

stat /usr/lib/dri/i915_dri.so /usr/lib/dri/zink_dri.so /usr/lib/dri/kms_swrast_dri.so /usr/lib/dri/swrast_dri.so

A bunch of them likely won't even be there but in any event, you don't want to load any of them w/ the nvidia driver.
The lags are likely an issue around https://wiki.archlinux.org/title/PRIME# … ronization and wrt to your earlier xorg log, nb

the wiki wrote:

A pre-requisite for PRIME synchronization with the NVIDIA driver is to enable modesetting.

Offline

#10 2022-12-18 15:49:05

ArchInUvic
Member
Registered: 2022-12-08
Posts: 19

Re: nvidia seems not working with xorg

Thanks @Seth. I have now three homeworks to reply you: brave, firefox, mathematica. I am trying on brave and firefox all what you said; nothing works. I will post after I give up.

Offline

#11 2022-12-18 16:13:50

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: nvidia seems not working with xorg

You have what??

Either way, have you enabled "nvidia-drm.modeset=1"?
What exactly have you done to enable/configure VAAPI in FF?
What does the "about:support" page in FF report on graphics? Does it maybe put you on general software rendering?

"I have tried everything™ but it doesnotwork™" is essentially https://bbs.archlinux.org/viewtopic.php?id=57855 - you have to be explicit and conclusive in your statements.

Offline

#12 2022-12-19 17:32:51

ArchInUvic
Member
Registered: 2022-12-08
Posts: 19

Re: nvidia seems not working with xorg

I meant I will keep trying before giving you a feedback not to wast your time. Anyway, regarding FF I followed the four steps in https://wiki.archlinux.org/title/Firefo … celeration; for these four steps:
1. I assume that the nvidia is working; we already investigated this.
2. I found this in the `about:support`:

Webredner: available by default
                   blacklisted by env: Blocklisted by gfxInfo

3. media.ffmpeg.vaapi.enabled is already set as true in about:config
4. I have wayland installed, but the window protocol in the about:support says X11. So, I do not think this point applies to my case; right?

I hope this is enough information.

Offline

#13 2022-12-20 09:52:50

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: nvidia seems not working with xorg

Webredner: available by default
                   blacklisted by env: Blocklisted by gfxInfo

Don't paraphrase, copy and paste the actual output.
Then see https://wiki.archlinux.org/title/Firefo … celeration again on how to enforce "Hardware WebRender"

I assume that the nvidia is working; we already investigated this.

ASS·U·ME
The point isn't whether "the nvidia is working" but that nvidia-drm.modeset is prerequisite for a number of things.

Offline

#14 2022-12-20 16:46:58

ArchInUvic
Member
Registered: 2022-12-08
Posts: 19

Re: nvidia seems not working with xorg

(BTW, I do of course copy-and-past; accidentally, after pasting and navigating through the post, some letters in these words were deleted and retyped only these letters.)
I went to `about:config`, searched for `gfx.webrender.all` and set it to `true`. Now, `prime-run firefox` gives this:

[GFX1-]: glxtest: VA-API test failed: failed to initialise VAAPI connection.
[GFX1-]: Failed to create EGLSurface!: 0x3009
[GFX1-]: Failed to create EGLSurface. 1 renderers, 0 active.
[GFX1-]: Handling webrender error 3
[GFX1-]: Fallback WR to SW-WR
[2022-12-20T16:40:09Z ERROR glean_core::metrics::ping] Invalid reason code startup for ping background-update

is the error and the fallback message of any concern? The `nvidia-smi` shows that firefox is launched on the nvidia card.

Offline

#15 2022-12-20 17:08:38

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: nvidia seems not working with xorg

https://bugzilla.mozilla.org/show_bug.cgi?id=1739611

seth, couple of times wrote:

have you enabled "nvidia-drm.modeset=1"?

Offline

#16 2022-12-22 15:37:55

ArchInUvic
Member
Registered: 2022-12-08
Posts: 19

Re: nvidia seems not working with xorg

I did the following to enable it:
1. in `/etc/default/grub` I added: GRUB_CMDLINE_LINUX="nvidia-drm.modeset=1"
2. from shell: sudo grub-mkconfig -o /boot/grub/grub.cfg
3. rebooted.

I get the same fallback message when I do `prime-run firefox`

BTW, I am not sure whether the following is relevant or not:
1. the `nvidia-settings` gives me a dialogue where the "X server display configuration" show the layout to have "X screen 1 No ScanOut"
2. the `vainfo` gives information about the intel not the nvidia gpu:

Trying display: wayland
Trying display: x11
vainfo: VA-API version: 1.16 (libva 2.16.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.4.4 ()
vainfo: Supported profile and entrypoints
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileNone                   : VAEntrypointStats
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointFEI
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointFEI
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointFEI
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileVP8Version0_3          : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointFEI
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD

Last edited by ArchInUvic (2022-12-23 04:00:33)

Offline

#17 2022-12-23 22:55:05

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: nvidia seems not working with xorg

Try

prime-run nvidia-settings
LIBVA_DRIVER_NAME=nvidia VDPAU_DRIVER=nvidia prime-run vainfo

The mozilla bug claims to ha similar errors w/

prime-run glmark2-es2

from the glmark2 package, can you confirm that?

Offline

#18 2022-12-23 23:21:31

ArchInUvic
Member
Registered: 2022-12-08
Posts: 19

Re: nvidia seems not working with xorg

Here are the results of four commands:

[wyousef@localhost ~]$ prime-run nvidia-settings

(nvidia-settings:92329): GLib-GObject-CRITICAL **: 15:18:33.579: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
GPU at BusId 0x2 doesn't have a supported video decoder

ERROR: A supplied argument is invalid
[wyousef@localhost ~]$ prime-run vainfo
Trying display: wayland
Trying display: x11
vainfo: VA-API version: 1.16 (libva 2.16.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 22.4.4 ()
vainfo: Supported profile and entrypoints
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileNone                   : VAEntrypointStats
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointFEI
      VAProfileH264Main               : VAEntrypointEncSliceLP
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointFEI
      VAProfileH264High               : VAEntrypointEncSliceLP
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointFEI
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSliceLP
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileVP8Version0_3          : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointFEI
      VAProfileHEVCMain10             : VAEntrypointVLD
      VAProfileHEVCMain10             : VAEntrypointEncSlice
      VAProfileVP9Profile0            : VAEntrypointVLD
      VAProfileVP9Profile2            : VAEntrypointVLD
[wyousef@localhost ~]$ LIBVA_DRIVER_NAME=nvidia VDPAU_DRIVER=nvidia prime-run vainfo
Trying display: wayland
Trying display: x11
vaInitialize failed with error code -1 (unknown libva error),exit
[wyousef@localhost ~]$ prime-run glmark2-es2
Error: eglCreateWindowSurface failed with error: 0x3009
Error: eglCreateWindowSurface failed with error: 0x3009
Error: CanvasGeneric: Invalid EGL state
Error: main: Could not initialize canvas

Offline

#19 2022-12-24 08:25:42

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: nvidia seems not working with xorg

GPU at BusId 0x2 doesn't have a supported video decoder

looks somewhat concerning, what about vdpau?

LIBVA_DRIVER_NAME=nvidia VDPAU_DRIVER=nvidia prime-run vdpauinfo

Does the GPU otherwise show up in nvidia-settings (along some controllable parameters)?

prime-run eglinfo | grep -iC16 nvidia
prime-run glmark2-es2 --debug

Offline

#20 2022-12-24 15:37:48

ArchInUvic
Member
Registered: 2022-12-08
Posts: 19

Re: nvidia seems not working with xorg

Thanks for your patience. These are the shell commands and their output in the same order you wrote:

[wyousef@localhost ~]$ LIBVA_DRIVER_NAME=nvidia VDPAU_DRIVER=nvidia prime-run vdpauinfo
display: :0   screen: 0
GPU at BusId 0x2 doesn't have a supported video decoder
Error creating VDPAU device: 1
[wyousef@localhost ~]$ prime-run eglinfo | grep -iC16 nvidia
/usr/bin/prime-run: line 2: eglinfo: command not found
[wyousef@localhost ~]$ prime-run glmark2-es2 --debug
Debug: Using eglGetPlatformDisplayEXT()
Debug: Got 20 suitable EGLConfigs:
Debug: 
Debug:     cfg buf  rgb  colorbuffer dp st config native support surface sample
Debug:      id  sz  lum  r  g  b  a  th cl caveat render  visid    type  buf ns
Debug: ------------------------------------------------------------------------
Debug:     0x4  32  rgb  8  8  8  8  24  0   None  false   0x226   0x807   0  0
Debug:     0x5  32  rgb  8  8  8  8  24  0   None  false   0x226   0x807   0  0
Debug:     0x1  32  rgb  8  8  8  8  24  8   None  false   0x226   0x807   0  0
Debug:     0x2  32  rgb  8  8  8  8  24  8   None  false   0x226   0x807   0  0
Debug:     0xd  32  rgb  8  8  8  8  24  0   None  false   0x226   0x805   1  2
Debug:     0xe  32  rgb  8  8  8  8  24  0   None  false   0x226   0x805   1  2
Debug:     0xa  32  rgb  8  8  8  8  24  8   None  false   0x226   0x805   1  2
Debug:     0xb  32  rgb  8  8  8  8  24  8   None  false   0x226   0x805   1  2
Debug:    0x13  32  rgb  8  8  8  8  24  0   None  false   0x226   0x805   1  4
Debug:    0x14  32  rgb  8  8  8  8  24  0   None  false   0x226   0x805   1  4
Debug:    0x10  32  rgb  8  8  8  8  24  8   None  false   0x226   0x805   1  4
Debug:    0x11  32  rgb  8  8  8  8  24  8   None  false   0x226   0x805   1  4
Debug:    0x19  32  rgb  8  8  8  8  24  0   None  false   0x226   0x805   1  8
Debug:    0x1a  32  rgb  8  8  8  8  24  0   None  false   0x226   0x805   1  8
Debug:    0x16  32  rgb  8  8  8  8  24  8   None  false   0x226   0x805   1  8
Debug:    0x17  32  rgb  8  8  8  8  24  8   None  false   0x226   0x805   1  8
Debug:    0x1f  32  rgb  8  8  8  8  24  0   None  false   0x226   0x805   1 16
Debug:    0x20  32  rgb  8  8  8  8  24  0   None  false   0x226   0x805   1 16
Debug:    0x1c  32  rgb  8  8  8  8  24  8   None  false   0x226   0x805   1 16
Debug:    0x1d  32  rgb  8  8  8  8  24  8   None  false   0x226   0x805   1 16
Debug: 
Debug: Best EGLConfig ID: 0x4
Debug: Creating XWindow W: 800 H: 600 VisualID: 0x226
Error: eglCreateWindowSurface failed with error: 0x3009
Error: eglCreateWindowSurface failed with error: 0x3009
Error: CanvasGeneric: Invalid EGL state
Error: main: Could not initialize canvas

and yes, nvidia-settings shows: GPU0 - (NVIDIA GeForce 940MX) with many parameters. However, the last two of these parameters are:
X Screens: Screen 1
Display Devices: None

Offline

#21 2022-12-24 16:05:02

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: nvidia seems not working with xorg

/usr/bin/prime-run: line 2: eglinfo: command not found

https://archlinux.org/packages/extra/x86_64/mesa-utils/

X Screens: Screen 1
Display Devices: None

that's ok, there's probably no output attached, what is common in optimus setups.

GPU at BusId 0x2 doesn't have a supported video decoder
Error creating VDPAU device: 1

export VDPAU_TRACE=2
export VDPAU_NVIDIA_DEBUG=3
LIBVA_DRIVER_NAME=nvidia VDPAU_DRIVER=nvidia prime-run vdpauinfo

Offline

#22 2022-12-24 16:20:20

ArchInUvic
Member
Registered: 2022-12-08
Posts: 19

Re: nvidia seems not working with xorg

After installing `mesa-utils`:

[wyousef@localhost ~]$ prime-run eglinfo | grep -iC16 nvidia
    EGL_EXT_platform_base EGL_EXT_device_base EGL_EXT_device_enumeration
    EGL_EXT_device_query EGL_KHR_client_get_all_proc_addresses
    EGL_EXT_client_extensions EGL_KHR_debug EGL_KHR_platform_x11
    EGL_EXT_platform_x11 EGL_EXT_platform_device
    EGL_MESA_platform_surfaceless EGL_EXT_explicit_device
    EGL_KHR_platform_wayland EGL_EXT_platform_wayland
    EGL_KHR_platform_gbm EGL_MESA_platform_gbm EGL_EXT_platform_xcb

GBM platform:
eglinfo: eglInitialize failed

Wayland platform:
eglinfo: eglInitialize failed

X11 platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
EGL extensions string:
    EGL_EXT_buffer_age EGL_EXT_client_sync
    EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import
    EGL_EXT_image_dma_buf_import_modifiers EGL_MESA_image_dma_buf_export
    EGL_EXT_output_base EGL_EXT_stream_acquire_mode EGL_EXT_sync_reuse
    EGL_IMG_context_priority EGL_KHR_config_attribs
    EGL_KHR_create_context_no_error EGL_KHR_context_flush_control
    EGL_KHR_create_context EGL_KHR_fence_sync
    EGL_KHR_get_all_proc_addresses EGL_KHR_partial_update
    EGL_KHR_swap_buffers_with_damage EGL_KHR_no_config_context
    EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image
    EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image
    EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base
    EGL_KHR_image_pixmap EGL_KHR_reusable_sync EGL_KHR_stream
--
0x3a 24  0  8  8  8  0 24  0  8 1 0x20--         y  y  y     win,pb,str
0x3b 24  0  8  8  8  0 24  0  8 1 0x20--         y  y  y     win,pb,str
0x3c 24  0  8  8  8  0 24  0  8 1 0x21--         y  y  y     win,pb,str
0x3d 24  0  8  8  8  0 24  8 16 1 0x20--         y  y  y     win,pb,str
0x3e 24  0  8  8  8  0 24  8 16 1 0x20--         y  y  y     win,pb,str
0x3f 24  0  8  8  8  0 24  8 16 1 0x21--         y  y  y     win,pb,str
0x40 24  0  8  8  8  0 24  0 16 1 0x20--         y  y  y     win,pb,str
0x41 24  0  8  8  8  0 24  0 16 1 0x20--         y  y  y     win,pb,str
0x42 24  0  8  8  8  0 24  0 16 1 0x21--         y  y  y     win,pb,str
0x43 16  0  5  6  5  0 24  8  0 0 0x00--         y  y  y     pb,str
0x44 16  0  5  6  5  0 24  0  0 0 0x00--         y  y  y     pb,str
0x45 16  0  5  6  5  0 16  0  0 0 0x00--         y  y  y     pb,str
0x46 16  0  5  6  5  0  0  0  0 0 0x00--         y  y  y     pb,str

Surfaceless platform:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
EGL extensions string:
    EGL_EXT_buffer_age EGL_EXT_client_sync
    EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import
    EGL_EXT_image_dma_buf_import_modifiers EGL_MESA_image_dma_buf_export
    EGL_EXT_output_base EGL_EXT_protected_content
    EGL_EXT_stream_acquire_mode EGL_EXT_sync_reuse
    EGL_IMG_context_priority EGL_KHR_config_attribs
    EGL_KHR_create_context_no_error EGL_KHR_context_flush_control
    EGL_KHR_create_context EGL_KHR_fence_sync
    EGL_KHR_get_all_proc_addresses EGL_KHR_partial_update
    EGL_KHR_swap_buffers_with_damage EGL_KHR_no_config_context
    EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image
    EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image
    EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base
--
0x2c 16  0  5  6  5  0 16  0  4 1 0x00--         y  y  y     pb,str
0x2d 16  0  5  6  5  0  0  0  4 1 0x00--         y  y  y     pb,str
0x2e 16  0  5  6  5  0  0  0  4 1 0x00--         y  y  y     pb,str
0x2f 16  0  5  6  5  0 24  8  8 1 0x00--         y  y  y     pb,str
0x30 16  0  5  6  5  0 24  0  8 1 0x00--         y  y  y     pb,str
0x31 16  0  5  6  5  0 16  0  8 1 0x00--         y  y  y     pb,str
0x32 16  0  5  6  5  0  0  0  8 1 0x00--         y  y  y     pb,str

Device platform:
Device #0:

EGL device extensions string:
    EGL_NV_device_cuda EGL_EXT_device_drm EGL_EXT_device_drm_render_node
    EGL_EXT_device_query_name EGL_EXT_device_persistent_id
Platform Device:
EGL API version: 1.5
EGL vendor string: NVIDIA
EGL version string: 1.5
EGL client APIs: OpenGL_ES OpenGL
EGL extensions string:
    EGL_EXT_buffer_age EGL_EXT_client_sync
    EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import
    EGL_EXT_image_dma_buf_import_modifiers EGL_MESA_image_dma_buf_export
    EGL_EXT_output_base EGL_EXT_output_drm EGL_EXT_protected_content
    EGL_EXT_stream_consumer_egloutput EGL_EXT_stream_acquire_mode
    EGL_EXT_sync_reuse EGL_IMG_context_priority EGL_KHR_config_attribs
    EGL_KHR_create_context_no_error EGL_KHR_context_flush_control
    EGL_KHR_create_context EGL_KHR_fence_sync
    EGL_KHR_get_all_proc_addresses EGL_KHR_partial_update
    EGL_KHR_swap_buffers_with_damage EGL_KHR_no_config_context
    EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image
    EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image
    EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
[wyousef@localhost ~]$ prime-run glmark2-es2 --debug
Debug: Using eglGetPlatformDisplayEXT()
Debug: Got 20 suitable EGLConfigs:
Debug: 
Debug:     cfg buf  rgb  colorbuffer dp st config native support surface sample
Debug:      id  sz  lum  r  g  b  a  th cl caveat render  visid    type  buf ns
Debug: ------------------------------------------------------------------------
Debug:     0x4  32  rgb  8  8  8  8  24  0   None  false   0x226   0x807   0  0
Debug:     0x5  32  rgb  8  8  8  8  24  0   None  false   0x226   0x807   0  0
Debug:     0x1  32  rgb  8  8  8  8  24  8   None  false   0x226   0x807   0  0
Debug:     0x2  32  rgb  8  8  8  8  24  8   None  false   0x226   0x807   0  0
Debug:     0xd  32  rgb  8  8  8  8  24  0   None  false   0x226   0x805   1  2
Debug:     0xe  32  rgb  8  8  8  8  24  0   None  false   0x226   0x805   1  2
Debug:     0xa  32  rgb  8  8  8  8  24  8   None  false   0x226   0x805   1  2
Debug:     0xb  32  rgb  8  8  8  8  24  8   None  false   0x226   0x805   1  2
Debug:    0x13  32  rgb  8  8  8  8  24  0   None  false   0x226   0x805   1  4
Debug:    0x14  32  rgb  8  8  8  8  24  0   None  false   0x226   0x805   1  4
Debug:    0x10  32  rgb  8  8  8  8  24  8   None  false   0x226   0x805   1  4
Debug:    0x11  32  rgb  8  8  8  8  24  8   None  false   0x226   0x805   1  4
Debug:    0x19  32  rgb  8  8  8  8  24  0   None  false   0x226   0x805   1  8
Debug:    0x1a  32  rgb  8  8  8  8  24  0   None  false   0x226   0x805   1  8
Debug:    0x16  32  rgb  8  8  8  8  24  8   None  false   0x226   0x805   1  8
Debug:    0x17  32  rgb  8  8  8  8  24  8   None  false   0x226   0x805   1  8
Debug:    0x1f  32  rgb  8  8  8  8  24  0   None  false   0x226   0x805   1 16
Debug:    0x20  32  rgb  8  8  8  8  24  0   None  false   0x226   0x805   1 16
Debug:    0x1c  32  rgb  8  8  8  8  24  8   None  false   0x226   0x805   1 16
Debug:    0x1d  32  rgb  8  8  8  8  24  8   None  false   0x226   0x805   1 16
Debug: 
Debug: Best EGLConfig ID: 0x4
Debug: Creating XWindow W: 800 H: 600 VisualID: 0x226
Error: eglCreateWindowSurface failed with error: 0x3009
Error: eglCreateWindowSurface failed with error: 0x3009
Error: CanvasGeneric: Invalid EGL state
Error: main: Could not initialize canvas
[wyousef@localhost ~]$ export VDPAU_TRACE=2
[wyousef@localhost ~]$ export VDPAU_NVIDIA_DEBUG=3
[wyousef@localhost ~]$ LIBVA_DRIVER_NAME=nvidia VDPAU_DRIVER=nvidia prime-run vdpauinfo
display: :0   screen: 0
VDPAU capture: Enabled
vdp_imp_device_create_x11(0x55b903b94f40, 0, -, -)
GPU at BusId 0x2 doesn't have a supported video decoder
VDPAU nvidia: Version: NVIDIA VDPAU Driver Shared Library  525.60.11  Wed Nov 23 22:48:12 UTC 2022
VDPAU nvidia: Error detected 9 418  3
VDPAU nvidia: Backtrace:
--: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f5fc8400000] DSO load base
00: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f5fc842f7cd] 
01: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f5fc8424530] 
02: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f5fc8424711] 
03: /usr/lib/vdpau/libvdpau_nvidia.so.1 [0x7f5fc8414d7c] vdp_imp_device_create_x11
    -> 1
Error creating VDPAU device: 1

Offline

#23 2022-12-24 17:06:08

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: nvidia seems not working with xorg

eglinfo works "as expected" (not sure whether the "libEGL warning: egl: failed to create dri2 screen" should be there but it doesn't seem critical)

https://bugzilla.mozilla.org/show_bug.cgi?id=1771898 and https://gitlab.freedesktop.org/mesa/mesa/-/issues/6588 focus on getting mesa/ff to use the intel chip because nvidia is in the way.
Then there's https://forums.developer.nvidia.com/t/c … e/35938/31 (and https://forums.developer.nvidia.com/t/e … andr/35349 and https://forums.developer.nvidia.com/t/v … oder/71451 ) so apparently HW video decoding will not happen on the GPU atm.

I suspect the glmark2 failure (and possibly the vdpau one as well) is down to the indirect display and nvidia being "only" a 3D-controller, not a VGA device.
Can you

prime-run glmark2

?

Offline

#24 2022-12-24 17:20:42

ArchInUvic
Member
Registered: 2022-12-08
Posts: 19

Re: nvidia seems not working with xorg

This is the output when calling the command, then closing the video:

[wyousef@localhost ~]$ prime-run glmark2
=======================================================
    glmark2 2021.12
=======================================================
    OpenGL Information
    GL_VENDOR:     NVIDIA Corporation
    GL_RENDERER:   NVIDIA GeForce 940MX/PCIe/SSE2
    GL_VERSION:    4.6.0 NVIDIA 525.60.11
=======================================================
[build] use-vbo=false: FPS: 432 FrameTime: 2.315 ms
=======================================================
                                  glmark2 Score: 432 
=======================================================

Offline

#25 2022-12-24 21:00:45

seth
Member
Registered: 2012-09-03
Posts: 51,017

Re: nvidia seems not working with xorg

The only interesting bit is that GL/prime principally works, there're just limitations and apparently video decoding isn't possible nor seem certain egl functions (while egl principally works on nvidia)
You could try the LTS kernel because of recent restrictions in the kernel API, but they should be unrelated and given the older mozilla and nvidia threads, I'd not hold my breath.

Can you deactivate the IGP in the BIOS and only use the nvidia GPU?

Offline

Board footer

Powered by FluxBB