I created the file /etc/X11/xorg.conf.d/20-nouveau.conf
with this content:
Section "Device"
Identifier "Nvidia card"
Driver "nouveau"
EndSection
But with this file startx can't start Xorg. This is the Xorg.0.log after this attempt:
1 [ 1409.307]
2 X.Org X Server 1.21.1.13
3 X Protocol Version 11, Revision 0
4 [ 1409.308] Current Operating System: Linux ronzinante 6.9.7-artix1-1 #1 SMP PREEMPT_DYNAMIC Fri, 28 Jun 2024 18:11:28 +0000 x86_64
5 [ 1409.308] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=8de9c40a-2cba-4af1-854b-0916ae90dee5 rw loglevel=3 quiet splash
6 [ 1409.308]
7 [ 1409.309] Current version of pixman: 0.43.4
8 [ 1409.309] Before reporting problems, check http://wiki.x.org
9 to make sure that you have the latest version.
10 [ 1409.309] Markers: (--) probed, (**) from config file, (==) default setting,
11 (++) from command line, (!!) notice, (II) informational,
12 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
13 [ 1409.311] (==) Log file: "/home/ronzinante/.local/share/xorg/Xorg.0.log", Time: Thu Jul 4 01:45:32 2024
14 [ 1409.311] (==) Using config directory: "/etc/X11/xorg.conf.d"
15 [ 1409.311] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
16 [ 1409.312] (==) No Layout section. Using the first Screen section.
17 [ 1409.312] (==) No screen section available. Using defaults.
18 [ 1409.312] (**) |-->Screen "Default Screen Section" (0)
19 [ 1409.312] (**) | |-->Monitor "<default monitor>"
20 [ 1409.312] (==) No device specified for screen "Default Screen Section".
21 Using the first device section listed.
22 [ 1409.312] (**) | |-->Device "Nvidia card"
23 [ 1409.312] (==) No monitor specified for screen "Default Screen Section".
24 Using a default monitor configuration.
25 [ 1409.312] (**) Allowing byte-swapped clients
26 [ 1409.312] (==) Automatically adding devices
27 [ 1409.312] (==) Automatically enabling devices
28 [ 1409.312] (==) Automatically adding GPU devices
29 [ 1409.312] (==) Automatically binding GPU devices
30 [ 1409.312] (==) Max clients allowed: 256, resource mask: 0x1fffff
31 [ 1409.312] (WW) The directory "/usr/share/fonts/misc" does not exist.
32 [ 1409.312] Entry deleted from font path.
33 [ 1409.312] (WW) The directory "/usr/share/fonts/OTF" does not exist.
34 [ 1409.312] Entry deleted from font path.
35 [ 1409.312] (WW) The directory "/usr/share/fonts/Type1" does not exist.
36 [ 1409.312] Entry deleted from font path.
37 [ 1409.312] (==) FontPath set to:
38 /usr/share/fonts/TTF,
39 /usr/share/fonts/100dpi,
40 /usr/share/fonts/75dpi
41 [ 1409.312] (==) ModulePath set to "/usr/lib/xorg/modules"
42 [ 1409.312] (II) The server relies on udev to provide the list of input devices.
43 If no devices become available, reconfigure udev or disable AutoAddDevices.
44 [ 1409.312] (II) Module ABI versions:
45 [ 1409.312] X.Org ANSI C Emulation: 0.4
46 [ 1409.312] X.Org Video Driver: 25.2
47 [ 1409.312] X.Org XInput driver : 24.4
48 [ 1409.312] X.Org Server Extension : 10.0
49 [ 1409.312] (++) using VT number 1
50
51 [ 1409.315] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
52 [ 1409.316] (II) xfree86: Adding drm device (/dev/dri/card0)
53 [ 1409.316] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
54 [ 1409.317] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 13 paused 0
55 [ 1409.317] (II) xfree86: Adding drm device (/dev/dri/card1)
56 [ 1409.317] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card1
57 [ 1409.318] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 14 paused 0
58 [ 1409.320] (--) PCI:*(0@0:2:0) 8086:0166:17aa:3904 rev 9, Mem @ 0xd3000000/4194304, 0xe0000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
59 [ 1409.320] (--) PCI: (1@0:0:0) 10de:1140:17aa:3904 rev 161, Mem @ 0xd2000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00003000/128
60 [ 1409.320] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
61 [ 1409.320] (II) LoadModule: "glx"
62 [ 1409.321] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
63 [ 1409.322] (II) Module glx: vendor="X.Org Foundation"
64 [ 1409.322] compiled for 1.21.1.13, module version = 1.0.0
65 [ 1409.322] ABI class: X.Org Server Extension, version 10.0
66 [ 1409.322] (II) LoadModule: "nouveau"
67 [ 1409.322] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
68 [ 1409.322] (EE) Failed to load /usr/lib/xorg/modules/drivers/nouveau_drv.so: /usr/lib/xorg/modules/drivers/nouveau_drv.so: undefined symbol: exaDriverAlloc
69 [ 1409.322] (EE) Failed to load module "nouveau" (loader failed, 0)
70 [ 1409.322] (EE) No drivers available.
71 [ 1409.322] (EE)
72 Fatal server error:
73 [ 1409.322] (EE) no screens found(EE)
74 [ 1409.322] (EE)
75 Please consult the The X.Org Foundation support
76 at http://wiki.x.org
77 for help.
78 [ 1409.322] (EE) Please also check the log file at "/home/ronzinante/.local/share/xorg/Xorg.0.log" for additional information.
79 [ 1409.322] (EE)
80 [ 1409.371] (EE) Server terminated with error (1). Closing log file.
yes @gripped , this is the only relevant thing that I found on internet about this problem.
@gripped I would greatly appreciate some additional details, because I didn't understand well, but I doubt that it is enough to simply edit the makepkg.conf file by eliminating the values indicated in the link that are actually present in my makepkg.conf.
I then noticed this error in the boot logs:
...
[ OK ] udev-trigger
dinit: Service modules command failed with exit code 123
[ FAILED ] modules
[ FAILED ] early-modules.target
[ OK ] udev-settle
...
Thank you all!