You are not logged in.
Hey! I installed drivers for nvidia, and now X does not start. How do I fix this problem?
Offline
Hey! Fix your installation and your configuration.
If you want a more helpful advice, provide a more useful question.
http://www.catb.org/~esr/faqs/smart-questions.html
The log of the failing X11 server will be a good starting point
https://wiki.archlinux.org/title/Xorg#General
You can paste it using the tip in the first comment below.
Offline
Hello! Here is the log /var/log/Xorg.0.log:
[ 8.586] (--) Log file renamed from "/var/log/Xorg.pid-704.log" to "/var/log/Xorg.0.log"
[ 8.587]
X.Org X Server 1.20.13
X Protocol Version 11, Revision 0
[ 8.587] Build Operating System: Linux Archlinux
[ 8.587] Current Operating System: Linux xs 5.13.12-arch1-1 #1 SMP PREEMPT Wed, 18 Aug 2021 20:49:03 +0000 x86_64
[ 8.587] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=1050e2b8-3de7-45d4-9d11-871329e0d950 rw loglevel=3 quiet
[ 8.587] Build Date: 04 August 2021 08:13:54AM
[ 8.587]
[ 8.587] Current version of pixman: 0.40.0
[ 8.587] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 8.587] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 8.587] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Aug 25 12:58:50 2021
[ 8.587] (==) Using config file: "/etc/X11/xorg.conf"
[ 8.587] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 8.587] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 8.587] (==) ServerLayout "X.org Configured"
[ 8.587] (**) |-->Screen "Screen0" (0)
[ 8.587] (**) | |-->Monitor "Monitor0"
[ 8.587] (**) | |-->Device "Card0"
[ 8.587] (**) |-->Screen "Screen1" (1)
[ 8.587] (**) | |-->Monitor "Monitor1"
[ 8.588] (**) | |-->Device "Card1"
[ 8.588] (**) |-->Input Device "Mouse0"
[ 8.588] (**) |-->Input Device "Keyboard0"
[ 8.588] (==) Automatically adding devices
[ 8.588] (==) Automatically enabling devices
[ 8.588] (==) Automatically adding GPU devices
[ 8.588] (==) Automatically binding GPU devices
[ 8.588] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 8.588] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 8.588] Entry deleted from font path.
[ 8.588] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 8.588] Entry deleted from font path.
[ 8.588] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 8.588] Entry deleted from font path.
[ 8.588] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 8.588] Entry deleted from font path.
[ 8.588] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 8.588] Entry deleted from font path.
[ 8.588] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 8.588] Entry deleted from font path.
[ 8.588] (**) FontPath set to:
/usr/share/fonts/TTF,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi,
/usr/share/fonts/TTF,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 8.588] (**) ModulePath set to "/usr/lib/xorg/modules"
[ 8.588] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 8.588] (WW) Disabling Mouse0
[ 8.588] (WW) Disabling Keyboard0
[ 8.588] (II) Module ABI versions:
[ 8.588] X.Org ANSI C Emulation: 0.4
[ 8.588] X.Org Video Driver: 24.1
[ 8.588] X.Org XInput driver : 24.1
[ 8.588] X.Org Server Extension : 10.0
[ 8.588] (++) using VT number 1
[ 8.588] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 8.589] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 8.589] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 8.601] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[ 8.602] (--) PCI: (1@0:0:0) 10de:1c8d:1043:11d1 rev 161, Mem @ 0xf6000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000f000/128, BIOS @ 0x????????/524288
[ 8.602] (--) PCI:*(4@0:0:0) 1002:15dd:1043:11d1 rev 196, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xf7700000/524288, I/O @ 0x0000d000/256
[ 8.602] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 8.602] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 8.602] (II) LoadModule: "glx"
[ 8.603] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 8.605] (II) Module glx: vendor="NVIDIA Corporation"
[ 8.605] compiled for 4.0.2, module version = 1.0.0
[ 8.605] Module class: X.Org Server Extension
[ 8.605] (II) NVIDIA GLX Module 375.20 Tue Nov 15 16:38:52 PST 2016
[ 8.605] (II) LoadModule: "nvidia"
[ 8.606] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 8.606] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 8.606] compiled for 4.0.2, module version = 1.0.0
[ 8.606] Module class: X.Org Video Driver
[ 8.606] ================ WARNING WARNING WARNING WARNING ================
[ 8.606] This server has a video driver ABI version of 24.1 that is not
supported by this NVIDIA driver. Please check
http://www.nvidia.com/ for driver updates or downgrade to an X
server with a supported driver ABI.
[ 8.606] =================================================================
[ 8.606] (EE) NVIDIA: Use the -ignoreABI option to override this check.
[ 8.606] (EE)
[ 8.606] (EE) Backtrace:
[ 8.606] (EE) 0: /usr/lib/Xorg (xorg_backtrace+0x5b) [0x55a97d40f72b]
[ 8.606] (EE) 1: /usr/lib/Xorg (0x55a97d2c9000+0x151385) [0x55a97d41a385]
[ 8.606] (EE) 2: /usr/lib/libc.so.6 (0x7f81b1ed3000+0x3cda0) [0x7f81b1f0fda0]
[ 8.606] (EE) 3: /usr/lib/xorg/modules/drivers/nvidia_drv.so (0x7f81adc6f000+0x5fe73e) [0x7f81ae26d73e]
[ 8.606] (EE) 4: /usr/lib/Xorg (0x55a97d2c9000+0x18bf9e) [0x55a97d454f9e]
[ 8.606] (EE) 5: /usr/lib/Xorg (xf86LoadModules+0x6b) [0x55a97d43496b]
[ 8.606] (EE) 6: /usr/lib/Xorg (InitOutput+0x133d) [0x55a97d435d4d]
[ 8.606] (EE) 7: /usr/lib/Xorg (0x55a97d2c9000+0x38b59) [0x55a97d301b59]
[ 8.606] (EE) 8: /usr/lib/libc.so.6 (__libc_start_main+0xd5) [0x7f81b1efab25]
[ 8.606] (EE) 9: /usr/lib/Xorg (_start+0x2e) [0x55a97d302cee]
[ 8.606] (EE)
[ 8.606] (EE) Segmentation fault at address 0x0
[ 8.606] (EE)
Fatal server error:
[ 8.606] (EE) Caught signal 11 (Segmentation fault). Server aborting
[ 8.606] (EE)
[ 8.606] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 8.606] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 8.606] (EE)
[ 8.606] (EE) Server terminated with error (1). Closing log file.Offline
[ 8.587] (==) Using config file: "/etc/X11/xorg.conf"1. get rid of that file, it's an nvidia-settings generated static server layout which
[ 8.602] (--) PCI: (1@0:0:0) 10de:1c8d:1043:11d1 rev 161, Mem @ 0xf6000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000f000/128, BIOS @ 0x????????/524288
[ 8.602] (--) PCI:*(4@0:0:0) 1002:15dd:1043:11d1 rev 196, Mem @ 0xe0000000/268435456, 0xf0000000/2097152, 0xf7700000/524288, I/O @ 0x0000d000/2562. cannot deal w/ an optimus system
But the bigger problem is that you use an ancient nvidia driver which is incompatible w/ contemporary Xorg servers:
[ 8.605] (II) NVIDIA GLX Module 375.20 Tue Nov 15 16:38:52 PST 2016
…
[ 8.606] ================ WARNING WARNING WARNING WARNING ================
[ 8.606] This server has a video driver ABI version of 24.1 that is not
supported by this NVIDIA driver. Please check
http://www.nvidia.com/ for driver updates or downgrade to an X
server with a supported driver ABI.
[ 8.606] =================================================================How did you install that, why and what's the output of
lspci | grep -i nvidia?
Offline