EndeavourOS Sway no video on login

Today my installation of the Sway edition of EndeavourOS stopped showing anything after login. I was able to use the display manager just fine, but after that my monitor reported that there was no signal. I can still use EndeavourOS by booting in run level 3 and manually running Sway. My timeshift snapshots all got deleted for some reason so I cannot restore to a prior working state. Is there a good way to solve this or will I have to re-install EndeavourOS?

Edit: I forgot to mention that the only system-related thing that I did yesterday was installing updates, which I suspect may have contributed to my problem.

1 Like

Worth checking:

1 Like

This didn’t work for me, but I appreciate your help nonetheless. No packages updated when I tried the first thing. And I do not have dkms installed. I also can’t seem to enter a TTY without changing the run level in GRUB to 3. However I can run sway after I do that. Also my computer can boot to the display manager just fine. It’s just that after I log in, my monitor says that there’s no signal.

Which DM are you using?

This:

seems odd, and the fact that

indicates Sway and your profile/desktop settings are fine (though I’m not sure how you ran sway from a terminal - it’s not like startx…?)

This suggests it doesn’t recognise your monitor, or it’s misconfigured. However, if it works from a TTY then it suggests your DM is at fault.

Which, I think is included in the post I linked to (under “The second thing to try”), so

is not quite accurate. :wink:

1 Like

I use the default for the Sway edition of EndeavourOS, which I think is lightdm. Also, I ran sway by just running the command sway in a TTY. When I said “this didn’t work for me” I meant that what you linked did not completely solve my problem, although I think in saying that, I ignored that information was still gleaned from being able to run sway from a TTY.

Edit: I’m a dummy. I can actually access a TTY without changing the run level. I was accidentally using the wrong key combination for doing so.

2 Likes

Next question: what else changed? Did change any configuration, or update any any packages (check /var/log/pacman.log)?

3 Likes

I’m experiencing the same problem. I’m glad @Anomalocaris did not have to change the run level because I did not have to either. My problems started after performing a system update on friday. After logging in with lightdm I get a black screen on my laptop. After some time the system shows me the lightdm login screen again.

The linked troubleshooting guide unfortunately didn’t solve my problem. Updating pacman mirrors and running the update didn’t install any different packages. startx is not available, but I managed to start sway by executing sway. dkms wasn’t installed either. After installing it and running sudo dkms autoinstall the program terminates without output.

My /var/log/pacman.log for the time of the update time looks as follows

[2021-10-21T17:50:40+0200] [PACMAN] Running ‘pacman -S --config /etc/pacman.conf – extra/networkmanager-vpnc’
[2021-10-21T17:50:42+0200] [ALPM] transaction started
[2021-10-21T17:50:42+0200] [ALPM] installed networkmanager-vpnc (1.2.7dev+20+gdca3aea-2)
[2021-10-21T17:50:42+0200] [ALPM] transaction completed
[2021-10-21T17:50:42+0200] [ALPM] running ‘30-systemd-update.hook’…
[2021-10-21T17:50:42+0200] [ALPM] running ‘dbus-reload.hook’…
[2021-10-21T19:59:28+0200] [PACMAN] Running ‘pacman -S --config /etc/pacman.conf – extra/perl-locale-gettext extra/help2man’
[2021-10-21T19:59:30+0200] [ALPM] transaction started
[2021-10-21T19:59:30+0200] [ALPM] installed perl-locale-gettext (1.07-11)
[2021-10-21T19:59:30+0200] [ALPM] installed help2man (1.48.5-1)
[2021-10-21T19:59:30+0200] [ALPM] transaction completed
[2021-10-21T19:59:30+0200] [ALPM] running ‘30-systemd-update.hook’…
[2021-10-21T19:59:30+0200] [ALPM] running ‘detect-old-perl-modules.hook’…
[2021-10-21T19:59:30+0200] [ALPM] running ‘texinfo-install.hook’…
[2021-10-21T19:59:30+0200] [PACMAN] Running ‘pacman -D -q --asdeps --config /etc/pacman.conf – perl-locale-gettext help2man’
[2021-10-21T19:59:43+0200] [PACMAN] Running ‘pacman -U --noconfirm --config /etc/pacman.conf – /home/jonas/.cache/yay/preload/preload-0.6.4-7-any.pkg.tar.zst’
[2021-10-21T19:59:43+0200] [ALPM] transaction started
[2021-10-21T19:59:43+0200] [ALPM] installed preload (0.6.4-7)
[2021-10-21T19:59:43+0200] [ALPM] transaction completed
[2021-10-21T19:59:43+0200] [ALPM] running ‘30-systemd-daemon-reload.hook’…
[2021-10-21T19:59:43+0200] [ALPM] running ‘30-systemd-update.hook’…
[2021-10-22T00:11:27+0200] [PACMAN] Running ‘pacman -S -u -y --config /etc/pacman.conf --’
[2021-10-22T00:11:27+0200] [PACMAN] synchronizing package lists
[2021-10-22T00:11:31+0200] [PACMAN] starting full system upgrade
[2021-10-22T00:13:18+0200] [ALPM] running ‘60-mkinitcpio-remove.hook’…
[2021-10-22T00:13:18+0200] [ALPM] running ‘ghc-unregister.hook’…
[2021-10-22T00:13:18+0200] [ALPM] transaction started
[2021-10-22T00:13:18+0200] [ALPM] removed python-sgmllib (5.2.1-9)
[2021-10-22T00:13:18+0200] [ALPM] upgraded libffi (3.3-4 → 3.4.2-4)
[2021-10-22T00:13:18+0200] [ALPM] upgraded libp11-kit (0.24.0-1 → 0.24.0-2)
[2021-10-22T00:13:18+0200] [ALPM] upgraded systemd-libs (249.5-1 → 249.5-2)
[2021-10-22T00:13:18+0200] [ALPM] upgraded p11-kit (0.24.0-1 → 0.24.0-2)
[2021-10-22T00:13:18+0200] [ALPM] upgraded file (5.40-6 → 5.41-1)
[2021-10-22T00:13:19+0200] [ALPM] upgraded systemd (249.5-1 → 249.5-2)
[2021-10-22T00:13:19+0200] [ALPM] upgraded glib2 (2.70.0-1 → 2.70.0-2)
[2021-10-22T00:13:19+0200] [ALPM] upgraded wayland (1.19.0-1 → 1.19.0-2)
[2021-10-22T00:13:19+0200] [ALPM] upgraded llvm-libs (12.0.1-4 → 12.0.1-5)
[2021-10-22T00:13:20+0200] [ALPM] upgraded chromium (94.0.4606.81-1 → 95.0.4638.54-2)
[2021-10-22T00:13:20+0200] [ALPM] upgraded libyuv (r2212+dfaf7534-2 → r2266+eb6e7bb6-1)
[2021-10-22T00:13:20+0200] [ALPM] upgraded libavif (0.9.2-1 → 0.9.3-1)
[2021-10-22T00:13:20+0200] [ALPM] upgraded gd (2.3.3-2 → 2.3.3-3)
[2021-10-22T00:13:21+0200] [ALPM] upgraded ghc-libs (9.0.1-4 → 9.0.1-5)
[2021-10-22T00:13:21+0200] [ALPM] upgraded gobject-introspection-runtime (1.70.0-1 → 1.70.0-2)
[2021-10-22T00:13:21+0200] [ALPM] upgraded guile (2.2.7-1 → 2.2.7-2)
[2021-10-22T00:13:21+0200] [ALPM] upgraded libcaca (0.99.beta19-5 → 0.99.beta20-1)
[2021-10-22T00:13:21+0200] [ALPM] upgraded libinput (1.19.1-1 → 1.19.2-1)
[2021-10-22T00:13:21+0200] [ALPM] upgraded libsrtp (1:2.4.0-1 → 1:2.4.2-1)
[2021-10-22T00:13:23+0200] [ALPM] upgraded linux (5.14.12.arch1-1 → 5.14.14.arch1-1)
[2021-10-22T00:13:24+0200] [ALPM] upgraded python (3.9.7-1 → 3.9.7-2)
[2021-10-22T00:13:28+0200] [ALPM] upgraded linux-headers (5.14.12.arch1-1 → 5.14.14.arch1-1)
[2021-10-22T00:13:28+0200] [ALPM] upgraded python-cffi (1.14.6-1 → 1.14.6-2)
[2021-10-22T00:13:28+0200] [ALPM] installed python-sgmllib3k (1.0.0-2)
[2021-10-22T00:13:28+0200] [ALPM] upgraded python-feedparser (6.0.1-1 → 6.0.1-2)
[2021-10-22T00:13:28+0200] [ALPM] upgraded python-gobject (3.40.1-1 → 3.40.1-2)
[2021-10-22T00:13:28+0200] [ALPM] upgraded python2 (2.7.18-4 → 2.7.18-5)
[2021-10-22T00:13:29+0200] [ALPM] upgraded qt5-base (5.15.2+kde+r247-1 → 5.15.2+kde+r251-1)
[2021-10-22T00:13:29+0200] [ALPM] upgraded qt5-declarative (5.15.2+kde+r34-1 → 5.15.2+kde+r36-1)
[2021-10-22T00:13:29+0200] [ALPM] upgraded r8168 (8.049.02-28 → 8.049.02-30)
[2021-10-22T00:13:29+0200] [ALPM] upgraded seatd (0.6.2-1 → 0.6.3-1)
[2021-10-22T00:13:29+0200] [ALPM] upgraded shellcheck (0.7.2-88 → 0.7.2-91)
[2021-10-22T00:13:29+0200] [ALPM] upgraded systemd-sysvcompat (249.5-1 → 249.5-2)
[2021-10-22T00:13:29+0200] [ALPM] upgraded welcome (3.16.6-1 → 3.16.7-1)
[2021-10-22T00:13:29+0200] [ALPM] transaction completed
[2021-10-22T00:13:30+0200] [ALPM] running ‘20-systemd-sysusers.hook’…
[2021-10-22T00:13:30+0200] [ALPM] running ‘30-systemd-catalog.hook’…
[2021-10-22T00:13:30+0200] [ALPM] running ‘30-systemd-daemon-reload.hook’…
[2021-10-22T00:13:31+0200] [ALPM] running ‘30-systemd-hwdb.hook’…
[2021-10-22T00:13:31+0200] [ALPM] running ‘30-systemd-sysctl.hook’…
[2021-10-22T00:13:31+0200] [ALPM] running ‘30-systemd-tmpfiles.hook’…
[2021-10-22T00:13:31+0200] [ALPM] running ‘30-systemd-udev-reload.hook’…
[2021-10-22T00:13:31+0200] [ALPM] running ‘30-systemd-update.hook’…
[2021-10-22T00:13:31+0200] [ALPM] running ‘60-depmod.hook’…
[2021-10-22T00:13:35+0200] [ALPM] running ‘90-mkinitcpio-install.hook’…
[2021-10-22T00:13:35+0200] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: ‘default’
[2021-10-22T00:13:35+0200] [ALPM-SCRIPTLET] → -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
[2021-10-22T00:13:35+0200] [ALPM-SCRIPTLET] ==> Starting build: 5.14.14-arch1-1
[2021-10-22T00:13:35+0200] [ALPM-SCRIPTLET] → Running build hook: [base]
[2021-10-22T00:13:35+0200] [ALPM-SCRIPTLET] → Running build hook: [udev]
[2021-10-22T00:13:35+0200] [ALPM-SCRIPTLET] → Running build hook: [autodetect]
[2021-10-22T00:13:36+0200] [ALPM-SCRIPTLET] → Running build hook: [modconf]
[2021-10-22T00:13:36+0200] [ALPM-SCRIPTLET] → Running build hook: [block]
[2021-10-22T00:13:36+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: xhci_pci
[2021-10-22T00:13:37+0200] [ALPM-SCRIPTLET] → Running build hook: [keyboard]
[2021-10-22T00:13:37+0200] [ALPM-SCRIPTLET] → Running build hook: [keymap]
[2021-10-22T00:13:37+0200] [ALPM-SCRIPTLET] → Running build hook: [encrypt]
[2021-10-22T00:13:37+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: qat_4xxx
[2021-10-22T00:13:38+0200] [ALPM-SCRIPTLET] → Running build hook: [openswap]
[2021-10-22T00:13:38+0200] [ALPM-SCRIPTLET] → Running build hook: [resume]
[2021-10-22T00:13:38+0200] [ALPM-SCRIPTLET] → Running build hook: [filesystems]
[2021-10-22T00:13:38+0200] [ALPM-SCRIPTLET] → Running build hook: [fsck]
[2021-10-22T00:13:38+0200] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2021-10-22T00:13:38+0200] [ALPM-SCRIPTLET] ==> Creating xz-compressed initcpio image: /boot/initramfs-linux.img
[2021-10-22T00:13:52+0200] [ALPM-SCRIPTLET] ==> Image generation successful
[2021-10-22T00:13:52+0200] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux.preset: ‘fallback’
[2021-10-22T00:13:52+0200] [ALPM-SCRIPTLET] → -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
[2021-10-22T00:13:52+0200] [ALPM-SCRIPTLET] ==> Starting build: 5.14.14-arch1-1
[2021-10-22T00:13:52+0200] [ALPM-SCRIPTLET] → Running build hook: [base]
[2021-10-22T00:13:53+0200] [ALPM-SCRIPTLET] → Running build hook: [udev]
[2021-10-22T00:13:53+0200] [ALPM-SCRIPTLET] → Running build hook: [modconf]
[2021-10-22T00:13:53+0200] [ALPM-SCRIPTLET] → Running build hook: [block]
[2021-10-22T00:13:54+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: wd719x
[2021-10-22T00:13:54+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: aic94xx
[2021-10-22T00:13:55+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: xhci_pci
[2021-10-22T00:13:56+0200] [ALPM-SCRIPTLET] → Running build hook: [keyboard]
[2021-10-22T00:13:57+0200] [ALPM-SCRIPTLET] → Running build hook: [keymap]
[2021-10-22T00:13:57+0200] [ALPM-SCRIPTLET] → Running build hook: [encrypt]
[2021-10-22T00:13:58+0200] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: qat_4xxx
[2021-10-22T00:13:58+0200] [ALPM-SCRIPTLET] → Running build hook: [openswap]
[2021-10-22T00:13:58+0200] [ALPM-SCRIPTLET] → Running build hook: [resume]
[2021-10-22T00:13:58+0200] [ALPM-SCRIPTLET] → Running build hook: [filesystems]
[2021-10-22T00:13:59+0200] [ALPM-SCRIPTLET] → Running build hook: [fsck]
[2021-10-22T00:13:59+0200] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2021-10-22T00:14:00+0200] [ALPM-SCRIPTLET] ==> Creating xz-compressed initcpio image: /boot/initramfs-linux-fallback.img
[2021-10-22T00:14:25+0200] [ALPM-SCRIPTLET] ==> Image generation successful
[2021-10-22T00:14:25+0200] [ALPM] running ‘dbus-reload.hook’…
[2021-10-22T00:14:25+0200] [ALPM] running ‘eos-reboot-required.hook’…
[2021-10-22T00:14:25+0200] [ALPM-SCRIPTLET] ==> INFO: Reboot is recommended due to the upgrade of core system package(s).
[2021-10-22T00:14:25+0200] [ALPM] running ‘gdk-pixbuf-query-loaders.hook’…
[2021-10-22T00:14:25+0200] [ALPM] running ‘ghc-register.hook’…
[2021-10-22T00:14:25+0200] [ALPM] running ‘gtk-update-icon-cache.hook’…
[2021-10-22T00:14:25+0200] [ALPM] running ‘texinfo-install.hook’…
[2021-10-22T00:14:25+0200] [ALPM] running ‘update-desktop-database.hook’…
[2021-10-22T00:15:17+0200] [PACMAN] Running ‘pacman -U --noconfirm --config /etc/pacman.conf – /home/jonas/.cache/yay/autofs/autofs-5.1.7-2-x86_64.pkg.tar.zst’
[2021-10-22T00:15:17+0200] [ALPM] transaction started
[2021-10-22T00:15:17+0200] [ALPM] upgraded autofs (5.1.7-1 → 5.1.7-2)
[2021-10-22T00:15:17+0200] [ALPM] transaction completed
[2021-10-22T00:15:17+0200] [ALPM] running ‘30-systemd-daemon-reload.hook’…
[2021-10-22T00:15:17+0200] [ALPM] running ‘30-systemd-update.hook’…
[2021-10-22T00:19:47+0200] [PACMAN] Running ‘pacman -S -u -y --config /etc/pacman.conf --’
[2021-10-22T00:19:47+0200] [PACMAN] synchronizing package lists

According to the log, the packages that were updated the day before I noticed my problem were this:

  • linux
  • linux-headers
  • qt5-base
  • qt5-declarative
  • r8168
  • yarn
  • betterdiscord-installer
  • libinput
  • rubygems
  • seatd
  • welcome
  • wine-mono
  • haskell-http
  • cabal-install
  • haskell-typed-process
  • haskell-conduit-extra
  • haskell-monad-logger
  • haskell-persistent
  • haskell-casa-types
  • haskell-http-conduit
  • haskell-casa-client
  • haskell-cryptonite-conduit
  • haskell-rio
  • haskell-hi-file-parser
  • haskell-rio-prettyprint
  • haskell-http-download
  • haskell-persistent-sqlite
  • haskell-rio-orphans
  • haskell-tar-conduit
  • haskell-pantry
  • haskell-project-template
  • shellcheck
  • stack
  • libyuv
  • libavif
  • gd
  • libcaca
  • glances

I got this list using grep and cut to limit the length of my reply. If you would like me to paste the full log section for that day, I would be happy to. However, it is really long and includes unimportant info like logs for running timeshift-autosnap.

What GPU do you have?

If you post or link to your inxi it helps people a lot.

1 Like

I have an AMD Radeon RX 580.

Here’s the output of inxi -b. Sorry for not posting it sooner.

System:    Host: home-pc Kernel: 5.14.14-arch1-1 x86_64 bits: 64 Desktop: sway 1.6.1 Distro: EndeavourOS
Machine:   Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
           Mobo: ASUSTeK model: ROG STRIX B550-F GAMING (WI-FI) v: Rev X.0x serial: <superuser required>
           UEFI: American Megatrends v: 1202 date: 10/21/2020
CPU:       Info: 8-Core AMD Ryzen 7 3700X [MT MCP] speed: 3104 MHz min/max: 2200/3600 MHz
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] driver: amdgpu
           v: kernel
           Display: wayland server: X.org 1.20.13 compositor: sway driver: loaded: ati,modesetting unloaded: fbdev,radeon,vesa
           resolution: <missing: xdpyinfo>
           OpenGL: renderer: Radeon RX 580 Series (POLARIS10 DRM 3.42.0 5.14.14-arch1-1 LLVM 12.0.1) v: 4.6 Mesa 21.2.4
Network:   Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi
           Device-2: Intel Ethernet I225-V driver: igc
Drives:    Local Storage: total: 2.85 TiB used: 111.85 GiB (3.8%)
Info:      Processes: 370 Uptime: 4h 5m Memory: 31.27 GiB used: 4.23 GiB (13.5%) Shell: Zsh inxi: 3.3.07

I tried downgrading linux and linux-headers and nothing changed.

I’m tempted to try reinstalling all packages as a brute-force solution. Is there a way to reinstall all packages without marking them as explicitly installed?

Sounds like a similar issue as reported in this thread:
Maybe give this a try:

Also I’m curious if it’s related to libinput in some way. Could you try downgrading that one and see if that helps? edit Nah, forget that, it doesn’t help. Just tried on a VM.
edit2 Downgrading seatd seems to help though.

Now since downgrading is not really a good option (imho it should only be used to identify the package/source of the problem or when there’s really no other option currently) I would either go for:

a. Apply the workaround linked above
b. Switch to another DM (that’s probably the more sane one :wink: )

2 Likes

It’s an ugly, gross workaround and I can’t wait until I can remove it, but it certainly works. Thank you for your help. Also, it’s good to know that I’m certainly not the only one experiencing this problem and that it’s probably not due to any mistake on my end.

1 Like

Yes it is.

Nope. I’d assume everyone with the combination lightdm +sway faces this issue (well, maybe not everyone since it seems to be a timing related thing. With some very slow HDD you might be unaffected :stuck_out_tongue_winking_eye:)

2 Likes

This bug pushed me to finally try installing the Ly display manager. I am please with the result and especially pleased that I no longer need to rely on a kludge just to login to Sway.

2 Likes

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