You are not logged in.

#1 2021-04-14 17:06:36

Biawa
Member
Registered: 2021-04-14
Posts: 10

[SOLVED] Arch linux install not booting into display manager (lightdm)

I have installed arch linux (for the 2nd time) this week to dual boot with Win10. I have the rEFInd boot manager working perfectly. After selecting Linux it shortly goes through the booting procedures (idk what they're called) and then ends up in a black screen, from which I have to go to tty2 by using Ctrl+Alt+F2. I have also installed and checked that the XFCE desktop environment is there, so that shouldn't be a problem. I have also added and uncommented "logind-check-graphical=true" in the lightdm.conf as it was failing before that. However, now there are no errors (nothing in systemctl --failed either) and it is still not working.

Here is the output of "systemctl status lightdm":

     #systemctl status lightdm

      lightdm.service / Light Display Manager
       Loaded : loaded (usr/lib/systemd/system/lightdm.service; enabled; vendor preset: disabled)
         Active : active (running) since Wed 2021-04-14 16:10:55 UTC; 5min ago
          Docs : man:lightdm(1)
    Main PID : 456 (lightdm)
         Tasks : 5 (limit: 9124)
       Memory: 21.3M
            CPU: 913ms
        CGroup: /system.slice/lightdm.service
                        -456 /usr/bin/lightdm
                        -462 /usr/lib/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch

     Apr 14 16:10:55 voyager systemd[1]: Starting Light Display Manager...
     Apr 14 16:10:55 voyager systemd[1]: Started Light Display Manager.
     Apr 14 16:10:57 voyager lightdm[468]: pam_unix(lightdm-greeter:session): session opened for user lightdm(uid=975) by (uid=0)

I don't understand everything in the output, but from what I see it seems to be ok. I have also tried doing what suggested in this forum post, but when typing "systemctl enable graphical.target" I get the following output:

     The unit files have no installation config (......). This means they are not meant to be enabled using systemctl.
     ....
     ....
     ....
     ....

I'm now quite clueless as to what I should do/in which direction I should go. Any help would be much appreciated!

PS: Sorry for bad formatting. I have copied the outputs by hand (for obvious reasons), but let me know if there is something I should re-format for clarity.

Last edited by Biawa (2021-04-15 16:53:43)

Offline

#2 2021-04-14 17:09:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,645

Re: [SOLVED] Arch linux install not booting into display manager (lightdm)

Offline

#3 2021-04-14 17:36:01

Biawa
Member
Registered: 2021-04-14
Posts: 10

Re: [SOLVED] Arch linux install not booting into display manager (lightdm)

I have set up the early KMS as suggested (in my case for nvidia), as well as added the kernel parameter "nvidia-drm.modeset=1" as suggested in this section of the wiki. After rebooting I still get the same results (both with and without the additional kernel parameter).

Offline

#4 2021-04-14 19:14:45

seth
Member
Registered: 2012-09-03
Posts: 50,957

Re: [SOLVED] Arch linux install not booting into display manager (lightdm)

Please post your xorg and lightdm logs.

Offline

#5 2021-04-14 20:47:27

Biawa
Member
Registered: 2021-04-14
Posts: 10

Re: [SOLVED] Arch linux install not booting into display manager (lightdm)

I had to take pictures of the logs because copying them by hand would have taken too long.

Here is the lightdm log.

Here are all the pages for the Xorg log (in order):

     Page 1
     Page 2
     Page 3
     Page 4
     Page 5
     Page 6
     Page 7

Offline

#6 2021-04-14 21:08:33

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

Re: [SOLVED] Arch linux install not booting into display manager (lightdm)

See the first link in seth's signature to post the logs as text from the console.

Offline

#7 2021-04-14 21:23:19

Biawa
Member
Registered: 2021-04-14
Posts: 10

Re: [SOLVED] Arch linux install not booting into display manager (lightdm)

Thanks for the tip, I didn't know that was possible. Here is the much more readable format of both logs.

Lightdm:

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=469
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.00s] DEBUG: Monitoring logind for seats
[+0.00s] DEBUG: New seat added from logind: seat0
[+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.00s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.00s] DEBUG: Seat seat0: Starting
[+0.00s] DEBUG: Seat seat0: Creating greeter session
[+0.00s] DEBUG: Seat seat0: Creating display server of type x
[+0.00s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+0.00s] DEBUG: Using VT 7
[+0.00s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.00s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.00s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+0.00s] DEBUG: XServer 0: Launching X Server
[+0.00s] DEBUG: Launching process 475: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.00s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.00s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.00s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.00s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+1.40s] DEBUG: Got signal 10 from process 475
[+1.40s] DEBUG: XServer 0: Got signal from X server :0
[+1.40s] DEBUG: XServer 0: Connecting to XServer :0
[+1.40s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+1.40s] DEBUG: Session pid=483: Started with service 'lightdm-greeter', username 'lightdm'
[+1.41s] DEBUG: Session pid=483: Authentication complete with return value 0: Success
[+1.41s] DEBUG: Seat seat0: Session authenticated, running command
[+1.41s] DEBUG: Session pid=483: Running command /usr/bin/lightdm-gtk-greeter
[+1.41s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+1.41s] DEBUG: Session pid=483: Logging to /var/log/lightdm/seat0-greeter.log
[+1.42s] DEBUG: Activating VT 7
[+1.42s] DEBUG: Activating login1 session c2
[+1.42s] DEBUG: Seat seat0 changes active session to c2
[+1.42s] DEBUG: Session c2 is already active
[+1.49s] DEBUG: Greeter connected version=1.30.0 api=1 resettable=false
[+1.59s] DEBUG: Greeter start authentication for vanguard
[+1.59s] DEBUG: Session pid=503: Started with service 'lightdm', username 'vanguard'
[+1.59s] DEBUG: Session pid=503: Got 1 message(s) from PAM
[+1.59s] DEBUG: Prompt greeter with 1 message(s)
[+11.66s] DEBUG: Seat seat0 changes active session to 
[+20.52s] DEBUG: Seat seat0 changes active session to 2

Xorg:

[     6.338] 
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[     6.338] Build Operating System: Linux Archlinux
[     6.338] Current Operating System: Linux voyager 5.11.13-arch1-1 #1 SMP PREEMPT Sat, 10 Apr 2021 20:47:14 +0000 x86_64
[     6.338] Kernel command line: root=PARTUUID=d14d8c68-ccb0-482d-8621-9545669a247f rw add_efi_memmap initrd=boot/intel-ucode.img initrd=boot/initramfs-linux.img
[     6.338] Build Date: 13 April 2021  03:12:10PM
[     6.338]  
[     6.338] Current version of pixman: 0.40.0
[     6.338] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     6.338] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     6.338] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 14 18:12:16 2021
[     6.338] (==) Using config file: "/etc/X11/xorg.conf"
[     6.338] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     6.338] (==) ServerLayout "Layout0"
[     6.338] (**) |-->Screen "Screen0" (0)
[     6.338] (**) |   |-->Monitor "Monitor0"
[     6.338] (**) |   |-->Device "Device0"
[     6.338] (**) |-->Input Device "Keyboard0"
[     6.338] (**) |-->Input Device "Mouse0"
[     6.338] (==) Automatically adding devices
[     6.338] (==) Automatically enabling devices
[     6.338] (==) Automatically adding GPU devices
[     6.338] (==) Automatically binding GPU devices
[     6.338] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     6.338] (WW) The directory "/usr/share/fonts/misc" does not exist.
[     6.338] 	Entry deleted from font path.
[     6.338] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[     6.338] 	Entry deleted from font path.
[     6.338] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[     6.338] 	Entry deleted from font path.
[     6.338] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     6.338] 	Entry deleted from font path.
[     6.338] (==) FontPath set to:
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[     6.338] (==) ModulePath set to "/usr/lib/xorg/modules"
[     6.338] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[     6.338] (WW) Disabling Keyboard0
[     6.338] (WW) Disabling Mouse0
[     6.338] (II) Module ABI versions:
[     6.338] 	X.Org ANSI C Emulation: 0.4
[     6.338] 	X.Org Video Driver: 24.1
[     6.338] 	X.Org XInput driver : 24.1
[     6.338] 	X.Org Server Extension : 10.0
[     6.339] (++) using VT number 7

[     6.339] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     6.339] (II) xfree86: Adding drm device (/dev/dri/card0)
[     6.339] (II) xfree86: Adding drm device (/dev/dri/card1)
[     6.343] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[     6.344] (--) PCI:*(0@0:2:0) 8086:9bc4:1028:09e1 rev 5, Mem @ 0x6000000000/16777216, 0x4000000000/268435456, I/O @ 0x00006000/64, BIOS @ 0x????????/131072
[     6.344] (--) PCI: (1@0:0:0) 10de:1f99:1028:09e1 rev 161, Mem @ 0x82000000/16777216, 0x70000000/268435456, 0x80000000/33554432, I/O @ 0x00005000/128, BIOS @ 0x????????/524288
[     6.344] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     6.344] (II) LoadModule: "glx"
[     6.345] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     6.345] (II) Module glx: vendor="X.Org Foundation"
[     6.345] 	compiled for 1.20.11, module version = 1.0.0
[     6.345] 	ABI class: X.Org Server Extension, version 10.0
[     6.345] (II) LoadModule: "nvidia"
[     6.345] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[     6.346] (II) Module nvidia: vendor="NVIDIA Corporation"
[     6.346] 	compiled for 1.6.99.901, module version = 1.0.0
[     6.346] 	Module class: X.Org Video Driver
[     6.346] (II) NVIDIA dlloader X Driver  460.67  Thu Mar 11 00:09:07 UTC 2021
[     6.346] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[     6.346] (II) Loading sub module "fb"
[     6.346] (II) LoadModule: "fb"
[     6.346] (II) Loading /usr/lib/xorg/modules/libfb.so
[     6.346] (II) Module fb: vendor="X.Org Foundation"
[     6.346] 	compiled for 1.20.11, module version = 1.0.0
[     6.346] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     6.346] (II) Loading sub module "wfb"
[     6.346] (II) LoadModule: "wfb"
[     6.346] (II) Loading /usr/lib/xorg/modules/libwfb.so
[     6.346] (II) Module wfb: vendor="X.Org Foundation"
[     6.346] 	compiled for 1.20.11, module version = 1.0.0
[     6.346] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     6.346] (II) Loading sub module "ramdac"
[     6.346] (II) LoadModule: "ramdac"
[     6.346] (II) Module "ramdac" already built-in
[     6.348] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[     6.348] (==) NVIDIA(0): RGB weight 888
[     6.348] (==) NVIDIA(0): Default visual is TrueColor
[     6.348] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[     6.348] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[     6.348] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[     6.348] (**) NVIDIA(0): Enabling 2D acceleration
[     6.348] (II) Loading sub module "glxserver_nvidia"
[     6.348] (II) LoadModule: "glxserver_nvidia"
[     6.348] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[     6.352] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[     6.352] 	compiled for 1.6.99.901, module version = 1.0.0
[     6.352] 	Module class: X.Org Server Extension
[     6.352] (II) NVIDIA GLX Module  460.67  Thu Mar 11 00:06:44 UTC 2021
[     6.352] (II) NVIDIA: The X server supports PRIME Render Offload.
[     6.845] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[     6.845] (--) NVIDIA(0):     DFP-0
[     6.852] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 1650 (TU117-A) at PCI:1:0:0 (GPU-0)
[     6.852] (--) NVIDIA(0): Memory: 4194304 kBytes
[     6.852] (--) NVIDIA(0): VideoBIOS: 90.17.4d.00.10
[     6.852] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[     6.852] (--) NVIDIA(GPU-0): DFP-0: disconnected
[     6.852] (--) NVIDIA(GPU-0): DFP-0: Internal TMDS
[     6.852] (--) NVIDIA(GPU-0): DFP-0: 165.0 MHz maximum pixel clock
[     6.852] (--) NVIDIA(GPU-0): 
[     6.852] (==) NVIDIA(0): 
[     6.852] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[     6.852] (==) NVIDIA(0):     will be used as the requested mode.
[     6.852] (==) NVIDIA(0): 
[     6.852] (--) NVIDIA(0): No enabled display devices found; starting anyway because
[     6.853] (--) NVIDIA(0):     AllowEmptyInitialConfiguration is enabled
[     6.853] (II) NVIDIA(0): Validated MetaModes:
[     6.853] (II) NVIDIA(0):     "NULL"
[     6.853] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[     6.853] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[     6.853] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[     6.854] (II) NVIDIA: Using 24576.00 MB of virtual memory for indirect memory
[     6.854] (II) NVIDIA:     access.
[     6.865] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[     6.865] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[     6.865] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[     6.865] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[     6.865] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[     6.865] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[     6.865] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[     6.865] (II) NVIDIA(0):     Config Options in the README.
[     6.886] (II) NVIDIA(0): Setting mode "NULL"
[     6.894] (==) NVIDIA(0): Disabling shared memory pixmaps
[     6.894] (==) NVIDIA(0): Backing store enabled
[     6.894] (==) NVIDIA(0): Silken mouse disabled
[     6.894] (**) NVIDIA(0): DPMS enabled
[     6.894] (II) Loading sub module "dri2"
[     6.894] (II) LoadModule: "dri2"
[     6.894] (II) Module "dri2" already built-in
[     6.894] (II) NVIDIA(0): [DRI2] Setup complete
[     6.894] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[     6.894] (II) Initializing extension Generic Event Extension
[     6.894] (II) Initializing extension SHAPE
[     6.894] (II) Initializing extension MIT-SHM
[     6.894] (II) Initializing extension XInputExtension
[     6.894] (II) Initializing extension XTEST
[     6.894] (II) Initializing extension BIG-REQUESTS
[     6.894] (II) Initializing extension SYNC
[     6.894] (II) Initializing extension XKEYBOARD
[     6.895] (II) Initializing extension XC-MISC
[     6.895] (II) Initializing extension SECURITY
[     6.895] (II) Initializing extension XFIXES
[     6.895] (II) Initializing extension RENDER
[     6.895] (II) Initializing extension RANDR
[     6.895] (II) Initializing extension COMPOSITE
[     6.895] (II) Initializing extension DAMAGE
[     6.895] (II) Initializing extension MIT-SCREEN-SAVER
[     6.895] (II) Initializing extension DOUBLE-BUFFER
[     6.895] (II) Initializing extension RECORD
[     6.895] (II) Initializing extension DPMS
[     6.895] (II) Initializing extension Present
[     6.895] (II) Initializing extension DRI3
[     6.895] (II) Initializing extension X-Resource
[     6.895] (II) Initializing extension XVideo
[     6.896] (II) Initializing extension XVideo-MotionCompensation
[     6.896] (II) Initializing extension GLX
[     6.896] (II) Initializing extension GLX
[     6.896] (II) Indirect GLX disabled.
[     6.896] (II) GLX: Another vendor is already registered for screen 0
[     6.896] (II) Initializing extension XFree86-VidModeExtension
[     6.896] (II) Initializing extension XFree86-DGA
[     6.896] (II) Initializing extension XFree86-DRI
[     6.896] (II) Initializing extension DRI2
[     6.896] (II) Initializing extension NV-GLX
[     6.896] (II) Initializing extension NV-CONTROL
[     6.945] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[     6.945] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[     6.945] (II) LoadModule: "libinput"
[     6.945] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[     6.946] (II) Module libinput: vendor="X.Org Foundation"
[     6.946] 	compiled for 1.20.10, module version = 1.0.0
[     6.946] 	Module class: X.Org XInput Driver
[     6.946] 	ABI class: X.Org XInput driver, version 24.1
[     6.946] (II) Using input driver 'libinput' for 'Power Button'
[     6.946] (**) Power Button: always reports core events
[     6.946] (**) Option "Device" "/dev/input/event1"
[     6.946] (**) Option "_source" "server/udev"
[     6.947] (II) event1  - Power Button: is tagged by udev as: Keyboard
[     6.947] (II) event1  - Power Button: device is a keyboard
[     6.947] (II) event1  - Power Button: device removed
[     6.988] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[     6.988] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[     6.988] (II) event1  - Power Button: is tagged by udev as: Keyboard
[     6.988] (II) event1  - Power Button: device is a keyboard
[     6.989] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[     6.989] (II) No input driver specified, ignoring this device.
[     6.989] (II) This device may have been added with another device file.
[     6.989] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
[     6.989] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[     6.989] (II) Using input driver 'libinput' for 'Sleep Button'
[     6.989] (**) Sleep Button: always reports core events
[     6.989] (**) Option "Device" "/dev/input/event2"
[     6.989] (**) Option "_source" "server/udev"
[     6.990] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[     6.990] (II) event2  - Sleep Button: device is a keyboard
[     6.990] (II) event2  - Sleep Button: device removed
[     7.028] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2/event2"
[     7.028] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 7)
[     7.029] (II) event2  - Sleep Button: is tagged by udev as: Keyboard
[     7.030] (II) event2  - Sleep Button: device is a keyboard
[     7.031] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event11)
[     7.031] (II) No input driver specified, ignoring this device.
[     7.031] (II) This device may have been added with another device file.
[     7.032] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event12)
[     7.032] (II) No input driver specified, ignoring this device.
[     7.032] (II) This device may have been added with another device file.
[     7.032] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event13)
[     7.033] (II) No input driver specified, ignoring this device.
[     7.033] (II) This device may have been added with another device file.
[     7.033] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event14)
[     7.033] (II) No input driver specified, ignoring this device.
[     7.033] (II) This device may have been added with another device file.
[     7.035] (II) config/udev: Adding input device Logitech Optical USB Mouse (/dev/input/event9)
[     7.035] (**) Logitech Optical USB Mouse: Applying InputClass "libinput pointer catchall"
[     7.035] (II) Using input driver 'libinput' for 'Logitech Optical USB Mouse'
[     7.035] (**) Logitech Optical USB Mouse: always reports core events
[     7.035] (**) Option "Device" "/dev/input/event9"
[     7.035] (**) Option "_source" "server/udev"
[     7.093] (II) event9  - Logitech Optical USB Mouse: is tagged by udev as: Mouse
[     7.093] (II) event9  - Logitech Optical USB Mouse: device set to 400 DPI
[     7.093] (II) event9  - Logitech Optical USB Mouse: device is a pointer
[     7.094] (II) event9  - Logitech Optical USB Mouse: device removed
[     7.147] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.0/0003:046D:C016.0002/input/input12/event9"
[     7.147] (II) XINPUT: Adding extended input device "Logitech Optical USB Mouse" (type: MOUSE, id 8)
[     7.148] (**) Option "AccelerationScheme" "none"
[     7.148] (**) Logitech Optical USB Mouse: (accel) selected scheme none/0
[     7.148] (**) Logitech Optical USB Mouse: (accel) acceleration factor: 2.000
[     7.148] (**) Logitech Optical USB Mouse: (accel) acceleration threshold: 4
[     7.206] (II) event9  - Logitech Optical USB Mouse: is tagged by udev as: Mouse
[     7.206] (II) event9  - Logitech Optical USB Mouse: device set to 400 DPI
[     7.206] (II) event9  - Logitech Optical USB Mouse: device is a pointer
[     7.208] (II) config/udev: Adding input device Logitech Optical USB Mouse (/dev/input/mouse1)
[     7.208] (II) No input driver specified, ignoring this device.
[     7.208] (II) This device may have been added with another device file.
[     7.209] (II) config/udev: Adding input device Integrated_Webcam_HD: Integrate (/dev/input/event15)
[     7.209] (**) Integrated_Webcam_HD: Integrate: Applying InputClass "libinput keyboard catchall"
[     7.209] (II) Using input driver 'libinput' for 'Integrated_Webcam_HD: Integrate'
[     7.209] (**) Integrated_Webcam_HD: Integrate: always reports core events
[     7.209] (**) Option "Device" "/dev/input/event15"
[     7.209] (**) Option "_source" "server/udev"
[     7.211] (II) event15 - Integrated_Webcam_HD: Integrate: is tagged by udev as: Keyboard
[     7.211] (II) event15 - Integrated_Webcam_HD: Integrate: device is a keyboard
[     7.212] (II) event15 - Integrated_Webcam_HD: Integrate: device removed
[     7.267] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input21/event15"
[     7.268] (II) XINPUT: Adding extended input device "Integrated_Webcam_HD: Integrate" (type: KEYBOARD, id 9)
[     7.270] (II) event15 - Integrated_Webcam_HD: Integrate: is tagged by udev as: Keyboard
[     7.270] (II) event15 - Integrated_Webcam_HD: Integrate: device is a keyboard
[     7.272] (II) config/udev: Adding input device DELL09E1:00 04F3:30CB Mouse (/dev/input/event7)
[     7.272] (**) DELL09E1:00 04F3:30CB Mouse: Applying InputClass "libinput pointer catchall"
[     7.272] (II) Using input driver 'libinput' for 'DELL09E1:00 04F3:30CB Mouse'
[     7.272] (**) DELL09E1:00 04F3:30CB Mouse: always reports core events
[     7.272] (**) Option "Device" "/dev/input/event7"
[     7.272] (**) Option "_source" "server/udev"
[     7.274] (II) event7  - DELL09E1:00 04F3:30CB Mouse: is tagged by udev as: Mouse Pointingstick
[     7.275] (II) event7  - DELL09E1:00 04F3:30CB Mouse: device is a pointer
[     7.276] (II) event7  - DELL09E1:00 04F3:30CB Mouse: device removed
[     7.334] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-DELL09E1:00/0018:04F3:30CB.0001/input/input18/event7"
[     7.334] (II) XINPUT: Adding extended input device "DELL09E1:00 04F3:30CB Mouse" (type: MOUSE, id 10)
[     7.334] (**) Option "AccelerationScheme" "none"
[     7.335] (**) DELL09E1:00 04F3:30CB Mouse: (accel) selected scheme none/0
[     7.335] (**) DELL09E1:00 04F3:30CB Mouse: (accel) acceleration factor: 2.000
[     7.335] (**) DELL09E1:00 04F3:30CB Mouse: (accel) acceleration threshold: 4
[     7.337] (II) event7  - DELL09E1:00 04F3:30CB Mouse: is tagged by udev as: Mouse Pointingstick
[     7.337] (II) event7  - DELL09E1:00 04F3:30CB Mouse: device is a pointer
[     7.340] (II) config/udev: Adding input device DELL09E1:00 04F3:30CB Mouse (/dev/input/mouse0)
[     7.340] (II) No input driver specified, ignoring this device.
[     7.340] (II) This device may have been added with another device file.
[     7.341] (II) config/udev: Adding input device DELL09E1:00 04F3:30CB Touchpad (/dev/input/event8)
[     7.341] (**) DELL09E1:00 04F3:30CB Touchpad: Applying InputClass "libinput touchpad catchall"
[     7.341] (II) Using input driver 'libinput' for 'DELL09E1:00 04F3:30CB Touchpad'
[     7.341] (**) DELL09E1:00 04F3:30CB Touchpad: always reports core events
[     7.341] (**) Option "Device" "/dev/input/event8"
[     7.341] (**) Option "_source" "server/udev"
[     7.343] (II) event8  - DELL09E1:00 04F3:30CB Touchpad: is tagged by udev as: Touchpad
[     7.346] (II) event8  - DELL09E1:00 04F3:30CB Touchpad: device is a touchpad
[     7.346] (II) event8  - DELL09E1:00 04F3:30CB Touchpad: device removed
[     7.401] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-1/i2c-DELL09E1:00/0018:04F3:30CB.0001/input/input19/event8"
[     7.401] (II) XINPUT: Adding extended input device "DELL09E1:00 04F3:30CB Touchpad" (type: TOUCHPAD, id 11)
[     7.404] (**) Option "AccelerationScheme" "none"
[     7.404] (**) DELL09E1:00 04F3:30CB Touchpad: (accel) selected scheme none/0
[     7.404] (**) DELL09E1:00 04F3:30CB Touchpad: (accel) acceleration factor: 2.000
[     7.404] (**) DELL09E1:00 04F3:30CB Touchpad: (accel) acceleration threshold: 4
[     7.406] (II) event8  - DELL09E1:00 04F3:30CB Touchpad: is tagged by udev as: Touchpad
[     7.409] (II) event8  - DELL09E1:00 04F3:30CB Touchpad: device is a touchpad
[     7.411] (II) config/udev: Adding input device DELL09E1:00 04F3:30CB Touchpad (/dev/input/mouse2)
[     7.411] (II) No input driver specified, ignoring this device.
[     7.411] (II) This device may have been added with another device file.
[     7.412] (II) config/udev: Adding input device Intel HID events (/dev/input/event4)
[     7.412] (**) Intel HID events: Applying InputClass "libinput keyboard catchall"
[     7.412] (II) Using input driver 'libinput' for 'Intel HID events'
[     7.412] (**) Intel HID events: always reports core events
[     7.412] (**) Option "Device" "/dev/input/event4"
[     7.412] (**) Option "_source" "server/udev"
[     7.413] (II) event4  - Intel HID events: is tagged by udev as: Keyboard
[     7.413] (II) event4  - Intel HID events: device is a keyboard
[     7.413] (II) event4  - Intel HID events: device removed
[     7.468] (**) Option "config_info" "udev:/sys/devices/platform/INT33D5:00/input/input5/event4"
[     7.468] (II) XINPUT: Adding extended input device "Intel HID events" (type: KEYBOARD, id 12)
[     7.470] (II) event4  - Intel HID events: is tagged by udev as: Keyboard
[     7.470] (II) event4  - Intel HID events: device is a keyboard
[     7.471] (II) config/udev: Adding input device Intel HID 5 button array (/dev/input/event5)
[     7.471] (**) Intel HID 5 button array: Applying InputClass "libinput keyboard catchall"
[     7.471] (II) Using input driver 'libinput' for 'Intel HID 5 button array'
[     7.471] (**) Intel HID 5 button array: always reports core events
[     7.471] (**) Option "Device" "/dev/input/event5"
[     7.471] (**) Option "_source" "server/udev"
[     7.472] (II) event5  - Intel HID 5 button array: is tagged by udev as: Keyboard
[     7.472] (II) event5  - Intel HID 5 button array: device is a keyboard
[     7.473] (II) event5  - Intel HID 5 button array: device removed
[     7.521] (**) Option "config_info" "udev:/sys/devices/platform/INT33D5:00/input/input6/event5"
[     7.521] (II) XINPUT: Adding extended input device "Intel HID 5 button array" (type: KEYBOARD, id 13)
[     7.523] (II) event5  - Intel HID 5 button array: is tagged by udev as: Keyboard
[     7.523] (II) event5  - Intel HID 5 button array: device is a keyboard
[     7.524] (II) config/udev: Adding input device Dell WMI hotkeys (/dev/input/event10)
[     7.525] (**) Dell WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[     7.525] (II) Using input driver 'libinput' for 'Dell WMI hotkeys'
[     7.525] (**) Dell WMI hotkeys: always reports core events
[     7.525] (**) Option "Device" "/dev/input/event10"
[     7.525] (**) Option "_source" "server/udev"
[     7.527] (II) event10 - Dell WMI hotkeys: is tagged by udev as: Keyboard
[     7.527] (II) event10 - Dell WMI hotkeys: device is a keyboard
[     7.527] (II) event10 - Dell WMI hotkeys: device removed
[     7.587] (**) Option "config_info" "udev:/sys/devices/platform/PNP0C14:03/wmi_bus/wmi_bus-PNP0C14:03/9DBB5994-A997-11DA-B012-B622A1EF5492/input/input13/event10"
[     7.588] (II) XINPUT: Adding extended input device "Dell WMI hotkeys" (type: KEYBOARD, id 14)
[     7.590] (II) event10 - Dell WMI hotkeys: is tagged by udev as: Keyboard
[     7.590] (II) event10 - Dell WMI hotkeys: device is a keyboard
[     7.592] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event3)
[     7.592] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[     7.592] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[     7.592] (**) AT Translated Set 2 keyboard: always reports core events
[     7.592] (**) Option "Device" "/dev/input/event3"
[     7.592] (**) Option "_source" "server/udev"
[     7.594] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[     7.594] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[     7.596] (II) event3  - AT Translated Set 2 keyboard: device removed
[     7.641] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input3/event3"
[     7.641] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 15)
[     7.643] (II) event3  - AT Translated Set 2 keyboard: is tagged by udev as: Keyboard
[     7.644] (II) event3  - AT Translated Set 2 keyboard: device is a keyboard
[     7.646] (II) config/udev: Adding input device PS/2 Generic Mouse (/dev/input/event16)
[     7.646] (**) PS/2 Generic Mouse: Applying InputClass "libinput pointer catchall"
[     7.646] (II) Using input driver 'libinput' for 'PS/2 Generic Mouse'
[     7.646] (**) PS/2 Generic Mouse: always reports core events
[     7.646] (**) Option "Device" "/dev/input/event16"
[     7.646] (**) Option "_source" "server/udev"
[     7.648] (II) event16 - PS/2 Generic Mouse: is tagged by udev as: Mouse
[     7.648] (II) event16 - PS/2 Generic Mouse: device is a pointer
[     7.649] (II) event16 - PS/2 Generic Mouse: device removed
[     7.707] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input8/event16"
[     7.708] (II) XINPUT: Adding extended input device "PS/2 Generic Mouse" (type: MOUSE, id 16)
[     7.708] (**) Option "AccelerationScheme" "none"
[     7.708] (**) PS/2 Generic Mouse: (accel) selected scheme none/0
[     7.708] (**) PS/2 Generic Mouse: (accel) acceleration factor: 2.000
[     7.708] (**) PS/2 Generic Mouse: (accel) acceleration threshold: 4
[     7.710] (II) event16 - PS/2 Generic Mouse: is tagged by udev as: Mouse
[     7.710] (II) event16 - PS/2 Generic Mouse: device is a pointer
[     7.712] (II) config/udev: Adding input device PS/2 Generic Mouse (/dev/input/mouse3)
[     7.712] (II) No input driver specified, ignoring this device.
[     7.712] (II) This device may have been added with another device file.
[     7.712] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
[     7.712] (II) No input driver specified, ignoring this device.
[     7.712] (II) This device may have been added with another device file.
[    17.500] (II) event1  - Power Button: device removed
[    17.531] (II) event2  - Sleep Button: device removed
[    17.558] (II) event9  - Logitech Optical USB Mouse: device removed
[    17.598] (II) event15 - Integrated_Webcam_HD: Integrate: device removed
[    17.651] (II) event7  - DELL09E1:00 04F3:30CB Mouse: device removed
[    17.704] (II) event8  - DELL09E1:00 04F3:30CB Touchpad: device removed
[    17.758] (II) event4  - Intel HID events: device removed
[    17.784] (II) event5  - Intel HID 5 button array: device removed
[    17.811] (II) event10 - Dell WMI hotkeys: device removed
[    17.874] (II) event3  - AT Translated Set 2 keyboard: device removed
[    17.908] (II) event16 - PS/2 Generic Mouse: device removed

Offline

#8 2021-04-14 21:45:52

seth
Member
Registered: 2012-09-03
Posts: 50,957

Re: [SOLVED] Arch linux install not booting into display manager (lightdm)

This looks like a misconfigured optimus system - https://wiki.archlinux.org/index.php/NVIDIA_Optimus
Do NOT use nvidia-settings or nvidia-xconfig or Xorg -configure to write a static server layout. That's going to fail.

You're trying to run the system on the nvidia chip, but there're no outputs available, so you'll have to use reverse prime iff you want to run on the nvidia chip all the time.

Offline

#9 2021-04-14 22:34:38

Biawa
Member
Registered: 2021-04-14
Posts: 10

Re: [SOLVED] Arch linux install not booting into display manager (lightdm)

I have followed the steps for the reverse prime given here as well as added the specific parts required in optimus for lightdm. There may be some advancement. The OS no longer leaves me on a black screen after initiating, but leaves me right after the start-up processes. However, I am still in tty, but "systemctl --fail" now  does show that lightdm.service failed.

This is the new lightdm log:

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=453
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG:   [LightDM] contains unknown option display-setup-script
[+0.00s] DEBUG:   [LightDM] contains unknown option greeter-session
[+0.00s] DEBUG: Registered seat module local
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[+0.00s] DEBUG: Monitoring logind for seats
[+0.00s] DEBUG: New seat added from logind: seat0
[+0.00s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.00s] DEBUG: Seat seat0 has property CanMultiSession=no
[+0.00s] DEBUG: Seat seat0: Starting
[+0.00s] DEBUG: Seat seat0: Creating greeter session
[+0.00s] DEBUG: Seat seat0: Creating display server of type x
[+0.00s] DEBUG: Could not run plymouth --ping: Failed to execute child process “plymouth” (No such file or directory)
[+0.00s] DEBUG: Using VT 7
[+0.00s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.00s] DEBUG: XServer 0: Logging to /var/log/lightdm/x-0.log
[+0.00s] DEBUG: XServer 0: Writing X server authority to /run/lightdm/root/:0
[+0.00s] DEBUG: XServer 0: Launching X Server
[+0.00s] DEBUG: Launching process 459: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.00s] DEBUG: XServer 0: Waiting for ready signal from X server :0
[+0.00s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.00s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.00s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.02s] DEBUG: Process 459 exited with return value 1
[+0.02s] DEBUG: XServer 0: X server stopped
[+0.02s] DEBUG: Releasing VT 7
[+0.02s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+0.02s] DEBUG: Seat seat0: Display server stopped
[+0.02s] DEBUG: Seat seat0: Stopping session
[+0.02s] DEBUG: Seat seat0: Session stopped
[+0.02s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+0.02s] DEBUG: Seat seat0: Stopping; greeter display server failed to start
[+0.02s] DEBUG: Seat seat0: Stopping
[+0.02s] DEBUG: Seat seat0: Stopped
[+0.02s] DEBUG: Required seat has stopped
[+0.02s] DEBUG: Stopping display manager
[+0.02s] DEBUG: Display manager stopped
[+0.02s] DEBUG: Stopping daemon
[+0.02s] DEBUG: Exiting with return value 1

+Xorg log:

[     2.736] 
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[     2.736] Build Operating System: Linux Archlinux
[     2.736] Current Operating System: Linux voyager 5.11.13-arch1-1 #1 SMP PREEMPT Sat, 10 Apr 2021 20:47:14 +0000 x86_64
[     2.736] Kernel command line: root=PARTUUID=d14d8c68-ccb0-482d-8621-9545669a247f rw add_efi_memmap initrd=boot/intel-ucode.img initrd=boot/initramfs-linux.img
[     2.736] Build Date: 13 April 2021  03:12:10PM
[     2.736]  
[     2.736] Current version of pixman: 0.40.0
[     2.736] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     2.736] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     2.736] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 14 22:20:58 2021
[     2.736] (==) Using config file: "/etc/X11/xorg.conf"
[     2.736] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     2.737] (==) ServerLayout "layout"
[     2.737] (**) |-->Screen "intel" (0)
[     2.737] (**) |   |-->Monitor "<default monitor>"
[     2.737] (**) |   |-->Device "intel"
[     2.737] (**) |   |-->GPUDevice "intel"
[     2.737] (==) No monitor specified for screen "intel".
	Using a default monitor configuration.
[     2.737] (**) |-->Inactive Device "nvidia"
[     2.737] (==) Automatically adding devices
[     2.737] (==) Automatically enabling devices
[     2.737] (==) Automatically adding GPU devices
[     2.737] (==) Automatically binding GPU devices
[     2.737] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     2.737] (WW) The directory "/usr/share/fonts/misc" does not exist.
[     2.737] 	Entry deleted from font path.
[     2.737] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[     2.737] 	Entry deleted from font path.
[     2.737] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[     2.737] 	Entry deleted from font path.
[     2.737] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     2.737] 	Entry deleted from font path.
[     2.737] (==) FontPath set to:
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[     2.737] (==) ModulePath set to "/usr/lib/xorg/modules"
[     2.737] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     2.737] (II) Module ABI versions:
[     2.737] 	X.Org ANSI C Emulation: 0.4
[     2.737] 	X.Org Video Driver: 24.1
[     2.737] 	X.Org XInput driver : 24.1
[     2.737] 	X.Org Server Extension : 10.0
[     2.738] (++) using VT number 7

[     2.738] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[     2.738] (II) xfree86: Adding drm device (/dev/dri/card0)
[     2.738] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[     2.739] (--) PCI:*(0@0:2:0) 8086:9bc4:1028:09e1 rev 5, Mem @ 0x6000000000/16777216, 0x4000000000/268435456, I/O @ 0x00006000/64, BIOS @ 0x????????/131072
[     2.739] (--) PCI: (1@0:0:0) 10de:1f99:1028:09e1 rev 161, Mem @ 0x82000000/16777216, 0x70000000/268435456, 0x80000000/33554432, I/O @ 0x00005000/128, BIOS @ 0x????????/524288
[     2.739] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     2.739] (II) LoadModule: "glx"
[     2.740] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     2.741] (II) Module glx: vendor="X.Org Foundation"
[     2.741] 	compiled for 1.20.11, module version = 1.0.0
[     2.741] 	ABI class: X.Org Server Extension, version 10.0
[     2.741] (II) LoadModule: "modesetting"
[     2.741] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     2.741] (II) Module modesetting: vendor="X.Org Foundation"
[     2.741] 	compiled for 1.20.11, module version = 1.20.11
[     2.741] 	Module class: X.Org Video Driver
[     2.741] 	ABI class: X.Org Video Driver, version 24.1
[     2.741] (II) LoadModule: "nvidia"
[     2.741] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[     2.741] (II) Module nvidia: vendor="NVIDIA Corporation"
[     2.741] 	compiled for 1.6.99.901, module version = 1.0.0
[     2.741] 	Module class: X.Org Video Driver
[     2.741] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     2.741] (II) NVIDIA dlloader X Driver  460.67  Thu Mar 11 00:09:07 UTC 2021
[     2.741] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[     2.741] (WW) Falling back to old probe method for modesetting
[     2.741] (II) Loading sub module "fb"
[     2.741] (II) LoadModule: "fb"
[     2.741] (II) Loading /usr/lib/xorg/modules/libfb.so
[     2.741] (II) Module fb: vendor="X.Org Foundation"
[     2.741] 	compiled for 1.20.11, module version = 1.0.0
[     2.741] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     2.741] (II) Loading sub module "wfb"
[     2.741] (II) LoadModule: "wfb"
[     2.742] (II) Loading /usr/lib/xorg/modules/libwfb.so
[     2.742] (II) Module wfb: vendor="X.Org Foundation"
[     2.742] 	compiled for 1.20.11, module version = 1.0.0
[     2.742] 	ABI class: X.Org ANSI C Emulation, version 0.4
[     2.742] (II) Loading sub module "ramdac"
[     2.742] (II) LoadModule: "ramdac"
[     2.742] (II) Module "ramdac" already built-in
[     2.745] (EE) Screen 0 deleted because of no matching config section.
[     2.745] (II) UnloadModule: "modesetting"
[     2.745] (EE) Screen 0 deleted because of no matching config section.
[     2.745] (II) UnloadModule: "modesetting"
[     2.745] (EE) Device(s) detected, but none match those in the config file.
[     2.745] (EE) 
Fatal server error:
[     2.745] (EE) no screens found(EE) 
[     2.745] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[     2.745] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[     2.745] (EE) 
[     2.745] (EE) Server terminated with error (1). Closing log file.

I am confused as to why the processes for lightdm stopped this time.

Last edited by Biawa (2021-04-14 23:19:14)

Offline

#10 2021-04-15 06:54:16

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,645

Re: [SOLVED] Arch linux install not booting into display manager (lightdm)

Post your xorg config, FWIW for the setup you seem to have in mind I'd personally rather use the config mentioned in: https://wiki.archlinux.org/index.php/NV … phics_only

Offline

#11 2021-04-15 07:28:19

seth
Member
Registered: 2012-09-03
Posts: 50,957

Re: [SOLVED] Arch linux install not booting into display manager (lightdm)

Device(s) detected, but none match those in the config file.

Please post your /etc/X11/xorg.conf but "Inactive Device "nvidia"" doesn't sound a lot like a reverse prime config - please explain in your own words how you intend to use the system.

Edit: I should™ have pressed F5…

Last edited by seth (2021-04-15 07:29:18)

Offline

#12 2021-04-15 07:35:24

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,645

Re: [SOLVED] Arch linux install not booting into display manager (lightdm)

The inactive nvidia seems to be lifted from: https://wiki.archlinux.org/index.php/PR … erse_PRIME though I don't really know the ramifications of doing it that way and it does read weird to me to explicitly disable and then try to use the nvidia card anyway.

Offline

#13 2021-04-15 10:44:14

Biawa
Member
Registered: 2021-04-14
Posts: 10

Re: [SOLVED] Arch linux install not booting into display manager (lightdm)

So I reset my xorg.conf because I'm pretty sure it wasn't good and then followed the advice by V1del to use only the nvidia graphics in the optimus configuration. I also followed a few other recommendations such as this one (at the start of the document). The resulting xorg.conf file that I have reads as follows:

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	Screen      1  "Screen1" RightOf "Screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc"
	FontPath     "/usr/share/fonts/TTF"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1"
	FontPath     "/usr/share/fonts/100dpi"
	FontPath     "/usr/share/fonts/75dpi"
EndSection

Section "Module"
	Load  "glx"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "DVI-D_0"
        DisplaySize  396 345
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

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

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
        ### <percent>: "<f>%"
        ### [arg]: arg optional
        #Option     "SWcursor"           	# [<bool>]
        #Option     "kmsdev"             	# <str>
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "AccelMethod"        	# <str>
        #Option     "PageFlip"           	# [<bool>]
        #Option     "ZaphodHeads"        	# <str>
        #Option     "DoubleShadow"       	# [<bool>]
        #Option     "Atomic"             	# [<bool>]
	Identifier  "Card1"
	Driver      "modesetting"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Card1"
	Monitor    "Monitor1"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

Section "Module"
        Load "modesetting"
EndSection

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

Section "Device"
        Identifier "Screen0"
        Driver "intel"
        BusID "PCI:0:2:0"
EndSection

Section "Device"
        Identifier "Screen1"
        Driver "nouveau"
        BusID "PCI:1:0:0"
EndSection

It is probably quite bad and I'm still reading up on Xorg in the wiki.
Also, if by system you mean OS, then I intend to use it for any purposes it may be capable of. Be that working on tasks, playing games, and browsing the internet.

PS:Maybe worth mentioning as well that any "xrandr" commands give output "The Control Display is undefined", which is probably also a result of bad xorg.conf.

Last edited by Biawa (2021-04-15 10:50:46)

Offline

#14 2021-04-15 10:51:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,645

Re: [SOLVED] Arch linux install not booting into display manager (lightdm)

... And does that actually work? The config I linked to plus the xrandr adjustment for lightdm should be all that's necessary for it to just "work" for the most part, a lot of things in that config don't make sense to me like trying to use nvidia twice once with nouveau and once with the nvidia driver and you'll have two distinct xorg screens that can't be normally interacted with without jumping through a few hoops.

Offline

#15 2021-04-15 10:59:56

Biawa
Member
Registered: 2021-04-14
Posts: 10

Re: [SOLVED] Arch linux install not booting into display manager (lightdm)

Ah, forgot to mention the most important part. Nope, it is still the same, leading to tty. As for having nvidia twice, I mistakenly took that from the xorg page, as I though it would help (but I've deleted it).

I'm currently thinking maybe it'd be a good idea to download optimus-manager, but maybe that just makes things worse.

Last edited by Biawa (2021-04-15 11:01:16)

Offline

#16 2021-04-15 13:08:25

seth
Member
Registered: 2012-09-03
Posts: 50,957

Re: [SOLVED] Arch linux install not booting into display manager (lightdm)

seth wrote:

Do NOT use nvidia-settings or nvidia-xconfig or Xorg -configure to write a static server layout. That's going to fail.

The thing references the nouveau driver but earlier comments suggested that you were using the nvidia blob - which one is it?

Also, if by system you mean OS, then I intend to use it for any purposes it may be capable of.

I mean whether you intend to only use the intel chip and have no interest in the nvididia one (to save battery) or you don't care about battery and want to use the nvidia one all the time or you want to default to the intel one and only invoke the nvidia chip for specific tasks (playing games etc.)

Did you read the optimus page?
And by read I do not mean "I looked at the letters" but whether you understand what is discussed there.

Offline

#17 2021-04-15 13:33:31

Biawa
Member
Registered: 2021-04-14
Posts: 10

Re: [SOLVED] Arch linux install not booting into display manager (lightdm)

From "lspci -v", under the VGA controller section I get "Kernel driver in use: nvidia", so it must be the nvidia blob. (Although nouveau does appear as a kernel module option below) As for usage of chips I think only nvidia would be the way to go (as combined seems more complex) since the laptop is continuously connected to the power supply anyway. I understand what is being described in the Optimus page (and I have followed the steps for the NVIDIA graphics only section), though I don't know exactly what each line in the configuration means.

01:00.0 VGA compatible controller: NVIDIA Corporation TU117M (rev a1) (prog-if 00 [VGA controller])
	Subsystem: Dell Device 09e1
	Flags: bus master, fast devsel, latency 0, IRQ 150
	Memory at 82000000 (32-bit, non-prefetchable) [size=16M]
	Memory at 70000000 (64-bit, prefetchable) [size=256M]
	Memory at 80000000 (64-bit, prefetchable) [size=32M]
	I/O ports at 5000 [size=128]
	Expansion ROM at 83080000 [virtual] [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia

Offline

#18 2021-04-15 14:30:16

seth
Member
Registered: 2012-09-03
Posts: 50,957

Re: [SOLVED] Arch linux install not booting into display manager (lightdm)

as combined seems more complex

Actually it should™ be the zero-effort setup.

If you want to only use the nvidai chip, follow the link V1del posted in #10 - your config is vastly wrong.

Offline

#19 2021-04-15 15:52:15

Biawa
Member
Registered: 2021-04-14
Posts: 10

Re: [SOLVED] Arch linux install not booting into display manager (lightdm)

I have followed that link and the steps in it, but the section on using NVIDIA graphics only does not mention anything about changing xorg.conf itself.
It instructs to add this section: "/etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf", which is configured as shown:

Section "OutputClass"
    Identifier "intel"
    MatchDriver "i915"
    Driver "modesetting"
EndSection

Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    Option "PrimaryGPU" "yes"
    ModulePath "/usr/lib/nvidia/xorg"
    ModulePath "/usr/lib/xorg/modules"
EndSection

I don't have to do anything with xinitrc because I'm using lightdm, so I created "/etc/lightdm/display_setup.sh" (and made it executable), also with the instructed configuration:

#!/bin/sh
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto

as well as adding the required section under [Seat:*] in lightdm.conf.

#
# General configuration
#
# start-default-seat = True to always start one seat if none are defined in the configuration
# greeter-user = User to run greeter as
# minimum-display-number = Minimum display number to use for X servers
# minimum-vt = First VT to run displays on
# lock-memory = True to prevent memory from being paged to disk
# user-authority-in-system-dir = True if session authority should be in the system location
# guest-account-script = Script to be run to setup guest account
# logind-check-graphical = True to on start seats that are marked as graphical by logind
# log-directory = Directory to log information to
# run-directory = Directory to put running state in
# cache-directory = Directory to cache to
# sessions-directory = Directory to find sessions
# remote-sessions-directory = Directory to find remote sessions
# greeters-directory = Directory to find greeters
# backup-logs = True to move add a .old suffix to old log files when opening new ones
# dbus-service = True if LightDM provides a D-Bus service to control it
#
[LightDM]
#start-default-seat=true
#greeter-user=lightdm
#minimum-display-number=0
#minimum-vt=7 # Setting this to a value < 7 implies security issues, see FS#46799
#lock-memory=true
#user-authority-in-system-dir=false
#guest-account-script=guest-account
logind-check-graphical=true
#log-directory=/var/log/lightdm
run-directory=/run/lightdm
#cache-directory=/var/cache/lightdm
#sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions
#remote-sessions-directory=/usr/share/lightdm/remote-sessions
#greeters-directory=$XDG_DATA_DIRS/lightdm/greeters:$XDG_DATA_DIRS/xgreeters
#backup-logs=true
#dbus-service=true

#
# Seat configuration
#
# Seat configuration is matched against the seat name glob in the section, for example:
# [Seat:*] 
# [Seat:seat0] matches the seat named "seat0".
# [Seat:seat-thin-client*] matches all seats that have names that start with "seat-thin-client".
#
# type = Seat type (local, xremote)
# pam-service = PAM service to use for login
# pam-autologin-service = PAM service to use for autologin
# pam-greeter-service = PAM service to use for greeters
# xserver-command = X server command to run (can also contain arguments e.g. X -special-option)
# xmir-command = Xmir server command to run (can also contain arguments e.g. Xmir -special-option)
# xserver-config = Config file to pass to X server
# xserver-layout = Layout to pass to X server
# xserver-allow-tcp = True if TCP/IP connections are allowed to this X server
# xserver-share = True if the X server is shared for both greeter and session
# xserver-hostname = Hostname of X server (only for type=xremote)
# xserver-display-number = Display number of X server (only for type=xremote)
# xdmcp-manager = XDMCP manager to connect to (implies xserver-allow-tcp=true)
# xdmcp-port = XDMCP UDP/IP port to communicate on
# xdmcp-key = Authentication key to use for XDM-AUTHENTICATION-1 (stored in keys.conf)
# greeter-session = Session to load for greeter
# greeter-hide-users = True to hide the user list
# greeter-allow-guest = True if the greeter should show a guest login option
# greeter-show-manual-login = True if the greeter should offer a manual login option
# greeter-show-remote-login = True if the greeter should offer a remote login option
# user-session = Session to load for users
# allow-user-switching = True if allowed to switch users
# allow-guest = True if guest login is allowed
# guest-session = Session to load for guests (overrides user-session)
# session-wrapper = Wrapper script to run session with
# greeter-wrapper = Wrapper script to run greeter with
# guest-wrapper = Wrapper script to run guest sessions with
# display-setup-script = Script to run when starting a greeter session (runs as root)
# display-stopped-script = Script to run after stopping the display server (runs as root)
# greeter-setup-script = Script to run when starting a greeter (runs as root)
# session-setup-script = Script to run when starting a user session (runs as root)
# session-cleanup-script = Script to run when quitting a user session (runs as root)
# autologin-guest = True to log in as guest by default
# autologin-user = User to log in with by default (overrides autologin-guest)
# autologin-user-timeout = Number of seconds to wait before loading default user
# autologin-session = Session to load for automatic login (overrides user-session)
# autologin-in-background = True if autologin session should not be immediately activated
# exit-on-failure = True if the daemon should exit if this seat fails
#
[Seat:*]
display-setup-script=/etc/lightdm/display_setup.sh 
greeter-session=lightdm-gtk-greeter
#type=local
#pam-service=lightdm
#pam-autologin-service=lightdm-autologin
#pam-greeter-service=lightdm-greeter
#xserver-command=X
#xmir-command=Xmir
#xserver-config=
#xserver-layout=
#xserver-allow-tcp=false
#xserver-share=true
#xserver-hostname=
#xserver-display-number=
#xdmcp-manager=
#xdmcp-port=177
#xdmcp-key=
#greeter-session=example-gtk-gnome
#greeter-hide-users=false
#greeter-allow-guest=true
#greeter-show-manual-login=false
#greeter-show-remote-login=true
#user-session=default
#allow-user-switching=true
#allow-guest=true
#guest-session=
session-wrapper=/etc/lightdm/Xsession
#greeter-wrapper=
#guest-wrapper=
#display-setup-script=
#display-stopped-script=
#greeter-setup-script=
#session-setup-script=
#session-cleanup-script=
#autologin-guest=false
#autologin-user=
#autologin-user-timeout=0
#autologin-in-background=false
#autologin-session=
#exit-on-failure=false

#
# XDMCP Server configuration
#
# enabled = True if XDMCP connections should be allowed
# port = UDP/IP port to listen for connections on
# listen-address = Host/address to listen for XDMCP connections (use all addresses if not present)
# key = Authentication key to use for XDM-AUTHENTICATION-1 or blank to not use authentication (stored in keys.conf)
# hostname = Hostname to report to XDMCP clients (defaults to system hostname if unset)
#
# The authentication key is a 56 bit DES key specified in hex as 0xnnnnnnnnnnnnnn.  Alternatively
# it can be a word and the first 7 characters are used as the key.
#
[XDMCPServer]
#enabled=false
#port=177
#listen-address=
#key=
#hostname=

#
# VNC Server configuration
#
# enabled = True if VNC connections should be allowed
# command = Command to run Xvnc server with
# port = TCP/IP port to listen for connections on
# listen-address = Host/address to listen for VNC connections (use all addresses if not present)
# width = Width of display to use
# height = Height of display to use
# depth = Color depth of display to use
#
[VNCServer]
#enabled=false
#command=Xvnc
#port=5900
#listen-address=
#width=1024
#height=768
#depth=8

On the other hand, in which direction should I go to 'fix' my xorg.conf file?

Edit: just in case it isn't clear, I'm still booting to tty.

Last edited by Biawa (2021-04-15 15:53:35)

Offline

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

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,645

Re: [SOLVED] Arch linux install not booting into display manager (lightdm)

Remove it. The snippet in the article is the only thing you need.

Offline

#21 2021-04-15 16:52:36

Biawa
Member
Registered: 2021-04-14
Posts: 10

Re: [SOLVED] Arch linux install not booting into display manager (lightdm)

Thank you so much!!! I have finally accessed the lightdm greeter instead of tty! smile
For anyone else viewing this post, I just removed everything in the xorg.conf file after all the steps prior.
I'll mark this as solved.

Offline

Board footer

Powered by FluxBB