Are libinput EE messages preventing Xorg from starting?

After I updated my channels, I’m unable to start Xorg.

I was able to start GNOME on XWayland, though, but I usually use XMonad on Xorg.

When I look at the log, I see a lot of EE on libinput. When there is an EE, does that mean a full crash for Xorg?


Feb 02 10:12:04 quasar xserver-wrapper[4135]: (EE) libinput: ZSA Technology Labs Moonlander Mark I: Failed to set scroll to twofinger
Feb 02 10:12:04 quasar xserver-wrapper[4135]: (EE) libinput: Razer Razer Naga Pro: Failed to set scroll to twofinger
Feb 02 10:12:04 quasar xserver-wrapper[4135]: (EE) libinput: Razer Razer Naga Pro: Failed to set scroll to twofinger
Feb 02 10:30:25 quasar xserver-wrapper[110904]: Current Operating System: Linux quasar 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64
Feb 02 10:30:25 quasar xserver-wrapper[110904]:         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Feb 02 10:33:08 quasar xserver-wrapper[1647]: Current Operating System: Linux quasar 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64
Feb 02 10:33:08 quasar xserver-wrapper[1647]:         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Feb 02 10:33:09 quasar xserver-wrapper[1647]: (II) Initializing extension MIT-SCREEN-SAVER
Feb 02 10:33:09 quasar xserver-wrapper[1647]: (EE) libinput: ZSA Technology Labs Moonlander Mark I: Failed to set scroll to twofinger
Feb 02 10:33:09 quasar xserver-wrapper[1647]: (EE) libinput: ZSA Technology Labs Moonlander Mark I: Failed to set scroll to twofinger
Feb 02 10:33:09 quasar xserver-wrapper[1647]: (EE) libinput: Razer Razer Naga Pro: Failed to set scroll to twofinger
Feb 02 10:33:09 quasar xserver-wrapper[1647]: (EE) libinput: Razer Razer Naga Pro: Failed to set scroll to twofinger
Feb 02 10:33:09 quasar xserver-wrapper[1647]: (EE) libinput: Razer Razer Naga Pro: Failed to set scroll to twofinger
Feb 02 10:33:09 quasar xserver-wrapper[1647]: (EE) libinput: Razer Razer Naga Pro: Failed to set scroll to twofinger
Feb 02 10:33:26 quasar xserver-wrapper[4196]: Current Operating System: Linux quasar 6.1.69 #1-NixOS SMP PREEMPT_DYNAMIC Wed Dec 20 16:00:29 UTC 2023 x86_64
Feb 02 10:33:26 quasar xserver-wrapper[4196]:         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Feb 02 10:33:26 quasar xserver-wrapper[4196]: (II) Initializing extension MIT-SCREEN-SAVER
Feb 02 10:33:26 quasar xserver-wrapper[4196]: (EE) libinput: ZSA Technology Labs Moonlander Mark I: Failed to set scroll to twofinger
Feb 02 10:33:27 quasar xserver-wrapper[4196]: (EE) libinput: ZSA Technology Labs Moonlander Mark I: Failed to set scroll to twofinger
Feb 02 10:33:27 quasar xserver-wrapper[4196]: (EE) libinput: Razer Razer Naga Pro: Failed to set scroll to twofinger
Feb 02 10:33:27 quasar xserver-wrapper[4196]: (EE) libinput: Razer Razer Naga Pro: Failed to set scroll to twofinger
Feb 02 10:33:27 quasar xserver-wrapper[4196]: (EE) libinput: Razer Razer Naga Pro: Failed to set scroll to twofinger
Feb 02 10:33:27 quasar xserver-wrapper[4196]: (EE) libinput: Razer Razer Naga Pro: Failed to set scroll to twofinger
Feb 02 10:35:50 quasar xserver-wrapper[4196]: (EE) libinput: ZSA Technology Labs Moonlander Mark I: Failed to set scroll to twofinger
Feb 02 10:35:50 quasar xserver-wrapper[4196]: (EE) libinput: Razer Razer Naga Pro: Failed to set scroll to twofinger
Feb 02 10:35:50 quasar xserver-wrapper[4196]: (EE) libinput: Razer Razer Naga Pro: Failed to set scroll to twofinger

No, especially libinput stuff is usually red herrings.

1 Like

ok, then I’m stuck again;)

Xorg is not starting and I really have no error message, then.

What happens is that I select xmonad and then click OK and SDDM just prompts. It seems like it’s loading, but then I’m just presented with SDDM again.

I did try a new kernel, using the one from Musnix, but still the same.

{ config, pkgs, ... }:
{
  services.xserver.enable = true;
  
  services.xserver.displayManager.gdm.enable = false;
  services.xserver.displayManager.sddm.enable = true;
  services.xserver.displayManager.defaultSession = "none+xmonad";

  services.xserver.desktopManager.plasma5.enable = true;
  services.xserver.desktopManager.gnome.enable = true;
  
  services.xserver.windowManager.xmonad  = {
    enable = true;
    enableContribAndExtras = true;
    extraPackages = hp: [ hp.xmonad hp.xmonad-contrib hp.xmonad-extras ];
  };

  services.xserver.windowManager.xmonad.config = builtins.readFile /home/b0ef/.config/xmonad/xmonad.hs;
  
  services.xserver = {
    layout = "no";
    xkbVariant = "";
  };
}

Hmm, ok, seems there’s an XMonad problem.

BASHY $ xmonad --recompile
XMonad will use ghc to recompile, because neither "/home/b0ef/.config/xmonad/build" nor "/home/b0ef/.config/xmonad/stack.yaml" exists.
XMonad recompiling (forced).
xmonad: /home/b0ef/.local/share/xmonad/xmonad.errors: withFile: does not exist (No such file or directory)

This is getting more insane. Somehow, I don’t have ghc, suddenly, anymore.

I tried to add it and I get

[1 of 1] Compiling Main             ( tmp.hs, tmp.o )

tmp.hs:3:7: error: Not in scope: `modMask'
  |
3 |     { modMask = mod4Mask  -- Rebind Mod to the Super key
  |       ^^^^^^^
error: builder for '/nix/store/ax72x0rb610g3g26j1dz8q4bp3g3qwyi-xmonad.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/9qsk2xihbg9bspdqq60qzk51jaiw24ka-xmonad.drv' failed to build
error: 1 dependencies of derivation '/nix/store/80rjw9k0shkg6fmd8g1k3w894prr5wyh-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/rwyiwnazskky5fn5lz216ps89l4xgiic-xsession.drv' failed to build
error: 1 dependencies of derivation '/nix/store/vfd8j6wqa9nhn1vdxnxg9hsqslzf43v5-nixos-system-quasar-23.05.5533.70bdadeb94ff.drv' failed to build

I guess I’ll start a new thread on each of these errors.

Thanks;)