Multiseat-setup broken by 10-amdgpu-nvidia-drm-outputclass.conf

I do have a multiseat-setup with 2 Monitors, mice and keyboards running for a long time. From time to time it broke with different reasons. In had to change driver, or the configs … but the it did work again for a while.

Now it is broken again after the last updates. On boot lightdm wont start on both seats, but only on one seat. Today it took lightdm more then 10 tries to get this one seat up.
maybe this is related too

inxi -Fza                                                                                                                                                                                                                               [127]
System:    Kernel: 5.10.32-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
           parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.10-x86_64 root=UUID=3487ba3d-1cba-4cdc-a043-c420ebca2aca rw 
           rootflags=subvol=@ bootsplash.bootfile=bootsplash-themes/manjaro/bootsplash modprobe.blacklist=ccp 
           udev.log_priority=3 audit=0 sysrq_always_enabled=1 
           Desktop: Xfce 4.16.0 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm4 dm: LightDM 1.30.0 Distro: Manjaro Linux 
           base: Arch Linux 
Machine:   Type: Desktop Mobo: ASRock model: B450 Pro4 serial: <filter> UEFI: American Megatrends v: P1.10 date: 06/19/2018 
Battery:   Device-1: hidpp_battery_0 model: Logitech K520 serial: <filter> charge: 70% (should be ignored) rechargeable: yes 
           status: Discharging 
           Device-2: hidpp_battery_1 model: Logitech M310 serial: <filter> charge: 55% (should be ignored) rechargeable: yes 
           status: Discharging 
CPU:       Info: 8-Core model: AMD Ryzen 7 2700 socket: AM4 bits: 64 type: MT MCP arch: Zen+ family: 17 (23) model-id: 8 
           stepping: 2 microcode: 800820D cache: L1: 768 KiB L2: 4 MiB L3: 16 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 102193 
           Speed: 1556 MHz min/max: 1550/3200 MHz base/boost: 3200/4100 boost: enabled volts: 1.0 V ext-clock: 100 MHz 
           Core speeds (MHz): 1: 1556 2: 1556 3: 1557 4: 1552 5: 1554 6: 1557 7: 4070 8: 3940 9: 4077 10: 4018 11: 1556 
           12: 1548 13: 1787 14: 1565 15: 1541 16: 1557 
           Vulnerabilities: Type: itlb_multihit status: Not affected 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: disabled, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: NVIDIA GK107 [GeForce GT 740] vendor: eVga.com. driver: nouveau v: kernel bus-ID: 01:00.0 
           chip-ID: 10de:0fc8 class-ID: 0300 
           Device-2: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: Gigabyte driver: nouveau v: kernel bus-ID: 27:00.0 
           chip-ID: 10de:1c82 class-ID: 0300 
           Device-3: Logitech C922 Pro Stream Webcam type: USB driver: snd-usb-audio,uvcvideo bus-ID: 1-6.1:5 
           chip-ID: 046d:085c class-ID: 0102 serial: <filter> 
           Display: server: X.org 1.20.11 driver: loaded: nouveau unloaded: modesetting alternate: fbdev,nv,vesa 
           resolution: <missing: xdpyinfo> 
           OpenGL: renderer: NV137 v: 4.3 Mesa 21.0.3 direct render: Yes 
Audio:     Device-1: NVIDIA GK107 HDMI Audio vendor: eVga.com. driver: snd_hda_intel v: kernel bus-ID: 01:00.1 
           chip-ID: 10de:0e1b class-ID: 0403 
           Device-2: NVIDIA GP107GL High Definition Audio vendor: Gigabyte driver: snd_hda_intel v: kernel bus-ID: 27:00.1 
           chip-ID: 10de:0fb9 class-ID: 0403 
           Device-3: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: ASRock driver: snd_hda_intel v: kernel 
           bus-ID: 29:00.3 chip-ID: 1022:1457 class-ID: 0403 
           Device-4: Logitech C922 Pro Stream Webcam type: USB driver: snd-usb-audio,uvcvideo bus-ID: 1-6.1:5 
           chip-ID: 046d:085c class-ID: 0102 serial: <filter> 
           Sound Server-1: ALSA v: k5.10.32-1-MANJARO running: yes 
           Sound Server-2: JACK v: 0.125.0 running: no 
           Sound Server-3: PulseAudio v: 14.2 running: no 
           Sound Server-4: PipeWire v: 0.3.26 running: yes 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASRock driver: r8169 v: kernel port: c000 
           bus-ID: 25:00.0 chip-ID: 10ec:8168 class-ID: 0200 
           IF: enp37s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Bluetooth: Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB driver: btusb v: 0.8 bus-ID: 1-6.2:6 
           chip-ID: 0a12:0001 class-ID: e001 
           Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter> 
Drives:    Local Storage: total: 3.35 TiB used: 468.76 GiB (13.6%) 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: A-Data model: SX8200PNP size: 1.86 TiB block-size: physical: 512 B 
           logical: 512 B speed: 31.6 Gb/s lanes: 4 rotation: SSD serial: <filter> rev: 42AZS6AC temp: 39.9 C scheme: GPT 
           SMART: yes health: PASSED on: 23d 5h cycles: 34 read-units: 440,651 [225 GB] written-units: 4,207,666 [2.15 TB] 
           ID-2: /dev/sda maj-min: 8:0 vendor: SanDisk model: SDSSDH31000G family: Marvell based SSDs size: 931.51 GiB 
           block-size: physical: 512 B logical: 512 B sata: 3.3 speed: 6.0 Gb/s rotation: SSD serial: <filter> rev: 10RL 
           temp: 33 C scheme: GPT 
           SMART: yes state: enabled health: PASSED on: 1y 178d 1h cycles: 898 
           ID-3: /dev/sdb maj-min: 8:16 vendor: A-Data model: SP610 size: 476.94 GiB block-size: physical: 512 B 
           logical: 512 B sata: 3.1 speed: 6.0 Gb/s rotation: SSD serial: <filter> rev: 2C temp: 36 C scheme: GPT 
           SMART: yes state: enabled health: PASSED on: 37d 18h cycles: 2595 read: 360.8 MiB written: 504.1 MiB Old-Age: 
           UDMA CRC errors: 446 
           ID-4: /dev/sdc maj-min: 8:32 vendor: A-Data model: SX900 size: 119.24 GiB block-size: physical: 512 B 
           logical: 512 B sata: 3.0 speed: 6.0 Gb/s rotation: SSD serial: <filter> rev: 7a temp: 39 C scheme: GPT 
           SMART: yes state: enabled health: PASSED on: 2y 235d 0h cycles: 2814 read: 4.2 MiB written: 2.3 MiB 
Partition: ID-1: / raw-size: 900 GiB size: 900 GiB (100.00%) used: 468.76 GiB (52.1%) fs: btrfs block-size: 4096 B 
           dev: /dev/sda2 maj-min: 8:2 
           ID-2: /boot/efi raw-size: 953 MiB size: 951.1 MiB (99.80%) used: 564 KiB (0.1%) fs: vfat block-size: 512 B 
           dev: /dev/sda1 maj-min: 8:1 
           ID-3: /home raw-size: 900 GiB size: 900 GiB (100.00%) used: 468.76 GiB (52.1%) fs: btrfs block-size: 4096 B 
           dev: /dev/sda2 maj-min: 8:2 
Swap:      Alert: No swap data was found. 
Sensors:   System Temperatures: cpu: 41.0 C mobo: 0 C 
           Fan Speeds (RPM): N/A 
           GPU: device: nouveau temp: 40.0 C mV: 975.00 device: nouveau temp: 59.0 C fan: 0 
Info:      Processes: 378 Uptime: 37m wakeups: 6 Memory: 47.06 GiB used: 9.59 GiB (20.4%) Init: systemd v: 247 tool: systemctl 
           Compilers: gcc: 10.2.0 clang: 11.1.0 Packages: pacman: 2040 lib: 451 Shell: Zsh (su) v: 5.8 
           running-in: xfce4-terminal inxi: 3.3.04 

nowadays i do use kernel 5.10.
2020 i did use 4.19.
5.11 is only for emergency’s

mhwd-kernel -li                                                                                                                                                                                                                              
Currently running: 5.10.32-1-MANJARO (linux510)
The following kernels are installed in your system:
   * linux419
   * linux510
   * linux511
 ls -lA /etc/mkinitcpio.d/*.preset                                                                                                                                                                                                            
-rw-r--r-- 1 root root 396 19. Nov 2019  /etc/mkinitcpio.d/linux419.preset
-rw-r--r-- 1 root root 396  1. Jan 14:15 /etc/mkinitcpio.d/linux510.preset
-rw-r--r-- 1 root root 396 28. Feb 17:17 /etc/mkinitcpio.d/linux511.preset
 sudo journalctl -b0 -g lightdm|egrep 'Mai'                                                                                                           [127]
Mai 01 13:11:30 manjaro18 dbus-daemon[781]: [system] Activating via systemd: service name='org.freedesktop.Accounts' unit='accounts-daemon.service' requested by ':1.10' (uid=0 pid=838 comm="/usr/bin/lightdm ")
Mai 01 13:11:32 manjaro18 systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mai 01 13:11:32 manjaro18 systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mai 01 13:11:32 manjaro18 systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 1.
Mai 01 13:11:35 manjaro18 systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mai 01 13:11:35 manjaro18 systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mai 01 13:11:35 manjaro18 systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 2.
Mai 01 13:11:38 manjaro18 systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mai 01 13:11:38 manjaro18 systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mai 01 13:11:38 manjaro18 systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 3.
Mai 01 13:11:41 manjaro18 systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mai 01 13:11:41 manjaro18 systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mai 01 13:11:41 manjaro18 systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 4.
Mai 01 13:11:43 manjaro18 lightdm[1425]: pam_unix(lightdm-greeter:session): session opened for user lightdm(uid=620) by (uid=0)
Mai 01 13:11:43 manjaro18 systemd-logind[790]: New session c1 of user lightdm.
Mai 01 13:11:43 manjaro18 systemd[1430]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8002 service=[systemd-user] terminal=[] user=[lightdm] ruser=[<unknown>] rhost=[<unknown>]
Mai 01 13:11:43 manjaro18 systemd[1430]: pam_unix(systemd-user:session): session opened for user lightdm(uid=620) by (uid=0)
Mai 01 13:11:43 manjaro18 systemd[1]: Started Session c1 of user lightdm.
Mai 01 13:11:44 manjaro18 dbus-daemon[1484]: [session uid=620 pid=1484] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.0' (uid=620 pid=1443 comm="/usr/bin/lightdm-gtk-greeter ")
Mai 01 13:11:44 manjaro18 dbus-daemon[1484]: [session uid=620 pid=1484] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.3' (uid=620 pid=1443 comm="/usr/bin/lightdm-gtk-greeter ")
Mai 01 13:11:44 manjaro18 polkitd[787]: <no filename>:4: subject=[Subject pid=1443 user='lightdm' groups=lightdm seat='seat0' session='c1' local=true active=true]
Mai 01 13:11:44 manjaro18 polkitd[787]: <no filename>:4: subject=[Subject pid=1443 user='lightdm' groups=lightdm seat='seat0' session='c1' local=true active=true]
Mai 01 13:11:44 manjaro18 polkitd[787]: <no filename>:4: subject=[Subject pid=1443 user='lightdm' groups=lightdm seat='seat0' session='c1' local=true active=true]
Mai 01 13:11:44 manjaro18 polkitd[787]: <no filename>:4: subject=[Subject pid=1443 user='lightdm' groups=lightdm seat='seat0' session='c1' local=true active=true]
Mai 01 13:11:44 manjaro18 at-spi-bus-launcher[1491]: dbus-daemon[1491]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=620 pid=1443 comm="/usr/bin/lightdm-gtk-greeter ")
Mai 01 13:11:44 manjaro18 systemd[1]: Stopping Session c1 of user lightdm.
Mai 01 13:11:45 manjaro18 lightdm[1425]: pam_unix(lightdm-greeter:session): session closed for user lightdm
Mai 01 13:11:45 manjaro18 systemd[1]: Stopped Session c1 of user lightdm.
Mai 01 13:11:47 manjaro18 systemd[1]: lightdm.service: Succeeded.
Mai 01 13:11:48 manjaro18 systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 5.
Mai 01 13:11:50 manjaro18 systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mai 01 13:11:50 manjaro18 systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mai 01 13:11:51 manjaro18 systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 6.
Mai 01 13:11:53 manjaro18 systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mai 01 13:11:53 manjaro18 systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mai 01 13:11:54 manjaro18 systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 7.
Mai 01 13:11:56 manjaro18 systemd[1434]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8004 service=[systemd-user] terminal=[] user=[lightdm] ruser=[<unknown>] rhost=[<unknown>]
Mai 01 13:11:56 manjaro18 systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mai 01 13:11:56 manjaro18 systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mai 01 13:11:57 manjaro18 systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 8.
Mai 01 13:11:59 manjaro18 systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mai 01 13:11:59 manjaro18 systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mai 01 13:12:00 manjaro18 systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 9.
Mai 01 13:12:03 manjaro18 systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mai 01 13:12:03 manjaro18 systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mai 01 13:12:03 manjaro18 systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 10.
Mai 01 13:12:04 manjaro18 lightdm[1670]: pam_unix(lightdm-greeter:session): session opened for user lightdm(uid=620) by (uid=0)
Mai 01 13:12:04 manjaro18 systemd-logind[790]: New session c2 of user lightdm.
Mai 01 13:12:04 manjaro18 systemd[1675]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8002 service=[systemd-user] terminal=[] user=[lightdm] ruser=[<unknown>] rhost=[<unknown>]
Mai 01 13:12:04 manjaro18 systemd[1675]: pam_unix(systemd-user:session): session opened for user lightdm(uid=620) by (uid=0)
Mai 01 13:12:05 manjaro18 systemd[1]: Started Session c2 of user lightdm.
Mai 01 13:12:05 manjaro18 dbus-daemon[1729]: [session uid=620 pid=1729] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.1' (uid=620 pid=1691 comm="/usr/bin/lightdm-gtk-greeter ")
Mai 01 13:12:05 manjaro18 dbus-daemon[1729]: [session uid=620 pid=1729] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.3' (uid=620 pid=1691 comm="/usr/bin/lightdm-gtk-greeter ")
Mai 01 13:12:05 manjaro18 polkitd[787]: <no filename>:4: subject=[Subject pid=1691 user='lightdm' groups=lightdm seat='seat0' session='c2' local=true active=true]
Mai 01 13:12:05 manjaro18 polkitd[787]: <no filename>:4: subject=[Subject pid=1691 user='lightdm' groups=lightdm seat='seat0' session='c2' local=true active=true]
Mai 01 13:12:05 manjaro18 polkitd[787]: <no filename>:4: subject=[Subject pid=1691 user='lightdm' groups=lightdm seat='seat0' session='c2' local=true active=true]
Mai 01 13:12:05 manjaro18 polkitd[787]: <no filename>:4: subject=[Subject pid=1691 user='lightdm' groups=lightdm seat='seat0' session='c2' local=true active=true]
Mai 01 13:12:05 manjaro18 at-spi-bus-launcher[1736]: dbus-daemon[1736]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=620 pid=1691 comm="/usr/bin/lightdm-gtk-greeter ")
Mai 01 13:12:14 manjaro18 dbus-daemon[781]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.83' (uid=0 pid=1759 comm="lightdm --session-child 12 19 ")
Mai 01 13:12:14 manjaro18 lightdm[1759]: pam_systemd_home(lightdm:account): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Mai 01 13:12:14 manjaro18 systemd[1]: Stopping Session c2 of user lightdm.
Mai 01 13:12:14 manjaro18 lightdm[1670]: pam_unix(lightdm-greeter:session): session closed for user lightdm
Mai 01 13:12:14 manjaro18 systemd[1]: Stopped Session c2 of user lightdm.
Mai 01 13:12:14 manjaro18 lightdm[1759]: pam_unix(lightdm:session): session opened for user andreas(uid=1000) by (uid=0)
Mai 01 13:12:14 manjaro18 lightdm[1759]: pam_env(lightdm:session): deprecated reading of user environment enabled
Mai 01 13:12:24 manjaro18 systemd[1680]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8004 service=[systemd-user] terminal=[] user=[lightdm] ruser=[<unknown>] rhost=[<unknown>]
Mai 01 13:27:17 manjaro18 dbus-daemon[781]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.123' (uid=0 pid=23217 comm="sudo journalctl -b0 -g lightdm ")
Mai 01 13:27:17 manjaro18 sudo[23217]:  andreas : TTY=pts/0 ; PWD=/home/andreas/Schreibtisch ; USER=root ; COMMAND=/usr/bin/journalctl -b0 -g lightdm
Mai 01 13:38:30 manjaro18 dbus-daemon[781]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.124' (uid=0 pid=24849 comm="sudo journalctl -b0 -g lightdm ")
Mai 01 13:38:30 manjaro18 sudo[24849]:  andreas : TTY=pts/0 ; PWD=/home/andreas/Schreibtisch ; USER=root ; COMMAND=/usr/bin/journalctl -b0 -g lightdm
Mai 01 13:38:59 manjaro18 dbus-daemon[781]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.125' (uid=0 pid=24942 comm="sudo journalctl -b0 -g lightdm ")
Mai 01 13:38:59 manjaro18 sudo[24942]:  andreas : TTY=pts/0 ; PWD=/home/andreas/Schreibtisch ; USER=root ; COMMAND=/usr/bin/journalctl -b0 -g lightdm
Mai 01 13:39:19 manjaro18 dbus-daemon[781]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.127' (uid=0 pid=25012 comm="sudo journalctl -b0 -g lightdm ")
Mai 01 13:39:19 manjaro18 sudo[25012]:  andreas : TTY=pts/0 ; PWD=/home/andreas/Schreibtisch ; USER=root ; COMMAND=/usr/bin/journalctl -b0 -g lightdm

The behavior is strange:
lightdm tries several times to start. in some cases even the login-dialog apears for a few seconds, and then disapears again. After 5 … 15 tries, lightdm succeeds, and the login-dialog stays on screen. then i can login.

But meanwhile the second seat does nothing any more.

On this boot it did work again , but i do not know why :thinking: What i did (maybe this helps someone):

  • i looked after 6 .pacnew files in /etc/** and merged them

  • i changed a line in mkinitcpio.conf and executed sudo mkinitcpio -P

     #MODULES=(btrfs nouveau)
     MODULES=(btrfs)

Is not something Manjaro provides by default, and due to the use of MHWD, the /etc/X11/mhwd.d/nvidia.conf might have changed back to default since you removed drivers than installed them back again … and now you are using the nouveau drivers, that are known to give some issues, and has no config file …

So, please address the wiki
https://wiki.archlinux.org/index.php/xorg_multiseat

Or you are talking about multihead setup?
https://wiki.archlinux.org/index.php/multihead

1 Like

Thank you for responding so fast.

Maybe i did solve it in the last minutes. But only the next 10 days will prove.

Multiseat is indeed (mostly) not supported. Anyway, over the last years i had 2 seats working with 2 cards and 2-3 monitors of different size, with 2 mice and keyboards, with sound from sound card, Monitor, headphone … This all does work. But it needs a lot of maintenance.

Since i work with manjaro, btrfs and snapper do help to keep it running.

Nowadays there are no config files any more, but it is possible to config multiseat with loginctl

With the change to kernel 5.10 the numbering of PCI-devices seems to have changed. This naturally broke the multiseat-setup because loginctl does create its persistence with udev-rules. But these relied on the numbering of pci :roll_eyes:. So i had to redo all loginctl attatches when i switched to 5.10.

The arch-wiki on multiseat is a great resource, but some things change faster than the info there. Multiseat depends on a lot of parts. If one of them changes …

1 Like

This did work until today (for 5 days) :face_with_thermometer:
Yesterday i did update manjaro as i ususaly do. (This may be relatet or not.)

Today i could not boot into XFCE. Again lightdm refused to start.

systemctl status lightdm.service                                                                                                                         
● lightdm.service - Light Display Manager
     Loaded: loaded (/usr/lib/systemd/system/lightdm.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Fri 2021-05-07 08:44:30 CEST; 4h 49min ago
       Docs: man:lightdm(1)
    Process: 1216 ExecStart=/usr/bin/lightdm (code=exited, status=1/FAILURE)
   Main PID: 1216 (code=exited, status=1/FAILURE)

Mai 07 08:44:30 manjaro18 systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 5.
Mai 07 08:44:30 manjaro18 systemd[1]: Stopped Light Display Manager.
Mai 07 08:44:30 manjaro18 systemd[1]: lightdm.service: Start request repeated too quickly.
Mai 07 08:44:30 manjaro18 systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mai 07 08:44:30 manjaro18 systemd[1]: Failed to start Light Display Manager.

i looked into the log files:

 journalctl -b0 -g lightdm                                                                                                                        [3]
-- Journal begins at Fri 2021-05-07 08:10:39 CEST, ends at Fri 2021-05-07 13:35:52 CEST. --
Mai 07 08:44:29 manjaro18 dbus-daemon[742]: [system] Activating via systemd: service name='org.freedesktop.Accounts' unit='accounts-daemon.service' requested by ':1.10' >
Mai 07 08:44:29 manjaro18 systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mai 07 08:44:29 manjaro18 systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mai 07 08:44:29 manjaro18 systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 1.
Mai 07 08:44:29 manjaro18 systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mai 07 08:44:29 manjaro18 systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mai 07 08:44:29 manjaro18 systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 2.
Mai 07 08:44:29 manjaro18 systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mai 07 08:44:29 manjaro18 systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mai 07 08:44:29 manjaro18 systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 3.
Mai 07 08:44:29 manjaro18 systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mai 07 08:44:29 manjaro18 systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mai 07 08:44:30 manjaro18 systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 4.
Mai 07 08:44:30 manjaro18 systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
Mai 07 08:44:30 manjaro18 systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mai 07 08:44:30 manjaro18 systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 5.
Mai 07 08:44:30 manjaro18 systemd[1]: lightdm.service: Start request repeated too quickly.
Mai 07 08:44:30 manjaro18 systemd[1]: lightdm.service: Failed with result 'exit-code'.
Mai 07 13:35:52 manjaro18 dbus-daemon[742]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by >
Mai 07 13:35:52 manjaro18 sudo[64562]:  andreas : TTY=pts/0 ; PWD=/home/andreas/Schreibtisch ; USER=root ; COMMAND=/usr/bin/journalctl -b0 -g lightdm
lines 1-21/21 (END)

lightdm tried 5 times. but did not succeed. The logfile of lightdm says:

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.30.0, UID=0 PID=1186
[+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: Loading properties from config section Seat:seat0
[+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 1192: /usr/bin/X :0 vt8 -novtswitch :0 -layout seat0 -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/User1001 added
[+0.01s] DEBUG: User /org/freedesktop/Accounts/User1002 added
[+0.01s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.01s] DEBUG: User /org/freedesktop/Accounts/User1003 added
[+0.01s] DEBUG: Process 1192 exited with return value 1
[+0.01s] DEBUG: XServer 0: X server stopped
[+0.01s] DEBUG: Releasing VT 7
[+0.01s] DEBUG: XServer 0: Removing X server authority /run/lightdm/root/:0
[+0.01s] DEBUG: Seat seat0: Display server stopped
[+0.01s] DEBUG: Seat seat0: Stopping session
[+0.01s] DEBUG: Seat seat0: Session stopped
[+0.01s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+0.01s] DEBUG: Seat seat0: Stopping; greeter display server failed to start
[+0.01s] DEBUG: Seat seat0: Stopping
[+0.01s] DEBUG: Seat seat0: Stopped
[+0.01s] DEBUG: Required seat has stopped
[+0.01s] DEBUG: Stopping display manager
[+0.01s] DEBUG: Display manager stopped
[+0.01s] DEBUG: Stopping daemon
[+0.02s] DEBUG: Exiting with return value 1

so it seems x11 did exit with an error. The logfile says:

X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: Linux Manjaro Linux
Current Operating System: Linux manjaro18 5.10.34-1-MANJARO #1 SMP Sun May 2 11:29:56 UTC 2021 x86_64
Kernel command line: BOOT_IMAGE=/@/boot/vmlinuz-5.10-x86_64 root=UUID=3487ba3d-1cba-4cdc-a043-c420ebca2aca rw rootflags=subvol=@ bootsplash.bootfile=bootsplash-themes/manjaro/bootsplash modprobe.blacklist=ccp udev.log_priority=3 audit=0 sysrq_always_enabled=1
Build Date: 13 April 2021  04:11:08PM
 
Current version of pixman: 0.40.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri May  7 13:50:02 2021
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) 
Fatal server error:
(EE) no screens found(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.

and Xorg.0.log says:

                                                                                                         [130]
[    10.495] 
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[    10.495] Build Operating System: Linux Manjaro Linux
[    10.495] Current Operating System: Linux manjaro18 5.10.34-1-MANJARO #1 SMP Sun May 2 11:29:56 UTC 2021 x86_64
[    10.495] Kernel command line: BOOT_IMAGE=/@/boot/vmlinuz-5.10-x86_64 root=UUID=3487ba3d-1cba-4cdc-a043-c420ebca2aca rw rootflags=subvol=@ bootsplash.bootfile=bootsplash-themes/manjaro/bootsplash modprobe.blacklist=ccp udev.log_priority=3 audit=0 sysrq_always_enabled=1
[    10.495] Build Date: 13 April 2021  04:11:08PM
[    10.495]  
[    10.495] Current version of pixman: 0.40.0
[    10.495] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    10.495] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    10.495] (==) Log file: "/var/log/Xorg.0.log", Time: Fri May  7 13:50:02 2021
[    10.495] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    10.495] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    10.495] (EE) No ServerLayout section called "seat0"
[    10.495] (EE) Unable to determine the screen layout
[    10.495] (EE) Error parsing the config file
[    10.495] (EE) 
Fatal server error:
[    10.495] (EE) no screens found(EE) 
[    10.495] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    10.495] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    10.495] (EE) 
[    10.495] (EE) Server terminated with error (1). Closing log file.

THEN i log into VT2 and try to start lightdm, but it wont start
I tried to startx.

startx did work (but only with one seat)
reverting back to the last snapshot will work, but wont solve the problem. I did this a few times, but then after some time i have additional the problem to be far from the last manjaro-stable-update-path. (this is a path to disaster :wink: )

So should i trie to create new config files ? (In the last year or so, it did work without config files)

Today i found the SOURCE of the problem !
A few days ago 2 new files where introduced by an update. These files are in /usr/share/X11/xorg.conf.d :

 ls -la /usr/share/X11/xorg.conf.d/*.con*                                                                                                        
-rw-r--r-- 1 root root   92 19. Mai 2020  /usr/share/X11/xorg.conf.d/10-amdgpu.conf
-rw-r--r-- 1 root root  424 23. Apr 14:17 /usr/share/X11/xorg.conf.d/10-amdgpu-nvidia-drm-outputclass.conf
-rw-r--r-- 1 root root 1099 16. Mai 2020  /usr/share/X11/xorg.conf.d/10-evdev.conf
-rw-r--r-- 1 root root  426 23. Apr 14:17 /usr/share/X11/xorg.conf.d/10-intel-nvidia-drm-outputclass.conf
-rw-r--r-- 1 root root 1350 13. Apr 18:11 /usr/share/X11/xorg.conf.d/10-quirks.conf
-rw-r--r-- 1 root root   92 16. Mai 2020  /usr/share/X11/xorg.conf.d/10-radeon.conf
-rw-r--r-- 1 root root 1429 16. Apr 07:55 /usr/share/X11/xorg.conf.d/40-libinput.conf

the new files are 10-amdgpu-nvidia-drm-outputclass.conf and 10-intel-nvidia-drm-outputclass.conf

I did rename these 2 files to .conx instead of .conf
Now if I reboot, lightdm works, and both seats do work again.

What happened ?
The error-message of Xorg.0.log says:

[ 10.495] (EE) No ServerLayout section called "seat0"

When there is no config-file using any Section “ServerLayout” the automatic seat-management works with the seats defined within loginctl . How to multiseat in Manjaro

But when there is a .conf - file with an Section “ServerLayout”, xorg will use only these layouts. In the file 10-amdgpu-nvidia-drm-outputclass.conf is a section defining “layout”.

So this prevents xorg to use the layout “seat0”. No ServerLayout section called "seat0"

cat /usr/share/X11/xorg.conf.d/10-amdgpu-nvidia-drm-outputclass.conx                                                                       [130]
Section "ServerLayout"
    Identifier "layout"
    Option "AllowNVIDIAGPUScreens"
EndSection

Section "OutputClass"
    Identifier "AMDgpu"
    MatchDriver "amdgpu"
    Driver "amdgpu"
EndSection

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

by renaming the 2 config-files to .conx, xorg will ignore them and will automagicaly use seat0 and seat1 defined by loginctl.
All you have to do:

sudo mv /usr/share/X11/xorg.conf.d/10-amdgpu-nvidia-drm-outputclass.conf /usr/share/X11/xorg.conf.d/10-amdgpu-nvidia-drm-outputclass.conx       
sudo mv /usr/share/X11/xorg.conf.d/10-intel-nvidia-drm-outputclass.conf /usr/share/X11/xorg.conf.d/10-intel-nvidia-drm-outputclass.conx

P.S. renaming these files does help temporarily. But with the next update they may reapear. Better seems to : 2nd try

3 Likes

I did solve my problem. But i do think this is an Error “upstream” introduced by 2 new hidden configfiles with an Section “ServerLayout”. I think this will break every multiseat-setup using loginctl (like suggested in arch-wiki) @philm
How do i inform the author of the files of the unwanted consequences of his work ?

another related problem

Now this does work good with Kernel 5.12. But when booting with kernel 5.10 lightdm does not start. :thinking:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.