You are not logged in.
Hello there ! I am writting this topic because my computer has been unplugged last night and then when I try to restart it X11 did not start (with startx). I used to employ X11 to launch i3wm, and I never had an issue with this configuration before. So there is some log that I have found :
~/.local/share/xorg/Xorg.0.log
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) | |-->Monitor "<default monitor>"
(**) | |-->Device "Device0"
...
(EE) No devices detected.
(EE) Fatal server error:
(EE) no screens found/etc/X11/xorg.conf.d/20-nvidia.conf
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
EndSectionthank you for your help !
Last edited by Baragouin (2022-06-04 19:23:40)
Offline
First thing that comes to my mind is a broken cable. Since something was forcefully unplugged it might be the case.
zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)
Offline
First thing that comes to my mind is a broken cable. Since something was forcefully unplugged it might be the case.
Okay, however the screen is still working well, the TTY is displaying, I can run commands… The issue is that X11 does not recognize it, therefore I don’t think it is a cable problem.. but thank you ![]()
Offline
Please post the entire xorg log - not just some random excerpt.
It'll hint *why* no screens are found, but the lines you posted are useless itr.
Edit: inb4 "but I have to type that on my phone"
See the 1st link below
Last edited by seth (2022-06-03 06:15:44)
Offline
Thanks for sharing this tips ! There is the file :
~/.local/share/xorg/Xorg.0.log
[ 478.912]
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[ 478.912] Current Operating System: Linux baragouin-arch 5.18.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 30 May 2022 17:53:11 +0000 x86_64
[ 478.912] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=5cda512c-633d-4283-9662-7e76e0660f49 rw loglevel=3 quiet
[ 478.912]
[ 478.912] Current version of pixman: 0.40.0
[ 478.912] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 478.912] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 478.912] (==) Log file: "/home/baragouin/.local/share/xorg/Xorg.0.log", Time: Thu Jun 2 20:24:27 2022
[ 478.913] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 478.913] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 478.913] (==) ServerLayout "Layout0"
[ 478.913] (**) |-->Screen "Screen0" (0)
[ 478.913] (**) | |-->Monitor "<default monitor>"
[ 478.913] (**) | |-->Device "Device0"
[ 478.913] (==) No monitor specified for screen "Screen0".
Using a default monitor configuration.
[ 478.913] (==) Automatically adding devices
[ 478.913] (==) Automatically enabling devices
[ 478.913] (==) Automatically adding GPU devices
[ 478.913] (==) Automatically binding GPU devices
[ 478.913] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 478.913] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 478.913] Entry deleted from font path.
[ 478.913] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 478.913] Entry deleted from font path.
[ 478.913] (==) FontPath set to:
/usr/share/fonts/TTF,
/usr/share/fonts/OTF,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 478.913] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 478.913] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 478.913] (II) Module ABI versions:
[ 478.913] X.Org ANSI C Emulation: 0.4
[ 478.913] X.Org Video Driver: 25.2
[ 478.913] X.Org XInput driver : 24.4
[ 478.913] X.Org Server Extension : 10.0
[ 478.914] (++) using VT number 1
[ 478.915] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[ 478.915] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 478.916] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[ 478.916] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 13 paused 0
[ 478.918] (--) PCI:*(0@0:2:0) 8086:9a49:1043:1362 rev 1, Mem @ 0x603e000000/16777216, 0x4000000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
[ 478.918] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 478.918] (II) LoadModule: "glx"
[ 478.918] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 478.919] (II) Module glx: vendor="X.Org Foundation"
[ 478.919] compiled for 1.21.1.3, module version = 1.0.0
[ 478.919] ABI class: X.Org Server Extension, version 10.0
[ 478.919] (II) LoadModule: "nvidia"
[ 478.919] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 478.919] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 478.919] compiled for 1.6.99.901, module version = 1.0.0
[ 478.919] Module class: X.Org Video Driver
[ 478.919] (II) NVIDIA dlloader X Driver 515.43.04 Tue Apr 26 15:53:32 UTC 2022
[ 478.919] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 478.919] (EE) No devices detected.
[ 478.919] (EE)
Fatal server error:
[ 478.919] (EE) no screens found(EE)
[ 478.919] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 478.919] (EE) Please also check the log file at "/home/baragouin/.local/share/xorg/Xorg.0.log" for additional information.
[ 478.919] (EE)
[ 478.923] (EE) Server terminated with error (1). Closing log file.Offline
If I delete all the Xorg configuration, this is the error I get in the logs:
/var/log/Xorg.0.log
[ 3.246]
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[ 3.246] Current Operating System: Linux baragouin-arch 5.18.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 30 May 2022 17:53:11 +0000 x86_64
[ 3.246] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=5cda512c-633d-4283-9662-7e76e0660f49 rw loglevel=3 quiet
[ 3.246]
[ 3.246] Current version of pixman: 0.40.0
[ 3.246] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 3.246] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 3.247] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Jun 3 12:57:19 2022
[ 3.252] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 3.252] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 3.255] (==) No Layout section. Using the first Screen section.
[ 3.255] (==) No screen section available. Using defaults.
[ 3.255] (**) |-->Screen "Default Screen Section" (0)
[ 3.255] (**) | |-->Monitor "<default monitor>"
[ 3.255] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 3.255] (==) Automatically adding devices
[ 3.255] (==) Automatically enabling devices
[ 3.255] (==) Automatically adding GPU devices
[ 3.255] (==) Automatically binding GPU devices
[ 3.255] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 3.256] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 3.256] Entry deleted from font path.
[ 3.257] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 3.257] Entry deleted from font path.
[ 3.259] (==) FontPath set to:
/usr/share/fonts/TTF,
/usr/share/fonts/OTF,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 3.259] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 3.259] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 3.259] (II) Module ABI versions:
[ 3.259] X.Org ANSI C Emulation: 0.4
[ 3.259] X.Org Video Driver: 25.2
[ 3.259] X.Org XInput driver : 24.4
[ 3.259] X.Org Server Extension : 10.0
[ 3.259] (--) using VT number 2
[ 3.259] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 3.262] (--) PCI:*(0@0:2:0) 8086:9a49:1043:1362 rev 1, Mem @ 0x603e000000/16777216, 0x4000000000/268435456, I/O @ 0x00003000/64, BIOS @ 0x????????/131072
[ 3.262] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 3.262] (II) LoadModule: "glx"
[ 3.264] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 3.273] (II) Module glx: vendor="X.Org Foundation"
[ 3.273] compiled for 1.21.1.3, module version = 1.0.0
[ 3.273] ABI class: X.Org Server Extension, version 10.0
[ 3.273] (==) Matched intel as autoconfigured driver 0
[ 3.273] (==) Matched modesetting as autoconfigured driver 1
[ 3.273] (==) Matched fbdev as autoconfigured driver 2
[ 3.273] (==) Matched vesa as autoconfigured driver 3
[ 3.273] (==) Assigned the driver to the xf86ConfigLayout
[ 3.273] (II) LoadModule: "intel"
[ 3.274] (WW) Warning, couldn't open module intel
[ 3.274] (EE) Failed to load module "intel" (module does not exist, 0)
[ 3.274] (II) LoadModule: "modesetting"
[ 3.274] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 3.277] (II) Module modesetting: vendor="X.Org Foundation"
[ 3.277] compiled for 1.21.1.3, module version = 1.21.1
[ 3.277] Module class: X.Org Video Driver
[ 3.277] ABI class: X.Org Video Driver, version 25.2
[ 3.277] (II) LoadModule: "fbdev"
[ 3.277] (WW) Warning, couldn't open module fbdev
[ 3.277] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 3.277] (II) LoadModule: "vesa"
[ 3.277] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 3.278] (II) Module vesa: vendor="X.Org Foundation"
[ 3.278] compiled for 1.21.1.1, module version = 2.5.0
[ 3.278] Module class: X.Org Video Driver
[ 3.278] ABI class: X.Org Video Driver, version 25.2
[ 3.278] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 3.278] (II) VESA: driver for VESA chipsets: vesa
[ 3.278] (WW) xf86OpenConsole: setpgid failed: Operation not permitted
[ 3.278] (WW) xf86OpenConsole: setsid failed: Operation not permitted
[ 3.278] (EE) open /dev/dri/card0: No such file or directory
[ 3.278] (WW) Falling back to old probe method for modesetting
[ 3.278] (EE) open /dev/dri/card0: No such file or directory
[ 3.278] (EE) Screen 0 deleted because of no matching config section.
[ 3.278] (II) UnloadModule: "modesetting"
[ 3.278] (II) Loading sub module "vbe"
[ 3.278] (II) LoadModule: "vbe"
[ 3.278] (II) Loading /usr/lib/xorg/modules/libint10.so
[ 3.279] (II) Module int10: vendor="X.Org Foundation"
[ 3.279] compiled for 1.21.1.3, module version = 1.0.0
[ 3.279] ABI class: X.Org Video Driver, version 25.2
[ 3.279] (II) Loading sub module "int10"
[ 3.279] (II) LoadModule: "int10"
[ 3.279] (II) Loading /usr/lib/xorg/modules/libint10.so
[ 3.279] (II) Module int10: vendor="X.Org Foundation"
[ 3.279] compiled for 1.21.1.3, module version = 1.0.0
[ 3.279] ABI class: X.Org Video Driver, version 25.2
[ 3.279] (II) VESA(0): initializing int10
[ 3.551] (EE) VESA(0): V_BIOS address 0x0 out of range
[ 3.551] (II) UnloadModule: "vesa"
[ 3.551] (II) UnloadSubModule: "int10"
[ 3.551] (II) Unloading int10
[ 3.551] (II) UnloadSubModule: "int10"
[ 3.551] (II) Unloading int10
[ 3.551] (EE) Screen(s) found, but none have a usable configuration.
[ 3.551] (EE)
Fatal server error:
[ 3.551] (EE) no screens found(EE)
[ 3.551] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 3.551] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 3.551] (EE)
[ 3.551] (EE) Server terminated with error (1). Closing log file.Offline
You're originally referencing the nvidia driver but it doesn't find a supported GPU and afterwards fail on the VESA driver (which you don't want to use anyway)
lspci -k
uname -a
pacman -Qs '(linux|nvidia)'Offline
lspci -k
0000:00:00.0 Host bridge: Intel Corporation 11th Gen Core Processor Host Bridge/DRAM Registers (rev 01)
Subsystem: ASUSTeK Computer Inc. Device 1362
Kernel modules: igen6_edac
0000:00:02.0 VGA compatible controller: Intel Corporation TigerLake-LP GT2 [Iris Xe Graphics] (rev 01)
DeviceName: VGA
Subsystem: ASUSTeK Computer Inc. Device 1362
Kernel driver in use: i915
Kernel modules: i915
0000:00:04.0 Signal processing controller: Intel Corporation TigerLake-LP Dynamic Tuning Processor Participant (rev 01)
Subsystem: ASUSTeK Computer Inc. Device 1362
Kernel driver in use: proc_thermal
Kernel modules: processor_thermal_device_pci_legacy
0000:00:07.0 PCI bridge: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #0 (rev 01)
Kernel driver in use: pcieport
0000:00:07.1 PCI bridge: Intel Corporation Tiger Lake-LP Thunderbolt 4 PCI Express Root Port #1 (rev 01)
Kernel driver in use: pcieport
0000:00:08.0 System peripheral: Intel Corporation GNA Scoring Accelerator module (rev 01)
Subsystem: ASUSTeK Computer Inc. Device 1362
0000:00:0a.0 Signal processing controller: Intel Corporation Tigerlake Telemetry Aggregator Driver (rev 01)
Kernel driver in use: intel_vsec
Kernel modules: intel_vsec
0000:00:0d.0 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 USB Controller (rev 01)
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
0000:00:0d.2 USB controller: Intel Corporation Tiger Lake-LP Thunderbolt 4 NHI #0 (rev 01)
Subsystem: Device 2222:1111
Kernel driver in use: thunderbolt
Kernel modules: thunderbolt
0000:00:0e.0 RAID bus controller: Intel Corporation Volume Management Device NVMe RAID Controller
Subsystem: Intel Corporation Device 0000
Kernel driver in use: vmd
Kernel modules: vmd
0000:00:12.0 Serial controller: Intel Corporation Tiger Lake-LP Integrated Sensor Hub (rev 20)
Kernel driver in use: intel_ish_ipc
Kernel modules: intel_ish_ipc
0000:00:14.0 USB controller: Intel Corporation Tiger Lake-LP USB 3.2 Gen 2x1 xHCI Host Controller (rev 20)
Subsystem: ASUSTeK Computer Inc. Device 201f
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
0000:00:14.2 RAM memory: Intel Corporation Tiger Lake-LP Shared SRAM (rev 20)
Subsystem: ASUSTeK Computer Inc. Device 1362
0000:00:14.3 Network controller: Intel Corporation Wi-Fi 6 AX201 (rev 20)
DeviceName: WLAN
Subsystem: Intel Corporation Device 0074
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi
0000:00:15.0 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #0 (rev 20)
Subsystem: ASUSTeK Computer Inc. Device 1362
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
0000:00:15.1 Serial bus controller: Intel Corporation Tiger Lake-LP Serial IO I2C Controller #1 (rev 20)
Subsystem: ASUSTeK Computer Inc. Device 1362
Kernel driver in use: intel-lpss
Kernel modules: intel_lpss_pci
0000:00:16.0 Communication controller: Intel Corporation Tiger Lake-LP Management Engine Interface (rev 20)
Subsystem: ASUSTeK Computer Inc. Device 1362
Kernel driver in use: mei_me
Kernel modules: mei_me
0000:00:1d.0 System peripheral: Intel Corporation Device 09ab
Subsystem: ASUSTeK Computer Inc. Device 1362
0000:00:1f.0 ISA bridge: Intel Corporation Tiger Lake-LP LPC Controller (rev 20)
Subsystem: ASUSTeK Computer Inc. Device 1362
0000:00:1f.3 Multimedia audio controller: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller (rev 20)
Subsystem: ASUSTeK Computer Inc. Device 1362
Kernel driver in use: sof-audio-pci-intel-tgl
Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
0000:00:1f.4 SMBus: Intel Corporation Tiger Lake-LP SMBus Controller (rev 20)
Subsystem: ASUSTeK Computer Inc. Device 1362
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
0000:00:1f.5 Serial bus controller: Intel Corporation Tiger Lake-LP SPI Controller (rev 20)
Subsystem: ASUSTeK Computer Inc. Device 1362
Kernel driver in use: intel-spi
Kernel modules: spi_intel_pci
10000:e0:1d.0 PCI bridge: Intel Corporation Tiger Lake-LP PCI Express Root Port #9 (rev 20)
Subsystem: ASUSTeK Computer Inc. Device 1362
Kernel driver in use: pcieport
10000:e1:00.0 Non-Volatile memory controller: Intel Corporation SSD 660P Series (rev 03)
Subsystem: Intel Corporation Device 390d
Kernel driver in use: nvme
Kernel modules: nvmeuname -a
Linux baragouin-arch 5.18.1-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 30 May 2022 17:53:11 +0000 x86_64 GNU/Linuxpacman -Qs ´(linux|nvidia)´
local/alsa-lib 1.2.6.1-1
An alternative implementation of Linux sound support
local/alsa-utils 1.2.6-1
Advanced Linux Sound Architecture - Utilities
local/archlinux-keyring 20220424-1
Arch Linux PGP keyring
local/avahi 0.8+22+gfd482a7-3
Service Discovery for Linux using mDNS/DNS-SD -- compatible with Bonjour
local/base 2-2
Minimal package set to define a basic Arch Linux installation
local/bridge-utils 1.7.1-1
Utilities for configuring the Linux ethernet bridge
local/cuda 11.6.2-1
NVIDIA's GPU programming toolkit
local/efibootmgr 17-2
Linux user-space application to modify the EFI Boot Manager
local/egl-wayland 2:1.1.9+r3+g582b2d3-1
EGLStream-based Wayland external platform
local/ell 0.50-1
Embedded Linux library
local/filesystem 2021.12.07-1
Base Arch Linux files
local/flatpak 1:1.12.7-1
Linux application sandboxing and distribution framework (formerly xdg-app)
local/hdparm 9.63-2
A shell utility for manipulating Linux IDE drive/driver parameters
local/i2c-tools 4.3-3
Heterogeneous set of I2C tools for Linux that used to be part of lm-sensors
local/iptables 1:1.8.8-1
Linux kernel packet control tool (using legacy interface)
local/keyutils 1.6.3-1
Linux Key Management Utilities
local/kmod 29-3
Linux kernel module management tools and library
local/libaio 0.3.113-1
The Linux-native asynchronous I/O facility (aio) library
local/libcap-ng 0.8.3-1
A library for Linux that makes using posix capabilities easy
local/libiec61883 1.2.0-6
A higher level API for streaming DV, MPEG-2 and audio over Linux IEEE 1394
local/libimobiledevice 1.3.0-5
Library that talks the protocols to support iPhone and iPod Touch devices on Linux
local/libraw1394 2.1.2-3
Provides an API to the Linux IEEE1394 (FireWire) driver
local/libva 2.14.0-1
Video Acceleration (VA) API for Linux
local/libvdpau 1.5-1
Nvidia VDPAU library
local/libxnvctrl 515.43.04-1
NVIDIA NV-CONTROL X extension
local/libxshmfence 1.3-3
a library that exposes a event API on top of Linux futexes
local/linux 5.18.1.arch1-1
The Linux kernel and modules
local/linux-api-headers 5.17.5-2
Kernel headers sanitized for use in userspace
local/linux-firmware 20220509.b19cbdc-1
Firmware files for Linux
local/linux-firmware-whence 20220509.b19cbdc-1
Firmware files for Linux - contains the WHENCE license file which documents the vendor license details
local/man-pages 5.13-1
Linux man pages
local/mdadm 4.2-2
A tool for managing/monitoring Linux md device arrays, also known as Software RAID
local/ndctl 73-1
Utility library for managing the libnvdimm (non-volatile memory device) sub-system in the Linux kernel
local/nvidia 515.43.04-7
NVIDIA drivers for linux
local/nvidia-utils 515.43.04-2
NVIDIA drivers utilities
local/opencl-nvidia 515.43.04-2
OpenCL implemention for NVIDIA
local/pacman-mirrorlist 20220501-1
Arch Linux mirror list for use by pacman
local/python-distro 1.7.0-1
Linux OS platform information API
local/teams 1.5.00.10453-1
Microsoft Teams for Linux is your chat-centered workspace in Office 365
local/tlp 1.5.0-5
Linux Advanced Power Management
local/tlp-rdw 1.5.0-5
Linux Advanced Power Management - Radio Device Wizard
local/util-linux 2.38-1
Miscellaneous system utilities for Linux
local/util-linux-libs 2.38-1
util-linux runtime libraries
local/v4l-utils 1.22.1-1
Userspace tools and conversion library for Video 4 LinuxOffline
That output doesn't show that you have an nvidia card at all. What system is this?
Online
The intel chip runs on the i915 module, therefore
[ 3.278] (EE) open /dev/dri/card0: No such file or directorylikely means you want https://wiki.archlinux.org/title/Kernel … _KMS_start
Offline
First of all, I would like to thank all those who responded.
Indeed, I have an Intel Iris Xe integrated graphics card which was automatically detected before! I installed the xf86-video-intel package and loaded the i915 kernel module and everything works again!
Offline