Display manager doesn't load

hi - built a new PC and decided to re-use my older NVIDIA GeForce GTX 1070. I was able to get it working last night with this configuration:

# configuration.nix
{
  config,
  inputs,
  lib,
  pkgs,
  ...
}:
{
  boot = {
    initrd = {
      systemd.enable = true;
    };
    loader = {
      efi = {
        canTouchEfiVariables = true;
      };
      grub = {
        enable = true;
        device = "nodev";
        efiSupport = true;
      };
    };
    kernelParams = [
      # https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Acquire_swap_file_offset
      # btrfs inspect-internal map-swapfile -r swap_file
      "resume_offset=533760"
    ];
    resumeDevice = "/dev/disk/by-label/nixos";
  };
  environment = {
    systemPackages = [
      pkgs.vim
      pkgs.pciutils
      pkgs.fastfetch
      pkgs.ghostty
      pkgs.btop-cuda
      (pkgs.catppuccin-sddm.override {
        flavor = "mocha";
        accent = "mauve";
        font = "Noto Sans";
        fontSize = "9";
        # background = "${./wallpaper.png}";
        userIcon = true;
        clockEnabled = true;
        loginBackground = true;
       })
      inputs.noctalia.packages.${pkgs.stdenv.hostPlatform.system}.default
    ];
  };
  programs = {
    niri = {
      enable = true;
    };
  };
  hardware = {
    graphics = {
      enable = true;
    };
    nvidia = {
      open = false;
      modesetting = {
        enable = true;
      };
    };
  };
  nix = {
    settings = {
      experimental-features = "flakes nix-command";
    };
  };
  networking = {
    hostName = "vg";
    networkmanager = {
      enable = true;
    };
  };
  sops = {
    defaultSopsFile = ../../secrets/vainglory.yaml;
    age = {
      sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
      generateKey = true;
    };
    secrets = { };
  };
  services = {
    upower = {
      enable = true;
    };
    displayManager = {
      sddm = {
        enable = true;
        theme = "catppuccin-mocha-mauve";
        package = pkgs.kdePackages.sddm;
        wayland = {
          enable = true;
        };
      };
    };
    timesyncd = {
      enable = false;
    };
    chrony = {
      enable = true;
      servers = [
        "xenobiotic.research.in.rambaud.dev"
      ]
      ++ config.networking.timeServers;
    };
    openssh = {
      enable = true;
      settings = {
        PermitRootLogin = "prohibit-password";
        PasswordAuthentication = false;
      };
    };
  };
  systemd = {
    generators.systemd-ssh-generator = "/dev/null";
    sockets.sshd-unix-local.enable = lib.mkForce false;
    sockets.sshd-vsock.enable = lib.mkForce false;
  };
time = {
  timeZone = "America/Chicago";
};
  users = {
    users = {
      "root" = {
        openssh = {
          authorizedKeys = {
            keys = [
              "..."
            ];
          };
        };
      };
      "d" = {
        isNormalUser = true;
        extraGroups = [
          "wheel"
        ];
        openssh = {
          authorizedKeys = {
            keys = [
              "..."
            ];
          };
        };
      };
    };
  };
  system = {
    stateVersion = "26.05";
  };
}
  • Display manager (sddm) loaded up after boot
  • Niri and Noctalia shell loaded up login

Today, observed issues with btop-cuda not recognizing GPU. I was recommended to add this configuration:

  services = {
    xserver = {
      videoDrivers = [ "nvidia" ];
    };
  };

After adding aforementioned snippet and this allowUnfreePredicate:

...
  nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
    "nvidia-x11"
    "nvidia-settings"
  ];
...

System did rebuild successfully. On reboot, I can ssh into the machine without any issue and the previous problem of btop no longer recognizing my GPU is fixed.

# nix-shell -p btop-cuda

But now my machine is permanently stuck in console mode.

...
[ OK ] Created slice Slice /system/systemd-coredump.
[ OK ] Started Process Core Dump (PID 1663/UID 0).
[ OK ] Stopped target Host and Network Name Lookups. 
          Stopping Host and Network Name Lookups...
[ OK ] Stopped target User and Group Name Lookups.
          Stopping User and Group Name Lookups...
          Stopping Name Service Cache Daemon (nsncd)...
[ OK ] Stopped Name Service Cache Daemon (nsncd).
          Starting Name Service Cache Daemon (nsncd)...
[ OK ] Started Name Service Cache Daemon (nsncd).
[ OK ] Reached target Host and Network Name Lookups.
[ OK ] Reached target User and Group Name Lookups.
          Starting Authorization Manager...
[ OK ] Started Authorization Manager.
[ OK ] Started DHCP Client.
[ OK ]  Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
|

Steps to try:

  • re-checked gpu compatibility with nvidia.com, and it’s still supported in latest drivers:
Linux x64 (AMD64/EM64T) Display Driver
Driver Version:580.142
Release Date:Tue Mar 10, 2026
Operating System:Linux 64-bit
...
GeForce 10 Series
GeForce GTX 1080 Ti, GeForce GTX 1080, GeForce GTX 1070 Ti, GeForce GTX 1070, GeForce GTX 1060, GeForce GTX 1050 Ti, GeForce GTX 1050, GeForce GT 1030, GeForce GT 1010

source: GeForce Driver Results | NVIDIA

The installed version of the drivers on machine appear to be v580.126.18, so I will try to install latest and see if that resolves the issue. But if that fails, I may have to revert to using the default open source drivers (ie, remove services.xserver.videoDrivers = [ "nvidia" ];).

Hope somebody here with some knowledge can help here. Ideally would like to use the latest/stable drivers.

Tried with latest drivers from nvidia:

# configuration.nix
{
  # ...
  hardware = {
    package = config.boot.kernelPackages.nvidiaPackages.mkDriver {
        version = "580.142";
        sha256_64bit = "sha256-IJFfzz/+icNVDPk7YKBKKFRTFQ2S4kaOGRGkNiBEdWM=";
        sha256_aarch64 = "sha256-IJFfzz/+icNVDPk7YKBKKFRTFQ2S4kaOGRGkNiBEdWM=";
        openSha256 = "sha256-BnrIlj5AvXTfqg/qcBt2OS9bTDDZd3uhf5jqOtTMTQM=";
        settingsSha256 = "sha256-BnrIlj5AvXTfqg/qcBt2OS9bTDDZd3uhf5jqOtTMTQM=";
        persistencedSha256 = lib.fakeSha256;
    };
  };
  # ...
}
# nvidia-smi --version
NVIDIA-SMI version  : 580.142
NVML version        : 580.142
DRIVER version      : 580.142
CUDA Version        : 13.0

Display connected directly to GPU still stuck at console:

...
[ OK ] Started Authorization Manager.
[ OK ] Started DHCP Client.
[ OK ]  Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
|

after some researching, realized I could pull logs from display-manager.service:

# journalctl -u display-manager.service -e
~
Mar 28 15:58:54 vainglory systemd[1]: Starting Display Manager...
Mar 28 15:58:54 vainglory systemd[1]: Started Display Manager.
Mar 28 15:58:54 vainglory sddm[1619]: Initializing...
Mar 28 15:58:54 vainglory sddm[1619]: Starting...
Mar 28 15:58:54 vainglory sddm[1619]: Logind interface found
Mar 28 15:58:54 vainglory sddm[1619]: Adding new display...
Mar 28 15:58:54 vainglory sddm[1619]: Loaded empty theme configuration
Mar 28 15:58:54 vainglory sddm[1619]: Using VT 1
Mar 28 15:58:54 vainglory sddm[1619]: Display server started.
Mar 28 15:58:54 vainglory sddm[1619]: Socket server starting...
Mar 28 15:58:54 vainglory sddm[1619]: Socket server started.
Mar 28 15:58:54 vainglory sddm[1619]: Loading theme configuration from "/run/current-system/sw/share/sddm/themes/catppuccin-mocha-mauve/theme.>
Mar 28 15:58:54 vainglory sddm[1619]: Greeter starting...
Mar 28 15:58:54 vainglory sddm-helper[1627]: [PAM] Starting...
Mar 28 15:58:54 vainglory sddm-helper[1627]: [PAM] Authenticating...
Mar 28 15:58:54 vainglory sddm-helper[1627]: [PAM] returning.
Mar 28 15:58:54 vainglory sddm[1619]: Greeter session started successfully
Mar 28 15:58:55 vainglory sddm-helper[1627]: [PAM] Closing session
Mar 28 15:58:55 vainglory sddm-helper[1627]: [PAM] Ended.
Mar 28 15:58:55 vainglory sddm[1619]: Auth: sddm-helper exited successfully
Mar 28 15:58:55 vainglory sddm[1619]: Greeter stopped. SDDM::Auth::HELPER_SUCCESS

Based on this, seems the display manager (sddm) was starting then immediately exiting. So deep diving further, discovered I could pull the boot logs and searched for sddm:

# journalctl --boot
...
Mar 28 15:58:54 vainglory sddm[1619]: Initializing...
Mar 28 15:58:54 vainglory sddm[1619]: Starting...
Mar 28 15:58:54 vainglory sddm[1619]: Logind interface found
Mar 28 15:58:54 vainglory sddm[1619]: Adding new display...
Mar 28 15:58:54 vainglory sddm[1619]: Loaded empty theme configuration
Mar 28 15:58:54 vainglory sddm[1619]: Using VT 1
Mar 28 15:58:54 vainglory sddm[1619]: Display server started.
Mar 28 15:58:54 vainglory sddm[1619]: Socket server starting...
Mar 28 15:58:54 vainglory sddm[1619]: Socket server started.
Mar 28 15:58:54 vainglory sddm[1619]: Loading theme configuration from "/run/current-system/sw/share/sddm/themes/catppuccin-mocha-mauve/theme.conf"
Mar 28 15:58:54 vainglory sddm[1619]: Greeter starting...
Mar 28 15:58:54 vainglory sddm-helper[1627]: [PAM] Starting...
Mar 28 15:58:54 vainglory sddm-helper[1627]: [PAM] Authenticating...
Mar 28 15:58:54 vainglory sddm-helper[1627]: [PAM] returning.
Mar 28 15:58:54 vainglory systemd[1]: Created slice Slice /user/175.
Mar 28 15:58:54 vainglory systemd[1]: Starting User Runtime Directory /run/user/175...
Mar 28 15:58:54 vainglory systemd-logind[1417]: New session 'c1' of user 'sddm' with class 'greeter' and type 'wayland'.
Mar 28 15:58:54 vainglory systemd[1]: Finished User Runtime Directory /run/user/175.
Mar 28 15:58:54 vainglory systemd[1]: Starting User Manager for UID 175...
Mar 28 15:58:54 vainglory (systemd)[1632]: pam_unix(systemd-user:session): session opened for user sddm(uid=175) by (uid=0)
Mar 28 15:58:54 vainglory systemd-logind[1417]: New session '1' of user 'sddm' with class 'manager-early' and type 'unspecified'.
Mar 28 15:58:54 vainglory systemd[1632]: Queued start job for default target Main User Target.
Mar 28 15:58:54 vainglory systemd[1632]: Created slice User Application Slice.
Mar 28 15:58:54 vainglory systemd[1632]: Started Daily Cleanup of User's Temporary Directories.
Mar 28 15:58:54 vainglory systemd[1632]: Reached target Paths.
Mar 28 15:58:54 vainglory systemd[1632]: Reached target Timers.
Mar 28 15:58:54 vainglory systemd[1632]: Starting D-Bus User Message Bus Socket...
Mar 28 15:58:54 vainglory systemd[1632]: Starting GCR ssh-agent wrapper...
Mar 28 15:58:54 vainglory systemd[1632]: Listening on PipeWire PulseAudio.
Mar 28 15:58:54 vainglory systemd[1632]: Listening on PipeWire Multimedia System Sockets.
Mar 28 15:58:54 vainglory systemd[1632]: Listening on Speech Dispatcher Socket.
Mar 28 15:58:54 vainglory systemd[1632]: Starting Create User Files and Directories...
Mar 28 15:58:54 vainglory systemd[1632]: Finished Create User Files and Directories.
Mar 28 15:58:54 vainglory systemd[1632]: Listening on GCR ssh-agent wrapper.
Mar 28 15:58:54 vainglory systemd[1632]: Listening on D-Bus User Message Bus Socket.
Mar 28 15:58:54 vainglory systemd[1632]: Reached target Sockets.
Mar 28 15:58:54 vainglory systemd[1632]: Reached target Basic System.
Mar 28 15:58:54 vainglory systemd[1]: Started User Manager for UID 175.
Mar 28 15:58:54 vainglory systemd[1632]: Started GCR ssh-agent wrapper.
Mar 28 15:58:54 vainglory systemd[1632]: Run user-specific NixOS activation was skipped because of an unmet condition check (ConditionUser=!@system).
Mar 28 15:58:54 vainglory systemd[1632]: Reached target Main User Target.
Mar 28 15:58:54 vainglory systemd[1632]: Startup finished in 96ms.
Mar 28 15:58:54 vainglory systemd[1]: Started Session c1 of User sddm.
Mar 28 15:58:54 vainglory sddm-helper[1646]: Jumping to VT 1
Mar 28 15:58:54 vainglory sddm-helper[1646]: VT mode fixed
Mar 28 15:58:54 vainglory sddm[1619]: Greeter session started successfully
Mar 28 15:58:54 vainglory sddm-helper-start-wayland[1646]: Starting Wayland process "/nix/store/ha3i0cxdkdbx5yk1hf21zqgld82fb4wy-weston-15.0.0/bin/weston --shell=kiosk -c /nix/store/857f5yfxxjsspkdirgcjr2izgkjxpa1k-weston.ini" "sddm"
Mar 28 15:58:54 vainglory sddm-helper-start-wayland[1646]: started succesfully "/nix/store/ha3i0cxdkdbx5yk1hf21zqgld82fb4wy-weston-15.0.0/bin/weston --shell=kiosk -c /nix/store/857f5yfxxjsspkdirgcjr2izgkjxpa1k-weston.ini"
Mar 28 15:58:54 vainglory sddm-helper-start-wayland[1646]: "Date: 2026-03-28 CDT\n[15:58:54.907] weston 15.0.0\n               https://wayland.freedesktop.org\n               Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/\n               Build: 15.0.0\n[15:58:54.907] Command line: /nix/store/ha3i0cxdkdbx5yk1hf21zqgld82fb4wy-weston-15.0.0/bin/weston --shell=kiosk -c /nix/store/857f5yfxxjsspkdirgcjr2izgkjxpa1k-weston.ini\n[15:58:54.907] OS: Linux, 6.18.16, #1-NixOS SMP PREEMPT_DYNAMIC Wed Mar  4 12:25:12 UTC 2026, x86_64\n[15:58:54.907] Flight recorder: enabled, scopes subscribed: log\n"
Mar 28 15:58:54 vainglory sddm-helper-start-wayland[1646]: "[15:58:54.908] Using config file '/nix/store/857f5yfxxjsspkdirgcjr2izgkjxpa1k-weston.ini'\n"
Mar 28 15:58:54 vainglory sddm-helper-start-wayland[1646]: "[15:58:54.908] Output repaint window is 7 ms maximum.\n"
Mar 28 15:58:54 vainglory sddm-helper-start-wayland[1646]: "[15:58:54.909] Loading module '/nix/store/ha3i0cxdkdbx5yk1hf21zqgld82fb4wy-weston-15.0.0/lib/libweston-15/drm-backend.so'\n"
Mar 28 15:58:54 vainglory sddm-helper-start-wayland[1646]: "[15:58:54.911] initializing drm backend\n"
Mar 28 15:58:54 vainglory sddm-helper-start-wayland[1646]: "[15:58:54.911] Trying libseat launcher...\n"
Mar 28 15:58:54 vainglory sddm-helper-start-wayland[1646]: "[15:58:54.911] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory\n"
Mar 28 15:58:54 vainglory sddm-helper-start-wayland[1646]: "[15:58:54.911] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping\n"
Mar 28 15:58:54 vainglory sddm-helper-start-wayland[1646]: "[15:58:54.912] [libseat/libseat.c:73] Seat opened with backend 'logind'\n"
Mar 28 15:58:54 vainglory sddm-helper-start-wayland[1646]: "[15:58:54.912] libseat: session control granted\n"
Mar 28 15:58:54 vainglory sddm-helper-start-wayland[1646]: "[15:58:54.914] using /dev/dri/card2\n[15:58:54.914] DRM: supports atomic modesetting\n[15:58:54.914] DRM: supports GBM modifiers\n[15:58:54.914] DRM: supports Atomic async page flip\n[15:58:54.914] DRM: supports picture aspect ratio\n"
Mar 28 15:58:54 vainglory sddm-helper-start-wayland[1646]: "[15:58:54.919] Loading module '/nix/store/ha3i0cxdkdbx5yk1hf21zqgld82fb4wy-weston-15.0.0/lib/libweston-15/gl-renderer.so'\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.058] Using rendering device: /dev/dri/renderD129\n[15:58:55.058] EGL version: 1.5\n[15:58:55.058] EGL vendor: NVIDIA\n[15:58:55.058] EGL client APIs: OpenGL_ES OpenGL\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.058] EGL features:\n               EGL Wayland extension: yes\n               context priority: yes\n               buffer age: yes\n               partial update: yes\n               swap buffers with damage: yes\n               configless context: yes\n               surfaceless context: yes\n               dmabuf support: modifiers\n               fence sync: yes (native, wait)\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.077] GL version: OpenGL ES 3.2 NVIDIA 580.142\n[15:58:55.077] GLSL version: OpenGL ES GLSL ES 3.20\n[15:58:55.077] GL vendor: NVIDIA Corporation\n[15:58:55.077] GL renderer: NVIDIA GeForce GTX 1070/PCIe/SSE2\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.078] GL ES 3.2 - renderer features:\n               read-back format: ARGB8888\n               glReadPixels supports y-flip: no\n               glReadPixels supports PBO: yes\n               wl_shm 10 bpc formats: yes\n               wl_shm 16 bpc formats: yes\n               wl_shm half-float formats: yes\n               internal R and RG formats: yes\n               OES_EGL_image_external: yes\n               GPU timeline: yes\n               Texture immutability: yes\n               Required precision: yes\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.078] Using GL renderer\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.091] event10 - Power Button: is tagged by udev as: Keyboard\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.091] event10 - Power Button: device is a keyboard\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.093] event0  - Video Bus: is tagged by udev as: Keyboard\n[15:58:55.093] event0  - Video Bus: device is a keyboard\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.094] event9  - Power Button: is tagged by udev as: Keyboard\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.094] event9  - Power Button: device is a keyboard\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.095] event8  - Sleep Button: is tagged by udev as: Keyboard\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.095] event8  - Sleep Button: device is a keyboard\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.096] event13 - HDA NVidia HDMI/DP,pcm=3: is tagged by udev as: Switch\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.097] event13 - not using input device '/dev/input/event13'\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.098] event14 - HDA NVidia HDMI/DP,pcm=7: is tagged by udev as: Switch\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.110] event14 - not using input device '/dev/input/event14'\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.112] event15 - HDA NVidia HDMI/DP,pcm=8: is tagged by udev as: Switch\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.113] event15 - not using input device '/dev/input/event15'\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.114] event16 - HDA NVidia HDMI/DP,pcm=9: is tagged by udev as: Switch\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.114] event16 - not using input device '/dev/input/event16'\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.116] event7  - Yubico YubiKey OTP+FIDO+CCID: is tagged by udev as: Keyboard\n[15:58:55.116] event7  - Yubico YubiKey OTP+FIDO+CCID: device is a keyboard\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.118] event1  - WL WLMOUSE BEAST MAX 8K RECEIVER: is tagged by udev as: Keyboard Mouse\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.118] event1  - WL WLMOUSE BEAST MAX 8K RECEIVER: device is a pointer\n[15:58:55.118] event1  - WL WLMOUSE BEAST MAX 8K RECEIVER: device is a keyboard\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.120] event2  - WL WLMOUSE BEAST MAX 8K RECEIVER Consumer Control: is tagged by udev as: Keyboard\n[15:58:55.120] event2  - WL WLMOUSE BEAST MAX 8K RECEIVER Consumer Control: device is a keyboard\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.121] event3  - WL WLMOUSE BEAST MAX 8K RECEIVER System Control: is tagged by udev as: Keyboard\n[15:58:55.121] event3  - WL WLMOUSE BEAST MAX 8K RECEIVER System Control: device is a keyboard\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.123] event4  - WL WLMOUSE BEAST MAX 8K RECEIVER Keyboard: is tagged by udev as: Keyboard\n[15:58:55.123] event4  - WL WLMOUSE BEAST MAX 8K RECEIVER Keyboard: device is a keyboard\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.123] event5  - WL WLMOUSE BEAST MAX 8K RECEIVER: not tagged as supported input device\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.124] event5  - not using input device '/dev/input/event5'\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.125] event6  - WL WLMOUSE BEAST MAX 8K RECEIVER: not tagged as supported input device\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.125] event6  - not using input device '/dev/input/event6'\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.126] event17 - HDA Intel PCH Front Mic: is tagged by udev as: Switch\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.126] event17 - not using input device '/dev/input/event17'\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.126] event18 - HDA Intel PCH Rear Mic: is tagged by udev as: Switch\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.126] event18 - not using input device '/dev/input/event18'\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.127] event19 - HDA Intel PCH Line Out: is tagged by udev as: Switch\n[15:58:55.127] event19 - not using input device '/dev/input/event19'\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.127] event20 - HDA Intel PCH Front Headphone: is tagged by udev as: Switch\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.127] event20 - not using input device '/dev/input/event20'\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.128] event21 - HDA Intel PCH HDMI/DP,pcm=3: is tagged by udev as: Switch\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.128] event21 - not using input device '/dev/input/event21'\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.128] event22 - HDA Intel PCH HDMI/DP,pcm=7: is tagged by udev as: Switch\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.128] event22 - not using input device '/dev/input/event22'\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.129] event23 - HDA Intel PCH HDMI/DP,pcm=8: is tagged by udev as: Switch\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.129] event23 - not using input device '/dev/input/event23'\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.129] event24 - HDA Intel PCH HDMI/DP,pcm=9: is tagged by udev as: Switch\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.129] event24 - not using input device '/dev/input/event24'\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.130] event11 - Intel HID events: is tagged by udev as: Keyboard\n[15:58:55.130] event11 - Intel HID events: device is a keyboard\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.130] event12 - Eee PC WMI hotkeys: is tagged by udev as: Keyboard\n[15:58:55.130] event12 - Eee PC WMI hotkeys: device is a keyboard\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.135] libinput: configuring device \"Power Button\".\n[15:58:55.135] libinput: configuring device \"Video Bus\".\n[15:58:55.135] libinput: configuring device \"Power Button\".\n[15:58:55.135] libinput: configuring device \"Sleep Button\".\n[15:58:55.135] libinput: configuring device \"Yubico YubiKey OTP+FIDO+CCID\".\n[15:58:55.135] libinput: configuring device \"WL WLMOUSE BEAST MAX 8K RECEIVER\".\n[15:58:55.135]           left-handed=false\n[15:58:55.135] libinput: configuring device \"WL WLMOUSE BEAST MAX 8K RECEIVER Consumer Control\".\n[15:58:55.135] libinput: configuring device \"WL WLMOUSE BEAST MAX 8K RECEIVER System Control\".\n[15:58:55.135] libinput: configuring device \"WL WLMOUSE BEAST MAX 8K RECEIVER Keyboard\".\n[15:58:55.135] libinput: configuring device \"Intel HID events\".\n[15:58:55.135] libinput: configuring device \"Eee PC WMI hotkeys\".\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.136] DRM: head 'DVI-D-1' found, connector 92 is disconnected.\n[15:58:55.136] DRM: head 'HDMI-A-3' found, connector 94 is disconnected.\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.198] DRM: EDID for the following head fails conformity:\nBlock 1, CTA-861 Extension Block:\n  Colorimetry Data Block: Reserved bits MD0-MD3 must be 0.\n  Video Capability Data Block: IT video formats are always underscanned, but bit 7 of Byte 3 of the CTA-861 Extension header is set to overscanned.\n\n[15:58:55.198] DRM: head 'HDMI-A-4' found, connector 97 is connected, EDID make 'Microstep', model 'MPG271QX OLED', serial '0x01010101'\n               Supported EOTF modes: SDR, ST2084\n               Supported colorimetry modes: default, BT.2020 (YCC), BT.2020 (RGB)\n               Supported VRR modes: (none), \n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.198] DRM: head 'DP-4' found, connector 100 is disconnected.\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.199] DRM: head 'DP-5' found, connector 104 is disconnected.\n[15:58:55.199] Registered plugin API 'weston_drm_output_api_v1' of size 40\n[15:58:55.199] Registered plugin API 'weston_drm_virtual_output_api_v2' of size 48\n[15:58:55.199] Color manager: no-op\n                 protocol support: no\n[15:58:55.199] Setting output 'HDMI-A-4' to color AUTO format\n[15:58:55.199] Output 'HDMI-A-4' attempts EOTF mode SDR and colorimetry mode default.\n[15:58:55.199] Output 'HDMI-A-4' using color profile: stock sRGB color profile\n[15:58:55.199] Chosen EGL config details: id:  24 rgba: 8 8 8 0 buf: 24 dep:  0 stcl: 0 int: 0-1 type: win|pbf val: fix vis_id: XRGB8888 (0x34325258)\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: Directory "/run/user/175" has changed, checking for Wayland socket
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: Found Wayland socket "/run/user/175/wayland-1"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "[15:58:55.199] Output HDMI-A-4 (crtc 57) video modes:\n               2560x1440@60.0, preferred, current, 241.5 MHz\n               2560x1440@120.0, 497.8 MHz\n               1920x1080@119.9, 296.7 MHz\n               1920x1080@59.9, 148.3 MHz\n               1680x1050@60.0, 146.2 MHz\n               1280x1024@75.0, 135.0 MHz\n               1280x1024@60.0, 108.0 MHz\n               1440x900@59.9, 106.5 MHz\n               1280x720@119.9, 148.3 MHz\n               1280x720@59.9, 74.2 MHz\n               1280x720@50.0, 74.2 MHz\n               1024x768@75.0, 78.8 MHz\n               1024x768@70.1, 75.0 MHz\n               1024x768@60.0, 65.0 MHz\n               800x600@75.0, 49.5 MHz\n               800x600@72.2, 50.0 MHz\n               800x600@60.3, 40.0 MHz\n               800x600@56.2, 36.0 MHz\n               720x576@50.0, 27.0 MHz\n               720x480@59.9, 27.0 MHz\n               640x480@75.0, 31.5 MHz\n               640x480@72.8, 31.5 MHz\n               640x480@59.9, 25.2 MHz\n[15:58:55.199] associating input device event10 with output HDMI-A-4 (none by udev)\n[15:58:55.199] associating input device event0 with output HDMI-A-4 (none by udev)\n[15:58:55.199] associating input device event9 with output HDMI-A-4 (none by udev)\n[15:58:55.199] associating input device event8 with output HDMI-A-4 (none by udev)\n[15:58:55.199] associating input device event7 with output HDMI-A-4 (none by udev)\n[15:58:55.199] associating input device event1 with output HDMI-A-4 (none by udev)\n[15:58:55.199] associating input device event2 with output HDMI-A-4 (none by udev)\n[15:58:55.199] associating input device event3 with output HDMI-A-4 (none by udev)\n[15:58:55.199] associating input device event4 with output HDMI-A-4 (none by udev)\n[15:58:55.199] associating input device event11 with output HDMI-A-4 (none by udev)\n[15:58:55.199] associating input device event12 with output HDMI-A-4 (none by udev)\n[15:58:55.199] Output 'HDMI-A-4' enabled with head(s) HDMI-A-4\n[15:58:55.199] Compositor capabilities:\n               arbitrary surface rotation: yes\n               screen capture uses y-flip: yes\n               cursor planes: yes\n               arbitrary resolutions: no\n               view mask clipping: yes\n               explicit sync: yes\n               color operations: yes\n               color representation: yes\n               presentation clock: CLOCK_MONOTONIC, id 1\n               presentation clock resolution: 0.000000001 s\n[15:58:55.200] Loading module '/nix/store/ha3i0cxdkdbx5yk1hf21zqgld82fb4wy-weston-15.0.0/lib/weston/kiosk-shell.so'\n"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: "weston: ../libweston/renderer-gl/gl-shaders.c:765: gl_shader_load_config_representation: Assertion `shader->yuv_coefficients_uniform == -1' failed.\n"
Mar 28 15:58:55 vainglory systemd-coredump[1667]: Process 1647 (weston) of user 175 terminated abnormally with signal 6/ABRT, processing...
Mar 28 15:58:55 vainglory systemd[1]: Created slice Slice /system/systemd-coredump.
Mar 28 15:58:55 vainglory systemd[1]: Started Process Core Dump (PID 1667/UID 0).
Mar 28 15:58:55 vainglory sddm-greeter-qt6[1666]: High-DPI autoscaling Enabled
Mar 28 15:58:55 vainglory systemd-coredump[1668]: Process 1647 (weston) of user 175 dumped core.
                                                  
                                                  Module /nix/store/ha3i0cxdkdbx5yk1hf21zqgld82fb4wy-weston-15.0.0/bin/weston without build-id.
                                                  Module kiosk-shell.so without build-id.
                                                  Module libpciaccess.so.0 without build-id.
                                                  Module libbz2.so.1 without build-id.
                                                  Module liblzma.so.5 without build-id.
                                                  Module libxml2.so.16 without build-id.
                                                  Module libz.so.1 without build-id.
                                                  Module libstdc++.so.6 without build-id.
                                                  Module libdrm_intel.so.1 without build-id.
                                                  Module libdrm_amdgpu.so.1 without build-id.
                                                  Module libxshmfence.so.1 without build-id.
                                                  Module libxcb-sync.so.1 without build-id.
                                                  Module libsensors.so.5 without build-id.
                                                  Module libzstd.so.1 without build-id.
                                                  Module libgcc_s.so.1 without build-id.
                                                  Module libxcb-shm.so.0 without build-id.
                                                  Module libxcb-xfixes.so.0 without build-id.
                                                  Module libxcb-randr.so.0 without build-id.
                                                  Module libexpat.so.1 without build-id.
                                                  Module libX11-xcb.so.1 without build-id.
                                                  Module libX11.so.6 without build-id.
                                                  Module libXdmcp.so.6 without build-id.
                                                  Module libXau.so.6 without build-id.
                                                  Module libxcb-present.so.0 without build-id.
                                                  Module libxcb-dri3.so.0 without build-id.
                                                  Module libxcb.so.1 without build-id.
                                                  Module libGLdispatch.so.0 without build-id.
                                                  Module libGLESv2.so.2 without build-id.
                                                  Module libEGL.so.1 without build-id.
                                                  Module gl-renderer.so without build-id.
                                                  Module libseat.so.1 without build-id.
                                                  Module libgbm.so.1 without build-id.
                                                  Module drm-backend.so without build-id.
                                                  Module libpcre2-8.so.0 without build-id.
                                                  Module libcap-ng.so.0 without build-id.
                                                  Module libgudev-1.0.so.0 without build-id.
                                                  Module libaudit.so.1 without build-id.
                                                  Module libwacom.so.9 without build-id.
                                                  Module libmtdev.so.1 without build-id.
                                                  Module libffi.so.8 without build-id.
                                                  Module libpam.so.0 without build-id.
                                                  Module libxkbcommon.so.0 without build-id.
                                                  Module libdrm.so.2 without build-id.
                                                  Module libdisplay-info.so.2 without build-id.
                                                  Module libevdev.so.2 without build-id.
                                                  Module libinput.so.10 without build-id.
                                                  Module libweston-15.so.0 without build-id.
                                                  Module libexec_weston.so.0 without build-id.
                                                  Stack trace of thread 1647:
                                                  #0  0x00007f6837c9fdcc __pthread_kill_implementation (libc.so.6 + 0x9fdcc)
                                                  #1  0x00007f6837c4265e raise (libc.so.6 + 0x4265e)
                                                  #2  0x00007f6837c29350 abort (libc.so.6 + 0x29350)
                                                  #3  0x00007f6837c292b9 __assert_fail_base.cold (libc.so.6 + 0x292b9)
                                                  #4  0x00007f6836cacceb gl_renderer_use_program.cold (gl-renderer.so + 0x7ceb)
                                                  #5  0x00007f6836cb5471 gl_renderer_repaint_output (gl-renderer.so + 0x10471)
                                                  #6  0x00007f6836f784ab drm_output_render_gl (drm-backend.so + 0x204ab)
                                                  #7  0x00007f6836f6c1dc drm_output_render (drm-backend.so + 0x141dc)
                                                  #8  0x00007f6836f6c37e drm_output_repaint (drm-backend.so + 0x1437e)
                                                  #9  0x00007f6837bb0de3 output_repaint_timer_handler (libweston-15.so.0 + 0x39de3)
                                                  #10 0x00007f6837e4e252 wl_event_loop_dispatch (libwayland-server.so.0 + 0xd252)
                                                  #11 0x00007f6837e4b6d5 wl_display_run (libwayland-server.so.0 + 0xa6d5)
                                                  #12 0x00007f6837e834f6 wet_main (libexec_weston.so.0 + 0x144f6)
                                                  #13 0x00007f6837c2b285 __libc_start_call_main (libc.so.6 + 0x2b285)
                                                  #14 0x00007f6837c2b338 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2b338)
                                                  #15 0x000055c8e51c0085 _start (/nix/store/ha3i0cxdkdbx5yk1hf21zqgld82fb4wy-weston-15.0.0/bin/weston + 0x1085)
                                                  ELF object binary architecture: AMD x86-64
Mar 28 15:58:55 vainglory systemd[1]: systemd-coredump@0-1-1667_1668-0.service: Deactivated successfully.
Mar 28 15:58:55 vainglory systemd[1]: systemd-coredump@0-1-1667_1668-0.service: Consumed 77ms CPU time over 112ms wall clock time, 38.5M memory peak, 2.1M read from disk, 5.6M written to disk.
Mar 28 15:58:55 vainglory sddm-greeter-qt6[1666]: Loading shell integration failed.
Mar 28 15:58:55 vainglory sddm-greeter-qt6[1666]: Attempted to load the following shells QList("xdg-shell")
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: wayland compositor finished 6 QProcess::CrashExit
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: quitting helper-start-wayland
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: Stopping... "/nix/store/fr435s8082jdkxvr0gsln67d57hypjjx-sddm-wrapped/bin/sddm-greeter-qt6"
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: wayland greeter finished 15 QProcess::CrashExit
Mar 28 15:58:55 vainglory sddm-helper-start-wayland[1646]: quitting helper-start-wayland
Mar 28 15:58:55 vainglory sddm-helper[1627]: [PAM] Closing session
Mar 28 15:58:55 vainglory sddm-helper[1627]: [PAM] Ended.
Mar 28 15:58:55 vainglory systemd[1]: session-c1.scope: Deactivated successfully.
Mar 28 15:58:55 vainglory sddm[1619]: Auth: sddm-helper exited successfully
Mar 28 15:58:55 vainglory sddm[1619]: Greeter stopped. SDDM::Auth::HELPER_SUCCESS

...

Just a very superficial guess at this point, but seems the issue was with wayland for some reason. Researched the issue here and discovered a similar thread [1]. Recommendation and general consensus agrees that services.displayManager.sddm.wayland.enable = true is the cause [2].

Lo and behold, after flipping that configuration, rebuilding system, and rebooting. I am now able to load sddm.

[1] Sddm fails to launch
[2] Sddm fails to launch - #15 by TLATER

Rather than a generic issue “with wayland”, this looks like an upstream bug. Consider raising an issue.

Probably a good idea. I just figured it was a personal issue with running ~10 yr old GPU :sweat_smile:

Would upstream be weston (display server?) or sddm? Seems assertion is happening within weston code path, so will probably submit there.

I’d probably file with sddm, and have them decide whether it’s their bug or weston’s. I’m not sure if weston handles the shaders by itself.

1 Like

created issue with sddm:

so this particular issue was already fixed upstream with weston and nixpkgs weston maintainers already put out patch last month:

1 Like