NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.34k stars 13.58k forks source link

nvidia-smi only reporting 3/4 GPUs while Ubuntu reports 4/4 GPUs #73804

Closed CMCDragonkai closed 4 years ago

CMCDragonkai commented 4 years ago

On a server which I have 4x RTX2070 GPUs and Intel Onboard Graphics, when installing the 19.09 NixOS, and running nvidia-smi, I only see 3 out of 4 GPUs. It's always the first GPU that is missing.

When I switch to Ubuntu 18.04 (running Linux 5.0), and run nvidia-smi, I see 4 GPUs

Both systems are using the 435.21 drivers on RTX2070 GPUs.

On IRC, somebody else mentioned this problem and confirmed that they fixed it somehow, but it didn't quite work for me.

On the server, I need to use intel driver, because the display is driven by the VGA not the GPUs which use the onboard graphics.

The GPUs are only meant for compute. And this is not an optimus situation.

This is my configuration (for the netboot system), I'm building on nixpkgs hash: f6dac8083874408fe287525007d3da9decd9bf44

{ config, pkgs, lib, ... }:
  let
    options = import ./options.nix;
    nixpkgs = lib.cleanSource pkgs.path;
    channelSources = pkgs.runCommand "nixos-${config.system.nixos.version}"
      { preferLocalBuild = true; }
      ''
        mkdir -p $out
        cp -prd ${nixpkgs.outPath} $out/nixos
        chmod -R u+w $out/nixos
        if [ ! -e $out/nixos/nixpkgs ]; then
          ln -s . $out/nixos/nixpkgs
        fi
        echo -n ${config.system.nixos.revision} > $out/nixos/.git-revision
        echo -n ${config.system.nixos.versionSuffix} > $out/nixos/.version-suffix
        echo ${config.system.nixos.versionSuffix} | sed -e s/pre// > $out/nixos/svn-revision
      '';
  in
    {

      # Bootloader is IPXE
      boot.loader.grub.enable = false;

      # Kernel
      boot.kernelPackages = pkgs.linuxPackages_4_19;
      boot.kernelParams = [];

      hardware.enableRedistributableFirmware = true;

      # Autoload kernel modules by scanning hardware
      boot.hardwareScan = true;

      # Kernel modules available for loading for stage 1 boot
      boot.initrd.supportedFilesystems = [];
      boot.initrd.kernelModules = [ "loop" ];
      boot.initrd.availableKernelModules = [
        "ahci"
        "xhci_pci"
        "nvme"
        "usbhid"
        "usb_storage"
        "sd_mod"
        "uas"
        "squashfs"
      ];

      # Kernel modules
      boot.kernelModules = [ "kvm-intel" "coretemp" ];
      boot.supportedFilesystems = [ "zfs" "nfs" ];
      boot.extraModulePackages = [ config.boot.kernelPackages.nvidia_x11 ];

      boot.postBootCommands = ''
        # After booting, register the contents of the Nix store in the Nix database in the tmpfs.
        ${config.nix.package}/bin/nix-store --load-db < /nix/store/nix-path-registration

        # nixos-rebuild also requires a "system" profile and an /etc/NIXOS tag.
        touch /etc/NIXOS
        ${config.nix.package}/bin/nix-env -p /nix/var/nix/profiles/system --set /run/current-system

        # Setup the default nix channel
        if ! [ -e /var/lib/nixos/did-channel-init ]; then
          echo "unpacking the NixOS/Nixpkgs sources..."
          mkdir -p /nix/var/nix/profiles/per-user/root
          ${config.nix.package.out}/bin/nix-env -p /nix/var/nix/profiles/per-user/root/channels \
            -i ${channelSources} --quiet --option build-use-substitutes false
          mkdir -m 0700 -p /root/.nix-defexpr
          ln -s /nix/var/nix/profiles/per-user/root/channels /root/.nix-defexpr/channels
          mkdir -m 0755 -p /var/lib/nixos
          touch /var/lib/nixos/did-channel-init
        fi

        # Copy over the current configuration
        if ! [ -e /etc/nixos/configuration.nix ]; then
          cp -r -n ${./.}/. /etc/nixos
        fi

      '';

      boot.runSize = "50%"; # /run
      boot.devShmSize = "50%"; # /dev/shm
      boot.devSize = "5%"; # /dev

      boot.zfs.devNodes = "/dev/disk/by-id";
      boot.zfs.forceImportAll = true;
      boot.zfs.forceImportRoot = true;

      fileSystems = {
        "/" = {
            fsType = "tmpfs";
            options = [ "mode=0755" ];
        };
        "/nix/.ro-store" = {
          fsType = "squashfs";
          device = "../nix-store.squashfs";
          options = [ "loop" ];
          neededForBoot = true;
        };
        "/nix/.rw-store" = {
          fsType = "tmpfs";
          options = [ "mode=0755" ];
          neededForBoot = true;
        };
        "/nix/store" = {
          fsType = "unionfs-fuse";
          device = "unionfs";
          options = [
            "allow_other"
            "cow"
            "nonempty"
            "chroot=/mnt-root"
            "max_files=32768"
            "hide_meta_files" "dirs=/nix/.rw-store=rw:/nix/.ro-store=ro" ];
        };
        "/srv" = {
          device = "rpool";
          fsType = "zfs";
        };
        "/tmp" = {
            device = "rpool/tmp";
            fsType = "zfs";
        };
      }
      // lib.optionalAttrs (options.bootDevice != null)
      {
        "/boot" = {
          device = options.bootDevice;
          fsType = "vfat";
        };
      };

      swapDevices = builtins.map (p: { device = p; } ) options.swapDevices;

      # CPU
      hardware.cpu.intel.updateMicrocode = true;
      powerManagement.cpuFreqGovernor = "ondemand";

      # Video acceleration
      hardware.opengl.enable = true;
      hardware.opengl.driSupport = true;
      hardware.opengl.driSupport32Bit = true;
      hardware.opengl.extraPackages = [
        pkgs.vaapiIntel
        pkgs.vaapiVdpau
        pkgs.libvdpau-va-gl
      ];

      # Audio
      sound.enable = false;
      sound.mediaKeys.enable = false;
      hardware.pulseaudio.enable = false;

      # Bluetooth
      hardware.bluetooth.enable = false;

      # Extra peripherals
      hardware.u2f.enable = true;
      hardware.sane.enable = false;

      # Networking
      networking = rec {
        hostName = options.systemName;
        hostId = builtins.substring 0 8 (builtins.hashString "sha256" hostName);
        nameservers = import ./nameservers.nix;
        firewall = {
          enable = true;
          allowPing = true;
          pingLimit = "--limit 3/second --limit-burst 5";
          allowedTCPPorts = [
            22    # ssh
            55555 # five 5s for custom TCP
          ];
          allowedUDPPorts = [
            53 # dnsmasq dns
            67 # dnsmasq dhcp
            22 # ssh
            55555 # five 5s for custom UDP
          ];
          rejectPackets = false;
          logRefusedConnections = true;
          logRefusedPackets = false;
          logRefusedUnicastsOnly = false;
        };
      };

      time.timeZone = "Australia/Sydney";

      i18n = {
        consoleKeyMap = "us";
        defaultLocale = "en_AU.UTF-8";
      };

      nix.maxJobs = 32;
      nix.buildCores = 0;
      nix.useSandbox = true;
      nix.readOnlyStore = true;
      nix.autoOptimiseStore = true;
      nix.extraOptions = ''
        fsync-metadata = true
      '';
      nix.sandboxPaths = [ "/run/keys" ];

      nixpkgs.config.allowUnfree = true;

      environment.variables = {
        GC_INITIAL_HEAP_SIZE = "1M";
      };

      environment.systemPackages = with pkgs; [
        grub2_efi       # needed for building us?
        coreutils       # basic shell utilities
        gnused          # sed
        gnugrep         # grep
        gawk            # awk
        ncurses         # tput (terminal control)
        iw              # wireless configuration
        iproute         # ip, tc
        nettools        # hostname, ifconfig
        dmidecode       # dmidecode
        lshw            # lshw
        pciutils        # lspci, setpci
        usbutils        # lsusb
        utillinux       # linux system utilities
        cryptsetup      # luks
        mtools          # disk labelling
        smartmontools   # disk monitoring
        lm_sensors      # fan monitoring
        xorg.xbacklight # monitor brightness
        procps          # ps, top, pidof, vmstat, slabtop, skill, w
        psmisc          # fuser, killall, pstree, peekfd
        shadow          # passwd, su
        mkpasswd        # mkpasswd
        efibootmgr      # efi management
        openssh         # ssh
        gnupg           # encryption/decryption/signing
        hdparm          # disk info
        git             # needed for content addressed nixpkgs
      ];

      # Program configuration
      programs.zsh.enable = true;
      programs.zsh.enableCompletion = true;
      programs.bash.enableCompletion = true;
      programs.gnupg.agent = { enable = true; enableSSHSupport = true; };
      programs.mtr.enable = true;

      documentation.enable = false;
      documentation.nixos.enable = false;

      # Virtualisation
      virtualisation.libvirtd.enable = true;
      virtualisation.docker = {
        enable = true;
        enableNvidia = true;
      };

      services = {
        mingetty = {
          greetingLine = ''[[[ \l @ \n (\s \r \m) ]]]'';
          autologinUser = options.operator;
        };
        gpm.enable = true;
        avahi.enable = true;
        kmscon.enable = true;
        kmscon.hwRender = true;
        dbus.enable = true;
        haveged.enable = true;
        locate.enable = true;
        cron.enable = false;
        openssh = {
          enable = true;
          startWhenNeeded = true;
          permitRootLogin = "no";
          passwordAuthentication = false;
          forwardX11 = true;
          allowSFTP = true;
          gatewayPorts = "clientspecified";
          ports = [ 22 ];
          extraConfig = ''
            PrintLastLog no
          '';
        };
        xserver = {
          enable = true;
          autorun = true;
          exportConfiguration = true;
          videoDrivers = [ "intel" ];
          displayManager = {
            sddm.enable = true;
            hiddenUsers = [ "root" "nobody" ]; # cannot login to root
          };
          desktopManager = {
            xterm.enable = false;
            plasma5.enable = true;
          };
        };
      };

      users = {
        defaultUserShell = "/run/current-system/sw/bin/zsh";
        enforceIdUniqueness = true;
        users = {
          "${options.operator}" = {
            isNormalUser = true;
            group = "operators";
            extraGroups = [ "wheel" "docker" "plugdev" ];
            initialHashedPassword = "";
          };
          root = {
            initialHashedPassword = "";
          };
        };
        groups = {
          operators = {
            gid = 1000;
          };
          plugdev = {
            gid = 1001;
          };
        };
      };

      # Security
      security.sudo.wheelNeedsPassword = false;
      security.sudo.extraConfig = ''
        Defaults umask = 0022
        Defaults umask_override
      '';

      environment.etc."os-release".text = pkgs.lib.mkForce ''
        NAME="${options.systemDesc}"
        ID="${options.systemName}"
      '';

      system.nixos = {
        versionSuffix = lib.trivial.versionSuffix;
        revision = lib.removePrefix ".git." lib.trivial.versionSuffix;
      };

      system.build = {
        squashfsStore = pkgs.callPackage (pkgs.path + "/nixos/lib/make-squashfs.nix") {
          storeContents = [ config.system.build.toplevel ];
        };
        netbootRamdisk = pkgs.makeInitrd {
          inherit (config.boot.initrd) compressor;
          prepend = [ "${config.system.build.initialRamdisk}/initrd" ];
          contents = [
            {
              object = config.system.build.squashfsStore;
              symlink = "/nix-store.squashfs";
            }
          ];
        };
        netbootIpxeScript = pkgs.writeTextDir "netboot.ipxe" ''
          #!ipxe
          kernel ${pkgs.stdenv.hostPlatform.platform.kernelTarget} init=${config.system.build.toplevel}/init initrd=initrd ${toString config.boot.kernelParams}
          imgverify bzImage bzImage.sig
          initrd initrd
          imgverify initrd initrd.sig
          boot
        '';
      };

    }
CMCDragonkai commented 4 years ago

To add extra detail, the above configuration results in xserver failing to start up. And goes into a loop, then the screen goes blank.

So I've not been able to successfully run the X GUI on the server either. But when I disabled the xserver, and just go straight to tty1, I only get nvidia-smi showing only 3 GPUs.

If I don't disable xserver and it's still breaks, I switch to tty2/tty3, and run nvidia-smi and only shows 3 GPUs.

eadwu commented 4 years ago

I know you said this isn't an optimus solution, but in the prime render offload solution, Turing GPUs should be able to completely power down after some power management tweaks.

Otherwise, I don't know if I remember it correctly, but from what I can recall I think that to use the GPUs for compute only purposes, they still need to be in the Xorg configuration, but they have to be explicitly configured to not be used for the display.

coreyoconnor commented 4 years ago

Ran into this issue as well. Looks to be a permissions issue on my system.

@CMCDragonkai can you try sudo nvidia-smi vs nvidia-smi? On my system sudo always reports the correct number of GPUs.

Probably related are udev failures:

Invalid value "/nix/store/wd1jazzawjk4w1d31ism7fm7vdg4ma9l-bash-4.4-p23/bin/bash -c 'mknod -m 666 /dev/nvidia-uvm c $(grep nvidia-uvm /proc/devices | cut -d \  -f 1) 0'" for RUN (char 102: invalid substitution type), ignoring, but please fix it.

That does looks like a rule that, if skipped, would result in this behaviour.

CMCDragonkai commented 4 years ago

@coreyoconnor I can try that and report later. But I would like to know how to achieve what @eadwu mentions. How do I get the intel onboard VGA working while having the nvidia driver activated for only compute for the 4 GPUs? Consider that I'm not even able to get xserver properly started atm.

So this bug is actually 2 things:

  1. How do I get xserver started
  2. Why is there only 3/4 gpus reported

Perhaps if 1. gets solved, then 2. gets solved too.

Note that I have of course used this kind of configuration for many other workstations that have GPUs as well and I've never had a problem in starting xserver until now.

CMCDragonkai commented 4 years ago

For reference: https://gist.github.com/wangruohui/bc7b9f424e3d5deb0c0b8bba990b1bc5

CMCDragonkai commented 4 years ago

For reference, this is what Ubuntu reports:

ubuntu

This is what NixOS shows:

nixosnvidiasmi

Notice that even the performance setting is different. Also the power usage. NixOS is setting the GPUs on P0 setting and running the temperature higher.

eadwu commented 4 years ago

If you're talking about prime render offload, it'll need patches to nixpkgs since it hasn't been merged to master yet. The core patch for the feature is contained in https://github.com/NixOS/nixpkgs/pull/66601. I don't know how much you'll actually be suspending or hibernating but if you ever want to do those you probably want https://github.com/NixOS/nixpkgs/pull/73530 as well. There's also https://github.com/NixOS/nixpkgs/pull/73167 for the latest release for NVIDIA. For the "experimental" PM for Turing GPUs, you probably want to look here [1].

Also just a warning but I have no clue how this works with multiple GPUs since NVIDIA users are pretty sparse as is here and most of us only have an iGPU and dGPU so yeah.

[1] https://download.nvidia.com/XFree86/Linux-x86_64/440.26/README/dynamicpowermanagement.html

So uh, while I was typing this I kinda came to the realization that I assumed that render offload would only have 1 dGPU from my setup and that isn't really required but due to it, it wouldn't really work with multiple GPUs as of yet.

CMCDragonkai commented 4 years ago

@eadwu I don't know what you're talking about. This problem doesn't have anything to do with prime or optimus, and this system is not a laptop, its a big giant server that will not be hibernating ever.

CMCDragonkai commented 4 years ago

@coreyoconnor I have tested with sudo nvidia-smi, it ended up working.

So what happened is that nvidia-smi first showed only 3/4.

Then I ran sudo nvidia-smi, and I ended up with 4/4 GPUs.

Then subsequent runs of nvidia-smi shows 4/4 GPUs without the need of sudo.

That's really strange. So what's causing this problem? I should also mention that nvidia-smi seems to lag a bit, and on NixOS it's all P0 states, whereas on Ubuntu I get P8 states.

CMCDragonkai commented 4 years ago

I had to change back xserver.videoDrivers = [ "intel" "nvidia" ]; in order to even get the nvidia-smi command.

Also the xserver keeps failing, and I have took a video of the actual log taken from journalctl of display-manager.service. No matter what it keeps failing.

In the video, the error starts at:

(II) Module "ramdac" already built-in
(EE) No devices detected.
(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) Pleas also check the log file at "/dev/null" for additional information
(EE)
(EE) Server terminated with error (1). Closing log file

Can't attach video, so here are screen shots of the relevant parts:

vlcsnap-2019-11-22-17h20m31s779

Also I found this issue with No monitor specified for screen "Screen-intel[0]" and No monitor specified for screen "Screen-nvidia[0]", not sure if this is a problem as well, if that means we need to specify a default monitor for intel, and not for nvidia:

vlcsnap-2019-11-22-17h22m02s733

mdedetrich commented 4 years ago

I had to change back xserver.videoDrivers = [ "intel" "nvidia" ]; in order to even get the nvidia-smi command.

Somewhat unrelated but I had to do something similar to get my nvidia card working on my laptop, I even updated the wiki page at https://nixos.wiki/wiki/Nvidia to reflect this.

I was getting the exact same error, i.e.

Fatal server error:
(EE) no screens found(EE)
(EE)

It seems like unless you have intel nixos can't even detect any screens. Maybe we should make a bug report about this topic?

CMCDragonkai commented 4 years ago

@mdedetrich That problem doesn't exist on my pure-nvidia systems, that is systems that don't have an intel onboard video card. In those systems, my monitors are connected directly to the NVIDIA cards.

But this problem is for a server that has intel onboard graphics with a VGA connector that I use to connect to the screen. While the 4 GPUs have nothing connected to them since they are only used for compute.

And in my situation even if I have intel and nvidia added as video drivers, my X server still doesn't start.

At the moment, there are 2 problems.

coreyoconnor commented 4 years ago

@CMCDragonkai does this server have error messages like the following in the journal:

Dec 01 21:01:32 grr systemd-udevd[499500]: card2: Process '/nix/store/wd1jazzawjk4w1d31ism7fm7vdg4ma9l-bash-4.4-p23/bin/bash -c 'mknod -m 666 /dev/nvidia2 c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 2'' failed with exit code 1.
Dec 01 21:01:32 grr systemd-udevd[499468]: card1: Process '/nix/store/wd1jazzawjk4w1d31ism7fm7vdg4ma9l-bash-4.4-p23/bin/bash -c 'mknod -m 666 /dev/nvidia1 c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 1'' failed with exit code 1.
Dec 01 21:01:32 grr systemd-udevd[499505]: Using default interface naming scheme 'v243'.
Dec 01 21:01:32 grr systemd-udevd[499502]: Using default interface naming scheme 'v243'.
Dec 01 21:01:32 grr systemd-udevd[3360]: /nix/store/bgrghq0nlszbdc10k960syicnis118lc-udev-rules/99-local.rules:36 Invalid value "/nix/store/wd1jazzawjk4w1d31ism7fm7vdg4ma9l-bash-4.4-p23/bin/bash -c 'mknod -m 666 /dev/nvidia-uvm c $(grep nvidia-uvm /proc>
Dec 01 21:01:32 grr systemd-udevd[3360]: /nix/store/bgrghq0nlszbdc10k960syicnis118lc-udev-rules/99-local.rules:35 Invalid value "/nix/store/wd1jazzawjk4w1d31ism7fm7vdg4ma9l-bash-4.4-p23/bin/bash -c 'mknod -m 666 /dev/nvidia%n c $(grep nvidia-frontend /p>
Dec 01 21:01:32 grr systemd-udevd[3360]: /nix/store/bgrghq0nlszbdc10k960syicnis118lc-udev-rules/99-local.rules:34 Invalid value "/nix/store/wd1jazzawjk4w1d31ism7fm7vdg4ma9l-bash-4.4-p23/bin/bash -c 'mknod -m 666 /dev/nvidia-modeset c $(grep nvidia-front>
Dec 01 21:01:32 grr systemd-udevd[3360]: /nix/store/bgrghq0nlszbdc10k960syicnis118lc-udev-rules/99-local.rules:33 Invalid value "/nix/store/wd1jazzawjk4w1d31ism7fm7vdg4ma9l-bash-4.4-p23/bin/bash -c 'mknod -m 666 /dev/nvidiactl c $(grep nvidia-frontend />
CMCDragonkai commented 4 years ago

Some extra tests I've done on an "optimus laptop". Basically a laptop that has an integrated intel GPU and also an NVIDIA RTX 2070 GPU.

In the beginning the laptop has the same problem with xserver.videoDrivers = [ "nvidia" ];. Basically X server doesn't start, and also nvidia-smi showed that the GPUs were at P0 state.

One thing that fixed this was xserver.videoDrivers = [ "intel" "nvidia" ];. This solve the problem for the laptop. The X server started and the NVIDIA GPU is now at P8 state.

One thing that I'm confused about all of this. Is that I'm using Optimus at all. For example all of these options: https://nixos.org/nixos/options.html#optimus are irrelevant for the server. I'm not interested in shutting down the discrete GPUs when I'm not using them.

However for the laptop, I have not enabled any of these optimus settings either. But it appears that the laptop is capable of using intel for rendering and nvidia for compute in this case.

Am I right in guessing that enabling optimus would also potentially allow nvidia to render some windows (atm for the server/laptop, nvidia cannot be used to render, only compute). According to wikipedia:

Since driver version 435 the proprietary driver supports render offloading of a single window. It creates a virtual display where the dGPU renders to, which will be displayed in the window on the ma in screen for offloaded application.[10] As of October 2019 this requires usage of the xorg development branch, since needed modifications are not yet released.

Unfortunately for the server, having just xserver.videoDrivers = [ "intel" "nvidia" ]; is not sufficient to start the xserver.

This may be relevant: https://github.com/NixOS/nixpkgs/pull/66601 and will probably be the default method for any optimus laptops in the future.

CMCDragonkai commented 4 years ago

@coreyoconnor Yes I do see it. Here is the output of journalctl -u systemd-udevd:

-- Logs begin at Fri 2019-12-06 14:57:10 AEDT, end at Fri 2019-12-06 15:15:04 AEDT. --
Dec 06 14:57:10 formbay-ml-netboot systemd-udevd[1055]: /nix/store/1nvfl99xv5p6fnsj7hhwgwr7s8znyzxg-udev-rules/11-dm-lvm.rules:40 Invalid value for OPTIONS key, ignoring: 'event_timeout=180'
Dec 06 14:57:10 formbay-ml-netboot systemd-udevd[1055]: /nix/store/1nvfl99xv5p6fnsj7hhwgwr7s8znyzxg-udev-rules/11-dm-lvm.rules:40 The line takes no effect, ignoring.
Dec 06 14:57:10 formbay-ml-netboot systemd-udevd[1055]: /nix/store/1nvfl99xv5p6fnsj7hhwgwr7s8znyzxg-udev-rules/99-local.rules:15 Invalid value "/nix/store/506nnycf7nk22x7n07mjjjl2g8nifpda-bash-4.4-p23/bin/bash -c 'mknod -m 666 /dev/nvidiactl c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 255'" for RUN (char 101: invalid substitution type), ignoring, but please fix it.
Dec 06 14:57:10 formbay-ml-netboot systemd-udevd[1055]: /nix/store/1nvfl99xv5p6fnsj7hhwgwr7s8znyzxg-udev-rules/99-local.rules:16 Invalid value "/nix/store/506nnycf7nk22x7n07mjjjl2g8nifpda-bash-4.4-p23/bin/bash -c 'mknod -m 666 /dev/nvidia-modeset c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 254'" for RUN (char 106: invalid substitution type), ignoring, but please fix it.
Dec 06 14:57:10 formbay-ml-netboot systemd-udevd[1055]: /nix/store/1nvfl99xv5p6fnsj7hhwgwr7s8znyzxg-udev-rules/99-local.rules:17 Invalid value "/nix/store/506nnycf7nk22x7n07mjjjl2g8nifpda-bash-4.4-p23/bin/bash -c 'mknod -m 666 /dev/nvidia%n c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) %n'" for RUN (char 100: invalid substitution type), ignoring, but please fix it.
Dec 06 14:57:10 formbay-ml-netboot systemd-udevd[1055]: /nix/store/1nvfl99xv5p6fnsj7hhwgwr7s8znyzxg-udev-rules/99-local.rules:18 Invalid value "/nix/store/506nnycf7nk22x7n07mjjjl2g8nifpda-bash-4.4-p23/bin/bash -c 'mknod -m 666 /dev/nvidia-uvm c $(grep nvidia-uvm /proc/devices | cut -d \  -f 1) 0'" for RUN (char 102: invalid substitution type), ignoring, but please fix it.
Dec 06 14:57:10 formbay-ml-netboot systemd[1]: Started udev Kernel Device Manager.
Dec 06 14:57:11 formbay-ml-netboot mtp-probe[1160]: checking bus 1, device 6: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11.4"
Dec 06 14:57:11 formbay-ml-netboot mtp-probe[1158]: checking bus 1, device 3: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11.1"
Dec 06 14:57:11 formbay-ml-netboot mtp-probe[1159]: checking bus 1, device 5: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11.3"
Dec 06 14:57:11 formbay-ml-netboot mtp-probe[1162]: checking bus 1, device 4: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11.2"
Dec 06 14:57:11 formbay-ml-netboot mtp-probe[1160]: bus: 1, device: 6 was not an MTP device
Dec 06 14:57:11 formbay-ml-netboot mtp-probe[1158]: bus: 1, device: 3 was not an MTP device
Dec 06 14:57:11 formbay-ml-netboot mtp-probe[1159]: bus: 1, device: 5 was not an MTP device
Dec 06 14:57:11 formbay-ml-netboot mtp-probe[1162]: bus: 1, device: 4 was not an MTP device
Dec 06 14:57:11 formbay-ml-netboot systemd-udevd[1107]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Dec 06 14:57:11 formbay-ml-netboot systemd-udevd[1102]: Using default interface naming scheme 'v243'.
Dec 06 14:57:11 formbay-ml-netboot systemd-udevd[1102]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Dec 06 14:57:11 formbay-ml-netboot systemd-udevd[1107]: Using default interface naming scheme 'v243'.
Dec 06 14:57:12 formbay-ml-netboot systemd-udevd[1107]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Dec 06 14:57:12 formbay-ml-netboot systemd-udevd[1102]: eth0: Process '/nix/store/506nnycf7nk22x7n07mjjjl2g8nifpda-bash-4.4-p23/bin/sh -c 'echo 2 > /proc/sys/net/ipv6/conf/eth0/use_tempaddr'' failed with exit code 1.
Dec 06 14:57:12 formbay-ml-netboot systemd-udevd[1107]: eth1: Process '/nix/store/506nnycf7nk22x7n07mjjjl2g8nifpda-bash-4.4-p23/bin/sh -c 'echo 2 > /proc/sys/net/ipv6/conf/eth1/use_tempaddr'' failed with exit code 1.
Dec 06 14:57:13 formbay-ml-netboot systemd-udevd[1114]: Using default interface naming scheme 'v243'.
Dec 06 14:57:13 formbay-ml-netboot systemd-udevd[1093]: nvidia: Process '/nix/store/506nnycf7nk22x7n07mjjjl2g8nifpda-bash-4.4-p23/bin/bash -c 'mknod -m 666 /dev/nvidiactl c $(grep nvidia-frontend /proc/devices | cut -d \  -f 1) 255'' failed with exit code 1.
Dec 06 14:57:20 formbay-ml-netboot systemd-udevd[1104]: Using default interface naming scheme 'v243'.
Dec 06 14:57:20 formbay-ml-netboot systemd-udevd[1142]: Using default interface naming scheme 'v243'.
Dec 06 14:57:20 formbay-ml-netboot systemd-udevd[1142]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Dec 06 14:57:20 formbay-ml-netboot systemd-udevd[1104]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.
Dec 06 14:57:54 formbay-ml-netboot systemd-udevd[3407]: Using default interface naming scheme 'v243'.
Dec 06 14:57:54 formbay-ml-netboot systemd-udevd[3407]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable.

What do these logs mean in relation to X server?

X server is complaining it cannot find the display.

CMCDragonkai commented 4 years ago

Here's the display-manager.service log:

-- Logs begin at Fri 2019-12-06 14:57:10 AEDT, end at Fri 2019-12-06 15:18:25 AEDT. --
Dec 06 14:57:19 formbay-ml-netboot systemd[1]: Starting X11 Server...
Dec 06 14:57:19 formbay-ml-netboot systemd[1]: Started X11 Server.
Dec 06 14:57:20 formbay-ml-netboot sddm[2715]: Initializing...
Dec 06 14:57:20 formbay-ml-netboot sddm[2715]: Starting...
Dec 06 14:57:20 formbay-ml-netboot sddm[2715]: Logind interface found
Dec 06 14:57:20 formbay-ml-netboot sddm[2715]: Adding new display on vt 7 ...
Dec 06 14:57:20 formbay-ml-netboot sddm[2715]: Loading theme configuration from ""
Dec 06 14:57:20 formbay-ml-netboot sddm[2715]: Display server starting...
Dec 06 14:57:20 formbay-ml-netboot sddm[2715]: Running: /nix/store/257m5l27y1kxa3d6l2rnphgw3rpx1fnc-xserver-wrapper -nolisten tcp -auth /var/run/sddm/{84511cb5-7150-4d17-a871-8eeb52df24c3} -background none -noreset -displayfd 18 -seat seat0 vt7
Dec 06 14:57:20 formbay-ml-netboot X[2731]: X.Org X Server 1.20.5
Dec 06 14:57:20 formbay-ml-netboot X[2731]: X Protocol Version 11, Revision 0
Dec 06 14:57:20 formbay-ml-netboot X[2731]: Build Operating System: Linux 4.19.79 x86_64
Dec 06 14:57:20 formbay-ml-netboot X[2731]: Current Operating System: Linux formbay-ml-netboot 4.19.80 #1-NixOS SMP Thu Oct 17 20:45:44 UTC 2019 x86_64
Dec 06 14:57:20 formbay-ml-netboot X[2731]: Kernel command line: bzImage init=/nix/store/1ndjpimay9kw8ydx0pl86xg14i2lgrx6-nixos-system-formbay-ml-netboot-19.09pre-git/init initrd=initrd loglevel=4
Dec 06 14:57:20 formbay-ml-netboot X[2731]: Build Date: 30 May 2019  06:28:09PM
Dec 06 14:57:20 formbay-ml-netboot X[2731]:  
Dec 06 14:57:20 formbay-ml-netboot X[2731]: Current version of pixman: 0.38.4
Dec 06 14:57:20 formbay-ml-netboot X[2731]:         Before reporting problems, check http://wiki.x.org
Dec 06 14:57:20 formbay-ml-netboot X[2731]:         to make sure that you have the latest version.
Dec 06 14:57:20 formbay-ml-netboot X[2731]: Markers: (--) probed, (**) from config file, (==) default setting,
Dec 06 14:57:20 formbay-ml-netboot X[2731]:         (++) from command line, (!!) notice, (II) informational,
Dec 06 14:57:20 formbay-ml-netboot X[2731]:         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (++) Log file: "/dev/null", Time: Fri Dec  6 14:57:20 2019
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (++) Using config file: "/nix/store/pjwy137qapm524wffqnw1f3hq41favcj-xserver.conf"
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (==) Using system config directory "/nix/store/3mdq9nk9h40bhzx7dcs6ay35jira6xfn-xorg-server-1.20.5/share/X11/xorg.conf.d"
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (==) ServerLayout "Layout[all]"
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (**) |-->Screen "Screen-intel[0]" (0)
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (**) |   |-->Monitor "<default monitor>"
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (**) |   |-->Device "Device-intel[0]"
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (==) No monitor specified for screen "Screen-intel[0]".
Dec 06 14:57:20 formbay-ml-netboot X[2731]:         Using a default monitor configuration.
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (**) |-->Screen "Screen-nvidia[0]" (1)
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (**) |   |-->Monitor "<default monitor>"
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (**) |   |-->Device "Device-nvidia[0]"
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (==) No monitor specified for screen "Screen-nvidia[0]".
Dec 06 14:57:20 formbay-ml-netboot X[2731]:         Using a default monitor configuration.
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (**) Option "DontZap" "on"
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (**) Option "AllowMouseOpenFail" "on"
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (==) Automatically adding devices
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (==) Automatically enabling devices
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (==) Automatically adding GPU devices
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (==) Max clients allowed: 256, resource mask: 0x1fffff
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (**) FontPath set to:
Dec 06 14:57:20 formbay-ml-netboot X[2731]:         /nix/store/b3c1r8xs4yyw6dajs0psr18c62gik6sb-font-bh-lucidatypewriter-100dpi-1.0.3/lib/X11/fonts/100dpi,
Dec 06 14:57:20 formbay-ml-netboot X[2731]:         /nix/store/jrk70qa3qg8kv3s4ichzs5ql0liww2rx-font-bh-lucidatypewriter-75dpi-1.0.3/lib/X11/fonts/75dpi,
Dec 06 14:57:20 formbay-ml-netboot X[2731]:         /nix/store/s8rlh3yylq8xwrsaskdkl9xys8qjdl47-font-bh-100dpi-1.0.3/lib/X11/fonts/100dpi,
Dec 06 14:57:20 formbay-ml-netboot X[2731]:         /nix/store/c437rzdiv97pk2763bz8iz59pc375hq9-font-misc-misc-1.1.2/lib/X11/fonts/misc,
Dec 06 14:57:20 formbay-ml-netboot X[2731]:         /nix/store/1y6y88g562l0vn56w250r01bv1b4hk8i-font-cursor-misc-1.0.3/lib/X11/fonts/misc,
Dec 06 14:57:20 formbay-ml-netboot X[2731]:         /nix/store/nyx1r5a0vnw0s84p8nh1mqcln89rm3rl-unifont-12.1.03/share/fonts,
Dec 06 14:57:20 formbay-ml-netboot X[2731]:         /nix/store/f2yan4m1zffpcdiy7ngvmnxbvz733g3d-font-adobe-100dpi-1.0.3/lib/X11/fonts/100dpi,
Dec 06 14:57:20 formbay-ml-netboot X[2731]:         /nix/store/l2v8125jcrsmfjgn5vnzll66r43m6553-font-adobe-75dpi-1.0.3/lib/X11/fonts/75dpi
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (**) ModulePath set to "/nix/store/hbsvrljgivxg91cpp8pzfpxxzb6yyd13-xf86-video-intel-2018-12-03/lib,/nix/store/hbsvrljgivxg91cpp8pzfpxxzb6yyd13-xf86-video-intel-2018-12-03/lib/xorg/modules/drivers,/nix/store/yqrfbiyzhpx94z676z4j8y3ha7vpqqxv-nvidia-x11-435.21-4.19.80-bin/lib/xorg/modules/extensions,/nix/store/yqrfbiyzhpx94z676z4j8y3ha7vpqqxv-nvidia-x11-435.21-4.19.80-bin/lib/xorg/modules/drivers,/nix/store/3mdq9nk9h40bhzx7dcs6ay35jira6xfn-xorg-server-1.20.5/lib/xorg/modules,/nix/store/3mdq9nk9h40bhzx7dcs6ay35jira6xfn-xorg-server-1.20.5/lib/xorg/modules/extensions,/nix/store/3mdq9nk9h40bhzx7dcs6ay35jira6xfn-xorg-server-1.20.5/lib/xorg/modules/drivers,/nix/store/45fshgajgi623bshkxcl83cg384k1zdh-xf86-input-evdev-2.10.6/lib/xorg/modules/input,/nix/store/36kgspnfz3zy7f3z6yd58bgibaajnfr6-xf86-input-libinput-0.28.2/lib/xorg/modules/input"
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (II) The server relies on udev to provide the list of input devices.
Dec 06 14:57:20 formbay-ml-netboot X[2731]:         If no devices become available, reconfigure udev or disable AutoAddDevices.
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (II) Loader magic: 0x626d40
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (II) Module ABI versions:
Dec 06 14:57:20 formbay-ml-netboot X[2731]:         X.Org ANSI C Emulation: 0.4
Dec 06 14:57:20 formbay-ml-netboot X[2731]:         X.Org Video Driver: 24.0
Dec 06 14:57:20 formbay-ml-netboot X[2731]:         X.Org XInput driver : 24.1
Dec 06 14:57:20 formbay-ml-netboot X[2731]:         X.Org Server Extension : 10.0
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (++) using VT number 7
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (II) xfree86: Adding drm device (/dev/dri/card0)
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (II) xfree86: Adding drm device (/dev/dri/card1)
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (II) xfree86: Adding drm device (/dev/dri/card2)
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (II) xfree86: Adding drm device (/dev/dri/card3)
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (II) xfree86: Adding drm device (/dev/dri/card4)
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (--) PCI:*(4@0:0:0) 1a03:2000:1043:86ed rev 65, Mem @ 0x90000000/67108864, 0x94000000/131072, I/O @ 0x00001000/128, BIOS @ 0x????????/131072
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (--) PCI: (59@0:0:0) 10de:1e84:1043:8715 rev 161, Mem @ 0xb7000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00007000/128, BIOS @ 0x????????/524288
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (--) PCI: (94@0:0:0) 10de:1e84:1043:8715 rev 161, Mem @ 0xc4000000/16777216, 0x1ffe0000000/268435456, 0x1fff0000000/33554432, I/O @ 0x00009000/128, BIOS @ 0x????????/524288
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (--) PCI: (175@0:0:0) 10de:1e84:1043:8715 rev 161, Mem @ 0xed000000/16777216, 0x2bfe0000000/268435456, 0x2bff0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (--) PCI: (216@0:0:0) 10de:1e84:1043:8715 rev 161, Mem @ 0xfa000000/16777216, 0x2ffe0000000/268435456, 0x2fff0000000/33554432, I/O @ 0x0000f000/128, BIOS @ 0x????????/524288
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (II) Open ACPI successful (/var/run/acpid.socket)
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (II) "glx" will be loaded by default.
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (II) LoadModule: "glx"
Dec 06 14:57:20 formbay-ml-netboot X[2731]: (II) Loading /nix/store/3mdq9nk9h40bhzx7dcs6ay35jira6xfn-xorg-server-1.20.5/lib/xorg/modules/extensions/libglx.so
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) Module glx: vendor="X.Org Foundation"
Dec 06 14:57:21 formbay-ml-netboot X[2731]:         compiled for 1.20.5, module version = 1.0.0
Dec 06 14:57:21 formbay-ml-netboot X[2731]:         ABI class: X.Org Server Extension, version 10.0
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) LoadModule: "intel"
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) Loading /nix/store/hbsvrljgivxg91cpp8pzfpxxzb6yyd13-xf86-video-intel-2018-12-03/lib/xorg/modules/drivers/intel_drv.so
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) Module intel: vendor="X.Org Foundation"
Dec 06 14:57:21 formbay-ml-netboot X[2731]:         compiled for 1.20.5, module version = 2.99.917
Dec 06 14:57:21 formbay-ml-netboot X[2731]:         Module class: X.Org Video Driver
Dec 06 14:57:21 formbay-ml-netboot X[2731]:         ABI class: X.Org Video Driver, version 24.0
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) LoadModule: "nvidia"
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) Loading /nix/store/yqrfbiyzhpx94z676z4j8y3ha7vpqqxv-nvidia-x11-435.21-4.19.80-bin/lib/xorg/modules/drivers/nvidia_drv.so
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) Module nvidia: vendor="NVIDIA Corporation"
Dec 06 14:57:21 formbay-ml-netboot X[2731]:         compiled for 1.6.99.901, module version = 1.0.0
Dec 06 14:57:21 formbay-ml-netboot X[2731]:         Module class: X.Org Video Driver
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
Dec 06 14:57:21 formbay-ml-netboot X[2731]:         i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
Dec 06 14:57:21 formbay-ml-netboot X[2731]:         915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Dec 06 14:57:21 formbay-ml-netboot X[2731]:         Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
Dec 06 14:57:21 formbay-ml-netboot X[2731]:         GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) intel: Driver for Intel(R) HD Graphics
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) intel: Driver for Intel(R) Iris(TM) Graphics
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) NVIDIA dlloader X Driver  435.21  Sun Aug 25 08:17:08 CDT 2019
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) Loading sub module "fb"
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) LoadModule: "fb"
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) Loading /nix/store/3mdq9nk9h40bhzx7dcs6ay35jira6xfn-xorg-server-1.20.5/lib/xorg/modules/libfb.so
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) Module fb: vendor="X.Org Foundation"
Dec 06 14:57:21 formbay-ml-netboot X[2731]:         compiled for 1.20.5, module version = 1.0.0
Dec 06 14:57:21 formbay-ml-netboot X[2731]:         ABI class: X.Org ANSI C Emulation, version 0.4
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) Loading sub module "wfb"
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) LoadModule: "wfb"
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) Loading /nix/store/3mdq9nk9h40bhzx7dcs6ay35jira6xfn-xorg-server-1.20.5/lib/xorg/modules/libwfb.so
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) Module wfb: vendor="X.Org Foundation"
Dec 06 14:57:21 formbay-ml-netboot X[2731]:         compiled for 1.20.5, module version = 1.0.0
Dec 06 14:57:21 formbay-ml-netboot X[2731]:         ABI class: X.Org ANSI C Emulation, version 0.4
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) Loading sub module "ramdac"
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) LoadModule: "ramdac"
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (II) Module "ramdac" already built-in
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (EE) No devices detected.
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (EE)
Dec 06 14:57:21 formbay-ml-netboot X[2731]: Fatal server error:
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (EE) no screens found(EE)
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (EE)
Dec 06 14:57:21 formbay-ml-netboot X[2731]: Please consult the The X.Org Foundation support
Dec 06 14:57:21 formbay-ml-netboot X[2731]:          at http://wiki.x.org
Dec 06 14:57:21 formbay-ml-netboot X[2731]:  for help.
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (EE) Please also check the log file at "/dev/null" for additional information.
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (EE)
Dec 06 14:57:21 formbay-ml-netboot X[2731]: (EE) Server terminated with error (1). Closing log file.
Dec 06 14:57:21 formbay-ml-netboot sddm[2715]: Failed to read display number from pipe
Dec 06 14:57:21 formbay-ml-netboot sddm[2715]: Display server failed to start. Exiting
Dec 06 14:57:21 formbay-ml-netboot systemd[1]: display-manager.service: Main process exited, code=dumped, status=6/ABRT
Dec 06 14:57:21 formbay-ml-netboot systemd[1]: display-manager.service: Failed with result 'core-dump'.
Dec 06 14:57:21 formbay-ml-netboot systemd-coredump[2827]: Process 2715 (.sddm-wrapped) of user 0 dumped core.
Dec 06 14:57:22 formbay-ml-netboot systemd[1]: display-manager.service: Service RestartSec=200ms expired, scheduling restart.
Dec 06 14:57:22 formbay-ml-netboot systemd[1]: display-manager.service: Scheduled restart job, restart counter is at 1.
Dec 06 14:57:22 formbay-ml-netboot systemd[1]: Stopped X11 Server.
Dec 06 14:57:22 formbay-ml-netboot systemd[1]: Starting X11 Server...
Dec 06 14:57:22 formbay-ml-netboot systemd[1]: Started X11 Server.
Dec 06 14:57:22 formbay-ml-netboot sddm[2933]: Initializing...
Dec 06 14:57:22 formbay-ml-netboot sddm[2933]: Starting...
Dec 06 14:57:22 formbay-ml-netboot sddm[2933]: Logind interface found
Dec 06 14:57:22 formbay-ml-netboot sddm[2933]: Adding new display on vt 7 ...
Dec 06 14:57:22 formbay-ml-netboot sddm[2933]: Loading theme configuration from ""
Dec 06 14:57:22 formbay-ml-netboot sddm[2933]: Display server starting...
Dec 06 14:57:22 formbay-ml-netboot sddm[2933]: Running: /nix/store/257m5l27y1kxa3d6l2rnphgw3rpx1fnc-xserver-wrapper -nolisten tcp -auth /var/run/sddm/{a6670ebb-e61d-4a99-b6fd-c6630b4f8b8c} -background none -noreset -displayfd 18 -seat seat0 vt7
Dec 06 14:57:22 formbay-ml-netboot X[2936]: X.Org X Server 1.20.5
Dec 06 14:57:22 formbay-ml-netboot X[2936]: X Protocol Version 11, Revision 0
Dec 06 14:57:22 formbay-ml-netboot X[2936]: Build Operating System: Linux 4.19.79 x86_64
Dec 06 14:57:22 formbay-ml-netboot X[2936]: Current Operating System: Linux formbay-ml-netboot 4.19.80 #1-NixOS SMP Thu Oct 17 20:45:44 UTC 2019 x86_64
Dec 06 14:57:22 formbay-ml-netboot X[2936]: Kernel command line: bzImage init=/nix/store/1ndjpimay9kw8ydx0pl86xg14i2lgrx6-nixos-system-formbay-ml-netboot-19.09pre-git/init initrd=initrd loglevel=4
Dec 06 14:57:22 formbay-ml-netboot X[2936]: Build Date: 30 May 2019  06:28:09PM
Dec 06 14:57:22 formbay-ml-netboot X[2936]:  
Dec 06 14:57:22 formbay-ml-netboot X[2936]: Current version of pixman: 0.38.4
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         Before reporting problems, check http://wiki.x.org
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         to make sure that you have the latest version.
Dec 06 14:57:22 formbay-ml-netboot X[2936]: Markers: (--) probed, (**) from config file, (==) default setting,
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         (++) from command line, (!!) notice, (II) informational,
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (++) Log file: "/dev/null", Time: Fri Dec  6 14:57:22 2019
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (++) Using config file: "/nix/store/pjwy137qapm524wffqnw1f3hq41favcj-xserver.conf"
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (==) Using system config directory "/nix/store/3mdq9nk9h40bhzx7dcs6ay35jira6xfn-xorg-server-1.20.5/share/X11/xorg.conf.d"
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (==) ServerLayout "Layout[all]"
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (**) |-->Screen "Screen-intel[0]" (0)
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (**) |   |-->Monitor "<default monitor>"
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (**) |   |-->Device "Device-intel[0]"
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (==) No monitor specified for screen "Screen-intel[0]".
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         Using a default monitor configuration.
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (**) |-->Screen "Screen-nvidia[0]" (1)
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (**) |   |-->Monitor "<default monitor>"
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (**) |   |-->Device "Device-nvidia[0]"
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (==) No monitor specified for screen "Screen-nvidia[0]".
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         Using a default monitor configuration.
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (**) Option "DontZap" "on"
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (**) Option "AllowMouseOpenFail" "on"
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (==) Automatically adding devices
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (==) Automatically enabling devices
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (==) Automatically adding GPU devices
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (==) Max clients allowed: 256, resource mask: 0x1fffff
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (**) FontPath set to:
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         /nix/store/b3c1r8xs4yyw6dajs0psr18c62gik6sb-font-bh-lucidatypewriter-100dpi-1.0.3/lib/X11/fonts/100dpi,
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         /nix/store/jrk70qa3qg8kv3s4ichzs5ql0liww2rx-font-bh-lucidatypewriter-75dpi-1.0.3/lib/X11/fonts/75dpi,
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         /nix/store/s8rlh3yylq8xwrsaskdkl9xys8qjdl47-font-bh-100dpi-1.0.3/lib/X11/fonts/100dpi,
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         /nix/store/c437rzdiv97pk2763bz8iz59pc375hq9-font-misc-misc-1.1.2/lib/X11/fonts/misc,
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         /nix/store/1y6y88g562l0vn56w250r01bv1b4hk8i-font-cursor-misc-1.0.3/lib/X11/fonts/misc,
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         /nix/store/nyx1r5a0vnw0s84p8nh1mqcln89rm3rl-unifont-12.1.03/share/fonts,
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         /nix/store/f2yan4m1zffpcdiy7ngvmnxbvz733g3d-font-adobe-100dpi-1.0.3/lib/X11/fonts/100dpi,
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         /nix/store/l2v8125jcrsmfjgn5vnzll66r43m6553-font-adobe-75dpi-1.0.3/lib/X11/fonts/75dpi
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (**) ModulePath set to "/nix/store/hbsvrljgivxg91cpp8pzfpxxzb6yyd13-xf86-video-intel-2018-12-03/lib,/nix/store/hbsvrljgivxg91cpp8pzfpxxzb6yyd13-xf86-video-intel-2018-12-03/lib/xorg/modules/drivers,/nix/store/yqrfbiyzhpx94z676z4j8y3ha7vpqqxv-nvidia-x11-435.21-4.19.80-bin/lib/xorg/modules/extensions,/nix/store/yqrfbiyzhpx94z676z4j8y3ha7vpqqxv-nvidia-x11-435.21-4.19.80-bin/lib/xorg/modules/drivers,/nix/store/3mdq9nk9h40bhzx7dcs6ay35jira6xfn-xorg-server-1.20.5/lib/xorg/modules,/nix/store/3mdq9nk9h40bhzx7dcs6ay35jira6xfn-xorg-server-1.20.5/lib/xorg/modules/extensions,/nix/store/3mdq9nk9h40bhzx7dcs6ay35jira6xfn-xorg-server-1.20.5/lib/xorg/modules/drivers,/nix/store/45fshgajgi623bshkxcl83cg384k1zdh-xf86-input-evdev-2.10.6/lib/xorg/modules/input,/nix/store/36kgspnfz3zy7f3z6yd58bgibaajnfr6-xf86-input-libinput-0.28.2/lib/xorg/modules/input"
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) The server relies on udev to provide the list of input devices.
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         If no devices become available, reconfigure udev or disable AutoAddDevices.
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) Loader magic: 0x626d40
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) Module ABI versions:
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         X.Org ANSI C Emulation: 0.4
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         X.Org Video Driver: 24.0
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         X.Org XInput driver : 24.1
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         X.Org Server Extension : 10.0
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (++) using VT number 7
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) xfree86: Adding drm device (/dev/dri/card0)
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) xfree86: Adding drm device (/dev/dri/card1)
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) xfree86: Adding drm device (/dev/dri/card2)
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) xfree86: Adding drm device (/dev/dri/card3)
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) xfree86: Adding drm device (/dev/dri/card4)
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (--) PCI:*(4@0:0:0) 1a03:2000:1043:86ed rev 65, Mem @ 0x90000000/67108864, 0x94000000/131072, I/O @ 0x00001000/128, BIOS @ 0x????????/131072
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (--) PCI: (59@0:0:0) 10de:1e84:1043:8715 rev 161, Mem @ 0xb7000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00007000/128, BIOS @ 0x????????/524288
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (--) PCI: (94@0:0:0) 10de:1e84:1043:8715 rev 161, Mem @ 0xc4000000/16777216, 0x1ffe0000000/268435456, 0x1fff0000000/33554432, I/O @ 0x00009000/128, BIOS @ 0x????????/524288
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (--) PCI: (175@0:0:0) 10de:1e84:1043:8715 rev 161, Mem @ 0xed000000/16777216, 0x2bfe0000000/268435456, 0x2bff0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (--) PCI: (216@0:0:0) 10de:1e84:1043:8715 rev 161, Mem @ 0xfa000000/16777216, 0x2ffe0000000/268435456, 0x2fff0000000/33554432, I/O @ 0x0000f000/128, BIOS @ 0x????????/524288
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) Open ACPI successful (/var/run/acpid.socket)
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) "glx" will be loaded by default.
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) LoadModule: "glx"
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) Loading /nix/store/3mdq9nk9h40bhzx7dcs6ay35jira6xfn-xorg-server-1.20.5/lib/xorg/modules/extensions/libglx.so
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) Module glx: vendor="X.Org Foundation"
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         compiled for 1.20.5, module version = 1.0.0
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         ABI class: X.Org Server Extension, version 10.0
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) LoadModule: "intel"
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) Loading /nix/store/hbsvrljgivxg91cpp8pzfpxxzb6yyd13-xf86-video-intel-2018-12-03/lib/xorg/modules/drivers/intel_drv.so
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) Module intel: vendor="X.Org Foundation"
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         compiled for 1.20.5, module version = 2.99.917
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         Module class: X.Org Video Driver
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         ABI class: X.Org Video Driver, version 24.0
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) LoadModule: "nvidia"
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) Loading /nix/store/yqrfbiyzhpx94z676z4j8y3ha7vpqqxv-nvidia-x11-435.21-4.19.80-bin/lib/xorg/modules/drivers/nvidia_drv.so
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) Module nvidia: vendor="NVIDIA Corporation"
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         compiled for 1.6.99.901, module version = 1.0.0
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         Module class: X.Org Video Driver
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) intel: Driver for Intel(R) HD Graphics
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) intel: Driver for Intel(R) Iris(TM) Graphics
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) NVIDIA dlloader X Driver  435.21  Sun Aug 25 08:17:08 CDT 2019
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) Loading sub module "fb"
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) LoadModule: "fb"
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) Loading /nix/store/3mdq9nk9h40bhzx7dcs6ay35jira6xfn-xorg-server-1.20.5/lib/xorg/modules/libfb.so
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) Module fb: vendor="X.Org Foundation"
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         compiled for 1.20.5, module version = 1.0.0
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         ABI class: X.Org ANSI C Emulation, version 0.4
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) Loading sub module "wfb"
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) LoadModule: "wfb"
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) Loading /nix/store/3mdq9nk9h40bhzx7dcs6ay35jira6xfn-xorg-server-1.20.5/lib/xorg/modules/libwfb.so
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) Module wfb: vendor="X.Org Foundation"
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         compiled for 1.20.5, module version = 1.0.0
Dec 06 14:57:22 formbay-ml-netboot X[2936]:         ABI class: X.Org ANSI C Emulation, version 0.4
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) Loading sub module "ramdac"
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) LoadModule: "ramdac"
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (II) Module "ramdac" already built-in
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (EE) No devices detected.
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (EE)
Dec 06 14:57:22 formbay-ml-netboot X[2936]: Fatal server error:
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (EE) no screens found(EE)
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (EE)
Dec 06 14:57:22 formbay-ml-netboot X[2936]: Please consult the The X.Org Foundation support
Dec 06 14:57:22 formbay-ml-netboot X[2936]:          at http://wiki.x.org
Dec 06 14:57:22 formbay-ml-netboot X[2936]:  for help.
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (EE) Please also check the log file at "/dev/null" for additional information.
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (EE)
Dec 06 14:57:22 formbay-ml-netboot X[2936]: (EE) Server terminated with error (1). Closing log file.
Dec 06 14:57:22 formbay-ml-netboot sddm[2933]: Failed to read display number from pipe
Dec 06 14:57:22 formbay-ml-netboot sddm[2933]: Display server failed to start. Exiting
Dec 06 14:57:23 formbay-ml-netboot systemd[1]: display-manager.service: Main process exited, code=dumped, status=6/ABRT
Dec 06 14:57:23 formbay-ml-netboot systemd[1]: display-manager.service: Failed with result 'core-dump'.
Dec 06 14:57:23 formbay-ml-netboot systemd-coredump[2954]: Process 2933 (.sddm-wrapped) of user 0 dumped core.
Dec 06 14:57:23 formbay-ml-netboot systemd[1]: display-manager.service: Service RestartSec=200ms expired, scheduling restart.
Dec 06 14:57:23 formbay-ml-netboot systemd[1]: display-manager.service: Scheduled restart job, restart counter is at 2.
Dec 06 14:57:23 formbay-ml-netboot systemd[1]: Stopped X11 Server.
Dec 06 14:57:23 formbay-ml-netboot systemd[1]: Starting X11 Server...
Dec 06 14:57:23 formbay-ml-netboot systemd[1]: Started X11 Server.
Dec 06 14:57:23 formbay-ml-netboot sddm[2973]: Initializing...
Dec 06 14:57:23 formbay-ml-netboot sddm[2973]: Starting...
Dec 06 14:57:23 formbay-ml-netboot sddm[2973]: Logind interface found
Dec 06 14:57:23 formbay-ml-netboot sddm[2973]: Adding new display on vt 7 ...
Dec 06 14:57:23 formbay-ml-netboot sddm[2973]: Loading theme configuration from ""
Dec 06 14:57:23 formbay-ml-netboot sddm[2973]: Display server starting...
Dec 06 14:57:23 formbay-ml-netboot sddm[2973]: Running: /nix/store/257m5l27y1kxa3d6l2rnphgw3rpx1fnc-xserver-wrapper -nolisten tcp -auth /var/run/sddm/{43674bdc-0f32-495b-8bd1-27ac7c6e47ef} -background none -noreset -displayfd 18 -seat seat0 vt7
Dec 06 14:57:23 formbay-ml-netboot X[2975]: X.Org X Server 1.20.5
Dec 06 14:57:23 formbay-ml-netboot X[2975]: X Protocol Version 11, Revision 0
Dec 06 14:57:23 formbay-ml-netboot X[2975]: Build Operating System: Linux 4.19.79 x86_64
Dec 06 14:57:23 formbay-ml-netboot X[2975]: Current Operating System: Linux formbay-ml-netboot 4.19.80 #1-NixOS SMP Thu Oct 17 20:45:44 UTC 2019 x86_64
Dec 06 14:57:23 formbay-ml-netboot X[2975]: Kernel command line: bzImage init=/nix/store/1ndjpimay9kw8ydx0pl86xg14i2lgrx6-nixos-system-formbay-ml-netboot-19.09pre-git/init initrd=initrd loglevel=4
Dec 06 14:57:23 formbay-ml-netboot X[2975]: Build Date: 30 May 2019  06:28:09PM
Dec 06 14:57:23 formbay-ml-netboot X[2975]:  
Dec 06 14:57:23 formbay-ml-netboot X[2975]: Current version of pixman: 0.38.4
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         Before reporting problems, check http://wiki.x.org
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         to make sure that you have the latest version.
Dec 06 14:57:23 formbay-ml-netboot X[2975]: Markers: (--) probed, (**) from config file, (==) default setting,
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         (++) from command line, (!!) notice, (II) informational,
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (++) Log file: "/dev/null", Time: Fri Dec  6 14:57:23 2019
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (++) Using config file: "/nix/store/pjwy137qapm524wffqnw1f3hq41favcj-xserver.conf"
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (==) Using config directory: "/etc/X11/xorg.conf.d"
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (==) Using system config directory "/nix/store/3mdq9nk9h40bhzx7dcs6ay35jira6xfn-xorg-server-1.20.5/share/X11/xorg.conf.d"
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (==) ServerLayout "Layout[all]"
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (**) |-->Screen "Screen-intel[0]" (0)
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (**) |   |-->Monitor "<default monitor>"
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (**) |   |-->Device "Device-intel[0]"
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (==) No monitor specified for screen "Screen-intel[0]".
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         Using a default monitor configuration.
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (**) |-->Screen "Screen-nvidia[0]" (1)
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (**) |   |-->Monitor "<default monitor>"
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (**) |   |-->Device "Device-nvidia[0]"
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (==) No monitor specified for screen "Screen-nvidia[0]".
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         Using a default monitor configuration.
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (**) Option "DontZap" "on"
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (**) Option "AllowMouseOpenFail" "on"
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (==) Automatically adding devices
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (==) Automatically enabling devices
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (==) Automatically adding GPU devices
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (==) Max clients allowed: 256, resource mask: 0x1fffff
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (**) FontPath set to:
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         /nix/store/b3c1r8xs4yyw6dajs0psr18c62gik6sb-font-bh-lucidatypewriter-100dpi-1.0.3/lib/X11/fonts/100dpi,
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         /nix/store/jrk70qa3qg8kv3s4ichzs5ql0liww2rx-font-bh-lucidatypewriter-75dpi-1.0.3/lib/X11/fonts/75dpi,
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         /nix/store/s8rlh3yylq8xwrsaskdkl9xys8qjdl47-font-bh-100dpi-1.0.3/lib/X11/fonts/100dpi,
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         /nix/store/c437rzdiv97pk2763bz8iz59pc375hq9-font-misc-misc-1.1.2/lib/X11/fonts/misc,
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         /nix/store/1y6y88g562l0vn56w250r01bv1b4hk8i-font-cursor-misc-1.0.3/lib/X11/fonts/misc,
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         /nix/store/nyx1r5a0vnw0s84p8nh1mqcln89rm3rl-unifont-12.1.03/share/fonts,
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         /nix/store/f2yan4m1zffpcdiy7ngvmnxbvz733g3d-font-adobe-100dpi-1.0.3/lib/X11/fonts/100dpi,
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         /nix/store/l2v8125jcrsmfjgn5vnzll66r43m6553-font-adobe-75dpi-1.0.3/lib/X11/fonts/75dpi
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (**) ModulePath set to "/nix/store/hbsvrljgivxg91cpp8pzfpxxzb6yyd13-xf86-video-intel-2018-12-03/lib,/nix/store/hbsvrljgivxg91cpp8pzfpxxzb6yyd13-xf86-video-intel-2018-12-03/lib/xorg/modules/drivers,/nix/store/yqrfbiyzhpx94z676z4j8y3ha7vpqqxv-nvidia-x11-435.21-4.19.80-bin/lib/xorg/modules/extensions,/nix/store/yqrfbiyzhpx94z676z4j8y3ha7vpqqxv-nvidia-x11-435.21-4.19.80-bin/lib/xorg/modules/drivers,/nix/store/3mdq9nk9h40bhzx7dcs6ay35jira6xfn-xorg-server-1.20.5/lib/xorg/modules,/nix/store/3mdq9nk9h40bhzx7dcs6ay35jira6xfn-xorg-server-1.20.5/lib/xorg/modules/extensions,/nix/store/3mdq9nk9h40bhzx7dcs6ay35jira6xfn-xorg-server-1.20.5/lib/xorg/modules/drivers,/nix/store/45fshgajgi623bshkxcl83cg384k1zdh-xf86-input-evdev-2.10.6/lib/xorg/modules/input,/nix/store/36kgspnfz3zy7f3z6yd58bgibaajnfr6-xf86-input-libinput-0.28.2/lib/xorg/modules/input"
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) The server relies on udev to provide the list of input devices.
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         If no devices become available, reconfigure udev or disable AutoAddDevices.
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) Loader magic: 0x626d40
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) Module ABI versions:
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         X.Org ANSI C Emulation: 0.4
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         X.Org Video Driver: 24.0
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         X.Org XInput driver : 24.1
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         X.Org Server Extension : 10.0
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (++) using VT number 7
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) xfree86: Adding drm device (/dev/dri/card0)
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) xfree86: Adding drm device (/dev/dri/card1)
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) xfree86: Adding drm device (/dev/dri/card2)
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) xfree86: Adding drm device (/dev/dri/card3)
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) xfree86: Adding drm device (/dev/dri/card4)
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (--) PCI:*(4@0:0:0) 1a03:2000:1043:86ed rev 65, Mem @ 0x90000000/67108864, 0x94000000/131072, I/O @ 0x00001000/128, BIOS @ 0x????????/131072
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (--) PCI: (59@0:0:0) 10de:1e84:1043:8715 rev 161, Mem @ 0xb7000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00007000/128, BIOS @ 0x????????/524288
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (--) PCI: (94@0:0:0) 10de:1e84:1043:8715 rev 161, Mem @ 0xc4000000/16777216, 0x1ffe0000000/268435456, 0x1fff0000000/33554432, I/O @ 0x00009000/128, BIOS @ 0x????????/524288
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (--) PCI: (175@0:0:0) 10de:1e84:1043:8715 rev 161, Mem @ 0xed000000/16777216, 0x2bfe0000000/268435456, 0x2bff0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (--) PCI: (216@0:0:0) 10de:1e84:1043:8715 rev 161, Mem @ 0xfa000000/16777216, 0x2ffe0000000/268435456, 0x2fff0000000/33554432, I/O @ 0x0000f000/128, BIOS @ 0x????????/524288
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) Open ACPI successful (/var/run/acpid.socket)
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) "glx" will be loaded by default.
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) LoadModule: "glx"
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) Loading /nix/store/3mdq9nk9h40bhzx7dcs6ay35jira6xfn-xorg-server-1.20.5/lib/xorg/modules/extensions/libglx.so
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) Module glx: vendor="X.Org Foundation"
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         compiled for 1.20.5, module version = 1.0.0
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         ABI class: X.Org Server Extension, version 10.0
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) LoadModule: "intel"
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) Loading /nix/store/hbsvrljgivxg91cpp8pzfpxxzb6yyd13-xf86-video-intel-2018-12-03/lib/xorg/modules/drivers/intel_drv.so
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) Module intel: vendor="X.Org Foundation"
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         compiled for 1.20.5, module version = 2.99.917
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         Module class: X.Org Video Driver
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         ABI class: X.Org Video Driver, version 24.0
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) LoadModule: "nvidia"
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) Loading /nix/store/yqrfbiyzhpx94z676z4j8y3ha7vpqqxv-nvidia-x11-435.21-4.19.80-bin/lib/xorg/modules/drivers/nvidia_drv.so
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) Module nvidia: vendor="NVIDIA Corporation"
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         compiled for 1.6.99.901, module version = 1.0.0
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         Module class: X.Org Video Driver
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) intel: Driver for Intel(R) HD Graphics
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) intel: Driver for Intel(R) Iris(TM) Graphics
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) NVIDIA dlloader X Driver  435.21  Sun Aug 25 08:17:08 CDT 2019
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) Loading sub module "fb"
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) LoadModule: "fb"
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) Loading /nix/store/3mdq9nk9h40bhzx7dcs6ay35jira6xfn-xorg-server-1.20.5/lib/xorg/modules/libfb.so
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) Module fb: vendor="X.Org Foundation"
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         compiled for 1.20.5, module version = 1.0.0
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         ABI class: X.Org ANSI C Emulation, version 0.4
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) Loading sub module "wfb"
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) LoadModule: "wfb"
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) Loading /nix/store/3mdq9nk9h40bhzx7dcs6ay35jira6xfn-xorg-server-1.20.5/lib/xorg/modules/libwfb.so
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) Module wfb: vendor="X.Org Foundation"
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         compiled for 1.20.5, module version = 1.0.0
Dec 06 14:57:23 formbay-ml-netboot X[2975]:         ABI class: X.Org ANSI C Emulation, version 0.4
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) Loading sub module "ramdac"
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) LoadModule: "ramdac"
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (II) Module "ramdac" already built-in
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (EE) No devices detected.
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (EE)
Dec 06 14:57:23 formbay-ml-netboot X[2975]: Fatal server error:
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (EE) no screens found(EE)
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (EE)
Dec 06 14:57:23 formbay-ml-netboot X[2975]: Please consult the The X.Org Foundation support
Dec 06 14:57:23 formbay-ml-netboot X[2975]:          at http://wiki.x.org
Dec 06 14:57:23 formbay-ml-netboot X[2975]:  for help.
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (EE) Please also check the log file at "/dev/null" for additional information.
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (EE)
Dec 06 14:57:23 formbay-ml-netboot X[2975]: (EE) Server terminated with error (1). Closing log file.
Dec 06 14:57:23 formbay-ml-netboot sddm[2973]: Failed to read display number from pipe
Dec 06 14:57:23 formbay-ml-netboot sddm[2973]: Display server failed to start. Exiting
Dec 06 14:57:24 formbay-ml-netboot systemd[1]: display-manager.service: Main process exited, code=dumped, status=6/ABRT
Dec 06 14:57:24 formbay-ml-netboot systemd[1]: display-manager.service: Failed with result 'core-dump'.
Dec 06 14:57:24 formbay-ml-netboot systemd-coredump[2982]: Process 2973 (.sddm-wrapped) of user 0 dumped core.
Dec 06 14:57:24 formbay-ml-netboot systemd[1]: display-manager.service: Service RestartSec=200ms expired, scheduling restart.
Dec 06 14:57:24 formbay-ml-netboot systemd[1]: display-manager.service: Scheduled restart job, restart counter is at 3.
Dec 06 14:57:24 formbay-ml-netboot systemd[1]: Stopped X11 Server.
Dec 06 14:57:24 formbay-ml-netboot systemd[1]: display-manager.service: Start request repeated too quickly.
Dec 06 14:57:24 formbay-ml-netboot systemd[1]: display-manager.service: Failed with result 'core-dump'.
Dec 06 14:57:24 formbay-ml-netboot systemd[1]: Failed to start X11 Server.
CMCDragonkai commented 4 years ago

Another way to solve this is to run this at bootup:

sudo nvidia-persistenced --persistence-mode

Seems like NixOS requires a persistenced service.

CMCDragonkai commented 4 years ago

Solved with

      systemd.services."nvidia-persistenced" = {
        description = "NVIDIA Persistence Daemon";
        wantedBy = [ "multi-user.target" ];
        serviceConfig = {
          Type = "forking";
          Restart = "always";
          PIDFile = "/var/run/nvidia-persistenced/nvidia-persistenced.pid";
          ExecStart = "${pkgs.linuxPackages.nvidia_x11.persistenced}/bin/nvidia-persistenced --verbose";
          ExecStopPost = "${pkgs.coreutils}/bin/rm -rf /var/run/nvidia-persistenced";
        };
      };

I just removed xserver since that was to test it. But since I don't have physical monitors and no other way to debug this it doesn't matter anymore. The nvidia-persistenced solves the original problem.

mdedetrich commented 4 years ago

@CMCDragonkai Is this something that should be there by default? In which case it might make sense to make this an offical nixos option so its easier to solve for other people (and we should hence make an issue for it).

CMCDragonkai commented 4 years ago

Yea it could be an option. It just means the GPUs are always on even in a headless system. Seems like what you'd want and we end up having 4/4 GPUs. I don't have time to create an option for it.

mdedetrich commented 4 years ago

Okay I will file an issue for it then so that at least we have a reference for it.