You are not logged in.

#1 2024-07-10 12:42:29

Firngrod
Member
Registered: 2024-07-09
Posts: 3

NVIDIA PRIME freezes external monitors on Lenovo P51

Hello Arch Forum users

I'm currently trying to set up Arch Linux on my Lenovo P51 with hybrid graphics.
Everything seems to be working alright except that when I run an application using PRIME (prime-run), the external screens freeze up.  The built-in display on the laptop remains responsive, but the external monitors freeze.  They still exist in user-space, I can move windows through them, but the displayed image isn't updated.  The external screens become responsive again if I restart X.  Just before X goes down, they will update with one frame(maybe more) which would have followed the one they got stuck on (Not up-to-date frames.)  The issue is more likely to occur when the application is running on one of the external screens.
It does not happen immediately, but the likelihood of it happening seems to be correlated to the level of NVIDIA card GPU utilization.

Some information about the system:
CPU:   Core I7 7700HQ
IGPU:  Intel HD Graphics 630
DGPU:  NVIDIA Quadro M1200
Built-in display is connected to the iGPU
External displays are connected to the dGPU
Using Xorg with AwesomeWM, launching with xinit

Things I've tried, many in combination with one another, over the last weeks:
Every driver from AUR back to 470xx.  I cannot reproduce the issue in 470xx, but that may be because I can't get GPU utilization above 50% according to nvidia-settings, and performance in applications is markedly worse than in the newer drivers.
Running with standard kernel and LTS kernel and the correlating newest drivers from the repos
Using xf86-video-intel and not using xf86-video-intel.
Verified that PRIME Synchronization is on.
Updated all firmware using fwupdmgr.
A large number of kernel parameter combinations.
Early loading through initramfs modules (added to modules in mkinitcpio.conf).
Tried nouveau PRIME, resulting in even worse performance than the IGPU alone.
Pretty much everything in the articles about NVIDIA, PRIME and the device specific wiki article.
List may be subject to change as I try or remember more things.

Just for info:  The BIOS allows for switching to discrete graphics only, and in that configuration, graphics rendering is very performant and rock stable across all monitors.  I mention this because it indicates that the monitor seizures are not hardware caused.  There are other reasons why I don't want to use that configuration.

Any help or suggestions that anyone can provide would be most welcome!  I am not not adverse to reinstalling from the bottom up to get a clean system for suggested fixes so they don't get tainted by other attempted fixes.

Below is an Xorg log from an instance with a freeze.  The only difference from a normal Xorg run is the warning about inputs lost (When switching the load application to full-screen)

[   516.346] 
X.Org X Server 1.21.1.13
X Protocol Version 11, Revision 0
[   516.346] Current Operating System: Linux ArchPad 6.6.38-1-lts #1 SMP PREEMPT_DYNAMIC Tue, 09 Jul 2024 11:08:50 +0000 x86_64
[   516.346] Kernel command line: BOOT_IMAGE=/vmlinuz-linux-lts root=UUID=55ac94c5-8bb1-4971-8b96-a99dc3f1129a rw loglevel=3 quiet
[   516.346]  
[   516.347] Current version of pixman: 0.43.4
[   516.347] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   516.347] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   516.347] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul 10 14:33:28 2024
[   516.347] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   516.347] (==) No Layout section.  Using the first Screen section.
[   516.347] (==) No screen section available. Using defaults.
[   516.347] (**) |-->Screen "Default Screen Section" (0)
[   516.347] (**) |   |-->Monitor "<default monitor>"
[   516.347] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   516.347] (**) Allowing byte-swapped clients
[   516.347] (==) Automatically adding devices
[   516.347] (==) Automatically enabling devices
[   516.347] (==) Automatically adding GPU devices
[   516.347] (==) Automatically binding GPU devices
[   516.347] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   516.347] (WW) The directory "/usr/share/fonts/misc" does not exist.
[   516.347] 	Entry deleted from font path.
[   516.347] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[   516.347] 	Entry deleted from font path.
[   516.347] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   516.347] 	Entry deleted from font path.
[   516.347] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   516.347] 	Entry deleted from font path.
[   516.347] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[   516.347] 	Entry deleted from font path.
[   516.347] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[   516.347] 	Entry deleted from font path.
[   516.347] (==) FontPath set to:
	
[   516.347] (==) ModulePath set to "/usr/lib/xorg/modules"
[   516.347] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   516.347] (II) Module ABI versions:
[   516.347] 	X.Org ANSI C Emulation: 0.4
[   516.347] 	X.Org Video Driver: 25.2
[   516.347] 	X.Org XInput driver : 24.4
[   516.347] 	X.Org Server Extension : 10.0
[   516.348] (++) using VT number 1

[   516.349] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_33
[   516.350] (II) xfree86: Adding drm device (/dev/dri/card0)
[   516.350] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[   516.350] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 13 paused 0
[   516.350] (II) xfree86: Adding drm device (/dev/dri/card1)
[   516.350] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card1
[   516.351] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 14 paused 0
[   516.352] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[   516.354] (--) PCI:*(0@0:2:0) 8086:591b:17aa:224d rev 4, Mem @ 0x2ff2000000/16777216, 0x2fc0000000/268435456, I/O @ 0x0000e000/64, BIOS @ 0x????????/131072
[   516.354] (--) PCI: (1@0:0:0) 10de:13b6:17aa:224d rev 162, Mem @ 0xeb000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000d000/128, BIOS @ 0x????????/524288
[   516.354] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   516.354] (II) LoadModule: "glx"
[   516.354] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   516.355] (II) Module glx: vendor="X.Org Foundation"
[   516.355] 	compiled for 1.21.1.13, module version = 1.0.0
[   516.355] 	ABI class: X.Org Server Extension, version 10.0
[   516.355] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[   516.355] 	loading driver: nvidia
[   516.355] (==) Matched intel as autoconfigured driver 0
[   516.355] (==) Matched nvidia as autoconfigured driver 1
[   516.355] (==) Matched nouveau as autoconfigured driver 2
[   516.355] (==) Matched nv as autoconfigured driver 3
[   516.355] (==) Matched modesetting as autoconfigured driver 4
[   516.355] (==) Matched fbdev as autoconfigured driver 5
[   516.355] (==) Matched vesa as autoconfigured driver 6
[   516.355] (==) Assigned the driver to the xf86ConfigLayout
[   516.355] (II) LoadModule: "intel"
[   516.356] (WW) Warning, couldn't open module intel
[   516.356] (EE) Failed to load module "intel" (module does not exist, 0)
[   516.356] (II) LoadModule: "nvidia"
[   516.356] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   516.356] (II) Module nvidia: vendor="NVIDIA Corporation"
[   516.356] 	compiled for 1.6.99.901, module version = 1.0.0
[   516.356] 	Module class: X.Org Video Driver
[   516.356] (II) LoadModule: "nouveau"
[   516.356] (WW) Warning, couldn't open module nouveau
[   516.356] (EE) Failed to load module "nouveau" (module does not exist, 0)
[   516.356] (II) LoadModule: "nv"
[   516.357] (WW) Warning, couldn't open module nv
[   516.357] (EE) Failed to load module "nv" (module does not exist, 0)
[   516.357] (II) LoadModule: "modesetting"
[   516.357] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   516.357] (II) Module modesetting: vendor="X.Org Foundation"
[   516.357] 	compiled for 1.21.1.13, module version = 1.21.1
[   516.357] 	Module class: X.Org Video Driver
[   516.357] 	ABI class: X.Org Video Driver, version 25.2
[   516.357] (II) LoadModule: "fbdev"
[   516.357] (WW) Warning, couldn't open module fbdev
[   516.357] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   516.357] (II) LoadModule: "vesa"
[   516.357] (WW) Warning, couldn't open module vesa
[   516.357] (EE) Failed to load module "vesa" (module does not exist, 0)
[   516.357] (II) NVIDIA dlloader X Driver  555.58.02  Tue Jun 25 01:14:56 UTC 2024
[   516.357] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   516.357] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   516.357] (II) modeset(0): using drv /dev/dri/card1
[   516.357] (II) systemd-logind: releasing fd for 226:0
[   516.358] (II) Loading sub module "fb"
[   516.358] (II) LoadModule: "fb"
[   516.358] (II) Module "fb" already built-in
[   516.358] (II) Loading sub module "wfb"
[   516.358] (II) LoadModule: "wfb"
[   516.358] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   516.358] (II) Module wfb: vendor="X.Org Foundation"
[   516.358] 	compiled for 1.21.1.13, module version = 1.0.0
[   516.358] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   516.358] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   516.358] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[   516.358] (==) modeset(0): RGB weight 888
[   516.358] (==) modeset(0): Default visual is TrueColor
[   516.358] (II) Loading sub module "glamoregl"
[   516.358] (II) LoadModule: "glamoregl"
[   516.359] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[   516.361] (II) Module glamoregl: vendor="X.Org Foundation"
[   516.361] 	compiled for 1.21.1.13, module version = 1.0.1
[   516.361] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   516.393] (II) modeset(0): glamor X acceleration enabled on Mesa Intel(R) HD Graphics 630 (KBL GT2)
[   516.393] (II) modeset(0): glamor initialized
[   516.393] (==) modeset(0): VariableRefresh: disabled
[   516.393] (==) modeset(0): AsyncFlipSecondaries: disabled
[   516.395] (II) modeset(0): Output eDP-1 has no monitor section
[   516.395] (II) modeset(0): Output DP-1 has no monitor section
[   516.452] (II) modeset(0): Output HDMI-1 has no monitor section
[   516.452] (II) modeset(0): Output DP-2 has no monitor section
[   516.455] (II) modeset(0): EDID for output eDP-1
[   516.455] (II) modeset(0): Manufacturer: AUO  Model: 21eb  Serial#: 0
[   516.455] (II) modeset(0): Year: 2016  Week: 0
[   516.455] (II) modeset(0): EDID Version: 1.4
[   516.455] (II) modeset(0): Digital Display Input
[   516.455] (II) modeset(0): 8 bits per channel
[   516.455] (II) modeset(0): Digital interface is DisplayPort
[   516.455] (II) modeset(0): Max Image Size [cm]: horiz.: 35  vert.: 19
[   516.455] (II) modeset(0): Gamma: 2.20
[   516.455] (II) modeset(0): No DPMS capabilities specified
[   516.455] (II) modeset(0): Supported color encodings: RGB 4:4:4 
[   516.455] (II) modeset(0): First detailed timing is preferred mode
[   516.455] (II) modeset(0): Preferred mode is native pixel format and refresh rate
[   516.455] (II) modeset(0): redX: 0.656 redY: 0.314   greenX: 0.212 greenY: 0.711
[   516.455] (II) modeset(0): blueX: 0.148 blueY: 0.057   whiteX: 0.313 whiteY: 0.329
[   516.455] (II) modeset(0): Manufacturer's mask: 0
[   516.455] (II) modeset(0): Supported detailed timing:
[   516.455] (II) modeset(0): clock: 533.5 MHz   Image Size:  345 x 194 mm
[   516.455] (II) modeset(0): h_active: 3840  h_sync: 3888  h_sync_end 3920 h_blank_end 4000 h_border: 0
[   516.455] (II) modeset(0): v_active: 2160  v_sync: 2163  v_sync_end 2168 v_blanking: 2222 v_border: 0
[   516.455] (II) modeset(0): Unknown vendor-specific block f
[   516.455] (II) modeset(0):  AUO
[   516.455] (II) modeset(0):  B156ZAN02.1
[   516.455] (II) modeset(0): EDID (in hex):
[   516.456] (II) modeset(0): 	00ffffffffffff0006afeb2100000000
[   516.456] (II) modeset(0): 	001a0104a5231378022425a85036b626
[   516.456] (II) modeset(0): 	0e505400000001010101010101010101
[   516.456] (II) modeset(0): 	01010101010166d000a0f0703e803020
[   516.456] (II) modeset(0): 	350059c2100000180000000f00000000
[   516.456] (II) modeset(0): 	00000000000000000020000000fe0041
[   516.456] (II) modeset(0): 	554f0a202020202020202020000000fe
[   516.456] (II) modeset(0): 	00423135365a414e30322e31200a0014
[   516.456] (II) modeset(0): Printing probed modes for output eDP-1
[   516.456] (II) modeset(0): Modeline "3840x2160"x60.0  533.50  3840 3888 3920 4000  2160 2163 2168 2222 -hsync -vsync (133.4 kHz eP)
[   516.456] (II) modeset(0): Modeline "3840x2160"x120.0  1446.25  3840 4188 4616 5392  2160 2161 2164 2235 doublescan -hsync +vsync (268.2 kHz d)
[   516.456] (II) modeset(0): Modeline "3840x2160"x120.0  1044.88  3840 3864 3880 3920  2160 2161 2164 2221 doublescan +hsync -vsync (266.5 kHz d)
[   516.456] (II) modeset(0): Modeline "3840x2160"x60.0  712.75  3840 4160 4576 5312  2160 2163 2168 2237 -hsync +vsync (134.2 kHz d)
[   516.456] (II) modeset(0): Modeline "3840x2160"x60.0  533.00  3840 3888 3920 4000  2160 2163 2168 2222 +hsync -vsync (133.2 kHz d)
[   516.456] (II) modeset(0): Modeline "3200x1800"x60.0  492.00  3200 3456 3800 4400  1800 1803 1808 1865 -hsync +vsync (111.8 kHz d)
[   516.456] (II) modeset(0): Modeline "3200x1800"x59.9  373.00  3200 3248 3280 3360  1800 1803 1808 1852 +hsync -vsync (111.0 kHz d)
[   516.456] (II) modeset(0): Modeline "2880x1620"x60.0  396.25  2880 3096 3408 3936  1620 1623 1628 1679 -hsync +vsync (100.7 kHz d)
[   516.456] (II) modeset(0): Modeline "2880x1620"x60.0  303.75  2880 2928 2960 3040  1620 1623 1628 1666 +hsync -vsync (99.9 kHz d)
[   516.456] (II) modeset(0): Modeline "2560x1600"x60.0  348.50  2560 2760 3032 3504  1600 1603 1609 1658 -hsync +vsync (99.5 kHz d)
[   516.456] (II) modeset(0): Modeline "2560x1600"x60.0  268.50  2560 2608 2640 2720  1600 1603 1609 1646 +hsync -vsync (98.7 kHz d)
[   516.456] (II) modeset(0): Modeline "2560x1440"x120.0  638.25  2560 2780 3064 3568  1440 1441 1444 1491 doublescan -hsync +vsync (178.9 kHz d)
[   516.456] (II) modeset(0): Modeline "2560x1440"x120.0  469.12  2560 2584 2600 2640  1440 1441 1444 1481 doublescan +hsync -vsync (177.7 kHz d)
[   516.456] (II) modeset(0): Modeline "2560x1440"x60.0  312.25  2560 2752 3024 3488  1440 1443 1448 1493 -hsync +vsync (89.5 kHz d)
[   516.456] (II) modeset(0): Modeline "2560x1440"x60.0  241.50  2560 2608 2640 2720  1440 1443 1448 1481 +hsync -vsync (88.8 kHz d)
[   516.456] (II) modeset(0): Modeline "2048x1536"x60.0  266.95  2048 2200 2424 2800  1536 1537 1540 1589 -hsync +vsync (95.3 kHz d)
[   516.456] (II) modeset(0): Modeline "1920x1440"x60.0  234.00  1920 2048 2256 2600  1440 1441 1444 1500 -hsync +vsync (90.0 kHz d)
[   516.456] (II) modeset(0): Modeline "1856x1392"x60.0  218.30  1856 1952 2176 2528  1392 1393 1396 1439 -hsync +vsync (86.4 kHz d)
[   516.456] (II) modeset(0): Modeline "1792x1344"x60.0  204.80  1792 1920 2120 2448  1344 1345 1348 1394 -hsync +vsync (83.7 kHz d)
[   516.457] (II) modeset(0): Modeline "2048x1152"x120.0  406.50  2048 2220 2444 2840  1152 1153 1156 1193 doublescan -hsync +vsync (143.1 kHz d)
[   516.457] (II) modeset(0): Modeline "2048x1152"x120.0  302.50  2048 2072 2088 2128  1152 1153 1156 1185 doublescan +hsync -vsync (142.2 kHz d)
[   516.457] (II) modeset(0): Modeline "2048x1152"x59.9  197.00  2048 2184 2400 2752  1152 1155 1160 1195 -hsync +vsync (71.6 kHz d)
[   516.457] (II) modeset(0): Modeline "2048x1152"x59.9  156.75  2048 2096 2128 2208  1152 1155 1160 1185 +hsync -vsync (71.0 kHz d)
[   516.457] (II) modeset(0): Modeline "1920x1200"x59.9  193.25  1920 2056 2256 2592  1200 1203 1209 1245 -hsync +vsync (74.6 kHz d)
[   516.457] (II) modeset(0): Modeline "1920x1200"x60.0  154.00  1920 1968 2000 2080  1200 1203 1209 1235 +hsync -vsync (74.0 kHz d)
[   516.457] (II) modeset(0): Modeline "1920x1080"x120.0  356.38  1920 2080 2288 2656  1080 1081 1084 1118 doublescan -hsync +vsync (134.2 kHz d)
[   516.457] (II) modeset(0): Modeline "1920x1080"x119.9  266.50  1920 1944 1960 2000  1080 1081 1084 1111 doublescan +hsync -vsync (133.2 kHz d)
[   516.457] (II) modeset(0): Modeline "1920x1080"x60.0  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync (67.2 kHz d)
[   516.457] (II) modeset(0): Modeline "1920x1080"x59.9  138.50  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (66.6 kHz d)
[   516.457] (II) modeset(0): Modeline "1600x1200"x60.0  162.00  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync (75.0 kHz d)
[   516.457] (II) modeset(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz d)
[   516.457] (II) modeset(0): Modeline "1680x1050"x59.9  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz d)
[   516.457] (II) modeset(0): Modeline "1400x1050"x60.0  122.00  1400 1488 1640 1880  1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
[   516.457] (II) modeset(0): Modeline "1600x900"x120.0  246.00  1600 1728 1900 2200  900 901 904 932 doublescan -hsync +vsync (111.8 kHz d)
[   516.457] (II) modeset(0): Modeline "1600x900"x119.9  186.50  1600 1624 1640 1680  900 901 904 926 doublescan +hsync -vsync (111.0 kHz d)
[   516.457] (II) modeset(0): Modeline "1600x900"x59.9  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync (56.0 kHz d)
[   516.457] (II) modeset(0): Modeline "1600x900"x59.8   97.50  1600 1648 1680 1760  900 903 908 926 +hsync -vsync (55.4 kHz d)
[   516.457] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[   516.457] (II) modeset(0): Modeline "1400x900"x60.0  103.50  1400 1480 1624 1848  900 903 913 934 -hsync +vsync (56.0 kHz d)
[   516.457] (II) modeset(0): Modeline "1400x900"x59.9   86.50  1400 1448 1480 1560  900 903 913 926 +hsync -vsync (55.4 kHz d)
[   516.457] (II) modeset(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz d)
[   516.457] (II) modeset(0): Modeline "1440x810"x120.0  198.12  1440 1548 1704 1968  810 811 814 839 doublescan -hsync +vsync (100.7 kHz d)
[   516.457] (II) modeset(0): Modeline "1440x810"x119.9  151.88  1440 1464 1480 1520  810 811 814 833 doublescan +hsync -vsync (99.9 kHz d)
[   516.457] (II) modeset(0): Modeline "1368x768"x59.9   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync (47.8 kHz d)
[   516.457] (II) modeset(0): Modeline "1368x768"x59.9   72.25  1368 1416 1448 1528  768 771 781 790 +hsync -vsync (47.3 kHz d)
[   516.457] (II) modeset(0): Modeline "1280x800"x120.0  174.25  1280 1380 1516 1752  800 801 804 829 doublescan -hsync +vsync (99.5 kHz d)
[   516.457] (II) modeset(0): Modeline "1280x800"x119.9  134.25  1280 1304 1320 1360  800 801 804 823 doublescan +hsync -vsync (98.7 kHz d)
[   516.457] (II) modeset(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz d)
[   516.457] (II) modeset(0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz d)
[   516.457] (II) modeset(0): Modeline "1280x720"x120.0  156.12  1280 1376 1512 1744  720 721 724 746 doublescan -hsync +vsync (89.5 kHz d)
[   516.457] (II) modeset(0): Modeline "1280x720"x120.0  120.75  1280 1304 1320 1360  720 721 724 740 doublescan +hsync -vsync (88.8 kHz d)
[   516.457] (II) modeset(0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz d)
[   516.457] (II) modeset(0): Modeline "1280x720"x59.7   63.75  1280 1328 1360 1440  720 723 728 741 +hsync -vsync (44.3 kHz d)
[   516.457] (II) modeset(0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[   516.457] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[   516.457] (II) modeset(0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[   516.457] (II) modeset(0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[   516.457] (II) modeset(0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[   516.457] (II) modeset(0): Modeline "1024x576"x119.9   98.50  1024 1092 1200 1376  576 577 580 597 doublescan -hsync +vsync (71.6 kHz d)
[   516.457] (II) modeset(0): Modeline "1024x576"x119.9   78.38  1024 1048 1064 1104  576 577 580 592 doublescan +hsync -vsync (71.0 kHz d)
[   516.457] (II) modeset(0): Modeline "1024x576"x59.9   46.50  1024 1064 1160 1296  576 579 584 599 -hsync +vsync (35.9 kHz d)
[   516.457] (II) modeset(0): Modeline "1024x576"x59.8   42.00  1024 1072 1104 1184  576 579 584 593 +hsync -vsync (35.5 kHz d)
[   516.457] (II) modeset(0): Modeline "960x600"x119.9   96.62  960 1028 1128 1296  600 601 604 622 doublescan -hsync +vsync (74.6 kHz d)
[   516.457] (II) modeset(0): Modeline "960x600"x120.0   77.00  960 984 1000 1040  600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[   516.457] (II) modeset(0): Modeline "960x540"x119.9   86.50  960 1024 1124 1288  540 541 544 560 doublescan -hsync +vsync (67.2 kHz d)
[   516.457] (II) modeset(0): Modeline "960x540"x120.0   69.25  960 984 1000 1040  540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[   516.457] (II) modeset(0): Modeline "960x540"x59.6   40.75  960 992 1088 1216  540 543 548 562 -hsync +vsync (33.5 kHz d)
[   516.457] (II) modeset(0): Modeline "960x540"x59.8   37.25  960 1008 1040 1120  540 543 548 556 +hsync -vsync (33.3 kHz d)
[   516.457] (II) modeset(0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[   516.457] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[   516.457] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[   516.457] (II) modeset(0): Modeline "840x525"x120.0   73.12  840 892 980 1120  525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[   516.457] (II) modeset(0): Modeline "840x525"x119.8   59.50  840 864 880 920  525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[   516.457] (II) modeset(0): Modeline "864x486"x59.9   32.50  864 888 968 1072  486 489 494 506 -hsync +vsync (30.3 kHz d)
[   516.457] (II) modeset(0): Modeline "864x486"x59.6   30.50  864 912 944 1024  486 489 494 500 +hsync -vsync (29.8 kHz d)
[   516.457] (II) modeset(0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[   516.457] (II) modeset(0): Modeline "800x450"x119.9   59.12  800 848 928 1056  450 451 454 467 doublescan -hsync +vsync (56.0 kHz d)
[   516.457] (II) modeset(0): Modeline "800x450"x119.6   48.75  800 824 840 880  450 451 454 463 doublescan +hsync -vsync (55.4 kHz d)
[   516.457] (II) modeset(0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[   516.457] (II) modeset(0): Modeline "700x450"x119.9   51.75  700 740 812 924  450 451 456 467 doublescan -hsync +vsync (56.0 kHz d)
[   516.458] (II) modeset(0): Modeline "700x450"x119.8   43.25  700 724 740 780  450 451 456 463 doublescan +hsync -vsync (55.4 kHz d)
[   516.458] (II) modeset(0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[   516.458] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[   516.458] (II) modeset(0): Modeline "720x405"x59.5   22.50  720 744 808 896  405 408 413 422 -hsync +vsync (25.1 kHz d)
[   516.458] (II) modeset(0): Modeline "720x405"x59.0   21.75  720 768 800 880  405 408 413 419 +hsync -vsync (24.7 kHz d)
[   516.458] (II) modeset(0): Modeline "684x384"x119.8   42.62  684 720 788 892  384 385 390 399 doublescan -hsync +vsync (47.8 kHz d)
[   516.458] (II) modeset(0): Modeline "684x384"x119.7   36.12  684 708 724 764  384 385 390 395 doublescan +hsync -vsync (47.3 kHz d)
[   516.458] (II) modeset(0): Modeline "640x400"x119.8   41.75  640 676 740 840  400 401 404 415 doublescan -hsync +vsync (49.7 kHz d)
[   516.458] (II) modeset(0): Modeline "640x400"x120.0   35.50  640 664 680 720  400 401 404 411 doublescan +hsync -vsync (49.3 kHz d)
[   516.458] (II) modeset(0): Modeline "640x360"x119.7   37.25  640 672 736 832  360 361 364 374 doublescan -hsync +vsync (44.8 kHz d)
[   516.458] (II) modeset(0): Modeline "640x360"x119.7   31.88  640 664 680 720  360 361 364 370 doublescan +hsync -vsync (44.3 kHz d)
[   516.458] (II) modeset(0): Modeline "640x360"x59.8   18.00  640 664 720 800  360 363 368 376 -hsync +vsync (22.5 kHz d)
[   516.458] (II) modeset(0): Modeline "640x360"x59.3   17.75  640 688 720 800  360 363 368 374 +hsync -vsync (22.2 kHz d)
[   516.458] (II) modeset(0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[   516.458] (II) modeset(0): Modeline "512x288"x120.0   23.25  512 532 580 648  288 289 292 299 doublescan -hsync +vsync (35.9 kHz d)
[   516.458] (II) modeset(0): Modeline "512x288"x119.8   21.00  512 536 552 592  288 289 292 296 doublescan +hsync -vsync (35.5 kHz d)
[   516.458] (II) modeset(0): Modeline "480x270"x119.3   20.38  480 496 544 608  270 271 274 281 doublescan -hsync +vsync (33.5 kHz d)
[   516.458] (II) modeset(0): Modeline "480x270"x119.6   18.62  480 504 520 560  270 271 274 278 doublescan +hsync -vsync (33.3 kHz d)
[   516.458] (II) modeset(0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[   516.458] (II) modeset(0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[   516.458] (II) modeset(0): Modeline "432x243"x119.8   16.25  432 444 484 536  243 244 247 253 doublescan -hsync +vsync (30.3 kHz d)
[   516.458] (II) modeset(0): Modeline "432x243"x119.1   15.25  432 456 472 512  243 244 247 250 doublescan +hsync -vsync (29.8 kHz d)
[   516.458] (II) modeset(0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[   516.458] (II) modeset(0): Modeline "360x202"x119.0   11.25  360 372 404 448  202 204 206 211 doublescan -hsync +vsync (25.1 kHz d)
[   516.458] (II) modeset(0): Modeline "360x202"x118.3   10.88  360 384 400 440  202 204 206 209 doublescan +hsync -vsync (24.7 kHz d)
[   516.458] (II) modeset(0): Modeline "320x180"x119.7    9.00  320 332 360 400  180 181 184 188 doublescan -hsync +vsync (22.5 kHz d)
[   516.458] (II) modeset(0): Modeline "320x180"x118.6    8.88  320 344 360 400  180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
[   516.458] (II) modeset(0): EDID for output DP-1
[   516.514] (II) modeset(0): EDID for output HDMI-1
[   516.514] (II) modeset(0): EDID for output DP-2
[   516.514] (II) modeset(0): Output eDP-1 connected
[   516.514] (II) modeset(0): Output DP-1 disconnected
[   516.514] (II) modeset(0): Output HDMI-1 disconnected
[   516.514] (II) modeset(0): Output DP-2 disconnected
[   516.514] (II) modeset(0): Using exact sizes for initial modes
[   516.514] (II) modeset(0): Output eDP-1 using initial mode 3840x2160 +0+0
[   516.514] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[   516.514] (==) modeset(0): DPI set to (96, 96)
[   516.514] (II) Loading sub module "fb"
[   516.514] (II) LoadModule: "fb"
[   516.514] (II) Module "fb" already built-in
[   516.514] (==) NVIDIA(G0): Depth 24, (==) framebuffer bpp 32
[   516.514] (==) NVIDIA(G0): RGB weight 888
[   516.514] (==) NVIDIA(G0): Default visual is TrueColor
[   516.514] (==) NVIDIA(G0): Using gamma correction (1.0, 1.0, 1.0)
[   516.514] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[   516.514] (**) NVIDIA(G0): Option "AllowEmptyInitialConfiguration"
[   516.514] (**) NVIDIA(G0): Enabling 2D acceleration
[   516.514] (II) Loading sub module "glxserver_nvidia"
[   516.514] (II) LoadModule: "glxserver_nvidia"
[   516.514] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[   516.523] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[   516.523] 	compiled for 1.6.99.901, module version = 1.0.0
[   516.523] 	Module class: X.Org Server Extension
[   516.523] (II) NVIDIA GLX Module  555.58.02  Tue Jun 25 01:12:27 UTC 2024
[   516.523] (II) NVIDIA: The X server supports PRIME Render Offload.
[   516.873] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[   516.873] (--) NVIDIA(0):     DFP-0
[   516.873] (--) NVIDIA(0):     DFP-1
[   516.873] (--) NVIDIA(0):     DFP-2
[   516.873] (--) NVIDIA(0):     DFP-3 (boot)
[   516.873] (--) NVIDIA(0):     DFP-4
[   516.873] (--) NVIDIA(0):     DFP-5
[   516.874] (II) NVIDIA(G0): NVIDIA GPU Quadro M1200 (GM107GL-A) at PCI:1:0:0 (GPU-0)
[   516.874] (--) NVIDIA(G0): Memory: 4194304 kBytes
[   516.874] (--) NVIDIA(G0): VideoBIOS: 82.07.bb.00.13
[   516.874] (II) NVIDIA(G0): Detected PCI Express Link width: 16X
[   516.883] (--) NVIDIA(GPU-0): DFP-0: disconnected
[   516.883] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[   516.883] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[   516.883] (--) NVIDIA(GPU-0): 
[   516.892] (--) NVIDIA(GPU-0): DFP-1: disconnected
[   516.892] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[   516.892] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[   516.892] (--) NVIDIA(GPU-0): 
[   516.892] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   516.892] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[   516.892] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[   516.892] (--) NVIDIA(GPU-0): 
[   516.892] (--) NVIDIA(GPU-0): BenQ PD3220U (DFP-3): connected
[   516.892] (--) NVIDIA(GPU-0): BenQ PD3220U (DFP-3): Internal DisplayPort
[   516.892] (--) NVIDIA(GPU-0): BenQ PD3220U (DFP-3): 960.0 MHz maximum pixel clock
[   516.892] (--) NVIDIA(GPU-0): 
[   516.892] (--) NVIDIA(GPU-0): DELL U2412M (DFP-4): connected
[   516.892] (--) NVIDIA(GPU-0): DELL U2412M (DFP-4): Internal DisplayPort
[   516.892] (--) NVIDIA(GPU-0): DELL U2412M (DFP-4): 960.0 MHz maximum pixel clock
[   516.892] (--) NVIDIA(GPU-0): 
[   516.892] (--) NVIDIA(GPU-0): DFP-5: disconnected
[   516.892] (--) NVIDIA(GPU-0): DFP-5: Internal DisplayPort
[   516.892] (--) NVIDIA(GPU-0): DFP-5: 960.0 MHz maximum pixel clock
[   516.892] (--) NVIDIA(GPU-0): 
[   516.897] (II) NVIDIA(G0): Validated MetaModes:
[   516.897] (II) NVIDIA(G0):     "NULL"
[   516.897] (II) NVIDIA(G0): Virtual screen size determined to be 640 x 480
[   516.905] (WW) NVIDIA(G0): Cannot find size of first mode for BenQ PD3220U (DFP-3);
[   516.905] (WW) NVIDIA(G0):     cannot compute DPI from BenQ PD3220U (DFP-3)'s EDID.
[   516.905] (==) NVIDIA(G0): DPI set to (75, 75); computed from built-in default
[   516.961] (==) modeset(0): Backing store enabled
[   516.961] (==) modeset(0): Silken mouse enabled
[   517.052] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[   517.052] (==) modeset(0): DPMS enabled
[   517.052] (II) modeset(0): [DRI2] Setup complete
[   517.052] (II) modeset(0): [DRI2]   DRI driver: iris
[   517.052] (II) modeset(0): [DRI2]   VDPAU driver: va_gl
[   517.053] (II) NVIDIA: Reserving 6144.00 MB of virtual memory for indirect memory
[   517.053] (II) NVIDIA:     access.
[   517.063] (II) NVIDIA(G0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   517.063] (II) NVIDIA(G0):     may not be running or the "AcpidSocketPath" X
[   517.063] (II) NVIDIA(G0):     configuration option may not be set correctly.  When the
[   517.063] (II) NVIDIA(G0):     ACPI event daemon is available, the NVIDIA X driver will
[   517.063] (II) NVIDIA(G0):     try to use it to receive ACPI event notifications.  For
[   517.063] (II) NVIDIA(G0):     details, please see the "ConnectToAcpid" and
[   517.063] (II) NVIDIA(G0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   517.063] (II) NVIDIA(G0):     Config Options in the README.
[   517.103] (II) NVIDIA(G0): Setting mode "NULL"
[   517.141] (==) NVIDIA(G0): Disabling shared memory pixmaps
[   517.141] (==) NVIDIA(G0): Backing store enabled
[   517.141] (==) NVIDIA(G0): Silken mouse enabled
[   517.141] (==) NVIDIA(G0): DPMS enabled
[   517.141] (II) Loading sub module "dri2"
[   517.141] (II) LoadModule: "dri2"
[   517.141] (II) Module "dri2" already built-in
[   517.141] (II) NVIDIA(G0): [DRI2] Setup complete
[   517.141] (II) NVIDIA(G0): [DRI2]   VDPAU driver: nvidia
[   517.141] (II) Initializing extension Generic Event Extension
[   517.141] (II) Initializing extension SHAPE
[   517.141] (II) Initializing extension MIT-SHM
[   517.141] (II) Initializing extension XInputExtension
[   517.142] (II) Initializing extension XTEST
[   517.142] (II) Initializing extension BIG-REQUESTS
[   517.142] (II) Initializing extension SYNC
[   517.142] (II) Initializing extension XKEYBOARD
[   517.142] (II) Initializing extension XC-MISC
[   517.142] (II) Initializing extension SECURITY
[   517.142] (II) Initializing extension XFIXES
[   517.142] (II) Initializing extension RENDER
[   517.142] (II) Initializing extension RANDR
[   517.142] (II) Initializing extension COMPOSITE
[   517.142] (II) Initializing extension DAMAGE
[   517.142] (II) Initializing extension MIT-SCREEN-SAVER
[   517.142] (II) Initializing extension DOUBLE-BUFFER
[   517.143] (II) Initializing extension RECORD
[   517.143] (II) Initializing extension DPMS
[   517.143] (II) Initializing extension Present
[   517.143] (II) Initializing extension DRI3
[   517.143] (II) Initializing extension X-Resource
[   517.143] (II) Initializing extension XVideo
[   517.143] (II) Initializing extension XVideo-MotionCompensation
[   517.143] (II) Initializing extension GLX
[   517.143] (II) Initializing extension GLX
[   517.143] (II) Indirect GLX disabled.
[   517.148] (II) AIGLX: Loaded and initialized iris
[   517.148] (II) GLX: Initialized DRI2 GL provider for screen 0
[   517.148] (II) Initializing extension XFree86-VidModeExtension
[   517.148] (II) Initializing extension XFree86-DGA
[   517.148] (II) Initializing extension XFree86-DRI
[   517.148] (II) Initializing extension DRI2
[   517.148] (II) Initializing extension NV-GLX
[   517.148] (II) Initializing extension NV-CONTROL
[   517.149] (II) modeset(0): Damage tracking initialized
[   517.149] (II) modeset(0): Setting screen physical size to 1016 x 571
[   517.194] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[   517.194] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   517.194] (II) LoadModule: "libinput"
[   517.194] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   517.195] (II) Module libinput: vendor="X.Org Foundation"
[   517.195] 	compiled for 1.21.1.8, module version = 1.4.0
[   517.195] 	Module class: X.Org XInput Driver
[   517.195] 	ABI class: X.Org XInput driver, version 24.4
[   517.195] (II) Using input driver 'libinput' for 'Power Button'
[   517.196] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 44 paused 0
[   517.196] (**) Power Button: always reports core events
[   517.196] (**) Option "Device" "/dev/input/event2"
[   517.197] (II) event2  - Power Button: is tagged by udev as: Keyboard
[   517.197] (II) event2  - Power Button: device is a keyboard
[   517.197] (II) event2  - Power Button: device removed
[   517.198] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[   517.198] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   517.198] (II) event2  - Power Button: is tagged by udev as: Keyboard
[   517.198] (II) event2  - Power Button: device is a keyboard
[   517.199] (II) config/udev: Adding input device Video Bus (/dev/input/event9)
[   517.199] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[   517.199] (II) Using input driver 'libinput' for 'Video Bus'
[   517.199] (II) systemd-logind: got fd for /dev/input/event9 13:73 fd 47 paused 0
[   517.199] (**) Video Bus: always reports core events
[   517.199] (**) Option "Device" "/dev/input/event9"
[   517.200] (II) event9  - Video Bus: is tagged by udev as: Keyboard
[   517.200] (II) event9  - Video Bus: device is a keyboard
[   517.200] (II) event9  - Video Bus: device removed
[   517.200] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input10/event9"
[   517.200] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[   517.201] (II) event9  - Video Bus: is tagged by udev as: Keyboard
[   517.201] (II) event9  - Video Bus: device is a keyboard
[   517.202] (II) config/udev: Adding input device Video Bus (/dev/input/event8)
[   517.202] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[   517.202] (II) Using input driver 'libinput' for 'Video Bus'
[   517.202] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 48 paused 0
[   517.202] (**) Video Bus: always reports core events
[   517.202] (**) Option "Device" "/dev/input/event8"
[   517.203] (II) event8  - Video Bus: is tagged by udev as: Keyboard
[   517.203] (II) event8  - Video Bus: device is a keyboard
[   517.203] (II) event8  - Video Bus: device removed
[   517.203] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:00/LNXVIDEO:00/input/input9/event8"
[   517.203] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[   517.204] (II) event8  - Video Bus: is tagged by udev as: Keyboard
[   517.204] (II) event8  - Video Bus: device is a keyboard
[   517.205] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
[   517.205] (II) No input driver specified, ignoring this device.
[   517.205] (II) This device may have been added with another device file.
[   517.205] (II) config/udev: Adding input device Sleep Button (/dev/input/event0)
[   517.205] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[   517.205] (II) Using input driver 'libinput' for 'Sleep Button'
[   517.206] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 49 paused 0
[   517.206] (**) Sleep Button: always reports core events
[   517.206] (**) Option "Device" "/dev/input/event0"
[   517.206] (II) event0  - Sleep Button: is tagged by udev as: Keyboard
[   517.206] (II) event0  - Sleep Button: device is a keyboard
[   517.206] (II) event0  - Sleep Button: device removed
[   517.206] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0/event0"
[   517.206] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[   517.207] (II) event0  - Sleep Button: is tagged by udev as: Keyboard
[   517.207] (II) event0  - Sleep Button: device is a keyboard
[   517.208] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event11)
[   517.208] (II) No input driver specified, ignoring this device.
[   517.208] (II) This device may have been added with another device file.
[   517.208] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event12)
[   517.208] (II) No input driver specified, ignoring this device.
[   517.208] (II) This device may have been added with another device file.
[   517.208] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event13)
[   517.208] (II) No input driver specified, ignoring this device.
[   517.208] (II) This device may have been added with another device file.
[   517.209] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event14)
[   517.209] (II) No input driver specified, ignoring this device.
[   517.209] (II) This device may have been added with another device file.
[   517.210] (II) config/udev: Adding input device HID 413d:2107 Keyboard (/dev/input/event5)
[   517.210] (**) HID 413d:2107 Keyboard: Applying InputClass "libinput keyboard catchall"
[   517.210] (II) Using input driver 'libinput' for 'HID 413d:2107 Keyboard'
[   517.210] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 50 paused 0
[   517.210] (**) HID 413d:2107 Keyboard: always reports core events
[   517.210] (**) Option "Device" "/dev/input/event5"
[   517.212] (II) event5  - HID 413d:2107 Keyboard: is tagged by udev as: Keyboard
[   517.212] (II) event5  - HID 413d:2107 Keyboard: device is a keyboard
[   517.212] (II) event5  - HID 413d:2107 Keyboard: device removed
[   517.212] (II) libinput: HID 413d:2107 Keyboard: needs a virtual subdevice
[   517.212] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:413D:2107.0001/input/input6/event5"
[   517.212] (II) XINPUT: Adding extended input device "HID 413d:2107 Keyboard" (type: MOUSE, id 10)
[   517.212] (**) Option "AccelerationScheme" "none"
[   517.212] (**) HID 413d:2107 Keyboard: (accel) selected scheme none/0
[   517.212] (**) HID 413d:2107 Keyboard: (accel) acceleration factor: 2.000
[   517.212] (**) HID 413d:2107 Keyboard: (accel) acceleration threshold: 4
[   517.213] (II) event5  - HID 413d:2107 Keyboard: is tagged by udev as: Keyboard
[   517.213] (II) event5  - HID 413d:2107 Keyboard: device is a keyboard
[   517.214] (II) config/udev: Adding input device HID 413d:2107 Mouse (/dev/input/event6)
[   517.214] (**) HID 413d:2107 Mouse: Applying InputClass "libinput pointer catchall"
[   517.214] (II) Using input driver 'libinput' for 'HID 413d:2107 Mouse'
[   517.214] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 51 paused 0
[   517.214] (**) HID 413d:2107 Mouse: always reports core events
[   517.214] (**) Option "Device" "/dev/input/event6"
[   517.216] (II) event6  - HID 413d:2107 Mouse: is tagged by udev as: Mouse
[   517.216] (II) event6  - HID 413d:2107 Mouse: device is a pointer
[   517.216] (II) event6  - HID 413d:2107 Mouse: device removed
[   517.216] (II) libinput: HID 413d:2107 Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[   517.216] (II) libinput: HID 413d:2107 Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[   517.216] (II) libinput: HID 413d:2107 Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[   517.216] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:413D:2107.0001/input/input7/event6"
[   517.216] (II) XINPUT: Adding extended input device "HID 413d:2107 Mouse" (type: MOUSE, id 11)
[   517.216] (**) Option "AccelerationScheme" "none"
[   517.216] (**) HID 413d:2107 Mouse: (accel) selected scheme none/0
[   517.216] (**) HID 413d:2107 Mouse: (accel) acceleration factor: 2.000
[   517.216] (**) HID 413d:2107 Mouse: (accel) acceleration threshold: 4
[   517.217] (II) event6  - HID 413d:2107 Mouse: is tagged by udev as: Mouse
[   517.217] (II) event6  - HID 413d:2107 Mouse: device is a pointer
[   517.218] (II) config/udev: Adding input device HID 413d:2107 Mouse (/dev/input/mouse0)
[   517.218] (II) No input driver specified, ignoring this device.
[   517.218] (II) This device may have been added with another device file.
[   517.219] (II) config/udev: Adding input device HID 413d:2107 (/dev/input/event7)
[   517.219] (**) HID 413d:2107: Applying InputClass "libinput pointer catchall"
[   517.219] (II) Using input driver 'libinput' for 'HID 413d:2107'
[   517.273] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 52 paused 0
[   517.273] (**) HID 413d:2107: always reports core events
[   517.273] (**) Option "Device" "/dev/input/event7"
[   517.275] (II) event7  - HID 413d:2107: is tagged by udev as: Mouse
[   517.275] (II) event7  - HID 413d:2107: device is a pointer
[   517.275] (II) event7  - HID 413d:2107: device removed
[   517.275] (II) libinput: HID 413d:2107: Step value 0 was provided, libinput Fallback acceleration function is used.
[   517.275] (II) libinput: HID 413d:2107: Step value 0 was provided, libinput Fallback acceleration function is used.
[   517.275] (II) libinput: HID 413d:2107: Step value 0 was provided, libinput Fallback acceleration function is used.
[   517.275] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:413D:2107.0002/input/input8/event7"
[   517.275] (II) XINPUT: Adding extended input device "HID 413d:2107" (type: MOUSE, id 12)
[   517.276] (**) Option "AccelerationScheme" "none"
[   517.276] (**) HID 413d:2107: (accel) selected scheme none/0
[   517.276] (**) HID 413d:2107: (accel) acceleration factor: 2.000
[   517.276] (**) HID 413d:2107: (accel) acceleration threshold: 4
[   517.278] (II) event7  - HID 413d:2107: is tagged by udev as: Mouse
[   517.278] (II) event7  - HID 413d:2107: device is a pointer
[   517.279] (II) config/udev: Adding input device HID 413d:2107 (/dev/input/mouse1)
[   517.279] (II) No input driver specified, ignoring this device.
[   517.279] (II) This device may have been added with another device file.
[   517.280] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event15)
[   517.280] (II) No input driver specified, ignoring this device.
[   517.280] (II) This device may have been added with another device file.
[   517.280] (II) config/udev: Adding input device HDA Intel PCH Dock Mic (/dev/input/event16)
[   517.280] (II) No input driver specified, ignoring this device.
[   517.280] (II) This device may have been added with another device file.
[   517.281] (II) config/udev: Adding input device HDA Intel PCH Dock Headphone (/dev/input/event17)
[   517.281] (II) No input driver specified, ignoring this device.
[   517.281] (II) This device may have been added with another device file.
[   517.281] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event18)
[   517.281] (II) No input driver specified, ignoring this device.
[   517.281] (II) This device may have been added with another device file.
[   517.282] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event19)
[   517.282] (II) No input driver specified, ignoring this device.
[   517.282] (II) This device may have been added with another device file.
[   517.282] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event20)
[   517.282] (II) No input driver specified, ignoring this device.
[   517.282] (II) This device may have been added with another device file.
[   517.283] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event21)
[   517.283] (II) No input driver specified, ignoring this device.
[   517.283] (II) This device may have been added with another device file.
[   517.284] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[   517.284] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[   517.284] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[   517.284] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 53 paused 0
[   517.284] (**) AT Translated Set 2 keyboard: always reports core events
[   517.284] (**) Option "Device" "/dev/input/event3"
[   517.285] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   517.285] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[   517.286] (II) event3  - AT Translated Set 2 keyboard: device removed
[   517.286] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
[   517.286] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 13)
[   517.287] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[   517.288] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[   517.289] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event22)
[   517.289] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "libinput touchpad catchall"
[   517.289] (II) Using input driver 'libinput' for 'SynPS/2 Synaptics TouchPad'
[   517.290] (II) systemd-logind: got fd for /dev/input/event22 13:86 fd 54 paused 0
[   517.290] (**) SynPS/2 Synaptics TouchPad: always reports core events
[   517.290] (**) Option "Device" "/dev/input/event22"
[   517.291] (II) event22 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[   517.292] (II) event22 - SynPS/2 Synaptics TouchPad: device is a touchpad
[   517.293] (II) event22 - SynPS/2 Synaptics TouchPad: device removed
[   517.293] (II) libinput: SynPS/2 Synaptics TouchPad: Step value 0 was provided, libinput Fallback acceleration function is used.
[   517.293] (II) libinput: SynPS/2 Synaptics TouchPad: Step value 0 was provided, libinput Fallback acceleration function is used.
[   517.293] (II) libinput: SynPS/2 Synaptics TouchPad: Step value 0 was provided, libinput Fallback acceleration function is used.
[   517.293] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input12/event22"
[   517.293] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 14)
[   517.294] (**) Option "AccelerationScheme" "none"
[   517.294] (**) SynPS/2 Synaptics TouchPad: (accel) selected scheme none/0
[   517.294] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[   517.294] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[   517.295] (II) event22 - SynPS/2 Synaptics TouchPad: is tagged by udev as: Touchpad
[   517.297] (II) event22 - SynPS/2 Synaptics TouchPad: device is a touchpad
[   517.297] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse2)
[   517.297] (II) No input driver specified, ignoring this device.
[   517.297] (II) This device may have been added with another device file.
[   517.298] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event23)
[   517.298] (**) TPPS/2 IBM TrackPoint: Applying InputClass "libinput pointer catchall"
[   517.298] (II) Using input driver 'libinput' for 'TPPS/2 IBM TrackPoint'
[   517.299] (II) systemd-logind: got fd for /dev/input/event23 13:87 fd 55 paused 0
[   517.299] (**) TPPS/2 IBM TrackPoint: always reports core events
[   517.299] (**) Option "Device" "/dev/input/event23"
[   517.300] (II) event23 - TPPS/2 IBM TrackPoint: is tagged by udev as: Mouse Pointingstick
[   517.301] (II) event23 - TPPS/2 IBM TrackPoint: device is a pointer
[   517.302] (II) event23 - TPPS/2 IBM TrackPoint: device removed
[   517.302] (II) libinput: TPPS/2 IBM TrackPoint: Step value 0 was provided, libinput Fallback acceleration function is used.
[   517.302] (II) libinput: TPPS/2 IBM TrackPoint: Step value 0 was provided, libinput Fallback acceleration function is used.
[   517.302] (II) libinput: TPPS/2 IBM TrackPoint: Step value 0 was provided, libinput Fallback acceleration function is used.
[   517.302] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/serio2/input/input24/event23"
[   517.302] (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 15)
[   517.302] (**) Option "AccelerationScheme" "none"
[   517.302] (**) TPPS/2 IBM TrackPoint: (accel) selected scheme none/0
[   517.302] (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
[   517.302] (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
[   517.303] (II) event23 - TPPS/2 IBM TrackPoint: is tagged by udev as: Mouse Pointingstick
[   517.304] (II) event23 - TPPS/2 IBM TrackPoint: device is a pointer
[   517.306] (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse3)
[   517.306] (II) No input driver specified, ignoring this device.
[   517.306] (II) This device may have been added with another device file.
[   517.306] (II) config/udev: Adding input device PC Speaker (/dev/input/event10)
[   517.306] (II) No input driver specified, ignoring this device.
[   517.306] (II) This device may have been added with another device file.
[   517.310] (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event4)
[   517.310] (**) ThinkPad Extra Buttons: Applying InputClass "libinput keyboard catchall"
[   517.310] (II) Using input driver 'libinput' for 'ThinkPad Extra Buttons'
[   517.311] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 56 paused 0
[   517.311] (**) ThinkPad Extra Buttons: always reports core events
[   517.311] (**) Option "Device" "/dev/input/event4"
[   517.311] (II) event4  - ThinkPad Extra Buttons: is tagged by udev as: Keyboard Switch
[   517.311] (II) event4  - ThinkPad Extra Buttons: device is a keyboard
[   517.312] (II) event4  - ThinkPad Extra Buttons: device removed
[   517.312] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input4/event4"
[   517.312] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 16)
[   517.313] (II) event4  - ThinkPad Extra Buttons: is tagged by udev as: Keyboard Switch
[   517.313] (II) event4  - ThinkPad Extra Buttons: device is a keyboard
[   517.353] (**) HID 413d:2107 Keyboard: Applying InputClass "libinput keyboard catchall"
[   517.353] (II) Using input driver 'libinput' for 'HID 413d:2107 Keyboard'
[   517.353] (II) systemd-logind: returning pre-existing fd for /dev/input/event5 13:69
[   517.353] (**) HID 413d:2107 Keyboard: always reports core events
[   517.353] (**) Option "Device" "/dev/input/event5"
[   517.353] (II) libinput: HID 413d:2107 Keyboard: is a virtual subdevice
[   517.353] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:413D:2107.0001/input/input6/event5"
[   517.353] (II) XINPUT: Adding extended input device "HID 413d:2107 Keyboard" (type: KEYBOARD, id 17)
[   517.407] (--) NVIDIA(GPU-0): BenQ PD3220U (DFP-3): connected
[   517.407] (--) NVIDIA(GPU-0): BenQ PD3220U (DFP-3): Internal DisplayPort
[   517.407] (--) NVIDIA(GPU-0): BenQ PD3220U (DFP-3): 960.0 MHz maximum pixel clock
[   517.407] (--) NVIDIA(GPU-0): 
[   517.407] (--) NVIDIA(GPU-0): DELL U2412M (DFP-4): connected
[   517.407] (--) NVIDIA(GPU-0): DELL U2412M (DFP-4): Internal DisplayPort
[   517.407] (--) NVIDIA(GPU-0): DELL U2412M (DFP-4): 960.0 MHz maximum pixel clock
[   517.407] (--) NVIDIA(GPU-0): 
[   517.522] (II) NVIDIA(G0): Setting mode "DP-1-3: nvidia-auto-select @3840x2160 +0+0 {AllowGSYNC=Off, ViewPortIn=3840x2160, ViewPortOut=3840x2160+0+0}"
[   517.598] (II) NVIDIA(G0): Setting mode "DP-1-3: nvidia-auto-select @3840x2160 +0+0 {AllowGSYNC=Off, ViewPortIn=3840x2160, ViewPortOut=3840x2160+0+0}, DP-1-4: nvidia-auto-select @1920x1200 +0+0 {AllowGSYNC=Off, ViewPortIn=1920x1200, ViewPortOut=1920x1200+0+0}"
[   531.934] (II) event6  - HID 413d:2107 Mouse: SYN_DROPPED event - some input events have been lost.
[   560.445] (II) event6  - HID 413d:2107 Mouse: SYN_DROPPED event - some input events have been lost.
[   567.950] (**) Option "fd" "44"
[   567.950] (II) event2  - Power Button: device removed
[   567.950] (**) Option "fd" "47"
[   567.950] (II) event9  - Video Bus: device removed
[   567.950] (**) Option "fd" "48"
[   567.950] (II) event8  - Video Bus: device removed
[   567.950] (**) Option "fd" "49"
[   567.950] (II) event0  - Sleep Button: device removed
[   567.950] (**) Option "fd" "50"
[   567.950] (**) Option "fd" "51"
[   567.950] (II) event6  - HID 413d:2107 Mouse: device removed
[   567.950] (**) Option "fd" "52"
[   567.950] (II) event7  - HID 413d:2107: device removed
[   567.950] (**) Option "fd" "53"
[   567.950] (II) event3  - AT Translated Set 2 keyboard: device removed
[   567.950] (**) Option "fd" "54"
[   567.950] (II) event22 - SynPS/2 Synaptics TouchPad: device removed
[   567.950] (**) Option "fd" "55"
[   567.950] (II) event23 - TPPS/2 IBM TrackPoint: device removed
[   567.950] (**) Option "fd" "56"
[   567.950] (II) event4  - ThinkPad Extra Buttons: device removed
[   567.950] (**) Option "fd" "50"
[   567.950] (II) event5  - HID 413d:2107 Keyboard: device removed
[   567.959] (II) UnloadModule: "libinput"
[   567.959] (II) systemd-logind: not releasing fd for 13:69, still in use
[   567.959] (II) UnloadModule: "libinput"
[   567.959] (II) systemd-logind: releasing fd for 13:68
[   567.960] (II) UnloadModule: "libinput"
[   567.960] (II) systemd-logind: releasing fd for 13:87
[   567.960] (II) UnloadModule: "libinput"
[   567.960] (II) systemd-logind: releasing fd for 13:86
[   567.961] (II) UnloadModule: "libinput"
[   567.961] (II) systemd-logind: releasing fd for 13:67
[   567.961] (II) UnloadModule: "libinput"
[   567.961] (II) systemd-logind: releasing fd for 13:71
[   567.961] (II) UnloadModule: "libinput"
[   567.961] (II) systemd-logind: releasing fd for 13:70
[   567.961] (II) UnloadModule: "libinput"
[   567.961] (II) systemd-logind: releasing fd for 13:69
[   567.962] (II) UnloadModule: "libinput"
[   567.962] (II) systemd-logind: releasing fd for 13:64
[   567.962] (II) UnloadModule: "libinput"
[   567.962] (II) systemd-logind: releasing fd for 13:72
[   567.962] (II) UnloadModule: "libinput"
[   567.962] (II) systemd-logind: releasing fd for 13:73
[   567.963] (II) UnloadModule: "libinput"
[   567.963] (II) systemd-logind: releasing fd for 13:66
[   568.223] (II) NVIDIA(GPU-0): Deleting GPU-0
[   568.268] (II) Server terminated successfully (0). Closing log file.

Offline

#2 2024-07-12 19:24:20

Firngrod
Member
Registered: 2024-07-09
Posts: 3

Re: NVIDIA PRIME freezes external monitors on Lenovo P51

An update, for anyone with the same issue looking for answers.

TL;DR:  You're probably stuck on 525.60.11 max, if you are up for maintaining your own dkms modules for future kernels, or 510 from the AUR if you're not.

Turns out I was wrong about nvidia-510xx-dkms.  This version does not have the issue.
According to a discussion on NVIDIA's forums, other people have the same issue.  One person in that thread swears by version 525.85.12 as the last one not broken.
I tried version 525.85.05 because that was easier for me as I could let myself be inspired by the nvidia-525xx-dkms package from AUR.  525.85.05 also had the issue, as did 525.78.01.
With version 525.60.11, I do not observe the issue.  Partial victory!  This version has the patch note "Improved the performance of PRIME render-offloaded applications." which I cannot really vouch for yet, as I haven't compared it to 510xx in terms of performance.
However, the most interesting thing to me is that 525.78.01, which is broken on my computer at least, has the patch note "Fixed excess CPU usage in hybrid graphics configurations where an external display is connected to an NVIDIA discrete GPU and configured as a PRIME Display Offload sink (also known as "Reverse Prime")." which describes my use-case, and I suspect that whatever they did here caused my issue.  And well, it's probably true that if the reverse prime doesn't render on the display, CPU load is lower.
All of this is to say that unless they actually fix the issue, it seems like I'm stuck with this driver which offers inferior performance on external monitors.  PRIME on the built-in display works fine, if not quite as performant as the latest drivers, at 60-80% from what I've seen without really testing.
One thing I noticed was that one of the patches I had to apply to compile the older versions fixed a compile error to do with thread synchronization, and my error could look like a deadlock or other race condition.  If I find the time and energy one day, I may see if I can locate something in the accessible source code from their package.
I also want to try their latest drivers directly from their own installer although I don't have high hopes for that.  I could also try the vaunted 525.85.12 although they're released by NVIDIA as data center drivers specifically.

For now, I'm going on vacation, but I may be back with more info in a week or two.

Offline

#3 2024-07-12 21:23:21

seth
Member
Registered: 2012-09-03
Posts: 54,422

Re: NVIDIA PRIME freezes external monitors on Lenovo P51

[   516.897] (II) NVIDIA(G0): Validated MetaModes:
[   516.897] (II) NVIDIA(G0):     "NULL"
[   516.897] (II) NVIDIA(G0): Virtual screen size determined to be 640 x 480
[   516.905] (WW) NVIDIA(G0): Cannot find size of first mode for BenQ PD3220U (DFP-3);
[   516.905] (WW) NVIDIA(G0):     cannot compute DPI from BenQ PD3220U (DFP-3)'s EDID.
[   516.905] (==) NVIDIA(G0): DPI set to (75, 75); computed from built-in default

No idea whether that's also causing the main issue, but enable https://wiki.archlinux.org/title/NVIDIA … de_setting - use the "nvidia_drm.modeset=1" kernel parameter  to also get rid of the simpledrm device and not have the cards swap order.

Do you run a compositor (picom etc.) along awesomewm?

Offline

#4 2024-07-16 05:54:40

Firngrod
Member
Registered: 2024-07-09
Posts: 3

Re: NVIDIA PRIME freezes external monitors on Lenovo P51

I'm sure I've tried with most permutations of the common Nvidia kernel parameters, including that one, but i will try again when i get back from vacation, thanks for the suggestion.

I've observed the issue with and without picom. It seemed to happen faster with picom than without. I will try playing with that as well when I get back.

Offline

Board footer

Powered by FluxBB