You are not logged in.
I'm running a Dell desktop with i915 and nvidia (NV136) graphics. I use the nouveau driver and I launch X via startx.
Everything was working fine before a recent update of xorg-server-common from 21.1.1-3 to 21.1.2-1 and linux kernel from 5.15.2.arch1-1 to 5.15.10.arch1-1. Now Xorg fails to start with "Screen 0 deleted because of no matching config section". I tried "mkinitcpio -P" but that didn't help. Downgrading to the previous versions all is OK again but I'd like to know what the proper fix is.
Looking at Xorg.0.log the most visible difference is that in the working setup nouveau is autoconfigured as driver 0; nv (which doesn't exist on my system) as driver 1; and intel as driver 2. In the broken setup the order changes to driver 0 = intel, driver 1 = nouveau, driver 2 = nv. I can post more of the log files if needed, but here's where they diverge:
Working:
(II) modesetting: Driver for Modesetting Kernel Drivers: kms
xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
(II) [drm] nouveau interface version: 1.3.1
(WW) Falling back to old probe method for modesetting
(II) intel(G0): Using Kernel Mode Setting driver: i915, version 1.6.0 20201103
(II) intel(G0): SNA compiled from 2.99.917-916-g31486f40
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
(II) Loading sub module "dri2"
(II) LoadModule: "dri2"
(II) Module "dri2" already built-in
(--) NOUVEAU(0): Chipset: "NVIDIA NV136"
Broken:
(II) modesetting: Driver for Modesetting Kernel Drivers: kms
xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
(EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -19
(WW) Falling back to old probe method for modesetting
(II) modeset(1): using default device
(II) intel(G0): Using Kernel Mode Setting driver: i915, version 1.6.0 20201103
(II) intel(G0): SNA compiled from 2.99.917-916-g31486f40
(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
(EE) Screen 0 deleted because of no matching config section.
(II) UnloadModule: "modesetting"
Fatal server error
Offline
Post an actual complete log of broken xorg and any configurations you might've created, and make sure you update to 21.1.2-2 there were some VT switching bugs in the previous version.
Also generally, you might be interested and possibly more stable dropping both xf86-video-intel and xf86-video-nouveau and using the built-in modesetting driver instead.
Offline
Thanks. I'm appending a complete log of broken xorg. I don't think I have any relevant config snippets of my own; I'm letting xorg do its automatic thing.
Could you give a pointer to implementing "dropping both xf86-video-intel and xf86-video-nouveau and using the built-in modesetting driver", please?
Plus one loosely related question: If I'm using nouveau is there any point in having nvidia-utils installed?
[ 74.861]
X.Org X Server 1.21.1.2
X Protocol Version 11, Revision 0
[ 74.861] Current Operating System: Linux robroy 5.15.10-arch1-1 #1 SMP PREEMPT Fri, 17 Dec 2021 11:17:37 +0000 x86_64
[ 74.861] Kernel command line: \boot\vmlinuz-linux rw root=/dev/nvme0n1p3 net.ifnames=0 initrd=\boot\intel-ucode.img initrd=\boot\initramfs-linux.img
[ 74.861]
[ 74.862] Current version of pixman: 0.40.0
[ 74.863] Before reporting problems, check [url]http://wiki.x.org[/url]
to make sure that you have the latest version.
[ 74.863] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 74.866] (==) Log file: "/home/cottrell/.local/share/xorg/Xorg.0.log", Time: Tue Dec 21 14:24:05 2021
[ 74.867] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 74.867] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 74.867] (==) No Layout section. Using the first Screen section.
[ 74.867] (==) No screen section available. Using defaults.
[ 74.867] (**) |-->Screen "Default Screen Section" (0)
[ 74.867] (**) | |-->Monitor "<default monitor>"
[ 74.867] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 74.867] (==) Automatically adding devices
[ 74.867] (==) Automatically enabling devices
[ 74.867] (==) Automatically adding GPU devices
[ 74.867] (==) Automatically binding GPU devices
[ 74.867] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 74.867] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 74.867] Entry deleted from font path.
[ 74.867] (**) FontPath set to:
/usr/share/fonts/75dpi/:unscaled,
/usr/share/fonts/100dpi/:unscaled,
/usr/share/fonts/TrueType/,
/usr/local/psfonts/,
/usr/local/psfonts/bsr/,
/usr/local/psfonts/lucida/,
/usr/share/fonts/misc,
/usr/share/fonts/TTF,
/usr/share/fonts/OTF,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 74.867] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 74.868] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 74.868] (II) Module ABI versions:
[ 74.868] X.Org ANSI C Emulation: 0.4
[ 74.868] X.Org Video Driver: 25.2
[ 74.868] X.Org XInput driver : 24.4
[ 74.868] X.Org Server Extension : 10.0
[ 74.868] (++) using VT number 1
[ 74.869] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[ 74.869] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 74.869] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[ 74.870] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[ 74.871] (--) PCI: (0@0:2:0) 8086:5912:1028:07dc rev 4, Mem @ 0xdd000000/16777216, 0xb0000000/268435456, I/O @ 0x0000f000/64
[ 74.871] (--) PCI:*(1@0:0:0) 10de:1c03:1028:11d7 rev 161, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[ 74.871] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 74.871] (II) LoadModule: "glx"
[ 74.871] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 74.872] (II) Module glx: vendor="X.Org Foundation"
[ 74.872] compiled for 1.21.1.2, module version = 1.0.0
[ 74.872] ABI class: X.Org Server Extension, version 10.0
[ 74.872] (==) Matched intel as autoconfigured driver 0
[ 74.872] (==) Matched nouveau as autoconfigured driver 1
[ 74.872] (==) Matched nv as autoconfigured driver 2
[ 74.872] (==) Matched modesetting as autoconfigured driver 3
[ 74.872] (==) Matched fbdev as autoconfigured driver 4
[ 74.872] (==) Matched vesa as autoconfigured driver 5
[ 74.872] (==) Assigned the driver to the xf86ConfigLayout
[ 74.872] (II) LoadModule: "intel"
[ 74.872] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 74.872] (II) Module intel: vendor="X.Org Foundation"
[ 74.872] compiled for 1.21.1.1, module version = 2.99.917
[ 74.872] Module class: X.Org Video Driver
[ 74.872] ABI class: X.Org Video Driver, version 25.2
[ 74.872] (II) LoadModule: "nouveau"
[ 74.872] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 74.872] (II) Module nouveau: vendor="X.Org Foundation"
[ 74.872] compiled for 1.21.1.1, module version = 1.0.17
[ 74.872] Module class: X.Org Video Driver
[ 74.872] ABI class: X.Org Video Driver, version 25.2
[ 74.872] (II) LoadModule: "nv"
[ 74.872] (WW) Warning, couldn't open module nv
[ 74.872] (EE) Failed to load module "nv" (module does not exist, 0)
[ 74.872] (II) LoadModule: "modesetting"
[ 74.872] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 74.874] (II) Module modesetting: vendor="X.Org Foundation"
[ 74.874] compiled for 1.21.1.2, module version = 1.21.1
[ 74.874] Module class: X.Org Video Driver
[ 74.874] ABI class: X.Org Video Driver, version 25.2
[ 74.874] (II) LoadModule: "fbdev"
[ 74.875] (WW) Warning, couldn't open module fbdev
[ 74.875] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 74.875] (II) LoadModule: "vesa"
[ 74.875] (WW) Warning, couldn't open module vesa
[ 74.875] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 74.875] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 74.875] (II) intel: Driver for Intel(R) HD Graphics
[ 74.875] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[ 74.875] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[ 74.875] (II) NOUVEAU driver
[ 74.875] (II) NOUVEAU driver for NVIDIA chipset families :
[ 74.875] RIVA TNT (NV04)
[ 74.875] RIVA TNT2 (NV05)
[ 74.875] GeForce 256 (NV10)
[ 74.875] GeForce 2 (NV11, NV15)
[ 74.875] GeForce 4MX (NV17, NV18)
[ 74.875] GeForce 3 (NV20)
[ 74.875] GeForce 4Ti (NV25, NV28)
[ 74.875] GeForce FX (NV3x)
[ 74.875] GeForce 6 (NV4x)
[ 74.875] GeForce 7 (G7x)
[ 74.875] GeForce 8 (G8x)
[ 74.875] GeForce 9 (G9x)
[ 74.875] GeForce GTX 2xx/3xx (GT2xx)
[ 74.875] GeForce GTX 4xx/5xx (GFxxx)
[ 74.875] GeForce GTX 6xx/7xx (GKxxx)
[ 74.875] GeForce GTX 9xx (GMxxx)
[ 74.875] GeForce GTX 10xx (GPxxx)
[ 74.875] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 74.875] xf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)
[ 74.875] (EE) [drm] Failed to open DRM device for pci:0000:01:00.0: -19
[ 74.875] (WW) Falling back to old probe method for modesetting
[ 74.875] (II) modeset(1): using default device
[ 74.875] (II) intel(G0): Using Kernel Mode Setting driver: i915, version 1.6.0 20201103
[ 74.875] (II) intel(G0): SNA compiled from 2.99.917-916-g31486f40
[ 74.891] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 74.891] (EE) Screen 0 deleted because of no matching config section.
[ 74.891] (II) UnloadModule: "modesetting"
[ 74.891] (EE)
Fatal server error:
[ 74.891] (EE) Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
[ 74.891] (EE)
[ 74.891] (EE)
Please consult the The X.Org Foundation support
at [url]http://wiki.x.org[/url]
for help.
[ 74.891] (EE) Please also check the log file at "/home/cottrell/.local/share/xorg/Xorg.0.log" for additional information.
[ 74.891] (EE)
[ 74.894] (EE) Server terminated with error (1). Closing log file.Last edited by V1del (2021-12-22 15:58:03)
Offline
Plus one loosely related question: If I'm using nouveau is there any point in having nvidia-utils installed?
No, it prevents the nouveau kernel module from loading what's likely the problem here and why there's no drm device.
If that's not the case, see https://wiki.archlinux.org/title/Kernel … _KMS_start
Offline
Mhm, from outset just looks like the early KMS race, you mentioned running mkinitcpio -P do you list both i915 and nouveau in the relevant modules section? You should.
As for dropping the xorg drivers, you literally can just remove
pacman -R xf86-video-intel xf86-video-nouveauwhich will instead use the modesetting driver built into xorg instead.
For the tangential question, no there's no point to having nvidia-utils when using nouveau.
Offline
Thanks much for the help! I'll try your suggestions.
Offline