You are not logged in.

#1 2021-11-01 20:01:25

TiZ
Member
Registered: 2009-02-27
Posts: 58

Correct way to supply options to the modesetting driver?

Hi there. The newest stable release of xorg-server isn't in the repos and I've been jonesing for AsyncFlipSecondaries because I play a lot of my games on my TV and am tired of micro-stutters, so I installed xorg-server-git. My laptop has NVIDIA Optimus and it's currently set up for render offload and reverse PRIME. I would like to supply the AsyncFlipSecondaries option to the modesetting driver somehow, but it seems that every way that I try to do so with a file in xorg.conf.d causes the modesetting driver to try to claim the nvidia card.

I've tried it both like this:

Section "OutputClass"
	Identifier "Intel Graphics"
	MatchDriver "i915"
	Driver "modesetting"
	# Commenting the below out makes no difference
	Option "AsyncFlipSecondaries" "on"
EndSection

And like this:

Section "Device"
	Identifier "modesetting"
	Driver "modesetting"
	# Commenting the below out makes no difference
	Option "AsyncFlipSecondaries" "on"
EndSection

I've also tried naming it with different numbers; 10 to make it come before nvidia-drm-outputclass, and 20 to make sure it comes after. I've also tried supplying a BusID and a kmsdev to the .conf.d file. I've also tried making an entire xorg.conf file according to this page of NVidia's documentation. Regardless of what I do, the very existence of a file trying to do something with the modesetting driver causes it to try to claim the Nvidia device, and thus prevent it from starting at all.

How am I intended to provide options to the modesetting driver?

Last edited by TiZ (2021-11-01 20:03:04)

Offline

#2 2021-11-01 20:37:19

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: Correct way to supply options to the modesetting driver?

Section "Device"
	Identifier "modesetting"
	Driver "modesetting"
        BusID  "pci:bus:dev:func"
	# Commenting the below out makes no difference
	Option "AsyncFlipSecondaries" "on"
EndSection

Have you tried specifying the BusID?
Edit:
If that does not work please post the full contents of Xorg.log.

Last edited by loqs (2021-11-01 20:39:00)

Offline

#3 2021-11-03 19:52:07

TiZ
Member
Registered: 2009-02-27
Posts: 58

Re: Correct way to supply options to the modesetting driver?

I have, and that makes no difference. Apologies for having forgotten to supply Xorg.log.0. I made it when I tried to get support from IRC, and forgot to post it. Here it is.

It mentions having disabled AsyncFlipSecondaries; this is likely from an attempt where I disabled the option to see if the option itself was breaking things.

[  3501.230] 
This is a pre-release version of the X server from Archlinux.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[  3501.230] 
X.Org X Server 1.21.0.99
X Protocol Version 11, Revision 0
[  3501.230] Current Operating System: Linux Aura 5.14.15-zen1-1-zen #1 ZEN SMP PREEMPT Wed, 27 Oct 2021 23:38:11 +0000 x86_64
[  3501.230] Kernel command line: root=PARTLABEL=Main1 rw rootflags=subvol=/os/arch mitigations=off i195.fastboot=1 quiet splash loglevel=3 rd.systemd.show_status=auto rd.udev.log_level=3 vt.global_cursor_default=0 acpi_backlight=video initrd=\os\arch\boot\initramfs-linux-zen.img
[  3501.230]  
[  3501.230] Current version of pixman: 0.40.0
[  3501.230] 	Before reporting problems, check https://aur.archlinux.org/xorg-server-git.git
	to make sure that you have the latest version.
[  3501.230] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  3501.230] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Nov  1 11:45:54 2021
[  3501.231] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  3501.231] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  3501.231] (==) No Layout section.  Using the first Screen section.
[  3501.231] (==) No screen section available. Using defaults.
[  3501.231] (**) |-->Screen "Default Screen Section" (0)
[  3501.231] (**) |   |-->Monitor "<default monitor>"
[  3501.231] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[  3501.231] (**) |   |-->Device "modesetting"
[  3501.231] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  3501.231] (==) Automatically adding devices
[  3501.231] (==) Automatically enabling devices
[  3501.231] (==) Automatically adding GPU devices
[  3501.231] (==) Automatically binding GPU devices
[  3501.231] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  3501.231] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  3501.231] 	Entry deleted from font path.
[  3501.231] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  3501.231] 	Entry deleted from font path.
[  3501.231] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
[  3501.231] 	Entry deleted from font path.
[  3501.231] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi").
[  3501.231] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
[  3501.231] 	Entry deleted from font path.
[  3501.231] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi").
[  3501.231] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF
[  3501.231] (==) ModulePath set to "/usr/lib/xorg/modules"
[  3501.231] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  3501.231] (II) Module ABI versions:
[  3501.231] 	X.Org ANSI C Emulation: 0.4
[  3501.231] 	X.Org Video Driver: 25.2
[  3501.231] 	X.Org XInput driver : 24.4
[  3501.231] 	X.Org Server Extension : 10.0
[  3501.231] (++) using VT number 7

[  3501.231] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[  3501.232] (II) xfree86: Adding drm device (/dev/dri/card1)
[  3501.232] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
[  3501.266] (II) xfree86: Adding drm device (/dev/dri/card0)
[  3501.266] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[  3501.273] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[  3501.273] (--) PCI:*(0@0:2:0) 8086:3e9b:1558:95e6 rev 0, Mem @ 0xb5000000/16777216, 0x90000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[  3501.274] (--) PCI: (1@0:0:0) 10de:1f10:1558:95e1 rev 161, Mem @ 0xb3000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[  3501.274] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  3501.274] (II) LoadModule: "glx"
[  3501.274] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  3501.275] (II) Module glx: vendor="X.Org Foundation"
[  3501.275] 	compiled for 1.21.0.99, module version = 1.0.0
[  3501.275] 	ABI class: X.Org Server Extension, version 10.0
[  3501.275] (II) LoadModule: "modesetting"
[  3501.275] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  3501.275] (II) Module modesetting: vendor="X.Org Foundation"
[  3501.275] 	compiled for 1.21.0.99, module version = 1.21.0
[  3501.275] 	Module class: X.Org Video Driver
[  3501.275] 	ABI class: X.Org Video Driver, version 25.2
[  3501.275] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  3501.279] (II) modeset(0): using drv /dev/dri/card0
[  3501.303] (II) modeset(G0): using drv /dev/dri/card1
[  3501.303] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[  3501.303] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[  3501.303] (==) modeset(0): RGB weight 888
[  3501.303] (==) modeset(0): Default visual is TrueColor
[  3501.303] (II) Loading sub module "glamoregl"
[  3501.303] (II) LoadModule: "glamoregl"
[  3501.303] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  3501.305] (II) Module glamoregl: vendor="X.Org Foundation"
[  3501.305] 	compiled for 1.21.0.99, module version = 1.0.1
[  3501.305] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  3501.328] (II) modeset(0): glamor X acceleration enabled on Mesa Intel(R) UHD Graphics 630 (CFL GT2)
[  3501.328] (II) modeset(0): glamor initialized
[  3501.328] (==) modeset(0): VariableRefresh: disabled
[  3501.328] (==) modeset(0): AsyncFlipSecondaries: disabled
[  3501.329] (II) modeset(0): Output eDP-1 has no monitor section
[  3501.331] (II) modeset(0): EDID for output eDP-1
[  3501.331] (II) modeset(0): Manufacturer: AUO  Model: 70ed  Serial#: 2880665602
[  3501.331] (II) modeset(0): Year: 2017  Week: 16
[  3501.331] (II) modeset(0): EDID Version: 1.4
[  3501.331] (II) modeset(0): Digital Display Input
[  3501.331] (II) modeset(0): 8 bits per channel
[  3501.331] (II) modeset(0): Digital interface is DisplayPort
[  3501.331] (II) modeset(0): Max Image Size [cm]: horiz.: 34  vert.: 19
[  3501.331] (II) modeset(0): Gamma: 2.20
[  3501.331] (II) modeset(0): No DPMS capabilities specified
[  3501.331] (II) modeset(0): Supported color encodings: RGB 4:4:4 
[  3501.331] (II) modeset(0): First detailed timing is preferred mode
[  3501.331] (II) modeset(0): Preferred mode is native pixel format and refresh rate
[  3501.331] (II) modeset(0): redX: 0.642 redY: 0.338   greenX: 0.322 greenY: 0.611
[  3501.331] (II) modeset(0): blueX: 0.153 blueY: 0.046   whiteX: 0.313 whiteY: 0.329
[  3501.331] (II) modeset(0): Manufacturer's mask: 0
[  3501.331] (II) modeset(0): Supported detailed timing:
[  3501.331] (II) modeset(0): clock: 368.1 MHz   Image Size:  344 x 193 mm
[  3501.331] (II) modeset(0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2092 h_border: 0
[  3501.331] (II) modeset(0): v_active: 1080  v_sync: 1090  v_sync_end 1095 v_blanking: 1222 v_border: 0
[  3501.331] (II) modeset(0): Supported detailed timing:
[  3501.331] (II) modeset(0): clock: 368.1 MHz   Image Size:  344 x 193 mm
[  3501.331] (II) modeset(0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2092 h_border: 0
[  3501.331] (II) modeset(0): v_active: 1080  v_sync: 1090  v_sync_end 1095 v_blanking: 2930 v_border: 0
[  3501.331] (II) modeset(0): Unknown vendor-specific block 2
[  3501.331] (II) modeset(0): EDID (in hex):
[  3501.331] (II) modeset(0): 	00ffffffffffff0006afed700278b3ab
[  3501.331] (II) modeset(0): 	101b0104a5221378026a75a456529c27
[  3501.331] (II) modeset(0): 	0b505400000001010101010101010101
[  3501.331] (II) modeset(0): 	010101010101ce8f80ac70388e403020
[  3501.331] (II) modeset(0): 	a50058c110000018ce8f80ac70383a47
[  3501.331] (II) modeset(0): 	3020a50058c110000018000000000000
[  3501.331] (II) modeset(0): 	00000000000000000000000000000002
[  3501.331] (II) modeset(0): 	001036ff0f3c96241433962020200045
[  3501.331] (II) modeset(0): Printing probed modes for output eDP-1
[  3501.331] (II) modeset(0): Modeline "1920x1080"x144.0  368.14  1920 1968 2000 2092  1080 1090 1095 1222 -hsync -vsync (176.0 kHz eP)
[  3501.331] (II) modeset(0): Modeline "1920x1080"x60.1  368.14  1920 1968 2000 2092  1080 1090 1095 2930 -hsync -vsync (176.0 kHz e)
[  3501.331] (II) modeset(0): Modeline "1920x1080"x120.0  356.38  1920 2080 2288 2656  1080 1081 1084 1118 doublescan -hsync +vsync (134.2 kHz d)
[  3501.331] (II) modeset(0): Modeline "1920x1080"x119.9  266.50  1920 1944 1960 2000  1080 1081 1084 1111 doublescan +hsync -vsync (133.2 kHz d)
[  3501.331] (II) modeset(0): Modeline "1920x1080"x60.0  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync (67.2 kHz d)
[  3501.331] (II) modeset(0): Modeline "1920x1080"x59.9  138.50  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (66.6 kHz d)
[  3501.331] (II) modeset(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz d)
[  3501.331] (II) modeset(0): Modeline "1680x1050"x59.9  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz d)
[  3501.331] (II) modeset(0): Modeline "1400x1050"x74.8  155.80  1400 1464 1784 1912  1050 1052 1064 1090 +hsync +vsync (81.5 kHz d)
[  3501.331] (II) modeset(0): Modeline "1400x1050"x60.0  122.00  1400 1488 1640 1880  1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
[  3501.331] (II) modeset(0): Modeline "1600x900"x120.0  246.00  1600 1728 1900 2200  900 901 904 932 doublescan -hsync +vsync (111.8 kHz d)
[  3501.331] (II) modeset(0): Modeline "1600x900"x119.9  186.50  1600 1624 1640 1680  900 901 904 926 doublescan +hsync -vsync (111.0 kHz d)
[  3501.331] (II) modeset(0): Modeline "1600x900"x59.9  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync (56.0 kHz d)
[  3501.331] (II) modeset(0): Modeline "1600x900"x59.8   97.50  1600 1648 1680 1760  900 903 908 926 +hsync -vsync (55.4 kHz d)
[  3501.331] (II) modeset(0): Modeline "1280x1024"x85.0  157.50  1280 1344 1504 1728  1024 1025 1028 1072 +hsync +vsync (91.1 kHz d)
[  3501.331] (II) modeset(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz d)
[  3501.331] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[  3501.331] (II) modeset(0): Modeline "1400x900"x60.0  103.50  1400 1480 1624 1848  900 903 913 934 -hsync +vsync (56.0 kHz d)
[  3501.331] (II) modeset(0): Modeline "1400x900"x59.9   86.50  1400 1448 1480 1560  900 903 913 926 +hsync -vsync (55.4 kHz d)
[  3501.331] (II) modeset(0): Modeline "1280x960"x85.0  148.50  1280 1344 1504 1728  960 961 964 1011 +hsync +vsync (85.9 kHz d)
[  3501.331] (II) modeset(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz d)
[  3501.331] (II) modeset(0): Modeline "1440x810"x120.0  198.12  1440 1548 1704 1968  810 811 814 839 doublescan -hsync +vsync (100.7 kHz d)
[  3501.331] (II) modeset(0): Modeline "1440x810"x119.9  151.88  1440 1464 1480 1520  810 811 814 833 doublescan +hsync -vsync (99.9 kHz d)
[  3501.331] (II) modeset(0): Modeline "1368x768"x59.9   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync (47.8 kHz d)
[  3501.331] (II) modeset(0): Modeline "1368x768"x59.9   72.25  1368 1416 1448 1528  768 771 781 790 +hsync -vsync (47.3 kHz d)
[  3501.331] (II) modeset(0): Modeline "1280x800"x120.0  174.25  1280 1380 1516 1752  800 801 804 829 doublescan -hsync +vsync (99.5 kHz d)
[  3501.331] (II) modeset(0): Modeline "1280x800"x119.9  134.25  1280 1304 1320 1360  800 801 804 823 doublescan +hsync -vsync (98.7 kHz d)
[  3501.331] (II) modeset(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz d)
[  3501.331] (II) modeset(0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz d)
[  3501.331] (II) modeset(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz d)
[  3501.331] (II) modeset(0): Modeline "1280x720"x120.0  156.12  1280 1376 1512 1744  720 721 724 746 doublescan -hsync +vsync (89.5 kHz d)
[  3501.331] (II) modeset(0): Modeline "1280x720"x120.0  120.75  1280 1304 1320 1360  720 721 724 740 doublescan +hsync -vsync (88.8 kHz d)
[  3501.331] (II) modeset(0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz d)
[  3501.331] (II) modeset(0): Modeline "1280x720"x59.7   63.75  1280 1328 1360 1440  720 723 728 741 +hsync -vsync (44.3 kHz d)
[  3501.331] (II) modeset(0): Modeline "1024x768"x170.0  194.02  1024 1108 1220 1416  768 768 770 806 doublescan -hsync +vsync (137.0 kHz d)
[  3501.331] (II) modeset(0): Modeline "1024x768"x150.1  170.24  1024 1108 1220 1416  768 768 770 801 doublescan -hsync +vsync (120.2 kHz d)
[  3501.331] (II) modeset(0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[  3501.331] (II) modeset(0): Modeline "1024x768"x85.0   94.50  1024 1072 1168 1376  768 769 772 808 +hsync +vsync (68.7 kHz d)
[  3501.331] (II) modeset(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz d)
[  3501.331] (II) modeset(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz d)
[  3501.331] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[  3501.331] (II) modeset(0): Modeline "1024x768i"x43.5   44.90  1024 1032 1208 1264  768 768 776 817 interlace +hsync +vsync (35.5 kHz d)
[  3501.331] (II) modeset(0): Modeline "960x720"x170.0  170.68  960 1036 1144 1328  720 720 722 756 doublescan -hsync +vsync (128.5 kHz d)
[  3501.331] (II) modeset(0): Modeline "960x720"x150.0  148.50  960 1032 1144 1320  720 720 722 750 doublescan -hsync +vsync (112.5 kHz d)
[  3501.331] (II) modeset(0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[  3501.331] (II) modeset(0): Modeline "928x696"x150.0  144.00  928 992 1104 1280  696 696 698 750 doublescan -hsync +vsync (112.5 kHz d)
[  3501.331] (II) modeset(0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[  3501.331] (II) modeset(0): Modeline "896x672"x150.1  130.50  896 944 1052 1228  672 672 674 708 doublescan -hsync +vsync (106.3 kHz d)
[  3501.331] (II) modeset(0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[  3501.331] (II) modeset(0): Modeline "1024x576"x119.9   98.50  1024 1092 1200 1376  576 577 580 597 doublescan -hsync +vsync (71.6 kHz d)
[  3501.331] (II) modeset(0): Modeline "1024x576"x119.9   78.38  1024 1048 1064 1104  576 577 580 592 doublescan +hsync -vsync (71.0 kHz d)
[  3501.331] (II) modeset(0): Modeline "1024x576"x59.9   46.50  1024 1064 1160 1296  576 579 584 599 -hsync +vsync (35.9 kHz d)
[  3501.331] (II) modeset(0): Modeline "1024x576"x59.8   42.00  1024 1072 1104 1184  576 579 584 593 +hsync -vsync (35.5 kHz d)
[  3501.331] (II) modeset(0): Modeline "960x600"x119.9   96.62  960 1028 1128 1296  600 601 604 622 doublescan -hsync +vsync (74.6 kHz d)
[  3501.331] (II) modeset(0): Modeline "960x600"x120.0   77.00  960 984 1000 1040  600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[  3501.331] (II) modeset(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz d)
[  3501.331] (II) modeset(0): Modeline "960x540"x119.9   86.50  960 1024 1124 1288  540 541 544 560 doublescan -hsync +vsync (67.2 kHz d)
[  3501.331] (II) modeset(0): Modeline "960x540"x120.0   69.25  960 984 1000 1040  540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[  3501.331] (II) modeset(0): Modeline "960x540"x59.6   40.75  960 992 1088 1216  540 543 548 562 -hsync +vsync (33.5 kHz d)
[  3501.331] (II) modeset(0): Modeline "960x540"x59.8   37.25  960 1008 1040 1120  540 543 548 556 +hsync -vsync (33.3 kHz d)
[  3501.331] (II) modeset(0): Modeline "800x600"x170.0  114.75  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (106.2 kHz d)
[  3501.331] (II) modeset(0): Modeline "800x600"x150.0  101.25  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (93.8 kHz d)
[  3501.331] (II) modeset(0): Modeline "800x600"x140.0   94.50  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (87.5 kHz d)
[  3501.331] (II) modeset(0): Modeline "800x600"x130.0   87.75  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (81.2 kHz d)
[  3501.331] (II) modeset(0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[  3501.331] (II) modeset(0): Modeline "800x600"x85.1   56.30  800 832 896 1048  600 601 604 631 +hsync +vsync (53.7 kHz d)
[  3501.331] (II) modeset(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz d)
[  3501.331] (II) modeset(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz d)
[  3501.331] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[  3501.331] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[  3501.331] (II) modeset(0): Modeline "840x525"x120.0   73.12  840 892 980 1120  525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[  3501.332] (II) modeset(0): Modeline "840x525"x119.8   59.50  840 864 880 920  525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[  3501.332] (II) modeset(0): Modeline "864x486"x59.9   32.50  864 888 968 1072  486 489 494 506 -hsync +vsync (30.3 kHz d)
[  3501.332] (II) modeset(0): Modeline "864x486"x59.6   30.50  864 912 944 1024  486 489 494 500 +hsync -vsync (29.8 kHz d)
[  3501.332] (II) modeset(0): Modeline "700x525"x149.5   77.90  700 732 892 956  525 526 532 545 doublescan +hsync +vsync (81.5 kHz d)
[  3501.332] (II) modeset(0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[  3501.332] (II) modeset(0): Modeline "800x450"x119.9   59.12  800 848 928 1056  450 451 454 467 doublescan -hsync +vsync (56.0 kHz d)
[  3501.332] (II) modeset(0): Modeline "800x450"x119.6   48.75  800 824 840 880  450 451 454 463 doublescan +hsync -vsync (55.4 kHz d)
[  3501.332] (II) modeset(0): Modeline "640x512"x170.0   78.75  640 672 752 864  512 512 514 536 doublescan +hsync +vsync (91.1 kHz d)
[  3501.332] (II) modeset(0): Modeline "640x512"x150.0   67.50  640 648 720 844  512 512 514 533 doublescan +hsync +vsync (80.0 kHz d)
[  3501.332] (II) modeset(0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[  3501.332] (II) modeset(0): Modeline "700x450"x119.9   51.75  700 740 812 924  450 451 456 467 doublescan -hsync +vsync (56.0 kHz d)
[  3501.332] (II) modeset(0): Modeline "700x450"x119.8   43.25  700 724 740 780  450 451 456 463 doublescan +hsync -vsync (55.4 kHz d)
[  3501.332] (II) modeset(0): Modeline "640x480"x170.2   74.25  640 672 752 864  480 480 482 505 doublescan +hsync +vsync (85.9 kHz d)
[  3501.332] (II) modeset(0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[  3501.332] (II) modeset(0): Modeline "640x480"x85.0   36.00  640 696 752 832  480 481 484 509 -hsync -vsync (43.3 kHz d)
[  3501.332] (II) modeset(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz d)
[  3501.332] (II) modeset(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz d)
[  3501.332] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[  3501.332] (II) modeset(0): Modeline "720x405"x59.5   22.50  720 744 808 896  405 408 413 422 -hsync +vsync (25.1 kHz d)
[  3501.332] (II) modeset(0): Modeline "720x405"x59.0   21.75  720 768 800 880  405 408 413 419 +hsync -vsync (24.7 kHz d)
[  3501.332] (II) modeset(0): Modeline "720x400"x85.0   35.50  720 756 828 936  400 401 404 446 -hsync +vsync (37.9 kHz d)
[  3501.332] (II) modeset(0): Modeline "684x384"x119.8   42.62  684 720 788 892  384 385 390 399 doublescan -hsync +vsync (47.8 kHz d)
[  3501.332] (II) modeset(0): Modeline "684x384"x119.7   36.12  684 708 724 764  384 385 390 395 doublescan +hsync -vsync (47.3 kHz d)
[  3501.332] (II) modeset(0): Modeline "640x400"x119.8   41.75  640 676 740 840  400 401 404 415 doublescan -hsync +vsync (49.7 kHz d)
[  3501.332] (II) modeset(0): Modeline "640x400"x120.0   35.50  640 664 680 720  400 401 404 411 doublescan +hsync -vsync (49.3 kHz d)
[  3501.332] (II) modeset(0): Modeline "640x400"x85.1   31.50  640 672 736 832  400 401 404 445 -hsync +vsync (37.9 kHz d)
[  3501.332] (II) modeset(0): Modeline "576x432"x150.0   54.00  576 608 672 800  432 432 434 450 doublescan +hsync +vsync (67.5 kHz d)
[  3501.332] (II) modeset(0): Modeline "640x360"x119.7   37.25  640 672 736 832  360 361 364 374 doublescan -hsync +vsync (44.8 kHz d)
[  3501.332] (II) modeset(0): Modeline "640x360"x119.7   31.88  640 664 680 720  360 361 364 370 doublescan +hsync -vsync (44.3 kHz d)
[  3501.332] (II) modeset(0): Modeline "640x360"x59.8   18.00  640 664 720 800  360 363 368 376 -hsync +vsync (22.5 kHz d)
[  3501.332] (II) modeset(0): Modeline "640x360"x59.3   17.75  640 688 720 800  360 363 368 374 +hsync -vsync (22.2 kHz d)
[  3501.332] (II) modeset(0): Modeline "640x350"x85.1   31.50  640 672 736 832  350 382 385 445 +hsync -vsync (37.9 kHz d)
[  3501.332] (II) modeset(0): Modeline "512x384"x170.0   47.25  512 536 584 688  384 384 386 404 doublescan +hsync +vsync (68.7 kHz d)
[  3501.332] (II) modeset(0): Modeline "512x384"x150.1   39.38  512 520 568 656  384 384 386 400 doublescan +hsync +vsync (60.0 kHz d)
[  3501.332] (II) modeset(0): Modeline "512x384"x140.1   37.50  512 524 592 664  384 385 388 403 doublescan -hsync -vsync (56.5 kHz d)
[  3501.332] (II) modeset(0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[  3501.332] (II) modeset(0): Modeline "512x384i"x87.1   22.45  512 516 604 632  384 384 388 408 interlace doublescan +hsync +vsync (35.5 kHz d)
[  3501.332] (II) modeset(0): Modeline "512x288"x120.0   23.25  512 532 580 648  288 289 292 299 doublescan -hsync +vsync (35.9 kHz d)
[  3501.332] (II) modeset(0): Modeline "512x288"x119.8   21.00  512 536 552 592  288 289 292 296 doublescan +hsync -vsync (35.5 kHz d)
[  3501.332] (II) modeset(0): Modeline "416x312"x149.3   28.64  416 432 464 576  312 312 314 333 doublescan -hsync -vsync (49.7 kHz d)
[  3501.332] (II) modeset(0): Modeline "480x270"x119.3   20.38  480 496 544 608  270 271 274 281 doublescan -hsync +vsync (33.5 kHz d)
[  3501.332] (II) modeset(0): Modeline "480x270"x119.6   18.62  480 504 520 560  270 271 274 278 doublescan +hsync -vsync (33.3 kHz d)
[  3501.332] (II) modeset(0): Modeline "400x300"x170.5   28.15  400 416 448 524  300 300 302 315 doublescan +hsync +vsync (53.7 kHz d)
[  3501.332] (II) modeset(0): Modeline "400x300"x144.4   25.00  400 428 488 520  300 318 321 333 doublescan +hsync +vsync (48.1 kHz d)
[  3501.332] (II) modeset(0): Modeline "400x300"x150.2   24.75  400 408 448 528  300 300 302 312 doublescan +hsync +vsync (46.9 kHz d)
[  3501.332] (II) modeset(0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[  3501.332] (II) modeset(0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[  3501.332] (II) modeset(0): Modeline "432x243"x119.8   16.25  432 444 484 536  243 244 247 253 doublescan -hsync +vsync (30.3 kHz d)
[  3501.332] (II) modeset(0): Modeline "432x243"x119.1   15.25  432 456 472 512  243 244 247 250 doublescan +hsync -vsync (29.8 kHz d)
[  3501.332] (II) modeset(0): Modeline "320x240"x170.4   18.00  320 348 376 416  240 240 242 254 doublescan -hsync -vsync (43.3 kHz d)
[  3501.332] (II) modeset(0): Modeline "320x240"x145.6   15.75  320 332 352 416  240 244 246 260 doublescan -hsync -vsync (37.9 kHz d)
[  3501.332] (II) modeset(0): Modeline "320x240"x150.0   15.75  320 328 360 420  240 240 242 250 doublescan -hsync -vsync (37.5 kHz d)
[  3501.332] (II) modeset(0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[  3501.332] (II) modeset(0): Modeline "360x202"x119.0   11.25  360 372 404 448  202 204 206 211 doublescan -hsync +vsync (25.1 kHz d)
[  3501.332] (II) modeset(0): Modeline "360x202"x118.3   10.88  360 384 400 440  202 204 206 209 doublescan +hsync -vsync (24.7 kHz d)
[  3501.332] (II) modeset(0): Modeline "360x200"x170.1   17.75  360 378 414 468  200 200 202 223 doublescan -hsync +vsync (37.9 kHz d)
[  3501.332] (II) modeset(0): Modeline "320x200"x170.5   15.75  320 336 368 416  200 200 202 222 doublescan -hsync +vsync (37.9 kHz d)
[  3501.332] (II) modeset(0): Modeline "320x180"x119.7    9.00  320 332 360 400  180 181 184 188 doublescan -hsync +vsync (22.5 kHz d)
[  3501.332] (II) modeset(0): Modeline "320x180"x118.6    8.88  320 344 360 400  180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
[  3501.332] (II) modeset(0): Modeline "320x175"x170.5   15.75  320 336 368 416  175 191 192 222 doublescan +hsync -vsync (37.9 kHz d)
[  3501.332] (II) modeset(0): Output eDP-1 connected
[  3501.332] (II) modeset(0): Using exact sizes for initial modes
[  3501.332] (II) modeset(0): Output eDP-1 using initial mode 1920x1080 +0+0
[  3501.332] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[  3501.332] (--) modeset(0): Display dimensions: (344, 193) mm
[  3501.332] (--) modeset(0): DPI set to (141, 142)
[  3501.332] (II) Loading sub module "fb"
[  3501.332] (II) LoadModule: "fb"
[  3501.332] (II) Module "fb" already built-in
[  3501.333] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[  3501.333] (II) Applying OutputClass "nvidia" options to /dev/dri/card1
[  3501.333] (==) modeset(G0): RGB weight 888
[  3501.333] (==) modeset(G0): Default visual is TrueColor
[  3501.333] (II) Loading sub module "glamoregl"
[  3501.333] (II) LoadModule: "glamoregl"
[  3501.333] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  3501.333] (II) Module glamoregl: vendor="X.Org Foundation"
[  3501.333] 	compiled for 1.21.0.99, module version = 1.0.1
[  3501.333] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  3501.349] (II) modeset(G0): glamor X acceleration enabled on NVIDIA GeForce RTX 2070 with Max-Q Design/PCIe/SSE2
[  3501.349] (II) modeset(G0): glamor initialized
[  3501.349] (II) modeset(G0): Output DP-1-1 has no monitor section
[  3501.349] (II) modeset(G0): Output HDMI-1-1 has no monitor section
[  3501.349] (II) modeset(G0): Output DP-1-2 has no monitor section
[  3501.349] (II) modeset(G0): EDID for output DP-1-1
[  3501.349] (II) modeset(G0): EDID for output HDMI-1-1
[  3501.349] (II) modeset(G0): EDID for output DP-1-2
[  3501.349] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[  3501.349] (==) modeset(G0): DPI set to (96, 96)
[  3501.349] (II) Loading sub module "fb"
[  3501.349] (II) LoadModule: "fb"
[  3501.349] (II) Module "fb" already built-in
[  3501.358] (==) modeset(0): Backing store enabled
[  3501.358] (==) modeset(0): Silken mouse enabled
[  3501.390] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[  3501.390] (==) modeset(0): DPMS enabled
[  3501.390] (II) modeset(0): [DRI2] Setup complete
[  3501.390] (II) modeset(0): [DRI2]   DRI driver: iris
[  3501.390] (II) modeset(0): [DRI2]   VDPAU driver: va_gl
[  3501.462] (==) modeset(G0): Backing store enabled
[  3501.462] (==) modeset(G0): Silken mouse enabled
[  3501.462] (II) modeset(G0): Initializing kms color map for depth 24, 8 bpc.
[  3501.462] (==) modeset(G0): DPMS enabled
[  3501.462] (WW) modeset(G0): Option "AllowEmptyInitialConfiguration" is not used
[  3501.462] (II) modeset(G0): [DRI2] Setup complete
[  3501.462] (II) modeset(G0): [DRI2]   DRI driver: nouveau
[  3501.462] (II) modeset(G0): [DRI2]   VDPAU driver: nouveau
[  3501.462] (II) Initializing extension Generic Event Extension
[  3501.463] (II) Initializing extension SHAPE
[  3501.463] (II) Initializing extension MIT-SHM
[  3501.463] (II) Initializing extension XInputExtension
[  3501.463] (II) Initializing extension XTEST
[  3501.463] (II) Initializing extension BIG-REQUESTS
[  3501.463] (II) Initializing extension SYNC
[  3501.463] (II) Initializing extension XKEYBOARD
[  3501.463] (II) Initializing extension XC-MISC
[  3501.463] (II) Initializing extension SECURITY
[  3501.463] (II) Initializing extension XFIXES
[  3501.463] (II) Initializing extension RENDER
[  3501.463] (II) Initializing extension RANDR
[  3501.463] (II) Initializing extension COMPOSITE
[  3501.463] (II) Initializing extension DAMAGE
[  3501.464] (II) Initializing extension MIT-SCREEN-SAVER
[  3501.464] (II) Initializing extension DOUBLE-BUFFER
[  3501.464] (II) Initializing extension RECORD
[  3501.464] (II) Initializing extension DPMS
[  3501.464] (II) Initializing extension Present
[  3501.464] (II) Initializing extension DRI3
[  3501.464] (II) Initializing extension X-Resource
[  3501.464] (II) Initializing extension XVideo
[  3501.464] (II) Initializing extension XVideo-MotionCompensation
[  3501.464] (II) Initializing extension GLX
[  3501.468] (II) AIGLX: Loaded and initialized iris
[  3501.468] (II) GLX: Initialized DRI2 GL provider for screen 0
[  3501.468] (II) Initializing extension XFree86-VidModeExtension
[  3501.468] (II) Initializing extension XFree86-DGA
[  3501.468] (II) Initializing extension XFree86-DRI
[  3501.468] (II) Initializing extension DRI2
[  3501.468] (EE) modeset(G0): Failed to create pixmap
[  3501.468] (EE) 
Fatal server error:
[  3501.468] (EE) failed to create screen resources(EE) 
[  3501.468] (EE) 
Please consult the Archlinux support 
	 at https://aur.archlinux.org/xorg-server-git.git
 for help. 
[  3501.468] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  3501.468] (EE) 
[  3501.468] (II) AIGLX: Suspending AIGLX clients for VT switch
[  3501.490] (EE) Server terminated with error (1). Closing log file.

Last edited by TiZ (2021-11-03 19:53:45)

Offline

#4 2021-11-03 20:01:51

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: Correct way to supply options to the modesetting driver?

Please post the Xorg.log from when the config file with busID present and AsyncFlipSecondaries on was in use.

Offline

#5 2021-11-03 20:31:49

TiZ
Member
Registered: 2009-02-27
Posts: 58

Re: Correct way to supply options to the modesetting driver?

It doesn't seem to like that very much:

[ 19934.563] 
This is a pre-release version of the X server from Archlinux.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[ 19934.563] 
X.Org X Server 1.21.0.99
X Protocol Version 11, Revision 0
[ 19934.563] Current Operating System: Linux Aura 5.14.15-zen1-1-zen #1 ZEN SMP PREEMPT Wed, 27 Oct 2021 23:38:11 +0000 x86_64
[ 19934.563] Kernel command line: root=PARTLABEL=Main1 rw rootflags=subvol=/os/arch mitigations=off i195.fastboot=1 quiet splash loglevel=3 rd.systemd.show_status=auto rd.udev.log_level=3 vt.global_cursor_default=0 acpi_backlight=video initrd=\os\arch\boot\initramfs-linux-zen.img
[ 19934.563]  
[ 19934.563] Current version of pixman: 0.40.0
[ 19934.563] 	Before reporting problems, check https://aur.archlinux.org/xorg-server-git.git
	to make sure that you have the latest version.
[ 19934.563] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 19934.564] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Nov  3 16:04:05 2021
[ 19934.564] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 19934.564] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 19934.564] Parse error on line 5 of section OutputClass in file /etc/X11/xorg.conf.d/16-modesetting-options.conf
	"BusID" is not a valid keyword in this section.
[ 19934.564] (EE) Problem parsing the config file
[ 19934.564] (EE) Error parsing the config file
[ 19934.564] (EE) 
Fatal server error:
[ 19934.564] (EE) no screens found(EE) 
[ 19934.564] (EE) 
Please consult the Archlinux support 
	 at https://aur.archlinux.org/xorg-server-git.git
 for help. 
[ 19934.564] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 19934.564] (EE) 
[ 19934.564] (EE) Server terminated with error (1). Closing log file.

So it looks like if you specify a BusID, it has to be a Device section, and if you want to specify a MatchDriver, it has to be an OutputClass section. It seems that if you specify one as a Device section, the other GPU has to be the same way. I was able to get this full xorg.conf to start:

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

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

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

Section "Device"
	Identifier "intel"
	Driver "modesetting"
	BusID "PCI:0:2:0"
	Option "kmsdev" "/dev/dri/card0"
	Option "AsyncFlipSecondaries" "on"
EndSection

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

But I am afraid that having a fully explicit configuration will bite me in the butt somehow, so I'd rather use xorg.conf.d if I can.

Offline

#6 2021-11-03 20:38:08

loqs
Member
Registered: 2014-03-06
Posts: 17,192

Re: Correct way to supply options to the modesetting driver?

What if you drop the two screen sections and the server section?

Last edited by loqs (2021-11-03 20:40:24)

Offline

#7 2021-11-03 21:10:56

TiZ
Member
Registered: 2009-02-27
Posts: 58

Re: Correct way to supply options to the modesetting driver?

It starts up with the NVidia as the primary GPU. If I drop only the screen sections as you had posted before editing, it doesn't start at all. (I think that's why you edited your reply; you realized that would happen.)

I might as well explain more things about my setup. I had two config files in my Xorg setup, before the existence of AsyncFlipSecondaries made everything complicated.

/etc/X11/xorg.conf.d/15-nvidia-options.conf: An OutputClass that specifies options for the NVidia driver like Coolbits, compsition pipeline, etc.
/etc/X11/xorg.conf.d/20-nvidia-prime.conf: An OutputClass with only one option: PrimaryGPU.

I could flip the switch in 20-nvidia-prime.conf on and off at my whim to switch between NVidia PrimaryGPU and not. A script in LightDM would intelligently detect the PrimaryGPU situation and do the required display offloading when the NVidia was PrimaryGPU.

Now that AsyncFlipSecondaries exists and it's a modesetting option, all that simplicity just flew out the window. I thought I could create just one file, /etc/X11/xorg.conf.d/05-modesetting-options.conf, specify the options, and be on my way. But the very existence of a file that tries to have an OutputClass that sets anything to the modesetting driver causes the modesetting driver to try and take every display device.

I can use that working xorg.conf file, and then I am able to start up with Intel as the primary GPU. But then 20-nvidia-prime.conf doesn't work anymore. It has no effect.

Another thing I can do is change both the modesetting-options and nvidia-options file to where they are Device sections instead of OutputClass sections, and then they work. But if I do that, then the nvidia-prime file does a weird thing. If PrimaryGPU is no, everything works fine with Intel as primary. But if I set it to PrimaryGPU yes, then everything goes to hell and modesetting is suddenly trying to claim the nvidia device again. PrimaryGPU does not work as part of a Device section so I can't put it in 15-nvidia-options.

We were supposed to be done with xorg.conf hell. Now that I just want to change one measly option for the modesetting driver, I'm right back in it. This sucks!

Last edited by TiZ (2021-11-03 21:12:28)

Offline

#8 2021-11-03 21:25:56

TiZ
Member
Registered: 2009-02-27
Posts: 58

Re: Correct way to supply options to the modesetting driver?

Apologies for the double-post, but I tried one more thing. I moved away all of my custom xorg configuration. No xorg.conf.d, no xorg.conf. In this situation, Xorg starts with intel as primary GPU, and and nvidia as secondary, with render offload and reverse prime enabled. I think included distro configuration for the nvidia driver enables this to work, because there is still /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf.

If I create /etc/X11/xorg.conf.d/05-modesetting-options.conf with the following contents, it all stops working again.

Section "OutputClass"
	Identifier "modesetting"
	MatchDriver "i915"
	Driver "modesetting"
	Option "AsyncFlipSecondaries" "on"
EndSection

Here is the output of Xorg.0.log when that happens.

[  1618.474] 
This is a pre-release version of the X server from Archlinux.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[  1618.474] 
X.Org X Server 1.21.0.99
X Protocol Version 11, Revision 0
[  1618.474] Current Operating System: Linux Aura 5.14.15-zen1-1-zen #1 ZEN SMP PREEMPT Wed, 27 Oct 2021 23:38:11 +0000 x86_64
[  1618.474] Kernel command line: root=PARTLABEL=Main1 rw rootflags=subvol=/os/arch mitigations=off i195.fastboot=1 nouveau.blacklist=1 quiet splash loglevel=3 rd.systemd.show_status=auto rd.udev.log_level=3 vt.global_cursor_default=0 acpi_backlight=video initrd=\os\arch\boot\initramfs-linux-zen.img
[  1618.474]  
[  1618.474] Current version of pixman: 0.40.0
[  1618.474] 	Before reporting problems, check https://aur.archlinux.org/xorg-server-git.git
	to make sure that you have the latest version.
[  1618.474] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1618.475] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Nov  3 17:17:34 2021
[  1618.475] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  1618.475] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1618.475] (==) No Layout section.  Using the first Screen section.
[  1618.475] (==) No screen section available. Using defaults.
[  1618.475] (**) |-->Screen "Default Screen Section" (0)
[  1618.475] (**) |   |-->Monitor "<default monitor>"
[  1618.475] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  1618.475] (==) Automatically adding devices
[  1618.475] (==) Automatically enabling devices
[  1618.475] (==) Automatically adding GPU devices
[  1618.475] (==) Automatically binding GPU devices
[  1618.475] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1618.475] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  1618.475] 	Entry deleted from font path.
[  1618.475] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  1618.475] 	Entry deleted from font path.
[  1618.475] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
[  1618.475] 	Entry deleted from font path.
[  1618.475] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi").
[  1618.475] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
[  1618.475] 	Entry deleted from font path.
[  1618.475] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi").
[  1618.475] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF
[  1618.475] (==) ModulePath set to "/usr/lib/xorg/modules"
[  1618.475] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1618.475] (II) Module ABI versions:
[  1618.475] 	X.Org ANSI C Emulation: 0.4
[  1618.475] 	X.Org Video Driver: 25.2
[  1618.475] 	X.Org XInput driver : 24.4
[  1618.475] 	X.Org Server Extension : 10.0
[  1618.475] (++) using VT number 7

[  1618.475] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[  1618.476] (II) xfree86: Adding drm device (/dev/dri/card1)
[  1618.476] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
[  1618.513] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1618.513] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[  1618.518] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[  1618.518] (--) PCI:*(0@0:2:0) 8086:3e9b:1558:95e6 rev 0, Mem @ 0xb5000000/16777216, 0x90000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[  1618.518] (--) PCI: (1@0:0:0) 10de:1f10:1558:95e1 rev 161, Mem @ 0xb3000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[  1618.518] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  1618.518] (II) LoadModule: "glx"
[  1618.519] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1618.520] (II) Module glx: vendor="X.Org Foundation"
[  1618.520] 	compiled for 1.21.0.99, module version = 1.0.0
[  1618.520] 	ABI class: X.Org Server Extension, version 10.0
[  1618.520] (II) Applying OutputClass "modesetting" to /dev/dri/card0
[  1618.520] 	loading driver: modesetting
[  1618.520] (II) Applying OutputClass "nvidia" to /dev/dri/card1
[  1618.520] 	loading driver: nvidia
[  1618.520] (==) Matched modesetting as autoconfigured driver 0
[  1618.520] (==) Matched intel as autoconfigured driver 1
[  1618.520] (==) Matched nvidia as autoconfigured driver 2
[  1618.520] (==) Matched nouveau as autoconfigured driver 3
[  1618.520] (==) Matched nv as autoconfigured driver 4
[  1618.520] (==) Matched fbdev as autoconfigured driver 5
[  1618.520] (==) Matched vesa as autoconfigured driver 6
[  1618.520] (==) Assigned the driver to the xf86ConfigLayout
[  1618.520] (II) LoadModule: "modesetting"
[  1618.520] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  1618.520] (II) Module modesetting: vendor="X.Org Foundation"
[  1618.520] 	compiled for 1.21.0.99, module version = 1.21.0
[  1618.520] 	Module class: X.Org Video Driver
[  1618.520] 	ABI class: X.Org Video Driver, version 25.2
[  1618.520] (II) LoadModule: "intel"
[  1618.520] (WW) Warning, couldn't open module intel
[  1618.520] (EE) Failed to load module "intel" (module does not exist, 0)
[  1618.520] (II) LoadModule: "nvidia"
[  1618.520] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  1618.520] (II) Module nvidia: vendor="NVIDIA Corporation"
[  1618.520] 	compiled for 1.6.99.901, module version = 1.0.0
[  1618.520] 	Module class: X.Org Video Driver
[  1618.520] (II) LoadModule: "nouveau"
[  1618.521] (WW) Warning, couldn't open module nouveau
[  1618.521] (EE) Failed to load module "nouveau" (module does not exist, 0)
[  1618.521] (II) LoadModule: "nv"
[  1618.521] (WW) Warning, couldn't open module nv
[  1618.521] (EE) Failed to load module "nv" (module does not exist, 0)
[  1618.521] (II) LoadModule: "fbdev"
[  1618.521] (WW) Warning, couldn't open module fbdev
[  1618.521] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  1618.521] (II) LoadModule: "vesa"
[  1618.521] (WW) Warning, couldn't open module vesa
[  1618.521] (EE) Failed to load module "vesa" (module does not exist, 0)
[  1618.521] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  1618.521] (II) NVIDIA dlloader X Driver  495.44  Fri Oct 22 06:11:21 UTC 2021
[  1618.521] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  1618.523] (II) modeset(0): using drv /dev/dri/card0
[  1618.547] (II) modeset(G0): using drv /dev/dri/card1
[  1618.547] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[  1618.547] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[  1618.547] (II) Applying OutputClass "modesetting" options to /dev/dri/card0
[  1618.547] (**) modeset(0): Option "AsyncFlipSecondaries" "on"
[  1618.547] (==) modeset(0): RGB weight 888
[  1618.547] (==) modeset(0): Default visual is TrueColor
[  1618.547] (II) Loading sub module "glamoregl"
[  1618.547] (II) LoadModule: "glamoregl"
[  1618.547] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  1618.550] (II) Module glamoregl: vendor="X.Org Foundation"
[  1618.550] 	compiled for 1.21.0.99, module version = 1.0.1
[  1618.550] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  1618.577] (II) modeset(0): glamor X acceleration enabled on Mesa Intel(R) UHD Graphics 630 (CFL GT2)
[  1618.577] (II) modeset(0): glamor initialized
[  1618.577] (==) modeset(0): VariableRefresh: disabled
[  1618.577] (**) modeset(0): AsyncFlipSecondaries: enabled
[  1618.578] (II) modeset(0): Output eDP-1 has no monitor section
[  1618.580] (II) modeset(0): EDID for output eDP-1
[  1618.580] (II) modeset(0): Manufacturer: AUO  Model: 70ed  Serial#: 2880665602
[  1618.580] (II) modeset(0): Year: 2017  Week: 16
[  1618.580] (II) modeset(0): EDID Version: 1.4
[  1618.580] (II) modeset(0): Digital Display Input
[  1618.580] (II) modeset(0): 8 bits per channel
[  1618.580] (II) modeset(0): Digital interface is DisplayPort
[  1618.580] (II) modeset(0): Max Image Size [cm]: horiz.: 34  vert.: 19
[  1618.580] (II) modeset(0): Gamma: 2.20
[  1618.580] (II) modeset(0): No DPMS capabilities specified
[  1618.580] (II) modeset(0): Supported color encodings: RGB 4:4:4 
[  1618.580] (II) modeset(0): First detailed timing is preferred mode
[  1618.580] (II) modeset(0): Preferred mode is native pixel format and refresh rate
[  1618.580] (II) modeset(0): redX: 0.642 redY: 0.338   greenX: 0.322 greenY: 0.611
[  1618.580] (II) modeset(0): blueX: 0.153 blueY: 0.046   whiteX: 0.313 whiteY: 0.329
[  1618.580] (II) modeset(0): Manufacturer's mask: 0
[  1618.580] (II) modeset(0): Supported detailed timing:
[  1618.580] (II) modeset(0): clock: 368.1 MHz   Image Size:  344 x 193 mm
[  1618.580] (II) modeset(0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2092 h_border: 0
[  1618.580] (II) modeset(0): v_active: 1080  v_sync: 1090  v_sync_end 1095 v_blanking: 1222 v_border: 0
[  1618.580] (II) modeset(0): Supported detailed timing:
[  1618.580] (II) modeset(0): clock: 368.1 MHz   Image Size:  344 x 193 mm
[  1618.580] (II) modeset(0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2092 h_border: 0
[  1618.580] (II) modeset(0): v_active: 1080  v_sync: 1090  v_sync_end 1095 v_blanking: 2930 v_border: 0
[  1618.580] (II) modeset(0): Unknown vendor-specific block 2
[  1618.580] (II) modeset(0): EDID (in hex):
[  1618.580] (II) modeset(0): 	00ffffffffffff0006afed700278b3ab
[  1618.580] (II) modeset(0): 	101b0104a5221378026a75a456529c27
[  1618.580] (II) modeset(0): 	0b505400000001010101010101010101
[  1618.580] (II) modeset(0): 	010101010101ce8f80ac70388e403020
[  1618.580] (II) modeset(0): 	a50058c110000018ce8f80ac70383a47
[  1618.580] (II) modeset(0): 	3020a50058c110000018000000000000
[  1618.580] (II) modeset(0): 	00000000000000000000000000000002
[  1618.580] (II) modeset(0): 	001036ff0f3c96241433962020200045
[  1618.580] (II) modeset(0): Printing probed modes for output eDP-1
[  1618.580] (II) modeset(0): Modeline "1920x1080"x144.0  368.14  1920 1968 2000 2092  1080 1090 1095 1222 -hsync -vsync (176.0 kHz eP)
[  1618.580] (II) modeset(0): Modeline "1920x1080"x60.1  368.14  1920 1968 2000 2092  1080 1090 1095 2930 -hsync -vsync (176.0 kHz e)
[  1618.580] (II) modeset(0): Modeline "1920x1080"x120.0  356.38  1920 2080 2288 2656  1080 1081 1084 1118 doublescan -hsync +vsync (134.2 kHz d)
[  1618.580] (II) modeset(0): Modeline "1920x1080"x119.9  266.50  1920 1944 1960 2000  1080 1081 1084 1111 doublescan +hsync -vsync (133.2 kHz d)
[  1618.580] (II) modeset(0): Modeline "1920x1080"x60.0  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync (67.2 kHz d)
[  1618.580] (II) modeset(0): Modeline "1920x1080"x59.9  138.50  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (66.6 kHz d)
[  1618.580] (II) modeset(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz d)
[  1618.580] (II) modeset(0): Modeline "1680x1050"x59.9  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz d)
[  1618.580] (II) modeset(0): Modeline "1400x1050"x74.8  155.80  1400 1464 1784 1912  1050 1052 1064 1090 +hsync +vsync (81.5 kHz d)
[  1618.580] (II) modeset(0): Modeline "1400x1050"x60.0  122.00  1400 1488 1640 1880  1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
[  1618.580] (II) modeset(0): Modeline "1600x900"x120.0  246.00  1600 1728 1900 2200  900 901 904 932 doublescan -hsync +vsync (111.8 kHz d)
[  1618.580] (II) modeset(0): Modeline "1600x900"x119.9  186.50  1600 1624 1640 1680  900 901 904 926 doublescan +hsync -vsync (111.0 kHz d)
[  1618.580] (II) modeset(0): Modeline "1600x900"x59.9  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync (56.0 kHz d)
[  1618.580] (II) modeset(0): Modeline "1600x900"x59.8   97.50  1600 1648 1680 1760  900 903 908 926 +hsync -vsync (55.4 kHz d)
[  1618.580] (II) modeset(0): Modeline "1280x1024"x85.0  157.50  1280 1344 1504 1728  1024 1025 1028 1072 +hsync +vsync (91.1 kHz d)
[  1618.580] (II) modeset(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz d)
[  1618.580] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[  1618.580] (II) modeset(0): Modeline "1400x900"x60.0  103.50  1400 1480 1624 1848  900 903 913 934 -hsync +vsync (56.0 kHz d)
[  1618.580] (II) modeset(0): Modeline "1400x900"x59.9   86.50  1400 1448 1480 1560  900 903 913 926 +hsync -vsync (55.4 kHz d)
[  1618.580] (II) modeset(0): Modeline "1280x960"x85.0  148.50  1280 1344 1504 1728  960 961 964 1011 +hsync +vsync (85.9 kHz d)
[  1618.580] (II) modeset(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz d)
[  1618.580] (II) modeset(0): Modeline "1440x810"x120.0  198.12  1440 1548 1704 1968  810 811 814 839 doublescan -hsync +vsync (100.7 kHz d)
[  1618.580] (II) modeset(0): Modeline "1440x810"x119.9  151.88  1440 1464 1480 1520  810 811 814 833 doublescan +hsync -vsync (99.9 kHz d)
[  1618.580] (II) modeset(0): Modeline "1368x768"x59.9   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync (47.8 kHz d)
[  1618.580] (II) modeset(0): Modeline "1368x768"x59.9   72.25  1368 1416 1448 1528  768 771 781 790 +hsync -vsync (47.3 kHz d)
[  1618.580] (II) modeset(0): Modeline "1280x800"x120.0  174.25  1280 1380 1516 1752  800 801 804 829 doublescan -hsync +vsync (99.5 kHz d)
[  1618.580] (II) modeset(0): Modeline "1280x800"x119.9  134.25  1280 1304 1320 1360  800 801 804 823 doublescan +hsync -vsync (98.7 kHz d)
[  1618.580] (II) modeset(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz d)
[  1618.580] (II) modeset(0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz d)
[  1618.580] (II) modeset(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz d)
[  1618.580] (II) modeset(0): Modeline "1280x720"x120.0  156.12  1280 1376 1512 1744  720 721 724 746 doublescan -hsync +vsync (89.5 kHz d)
[  1618.580] (II) modeset(0): Modeline "1280x720"x120.0  120.75  1280 1304 1320 1360  720 721 724 740 doublescan +hsync -vsync (88.8 kHz d)
[  1618.580] (II) modeset(0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz d)
[  1618.580] (II) modeset(0): Modeline "1280x720"x59.7   63.75  1280 1328 1360 1440  720 723 728 741 +hsync -vsync (44.3 kHz d)
[  1618.580] (II) modeset(0): Modeline "1024x768"x170.0  194.02  1024 1108 1220 1416  768 768 770 806 doublescan -hsync +vsync (137.0 kHz d)
[  1618.580] (II) modeset(0): Modeline "1024x768"x150.1  170.24  1024 1108 1220 1416  768 768 770 801 doublescan -hsync +vsync (120.2 kHz d)
[  1618.580] (II) modeset(0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[  1618.580] (II) modeset(0): Modeline "1024x768"x85.0   94.50  1024 1072 1168 1376  768 769 772 808 +hsync +vsync (68.7 kHz d)
[  1618.580] (II) modeset(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz d)
[  1618.580] (II) modeset(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz d)
[  1618.580] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[  1618.580] (II) modeset(0): Modeline "1024x768i"x43.5   44.90  1024 1032 1208 1264  768 768 776 817 interlace +hsync +vsync (35.5 kHz d)
[  1618.580] (II) modeset(0): Modeline "960x720"x170.0  170.68  960 1036 1144 1328  720 720 722 756 doublescan -hsync +vsync (128.5 kHz d)
[  1618.580] (II) modeset(0): Modeline "960x720"x150.0  148.50  960 1032 1144 1320  720 720 722 750 doublescan -hsync +vsync (112.5 kHz d)
[  1618.580] (II) modeset(0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[  1618.580] (II) modeset(0): Modeline "928x696"x150.0  144.00  928 992 1104 1280  696 696 698 750 doublescan -hsync +vsync (112.5 kHz d)
[  1618.580] (II) modeset(0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[  1618.580] (II) modeset(0): Modeline "896x672"x150.1  130.50  896 944 1052 1228  672 672 674 708 doublescan -hsync +vsync (106.3 kHz d)
[  1618.580] (II) modeset(0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[  1618.580] (II) modeset(0): Modeline "1024x576"x119.9   98.50  1024 1092 1200 1376  576 577 580 597 doublescan -hsync +vsync (71.6 kHz d)
[  1618.580] (II) modeset(0): Modeline "1024x576"x119.9   78.38  1024 1048 1064 1104  576 577 580 592 doublescan +hsync -vsync (71.0 kHz d)
[  1618.580] (II) modeset(0): Modeline "1024x576"x59.9   46.50  1024 1064 1160 1296  576 579 584 599 -hsync +vsync (35.9 kHz d)
[  1618.580] (II) modeset(0): Modeline "1024x576"x59.8   42.00  1024 1072 1104 1184  576 579 584 593 +hsync -vsync (35.5 kHz d)
[  1618.580] (II) modeset(0): Modeline "960x600"x119.9   96.62  960 1028 1128 1296  600 601 604 622 doublescan -hsync +vsync (74.6 kHz d)
[  1618.580] (II) modeset(0): Modeline "960x600"x120.0   77.00  960 984 1000 1040  600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[  1618.580] (II) modeset(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz d)
[  1618.580] (II) modeset(0): Modeline "960x540"x119.9   86.50  960 1024 1124 1288  540 541 544 560 doublescan -hsync +vsync (67.2 kHz d)
[  1618.580] (II) modeset(0): Modeline "960x540"x120.0   69.25  960 984 1000 1040  540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[  1618.580] (II) modeset(0): Modeline "960x540"x59.6   40.75  960 992 1088 1216  540 543 548 562 -hsync +vsync (33.5 kHz d)
[  1618.580] (II) modeset(0): Modeline "960x540"x59.8   37.25  960 1008 1040 1120  540 543 548 556 +hsync -vsync (33.3 kHz d)
[  1618.580] (II) modeset(0): Modeline "800x600"x170.0  114.75  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (106.2 kHz d)
[  1618.580] (II) modeset(0): Modeline "800x600"x150.0  101.25  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (93.8 kHz d)
[  1618.580] (II) modeset(0): Modeline "800x600"x140.0   94.50  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (87.5 kHz d)
[  1618.580] (II) modeset(0): Modeline "800x600"x130.0   87.75  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (81.2 kHz d)
[  1618.580] (II) modeset(0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[  1618.580] (II) modeset(0): Modeline "800x600"x85.1   56.30  800 832 896 1048  600 601 604 631 +hsync +vsync (53.7 kHz d)
[  1618.580] (II) modeset(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz d)
[  1618.580] (II) modeset(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz d)
[  1618.580] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[  1618.580] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[  1618.580] (II) modeset(0): Modeline "840x525"x120.0   73.12  840 892 980 1120  525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[  1618.580] (II) modeset(0): Modeline "840x525"x119.8   59.50  840 864 880 920  525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[  1618.580] (II) modeset(0): Modeline "864x486"x59.9   32.50  864 888 968 1072  486 489 494 506 -hsync +vsync (30.3 kHz d)
[  1618.580] (II) modeset(0): Modeline "864x486"x59.6   30.50  864 912 944 1024  486 489 494 500 +hsync -vsync (29.8 kHz d)
[  1618.581] (II) modeset(0): Modeline "700x525"x149.5   77.90  700 732 892 956  525 526 532 545 doublescan +hsync +vsync (81.5 kHz d)
[  1618.581] (II) modeset(0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[  1618.581] (II) modeset(0): Modeline "800x450"x119.9   59.12  800 848 928 1056  450 451 454 467 doublescan -hsync +vsync (56.0 kHz d)
[  1618.581] (II) modeset(0): Modeline "800x450"x119.6   48.75  800 824 840 880  450 451 454 463 doublescan +hsync -vsync (55.4 kHz d)
[  1618.581] (II) modeset(0): Modeline "640x512"x170.0   78.75  640 672 752 864  512 512 514 536 doublescan +hsync +vsync (91.1 kHz d)
[  1618.581] (II) modeset(0): Modeline "640x512"x150.0   67.50  640 648 720 844  512 512 514 533 doublescan +hsync +vsync (80.0 kHz d)
[  1618.581] (II) modeset(0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[  1618.581] (II) modeset(0): Modeline "700x450"x119.9   51.75  700 740 812 924  450 451 456 467 doublescan -hsync +vsync (56.0 kHz d)
[  1618.581] (II) modeset(0): Modeline "700x450"x119.8   43.25  700 724 740 780  450 451 456 463 doublescan +hsync -vsync (55.4 kHz d)
[  1618.581] (II) modeset(0): Modeline "640x480"x170.2   74.25  640 672 752 864  480 480 482 505 doublescan +hsync +vsync (85.9 kHz d)
[  1618.581] (II) modeset(0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[  1618.581] (II) modeset(0): Modeline "640x480"x85.0   36.00  640 696 752 832  480 481 484 509 -hsync -vsync (43.3 kHz d)
[  1618.581] (II) modeset(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz d)
[  1618.581] (II) modeset(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz d)
[  1618.581] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[  1618.581] (II) modeset(0): Modeline "720x405"x59.5   22.50  720 744 808 896  405 408 413 422 -hsync +vsync (25.1 kHz d)
[  1618.581] (II) modeset(0): Modeline "720x405"x59.0   21.75  720 768 800 880  405 408 413 419 +hsync -vsync (24.7 kHz d)
[  1618.581] (II) modeset(0): Modeline "720x400"x85.0   35.50  720 756 828 936  400 401 404 446 -hsync +vsync (37.9 kHz d)
[  1618.581] (II) modeset(0): Modeline "684x384"x119.8   42.62  684 720 788 892  384 385 390 399 doublescan -hsync +vsync (47.8 kHz d)
[  1618.581] (II) modeset(0): Modeline "684x384"x119.7   36.12  684 708 724 764  384 385 390 395 doublescan +hsync -vsync (47.3 kHz d)
[  1618.581] (II) modeset(0): Modeline "640x400"x119.8   41.75  640 676 740 840  400 401 404 415 doublescan -hsync +vsync (49.7 kHz d)
[  1618.581] (II) modeset(0): Modeline "640x400"x120.0   35.50  640 664 680 720  400 401 404 411 doublescan +hsync -vsync (49.3 kHz d)
[  1618.581] (II) modeset(0): Modeline "640x400"x85.1   31.50  640 672 736 832  400 401 404 445 -hsync +vsync (37.9 kHz d)
[  1618.581] (II) modeset(0): Modeline "576x432"x150.0   54.00  576 608 672 800  432 432 434 450 doublescan +hsync +vsync (67.5 kHz d)
[  1618.581] (II) modeset(0): Modeline "640x360"x119.7   37.25  640 672 736 832  360 361 364 374 doublescan -hsync +vsync (44.8 kHz d)
[  1618.581] (II) modeset(0): Modeline "640x360"x119.7   31.88  640 664 680 720  360 361 364 370 doublescan +hsync -vsync (44.3 kHz d)
[  1618.581] (II) modeset(0): Modeline "640x360"x59.8   18.00  640 664 720 800  360 363 368 376 -hsync +vsync (22.5 kHz d)
[  1618.581] (II) modeset(0): Modeline "640x360"x59.3   17.75  640 688 720 800  360 363 368 374 +hsync -vsync (22.2 kHz d)
[  1618.581] (II) modeset(0): Modeline "640x350"x85.1   31.50  640 672 736 832  350 382 385 445 +hsync -vsync (37.9 kHz d)
[  1618.581] (II) modeset(0): Modeline "512x384"x170.0   47.25  512 536 584 688  384 384 386 404 doublescan +hsync +vsync (68.7 kHz d)
[  1618.581] (II) modeset(0): Modeline "512x384"x150.1   39.38  512 520 568 656  384 384 386 400 doublescan +hsync +vsync (60.0 kHz d)
[  1618.581] (II) modeset(0): Modeline "512x384"x140.1   37.50  512 524 592 664  384 385 388 403 doublescan -hsync -vsync (56.5 kHz d)
[  1618.581] (II) modeset(0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[  1618.581] (II) modeset(0): Modeline "512x384i"x87.1   22.45  512 516 604 632  384 384 388 408 interlace doublescan +hsync +vsync (35.5 kHz d)
[  1618.581] (II) modeset(0): Modeline "512x288"x120.0   23.25  512 532 580 648  288 289 292 299 doublescan -hsync +vsync (35.9 kHz d)
[  1618.581] (II) modeset(0): Modeline "512x288"x119.8   21.00  512 536 552 592  288 289 292 296 doublescan +hsync -vsync (35.5 kHz d)
[  1618.581] (II) modeset(0): Modeline "416x312"x149.3   28.64  416 432 464 576  312 312 314 333 doublescan -hsync -vsync (49.7 kHz d)
[  1618.581] (II) modeset(0): Modeline "480x270"x119.3   20.38  480 496 544 608  270 271 274 281 doublescan -hsync +vsync (33.5 kHz d)
[  1618.581] (II) modeset(0): Modeline "480x270"x119.6   18.62  480 504 520 560  270 271 274 278 doublescan +hsync -vsync (33.3 kHz d)
[  1618.581] (II) modeset(0): Modeline "400x300"x170.5   28.15  400 416 448 524  300 300 302 315 doublescan +hsync +vsync (53.7 kHz d)
[  1618.581] (II) modeset(0): Modeline "400x300"x144.4   25.00  400 428 488 520  300 318 321 333 doublescan +hsync +vsync (48.1 kHz d)
[  1618.581] (II) modeset(0): Modeline "400x300"x150.2   24.75  400 408 448 528  300 300 302 312 doublescan +hsync +vsync (46.9 kHz d)
[  1618.581] (II) modeset(0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[  1618.581] (II) modeset(0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[  1618.581] (II) modeset(0): Modeline "432x243"x119.8   16.25  432 444 484 536  243 244 247 253 doublescan -hsync +vsync (30.3 kHz d)
[  1618.581] (II) modeset(0): Modeline "432x243"x119.1   15.25  432 456 472 512  243 244 247 250 doublescan +hsync -vsync (29.8 kHz d)
[  1618.581] (II) modeset(0): Modeline "320x240"x170.4   18.00  320 348 376 416  240 240 242 254 doublescan -hsync -vsync (43.3 kHz d)
[  1618.581] (II) modeset(0): Modeline "320x240"x145.6   15.75  320 332 352 416  240 244 246 260 doublescan -hsync -vsync (37.9 kHz d)
[  1618.581] (II) modeset(0): Modeline "320x240"x150.0   15.75  320 328 360 420  240 240 242 250 doublescan -hsync -vsync (37.5 kHz d)
[  1618.581] (II) modeset(0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[  1618.581] (II) modeset(0): Modeline "360x202"x119.0   11.25  360 372 404 448  202 204 206 211 doublescan -hsync +vsync (25.1 kHz d)
[  1618.581] (II) modeset(0): Modeline "360x202"x118.3   10.88  360 384 400 440  202 204 206 209 doublescan +hsync -vsync (24.7 kHz d)
[  1618.581] (II) modeset(0): Modeline "360x200"x170.1   17.75  360 378 414 468  200 200 202 223 doublescan -hsync +vsync (37.9 kHz d)
[  1618.581] (II) modeset(0): Modeline "320x200"x170.5   15.75  320 336 368 416  200 200 202 222 doublescan -hsync +vsync (37.9 kHz d)
[  1618.581] (II) modeset(0): Modeline "320x180"x119.7    9.00  320 332 360 400  180 181 184 188 doublescan -hsync +vsync (22.5 kHz d)
[  1618.581] (II) modeset(0): Modeline "320x180"x118.6    8.88  320 344 360 400  180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
[  1618.581] (II) modeset(0): Modeline "320x175"x170.5   15.75  320 336 368 416  175 191 192 222 doublescan +hsync -vsync (37.9 kHz d)
[  1618.581] (II) modeset(0): Output eDP-1 connected
[  1618.581] (II) modeset(0): Using exact sizes for initial modes
[  1618.581] (II) modeset(0): Output eDP-1 using initial mode 1920x1080 +0+0
[  1618.581] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[  1618.581] (--) modeset(0): Display dimensions: (344, 193) mm
[  1618.581] (--) modeset(0): DPI set to (141, 142)
[  1618.581] (II) Loading sub module "fb"
[  1618.581] (II) LoadModule: "fb"
[  1618.581] (II) Module "fb" already built-in
[  1618.582] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[  1618.582] (II) Applying OutputClass "nvidia" options to /dev/dri/card1
[  1618.582] (==) modeset(G0): RGB weight 888
[  1618.582] (==) modeset(G0): Default visual is TrueColor
[  1618.582] (II) Loading sub module "glamoregl"
[  1618.582] (II) LoadModule: "glamoregl"
[  1618.582] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  1618.582] (II) Module glamoregl: vendor="X.Org Foundation"
[  1618.582] 	compiled for 1.21.0.99, module version = 1.0.1
[  1618.582] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  1618.599] (II) modeset(G0): glamor X acceleration enabled on NVIDIA GeForce RTX 2070 with Max-Q Design/PCIe/SSE2
[  1618.599] (II) modeset(G0): glamor initialized
[  1618.599] (II) modeset(G0): Output DP-1-1 has no monitor section
[  1618.599] (II) modeset(G0): Output HDMI-1-1 has no monitor section
[  1618.599] (II) modeset(G0): Output DP-1-2 has no monitor section
[  1618.599] (II) modeset(G0): EDID for output DP-1-1
[  1618.599] (II) modeset(G0): EDID for output HDMI-1-1
[  1618.599] (II) modeset(G0): EDID for output DP-1-2
[  1618.599] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[  1618.599] (==) modeset(G0): DPI set to (96, 96)
[  1618.599] (II) Loading sub module "fb"
[  1618.599] (II) LoadModule: "fb"
[  1618.599] (II) Module "fb" already built-in
[  1618.599] (II) UnloadModule: "nvidia"
[  1618.599] (II) Unloading nvidia
[  1618.608] (==) modeset(0): Backing store enabled
[  1618.608] (==) modeset(0): Silken mouse enabled
[  1618.641] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[  1618.641] (==) modeset(0): DPMS enabled
[  1618.642] (II) modeset(0): [DRI2] Setup complete
[  1618.642] (II) modeset(0): [DRI2]   DRI driver: iris
[  1618.642] (II) modeset(0): [DRI2]   VDPAU driver: va_gl
[  1618.724] (==) modeset(G0): Backing store enabled
[  1618.724] (==) modeset(G0): Silken mouse enabled
[  1618.724] (II) modeset(G0): Initializing kms color map for depth 24, 8 bpc.
[  1618.724] (==) modeset(G0): DPMS enabled
[  1618.724] (WW) modeset(G0): Option "AllowEmptyInitialConfiguration" is not used
[  1618.724] (II) modeset(G0): [DRI2] Setup complete
[  1618.724] (II) modeset(G0): [DRI2]   DRI driver: nouveau
[  1618.724] (II) modeset(G0): [DRI2]   VDPAU driver: nouveau
[  1618.724] (II) Initializing extension Generic Event Extension
[  1618.724] (II) Initializing extension SHAPE
[  1618.724] (II) Initializing extension MIT-SHM
[  1618.724] (II) Initializing extension XInputExtension
[  1618.724] (II) Initializing extension XTEST
[  1618.724] (II) Initializing extension BIG-REQUESTS
[  1618.724] (II) Initializing extension SYNC
[  1618.725] (II) Initializing extension XKEYBOARD
[  1618.725] (II) Initializing extension XC-MISC
[  1618.725] (II) Initializing extension SECURITY
[  1618.725] (II) Initializing extension XFIXES
[  1618.725] (II) Initializing extension RENDER
[  1618.725] (II) Initializing extension RANDR
[  1618.725] (II) Initializing extension COMPOSITE
[  1618.725] (II) Initializing extension DAMAGE
[  1618.725] (II) Initializing extension MIT-SCREEN-SAVER
[  1618.725] (II) Initializing extension DOUBLE-BUFFER
[  1618.725] (II) Initializing extension RECORD
[  1618.725] (II) Initializing extension DPMS
[  1618.725] (II) Initializing extension Present
[  1618.725] (II) Initializing extension DRI3
[  1618.725] (II) Initializing extension X-Resource
[  1618.726] (II) Initializing extension XVideo
[  1618.726] (II) Initializing extension XVideo-MotionCompensation
[  1618.726] (II) Initializing extension GLX
[  1618.730] (II) AIGLX: Loaded and initialized iris
[  1618.730] (II) GLX: Initialized DRI2 GL provider for screen 0
[  1618.730] (II) Initializing extension XFree86-VidModeExtension
[  1618.730] (II) Initializing extension XFree86-DGA
[  1618.730] (II) Initializing extension XFree86-DRI
[  1618.730] (II) Initializing extension DRI2
[  1618.730] (EE) modeset(G0): Failed to create pixmap
[  1618.730] (EE) 
Fatal server error:
[  1618.730] (EE) failed to create screen resources(EE) 
[  1618.730] (EE) 
Please consult the Archlinux support 
	 at https://aur.archlinux.org/xorg-server-git.git
 for help. 
[  1618.730] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1618.730] (EE) 
[  1618.730] (II) AIGLX: Suspending AIGLX clients for VT switch
[  1618.748] (EE) Server terminated with error (1). Closing log file.

Again, modesetting is trying to claim the nvidia device, even though the MatchDriver clause specifies that only the intel device should be claimed. If there isn't some other thing I'm supposed to be doing to enable AsyncFlipSecondaries, then it has to be an xorg bug. I'm going to figure out where I'm supposed to file this.

Last edited by TiZ (2021-11-03 21:42:02)

Offline

#9 2021-11-03 21:28:28

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: Correct way to supply options to the modesetting driver?

How does

Section "OutputClass"
	Identifier "Intel Graphics"
	MatchDriver "i915"
	Driver "modesetting"
	# Commenting the below out makes no difference
	Option "AsyncFlipSecondaries" "on"
EndSection

"cause the modesetting driver to try to claim the nvidia card."?

Please add that to your existing config, post your *-nvidia-* configlets and the resulting Xorg log.

Edit: cross-talk smile

Edit #2:
Please post your *-nvidia-* configlets and postpone the 05-modesetting-options.conf to eg 25-modesetting-options.conf

Last edited by seth (2021-11-03 21:39:10)

Offline

#10 2021-11-03 21:57:03

TiZ
Member
Registered: 2009-02-27
Posts: 58

Re: Correct way to supply options to the modesetting driver?

In order to bring the system to a state where I can conclude that the problem is something to concern the Xorg developers with, I moved away the *-nvidia-* configlets and xorg.conf. The only thing that was in /etc/X11 was xorg.conf.d/*-modesetting-options.conf. When I postpone the modesetting options even all the way to 99, not just 25, it has the same result.

That said, I am happy to show the nvidia configlets anyways.

15-nvidia-options.conf. As you can see, it has been through a lot of options that over time became unhelpful or unnecessary.

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
#    Option "AllowEmptyInitialConfiguration"
#    Option "PrimaryGPU" "no"
    Option "Coolbits" "28"
    Option "AllowIndirectGLXProtocol" "off"
#    Option "metamodes" "nvidia-auto-select +0+0 { ForceCompositionPipeline=On, ForceFullCompositionPipeline=On }"
#    Option "TripleBuffer" "on"
#    Option "ForceCompositionPipeline" "yes"
#    Option "ForceFullCompositionPipeline" "yes"
#    Option "AllowPRIMEDisplayOffloadSink" "yes"
#    ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg"
EndSection

20-nvidia-prime.conf. It's as simple as simple can be, because I want to be able to use a script to flip the switch.

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "PrimaryGPU" "yes"
EndSection

Offline

#11 2021-11-03 22:07:15

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: Correct way to supply options to the modesetting driver?

The idea was torun the modesetting options after the nvidia ones, so restore one of the nvidia ones (ideally for now not the one that flips the PrimaryGPU) and post the updated xorg log.

Offline

#12 2021-11-03 22:13:50

TiZ
Member
Registered: 2009-02-27
Posts: 58

Re: Correct way to supply options to the modesetting driver?

Okay, here it is. I think restoring one of my own is redundant with /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf, though.

[  4780.485] 
This is a pre-release version of the X server from Archlinux.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[  4780.485] 
X.Org X Server 1.21.0.99
X Protocol Version 11, Revision 0
[  4780.485] Current Operating System: Linux Aura 5.14.15-zen1-1-zen #1 ZEN SMP PREEMPT Wed, 27 Oct 2021 23:38:11 +0000 x86_64
[  4780.485] Kernel command line: root=PARTLABEL=Main1 rw rootflags=subvol=/os/arch mitigations=off i195.fastboot=1 nouveau.blacklist=1 quiet splash loglevel=3 rd.systemd.show_status=auto rd.udev.log_level=3 vt.global_cursor_default=0 acpi_backlight=video initrd=\os\arch\boot\initramfs-linux-zen.img
[  4780.485]  
[  4780.485] Current version of pixman: 0.40.0
[  4780.485] 	Before reporting problems, check https://aur.archlinux.org/xorg-server-git.git
	to make sure that you have the latest version.
[  4780.485] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  4780.485] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Nov  3 18:10:16 2021
[  4780.485] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  4780.485] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  4780.485] (==) No Layout section.  Using the first Screen section.
[  4780.485] (==) No screen section available. Using defaults.
[  4780.485] (**) |-->Screen "Default Screen Section" (0)
[  4780.485] (**) |   |-->Monitor "<default monitor>"
[  4780.485] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  4780.485] (==) Automatically adding devices
[  4780.485] (==) Automatically enabling devices
[  4780.485] (==) Automatically adding GPU devices
[  4780.485] (==) Automatically binding GPU devices
[  4780.485] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  4780.485] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[  4780.485] 	Entry deleted from font path.
[  4780.485] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  4780.485] 	Entry deleted from font path.
[  4780.485] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
[  4780.485] 	Entry deleted from font path.
[  4780.485] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi").
[  4780.485] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
[  4780.485] 	Entry deleted from font path.
[  4780.485] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi").
[  4780.485] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF
[  4780.485] (==) ModulePath set to "/usr/lib/xorg/modules"
[  4780.485] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  4780.485] (II) Module ABI versions:
[  4780.485] 	X.Org ANSI C Emulation: 0.4
[  4780.485] 	X.Org Video Driver: 25.2
[  4780.485] 	X.Org XInput driver : 24.4
[  4780.485] 	X.Org Server Extension : 10.0
[  4780.486] (++) using VT number 7

[  4780.486] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[  4780.486] (II) xfree86: Adding drm device (/dev/dri/card1)
[  4780.486] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
[  4780.511] (II) xfree86: Adding drm device (/dev/dri/card0)
[  4780.511] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[  4780.514] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[  4780.515] (--) PCI:*(0@0:2:0) 8086:3e9b:1558:95e6 rev 0, Mem @ 0xb5000000/16777216, 0x90000000/268435456, I/O @ 0x00005000/64, BIOS @ 0x????????/131072
[  4780.515] (--) PCI: (1@0:0:0) 10de:1f10:1558:95e1 rev 161, Mem @ 0xb3000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[  4780.515] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  4780.515] (II) LoadModule: "glx"
[  4780.515] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  4780.516] (II) Module glx: vendor="X.Org Foundation"
[  4780.516] 	compiled for 1.21.0.99, module version = 1.0.0
[  4780.516] 	ABI class: X.Org Server Extension, version 10.0
[  4780.516] (II) Applying OutputClass "modesetting" to /dev/dri/card0
[  4780.516] 	loading driver: modesetting
[  4780.516] (II) Applying OutputClass "nvidia" to /dev/dri/card1
[  4780.516] 	loading driver: nvidia
[  4780.516] (II) Applying OutputClass "nvidia" to /dev/dri/card1
[  4780.516] 	loading driver: nvidia
[  4780.516] (==) Matched modesetting as autoconfigured driver 0
[  4780.516] (==) Matched intel as autoconfigured driver 1
[  4780.516] (==) Matched nvidia as autoconfigured driver 2
[  4780.516] (==) Matched nouveau as autoconfigured driver 3
[  4780.516] (==) Matched nv as autoconfigured driver 4
[  4780.516] (==) Matched fbdev as autoconfigured driver 5
[  4780.516] (==) Matched vesa as autoconfigured driver 6
[  4780.516] (==) Assigned the driver to the xf86ConfigLayout
[  4780.516] (II) LoadModule: "modesetting"
[  4780.516] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  4780.517] (II) Module modesetting: vendor="X.Org Foundation"
[  4780.517] 	compiled for 1.21.0.99, module version = 1.21.0
[  4780.517] 	Module class: X.Org Video Driver
[  4780.517] 	ABI class: X.Org Video Driver, version 25.2
[  4780.517] (II) LoadModule: "intel"
[  4780.517] (WW) Warning, couldn't open module intel
[  4780.517] (EE) Failed to load module "intel" (module does not exist, 0)
[  4780.517] (II) LoadModule: "nvidia"
[  4780.517] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  4780.517] (II) Module nvidia: vendor="NVIDIA Corporation"
[  4780.517] 	compiled for 1.6.99.901, module version = 1.0.0
[  4780.517] 	Module class: X.Org Video Driver
[  4780.517] (II) LoadModule: "nouveau"
[  4780.517] (WW) Warning, couldn't open module nouveau
[  4780.517] (EE) Failed to load module "nouveau" (module does not exist, 0)
[  4780.517] (II) LoadModule: "nv"
[  4780.517] (WW) Warning, couldn't open module nv
[  4780.517] (EE) Failed to load module "nv" (module does not exist, 0)
[  4780.517] (II) LoadModule: "fbdev"
[  4780.517] (WW) Warning, couldn't open module fbdev
[  4780.517] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  4780.517] (II) LoadModule: "vesa"
[  4780.517] (WW) Warning, couldn't open module vesa
[  4780.517] (EE) Failed to load module "vesa" (module does not exist, 0)
[  4780.517] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  4780.517] (II) NVIDIA dlloader X Driver  495.44  Fri Oct 22 06:11:21 UTC 2021
[  4780.517] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[  4780.521] (II) modeset(0): using drv /dev/dri/card0
[  4780.544] (II) modeset(G0): using drv /dev/dri/card1
[  4780.544] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[  4780.544] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[  4780.544] (II) Applying OutputClass "modesetting" options to /dev/dri/card0
[  4780.544] (**) modeset(0): Option "AsyncFlipSecondaries" "on"
[  4780.544] (==) modeset(0): RGB weight 888
[  4780.544] (==) modeset(0): Default visual is TrueColor
[  4780.544] (II) Loading sub module "glamoregl"
[  4780.544] (II) LoadModule: "glamoregl"
[  4780.544] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  4780.547] (II) Module glamoregl: vendor="X.Org Foundation"
[  4780.547] 	compiled for 1.21.0.99, module version = 1.0.1
[  4780.547] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  4780.571] (II) modeset(0): glamor X acceleration enabled on Mesa Intel(R) UHD Graphics 630 (CFL GT2)
[  4780.571] (II) modeset(0): glamor initialized
[  4780.571] (==) modeset(0): VariableRefresh: disabled
[  4780.571] (**) modeset(0): AsyncFlipSecondaries: enabled
[  4780.572] (II) modeset(0): Output eDP-1 has no monitor section
[  4780.574] (II) modeset(0): EDID for output eDP-1
[  4780.574] (II) modeset(0): Manufacturer: AUO  Model: 70ed  Serial#: 2880665602
[  4780.574] (II) modeset(0): Year: 2017  Week: 16
[  4780.574] (II) modeset(0): EDID Version: 1.4
[  4780.574] (II) modeset(0): Digital Display Input
[  4780.574] (II) modeset(0): 8 bits per channel
[  4780.574] (II) modeset(0): Digital interface is DisplayPort
[  4780.574] (II) modeset(0): Max Image Size [cm]: horiz.: 34  vert.: 19
[  4780.574] (II) modeset(0): Gamma: 2.20
[  4780.574] (II) modeset(0): No DPMS capabilities specified
[  4780.574] (II) modeset(0): Supported color encodings: RGB 4:4:4 
[  4780.574] (II) modeset(0): First detailed timing is preferred mode
[  4780.574] (II) modeset(0): Preferred mode is native pixel format and refresh rate
[  4780.574] (II) modeset(0): redX: 0.642 redY: 0.338   greenX: 0.322 greenY: 0.611
[  4780.574] (II) modeset(0): blueX: 0.153 blueY: 0.046   whiteX: 0.313 whiteY: 0.329
[  4780.574] (II) modeset(0): Manufacturer's mask: 0
[  4780.574] (II) modeset(0): Supported detailed timing:
[  4780.574] (II) modeset(0): clock: 368.1 MHz   Image Size:  344 x 193 mm
[  4780.574] (II) modeset(0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2092 h_border: 0
[  4780.574] (II) modeset(0): v_active: 1080  v_sync: 1090  v_sync_end 1095 v_blanking: 1222 v_border: 0
[  4780.574] (II) modeset(0): Supported detailed timing:
[  4780.574] (II) modeset(0): clock: 368.1 MHz   Image Size:  344 x 193 mm
[  4780.574] (II) modeset(0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2092 h_border: 0
[  4780.574] (II) modeset(0): v_active: 1080  v_sync: 1090  v_sync_end 1095 v_blanking: 2930 v_border: 0
[  4780.574] (II) modeset(0): Unknown vendor-specific block 2
[  4780.574] (II) modeset(0): EDID (in hex):
[  4780.574] (II) modeset(0): 	00ffffffffffff0006afed700278b3ab
[  4780.574] (II) modeset(0): 	101b0104a5221378026a75a456529c27
[  4780.574] (II) modeset(0): 	0b505400000001010101010101010101
[  4780.574] (II) modeset(0): 	010101010101ce8f80ac70388e403020
[  4780.574] (II) modeset(0): 	a50058c110000018ce8f80ac70383a47
[  4780.574] (II) modeset(0): 	3020a50058c110000018000000000000
[  4780.574] (II) modeset(0): 	00000000000000000000000000000002
[  4780.574] (II) modeset(0): 	001036ff0f3c96241433962020200045
[  4780.574] (II) modeset(0): Printing probed modes for output eDP-1
[  4780.574] (II) modeset(0): Modeline "1920x1080"x144.0  368.14  1920 1968 2000 2092  1080 1090 1095 1222 -hsync -vsync (176.0 kHz eP)
[  4780.574] (II) modeset(0): Modeline "1920x1080"x60.1  368.14  1920 1968 2000 2092  1080 1090 1095 2930 -hsync -vsync (176.0 kHz e)
[  4780.574] (II) modeset(0): Modeline "1920x1080"x120.0  356.38  1920 2080 2288 2656  1080 1081 1084 1118 doublescan -hsync +vsync (134.2 kHz d)
[  4780.574] (II) modeset(0): Modeline "1920x1080"x119.9  266.50  1920 1944 1960 2000  1080 1081 1084 1111 doublescan +hsync -vsync (133.2 kHz d)
[  4780.574] (II) modeset(0): Modeline "1920x1080"x60.0  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync (67.2 kHz d)
[  4780.574] (II) modeset(0): Modeline "1920x1080"x59.9  138.50  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (66.6 kHz d)
[  4780.574] (II) modeset(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz d)
[  4780.574] (II) modeset(0): Modeline "1680x1050"x59.9  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz d)
[  4780.574] (II) modeset(0): Modeline "1400x1050"x74.8  155.80  1400 1464 1784 1912  1050 1052 1064 1090 +hsync +vsync (81.5 kHz d)
[  4780.574] (II) modeset(0): Modeline "1400x1050"x60.0  122.00  1400 1488 1640 1880  1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
[  4780.574] (II) modeset(0): Modeline "1600x900"x120.0  246.00  1600 1728 1900 2200  900 901 904 932 doublescan -hsync +vsync (111.8 kHz d)
[  4780.574] (II) modeset(0): Modeline "1600x900"x119.9  186.50  1600 1624 1640 1680  900 901 904 926 doublescan +hsync -vsync (111.0 kHz d)
[  4780.574] (II) modeset(0): Modeline "1600x900"x59.9  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync (56.0 kHz d)
[  4780.574] (II) modeset(0): Modeline "1600x900"x59.8   97.50  1600 1648 1680 1760  900 903 908 926 +hsync -vsync (55.4 kHz d)
[  4780.574] (II) modeset(0): Modeline "1280x1024"x85.0  157.50  1280 1344 1504 1728  1024 1025 1028 1072 +hsync +vsync (91.1 kHz d)
[  4780.574] (II) modeset(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz d)
[  4780.574] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[  4780.574] (II) modeset(0): Modeline "1400x900"x60.0  103.50  1400 1480 1624 1848  900 903 913 934 -hsync +vsync (56.0 kHz d)
[  4780.574] (II) modeset(0): Modeline "1400x900"x59.9   86.50  1400 1448 1480 1560  900 903 913 926 +hsync -vsync (55.4 kHz d)
[  4780.574] (II) modeset(0): Modeline "1280x960"x85.0  148.50  1280 1344 1504 1728  960 961 964 1011 +hsync +vsync (85.9 kHz d)
[  4780.574] (II) modeset(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz d)
[  4780.574] (II) modeset(0): Modeline "1440x810"x120.0  198.12  1440 1548 1704 1968  810 811 814 839 doublescan -hsync +vsync (100.7 kHz d)
[  4780.574] (II) modeset(0): Modeline "1440x810"x119.9  151.88  1440 1464 1480 1520  810 811 814 833 doublescan +hsync -vsync (99.9 kHz d)
[  4780.574] (II) modeset(0): Modeline "1368x768"x59.9   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync (47.8 kHz d)
[  4780.574] (II) modeset(0): Modeline "1368x768"x59.9   72.25  1368 1416 1448 1528  768 771 781 790 +hsync -vsync (47.3 kHz d)
[  4780.574] (II) modeset(0): Modeline "1280x800"x120.0  174.25  1280 1380 1516 1752  800 801 804 829 doublescan -hsync +vsync (99.5 kHz d)
[  4780.574] (II) modeset(0): Modeline "1280x800"x119.9  134.25  1280 1304 1320 1360  800 801 804 823 doublescan +hsync -vsync (98.7 kHz d)
[  4780.574] (II) modeset(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz d)
[  4780.574] (II) modeset(0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz d)
[  4780.574] (II) modeset(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz d)
[  4780.574] (II) modeset(0): Modeline "1280x720"x120.0  156.12  1280 1376 1512 1744  720 721 724 746 doublescan -hsync +vsync (89.5 kHz d)
[  4780.574] (II) modeset(0): Modeline "1280x720"x120.0  120.75  1280 1304 1320 1360  720 721 724 740 doublescan +hsync -vsync (88.8 kHz d)
[  4780.574] (II) modeset(0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz d)
[  4780.574] (II) modeset(0): Modeline "1280x720"x59.7   63.75  1280 1328 1360 1440  720 723 728 741 +hsync -vsync (44.3 kHz d)
[  4780.574] (II) modeset(0): Modeline "1024x768"x170.0  194.02  1024 1108 1220 1416  768 768 770 806 doublescan -hsync +vsync (137.0 kHz d)
[  4780.574] (II) modeset(0): Modeline "1024x768"x150.1  170.24  1024 1108 1220 1416  768 768 770 801 doublescan -hsync +vsync (120.2 kHz d)
[  4780.574] (II) modeset(0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[  4780.574] (II) modeset(0): Modeline "1024x768"x85.0   94.50  1024 1072 1168 1376  768 769 772 808 +hsync +vsync (68.7 kHz d)
[  4780.574] (II) modeset(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz d)
[  4780.574] (II) modeset(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz d)
[  4780.574] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[  4780.574] (II) modeset(0): Modeline "1024x768i"x43.5   44.90  1024 1032 1208 1264  768 768 776 817 interlace +hsync +vsync (35.5 kHz d)
[  4780.574] (II) modeset(0): Modeline "960x720"x170.0  170.68  960 1036 1144 1328  720 720 722 756 doublescan -hsync +vsync (128.5 kHz d)
[  4780.574] (II) modeset(0): Modeline "960x720"x150.0  148.50  960 1032 1144 1320  720 720 722 750 doublescan -hsync +vsync (112.5 kHz d)
[  4780.574] (II) modeset(0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[  4780.574] (II) modeset(0): Modeline "928x696"x150.0  144.00  928 992 1104 1280  696 696 698 750 doublescan -hsync +vsync (112.5 kHz d)
[  4780.574] (II) modeset(0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[  4780.574] (II) modeset(0): Modeline "896x672"x150.1  130.50  896 944 1052 1228  672 672 674 708 doublescan -hsync +vsync (106.3 kHz d)
[  4780.574] (II) modeset(0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[  4780.574] (II) modeset(0): Modeline "1024x576"x119.9   98.50  1024 1092 1200 1376  576 577 580 597 doublescan -hsync +vsync (71.6 kHz d)
[  4780.574] (II) modeset(0): Modeline "1024x576"x119.9   78.38  1024 1048 1064 1104  576 577 580 592 doublescan +hsync -vsync (71.0 kHz d)
[  4780.574] (II) modeset(0): Modeline "1024x576"x59.9   46.50  1024 1064 1160 1296  576 579 584 599 -hsync +vsync (35.9 kHz d)
[  4780.574] (II) modeset(0): Modeline "1024x576"x59.8   42.00  1024 1072 1104 1184  576 579 584 593 +hsync -vsync (35.5 kHz d)
[  4780.574] (II) modeset(0): Modeline "960x600"x119.9   96.62  960 1028 1128 1296  600 601 604 622 doublescan -hsync +vsync (74.6 kHz d)
[  4780.574] (II) modeset(0): Modeline "960x600"x120.0   77.00  960 984 1000 1040  600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[  4780.574] (II) modeset(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz d)
[  4780.574] (II) modeset(0): Modeline "960x540"x119.9   86.50  960 1024 1124 1288  540 541 544 560 doublescan -hsync +vsync (67.2 kHz d)
[  4780.574] (II) modeset(0): Modeline "960x540"x120.0   69.25  960 984 1000 1040  540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[  4780.574] (II) modeset(0): Modeline "960x540"x59.6   40.75  960 992 1088 1216  540 543 548 562 -hsync +vsync (33.5 kHz d)
[  4780.574] (II) modeset(0): Modeline "960x540"x59.8   37.25  960 1008 1040 1120  540 543 548 556 +hsync -vsync (33.3 kHz d)
[  4780.575] (II) modeset(0): Modeline "800x600"x170.0  114.75  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (106.2 kHz d)
[  4780.575] (II) modeset(0): Modeline "800x600"x150.0  101.25  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (93.8 kHz d)
[  4780.575] (II) modeset(0): Modeline "800x600"x140.0   94.50  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (87.5 kHz d)
[  4780.575] (II) modeset(0): Modeline "800x600"x130.0   87.75  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (81.2 kHz d)
[  4780.575] (II) modeset(0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[  4780.575] (II) modeset(0): Modeline "800x600"x85.1   56.30  800 832 896 1048  600 601 604 631 +hsync +vsync (53.7 kHz d)
[  4780.575] (II) modeset(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz d)
[  4780.575] (II) modeset(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz d)
[  4780.575] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[  4780.575] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[  4780.575] (II) modeset(0): Modeline "840x525"x120.0   73.12  840 892 980 1120  525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[  4780.575] (II) modeset(0): Modeline "840x525"x119.8   59.50  840 864 880 920  525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[  4780.575] (II) modeset(0): Modeline "864x486"x59.9   32.50  864 888 968 1072  486 489 494 506 -hsync +vsync (30.3 kHz d)
[  4780.575] (II) modeset(0): Modeline "864x486"x59.6   30.50  864 912 944 1024  486 489 494 500 +hsync -vsync (29.8 kHz d)
[  4780.575] (II) modeset(0): Modeline "700x525"x149.5   77.90  700 732 892 956  525 526 532 545 doublescan +hsync +vsync (81.5 kHz d)
[  4780.575] (II) modeset(0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[  4780.575] (II) modeset(0): Modeline "800x450"x119.9   59.12  800 848 928 1056  450 451 454 467 doublescan -hsync +vsync (56.0 kHz d)
[  4780.575] (II) modeset(0): Modeline "800x450"x119.6   48.75  800 824 840 880  450 451 454 463 doublescan +hsync -vsync (55.4 kHz d)
[  4780.575] (II) modeset(0): Modeline "640x512"x170.0   78.75  640 672 752 864  512 512 514 536 doublescan +hsync +vsync (91.1 kHz d)
[  4780.575] (II) modeset(0): Modeline "640x512"x150.0   67.50  640 648 720 844  512 512 514 533 doublescan +hsync +vsync (80.0 kHz d)
[  4780.575] (II) modeset(0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[  4780.575] (II) modeset(0): Modeline "700x450"x119.9   51.75  700 740 812 924  450 451 456 467 doublescan -hsync +vsync (56.0 kHz d)
[  4780.575] (II) modeset(0): Modeline "700x450"x119.8   43.25  700 724 740 780  450 451 456 463 doublescan +hsync -vsync (55.4 kHz d)
[  4780.575] (II) modeset(0): Modeline "640x480"x170.2   74.25  640 672 752 864  480 480 482 505 doublescan +hsync +vsync (85.9 kHz d)
[  4780.575] (II) modeset(0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[  4780.575] (II) modeset(0): Modeline "640x480"x85.0   36.00  640 696 752 832  480 481 484 509 -hsync -vsync (43.3 kHz d)
[  4780.575] (II) modeset(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz d)
[  4780.575] (II) modeset(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz d)
[  4780.575] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[  4780.575] (II) modeset(0): Modeline "720x405"x59.5   22.50  720 744 808 896  405 408 413 422 -hsync +vsync (25.1 kHz d)
[  4780.575] (II) modeset(0): Modeline "720x405"x59.0   21.75  720 768 800 880  405 408 413 419 +hsync -vsync (24.7 kHz d)
[  4780.575] (II) modeset(0): Modeline "720x400"x85.0   35.50  720 756 828 936  400 401 404 446 -hsync +vsync (37.9 kHz d)
[  4780.575] (II) modeset(0): Modeline "684x384"x119.8   42.62  684 720 788 892  384 385 390 399 doublescan -hsync +vsync (47.8 kHz d)
[  4780.575] (II) modeset(0): Modeline "684x384"x119.7   36.12  684 708 724 764  384 385 390 395 doublescan +hsync -vsync (47.3 kHz d)
[  4780.575] (II) modeset(0): Modeline "640x400"x119.8   41.75  640 676 740 840  400 401 404 415 doublescan -hsync +vsync (49.7 kHz d)
[  4780.575] (II) modeset(0): Modeline "640x400"x120.0   35.50  640 664 680 720  400 401 404 411 doublescan +hsync -vsync (49.3 kHz d)
[  4780.575] (II) modeset(0): Modeline "640x400"x85.1   31.50  640 672 736 832  400 401 404 445 -hsync +vsync (37.9 kHz d)
[  4780.575] (II) modeset(0): Modeline "576x432"x150.0   54.00  576 608 672 800  432 432 434 450 doublescan +hsync +vsync (67.5 kHz d)
[  4780.575] (II) modeset(0): Modeline "640x360"x119.7   37.25  640 672 736 832  360 361 364 374 doublescan -hsync +vsync (44.8 kHz d)
[  4780.575] (II) modeset(0): Modeline "640x360"x119.7   31.88  640 664 680 720  360 361 364 370 doublescan +hsync -vsync (44.3 kHz d)
[  4780.575] (II) modeset(0): Modeline "640x360"x59.8   18.00  640 664 720 800  360 363 368 376 -hsync +vsync (22.5 kHz d)
[  4780.575] (II) modeset(0): Modeline "640x360"x59.3   17.75  640 688 720 800  360 363 368 374 +hsync -vsync (22.2 kHz d)
[  4780.575] (II) modeset(0): Modeline "640x350"x85.1   31.50  640 672 736 832  350 382 385 445 +hsync -vsync (37.9 kHz d)
[  4780.575] (II) modeset(0): Modeline "512x384"x170.0   47.25  512 536 584 688  384 384 386 404 doublescan +hsync +vsync (68.7 kHz d)
[  4780.575] (II) modeset(0): Modeline "512x384"x150.1   39.38  512 520 568 656  384 384 386 400 doublescan +hsync +vsync (60.0 kHz d)
[  4780.575] (II) modeset(0): Modeline "512x384"x140.1   37.50  512 524 592 664  384 385 388 403 doublescan -hsync -vsync (56.5 kHz d)
[  4780.575] (II) modeset(0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[  4780.575] (II) modeset(0): Modeline "512x384i"x87.1   22.45  512 516 604 632  384 384 388 408 interlace doublescan +hsync +vsync (35.5 kHz d)
[  4780.575] (II) modeset(0): Modeline "512x288"x120.0   23.25  512 532 580 648  288 289 292 299 doublescan -hsync +vsync (35.9 kHz d)
[  4780.575] (II) modeset(0): Modeline "512x288"x119.8   21.00  512 536 552 592  288 289 292 296 doublescan +hsync -vsync (35.5 kHz d)
[  4780.575] (II) modeset(0): Modeline "416x312"x149.3   28.64  416 432 464 576  312 312 314 333 doublescan -hsync -vsync (49.7 kHz d)
[  4780.575] (II) modeset(0): Modeline "480x270"x119.3   20.38  480 496 544 608  270 271 274 281 doublescan -hsync +vsync (33.5 kHz d)
[  4780.575] (II) modeset(0): Modeline "480x270"x119.6   18.62  480 504 520 560  270 271 274 278 doublescan +hsync -vsync (33.3 kHz d)
[  4780.575] (II) modeset(0): Modeline "400x300"x170.5   28.15  400 416 448 524  300 300 302 315 doublescan +hsync +vsync (53.7 kHz d)
[  4780.575] (II) modeset(0): Modeline "400x300"x144.4   25.00  400 428 488 520  300 318 321 333 doublescan +hsync +vsync (48.1 kHz d)
[  4780.575] (II) modeset(0): Modeline "400x300"x150.2   24.75  400 408 448 528  300 300 302 312 doublescan +hsync +vsync (46.9 kHz d)
[  4780.575] (II) modeset(0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[  4780.575] (II) modeset(0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[  4780.575] (II) modeset(0): Modeline "432x243"x119.8   16.25  432 444 484 536  243 244 247 253 doublescan -hsync +vsync (30.3 kHz d)
[  4780.575] (II) modeset(0): Modeline "432x243"x119.1   15.25  432 456 472 512  243 244 247 250 doublescan +hsync -vsync (29.8 kHz d)
[  4780.575] (II) modeset(0): Modeline "320x240"x170.4   18.00  320 348 376 416  240 240 242 254 doublescan -hsync -vsync (43.3 kHz d)
[  4780.575] (II) modeset(0): Modeline "320x240"x145.6   15.75  320 332 352 416  240 244 246 260 doublescan -hsync -vsync (37.9 kHz d)
[  4780.575] (II) modeset(0): Modeline "320x240"x150.0   15.75  320 328 360 420  240 240 242 250 doublescan -hsync -vsync (37.5 kHz d)
[  4780.575] (II) modeset(0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[  4780.575] (II) modeset(0): Modeline "360x202"x119.0   11.25  360 372 404 448  202 204 206 211 doublescan -hsync +vsync (25.1 kHz d)
[  4780.575] (II) modeset(0): Modeline "360x202"x118.3   10.88  360 384 400 440  202 204 206 209 doublescan +hsync -vsync (24.7 kHz d)
[  4780.575] (II) modeset(0): Modeline "360x200"x170.1   17.75  360 378 414 468  200 200 202 223 doublescan -hsync +vsync (37.9 kHz d)
[  4780.575] (II) modeset(0): Modeline "320x200"x170.5   15.75  320 336 368 416  200 200 202 222 doublescan -hsync +vsync (37.9 kHz d)
[  4780.575] (II) modeset(0): Modeline "320x180"x119.7    9.00  320 332 360 400  180 181 184 188 doublescan -hsync +vsync (22.5 kHz d)
[  4780.575] (II) modeset(0): Modeline "320x180"x118.6    8.88  320 344 360 400  180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
[  4780.575] (II) modeset(0): Modeline "320x175"x170.5   15.75  320 336 368 416  175 191 192 222 doublescan +hsync -vsync (37.9 kHz d)
[  4780.575] (II) modeset(0): Output eDP-1 connected
[  4780.575] (II) modeset(0): Using exact sizes for initial modes
[  4780.575] (II) modeset(0): Output eDP-1 using initial mode 1920x1080 +0+0
[  4780.575] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[  4780.575] (--) modeset(0): Display dimensions: (344, 193) mm
[  4780.575] (--) modeset(0): DPI set to (141, 142)
[  4780.575] (II) Loading sub module "fb"
[  4780.575] (II) LoadModule: "fb"
[  4780.575] (II) Module "fb" already built-in
[  4780.576] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[  4780.576] (II) Applying OutputClass "nvidia" options to /dev/dri/card1
[  4780.576] (II) Applying OutputClass "nvidia" options to /dev/dri/card1
[  4780.576] (==) modeset(G0): RGB weight 888
[  4780.576] (==) modeset(G0): Default visual is TrueColor
[  4780.576] (II) Loading sub module "glamoregl"
[  4780.576] (II) LoadModule: "glamoregl"
[  4780.576] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  4780.576] (II) Module glamoregl: vendor="X.Org Foundation"
[  4780.576] 	compiled for 1.21.0.99, module version = 1.0.1
[  4780.576] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  4780.604] (II) modeset(G0): glamor X acceleration enabled on NVIDIA GeForce RTX 2070 with Max-Q Design/PCIe/SSE2
[  4780.604] (II) modeset(G0): glamor initialized
[  4780.605] (II) modeset(G0): Output DP-1-1 has no monitor section
[  4780.605] (II) modeset(G0): Output HDMI-1-1 has no monitor section
[  4780.605] (II) modeset(G0): Output DP-1-2 has no monitor section
[  4780.605] (II) modeset(G0): EDID for output DP-1-1
[  4780.605] (II) modeset(G0): EDID for output HDMI-1-1
[  4780.605] (II) modeset(G0): EDID for output DP-1-2
[  4780.605] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[  4780.605] (==) modeset(G0): DPI set to (96, 96)
[  4780.605] (II) Loading sub module "fb"
[  4780.605] (II) LoadModule: "fb"
[  4780.605] (II) Module "fb" already built-in
[  4780.605] (II) UnloadModule: "nvidia"
[  4780.605] (II) Unloading nvidia
[  4780.613] (==) modeset(0): Backing store enabled
[  4780.613] (==) modeset(0): Silken mouse enabled
[  4780.646] (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
[  4780.646] (==) modeset(0): DPMS enabled
[  4780.646] (II) modeset(0): [DRI2] Setup complete
[  4780.646] (II) modeset(0): [DRI2]   DRI driver: iris
[  4780.646] (II) modeset(0): [DRI2]   VDPAU driver: va_gl
[  4780.715] (==) modeset(G0): Backing store enabled
[  4780.715] (==) modeset(G0): Silken mouse enabled
[  4780.715] (II) modeset(G0): Initializing kms color map for depth 24, 8 bpc.
[  4780.715] (==) modeset(G0): DPMS enabled
[  4780.715] (WW) modeset(G0): Option "AllowEmptyInitialConfiguration" is not used
[  4780.715] (WW) modeset(G0): Option "Coolbits" is not used
[  4780.715] (WW) modeset(G0): Option "AllowIndirectGLXProtocol" is not used
[  4780.716] (II) modeset(G0): [DRI2] Setup complete
[  4780.716] (II) modeset(G0): [DRI2]   DRI driver: nouveau
[  4780.716] (II) modeset(G0): [DRI2]   VDPAU driver: nouveau
[  4780.716] (II) Initializing extension Generic Event Extension
[  4780.716] (II) Initializing extension SHAPE
[  4780.716] (II) Initializing extension MIT-SHM
[  4780.716] (II) Initializing extension XInputExtension
[  4780.716] (II) Initializing extension XTEST
[  4780.716] (II) Initializing extension BIG-REQUESTS
[  4780.716] (II) Initializing extension SYNC
[  4780.716] (II) Initializing extension XKEYBOARD
[  4780.716] (II) Initializing extension XC-MISC
[  4780.716] (II) Initializing extension SECURITY
[  4780.716] (II) Initializing extension XFIXES
[  4780.716] (II) Initializing extension RENDER
[  4780.716] (II) Initializing extension RANDR
[  4780.717] (II) Initializing extension COMPOSITE
[  4780.717] (II) Initializing extension DAMAGE
[  4780.717] (II) Initializing extension MIT-SCREEN-SAVER
[  4780.717] (II) Initializing extension DOUBLE-BUFFER
[  4780.717] (II) Initializing extension RECORD
[  4780.717] (II) Initializing extension DPMS
[  4780.717] (II) Initializing extension Present
[  4780.717] (II) Initializing extension DRI3
[  4780.717] (II) Initializing extension X-Resource
[  4780.717] (II) Initializing extension XVideo
[  4780.717] (II) Initializing extension XVideo-MotionCompensation
[  4780.717] (II) Initializing extension GLX
[  4780.721] (II) AIGLX: Loaded and initialized iris
[  4780.721] (II) GLX: Initialized DRI2 GL provider for screen 0
[  4780.721] (II) Initializing extension XFree86-VidModeExtension
[  4780.721] (II) Initializing extension XFree86-DGA
[  4780.721] (II) Initializing extension XFree86-DRI
[  4780.721] (II) Initializing extension DRI2
[  4780.721] (EE) modeset(G0): Failed to create pixmap
[  4780.721] (EE) 
Fatal server error:
[  4780.721] (EE) failed to create screen resources(EE) 
[  4780.721] (EE) 
Please consult the Archlinux support 
	 at https://aur.archlinux.org/xorg-server-git.git
 for help. 
[  4780.721] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  4780.721] (EE) 
[  4780.721] (II) AIGLX: Suspending AIGLX clients for VT switch
[  4780.739] (EE) Server terminated with error (1). Closing log file.

Last edited by TiZ (2021-11-03 22:15:09)

Offline

#13 2021-11-03 22:29:13

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: Correct way to supply options to the modesetting driver?

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "PrimaryGPU" "no"
EndSection

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

Section "Device"
	Identifier "intel"
	Driver "modesetting"
	BusID "PCI:0:2:0"
	Option "kmsdev" "/dev/dri/card0"
	Option "AsyncFlipSecondaries" "on"
EndSection

Remove the other *-nvidia-* configlets and the *-modesetting-options.conf

Offline

#14 2021-11-04 01:10:05

TiZ
Member
Registered: 2009-02-27
Posts: 58

Re: Correct way to supply options to the modesetting driver?

I'm presuming this is supposed to be an xorg.conf.d configlet? It makes Xorg start, but with the NVidia as the primary GPU, even though we clearly say "no don't do that". It doesn't matter if I name it 05- to come before /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf or 20- for it to come after; same result either way.

EDIT: now, if I change the order of the nvidia and intel devices inside the file, the intel one is actually the primary GPU. But it seems that the use of explicit devices in any manner at all is incompatible with the ability to use an OutputClass section's PrimaryGPU to say which one should be primary. I almost wonder if it should be a thing where when configuring OutputClass devices, you should also supply a "PrimaryGPU" "no" to the modesetting driver as well as the Nvidia.

EDIT 2: Okay, so my hunch didn't work, but noticing that the order of the devices does decide which one is "primary", that tells me that I can split the devices into two files: the first is 15-nvidia.conf and that's where nvidia config options will go. The second is xx-intel.conf and that's where modesetting options will go. If I want the intel to be the primary, xx=05. If I want the nvidia to be the primary, xx=25. It's not as nice to script around as a "PrimaryGPU" "yes/no" sorta thing, but it is very much workable.

Last edited by TiZ (2021-11-04 01:48:22)

Offline

#15 2021-11-04 15:09:08

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,390

Re: Correct way to supply options to the modesetting driver?

For what is worth i tried AsyncFlipSecondaries from xorg-git without any trouble.
My config follows:

koko@Gozer# cat /usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf 
Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection

koko@Gozer# cat /etc/X11/xorg.conf.d/20-prime.conf 
Section "Device"
        Identifier  "Intel Graphics"
        Driver "modesetting"
        Option "AsyncFlipSecondaries" "True"
EndSection

Section "Device"
  Identifier "dGPU"
  Driver "nvidia"
EndSection

Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#16 2021-11-04 18:20:36

TiZ
Member
Registered: 2009-02-27
Posts: 58

Re: Correct way to supply options to the modesetting driver?

When I tried replicating your setup, I found the exact same behavior occurring where the modesetting driver was attempting to drive the G0 provider, which should have been driven by NVidia. If I add a BusID section to the NVidia's device section, it works as expected. I don't need a BusID or a kmdsev option for the iGPU.

Offline

Board footer

Powered by FluxBB