!PSmBFWNKoXmlQBzUQf:helsinki-systems.de

Stage 1 systemd

82 Members
systemd in NixOs's stage 1, replacing the current bash tooling https://github.com/NixOS/nixpkgs/projects/5126 Servers

Load older messages


SenderMessageTime
22 Feb 2023
@lgcl:lgcl.delgcl (she/they) changed their display name from lgcl to lgcl (they/them).20:32:54
23 Feb 2023
@kranzes:matrix.org@kranzes:matrix.orgDoes anyone here use plymouth and would like to debug & test a new PR for it?13:32:59
@kranzes:matrix.org@kranzes:matrix.org https://github.com/NixOS/nixpkgs/pull/217728 13:33:03
@kranzes:matrix.org@kranzes:matrix.orgThis needs to be tested and debugged for both initrds13:35:15
@lily:lily.flowers@lily:lily.flowers
In reply to @kranzes:matrix.org
Does anyone here use plymouth and would like to debug & test a new PR for it?
I don't use plymouth but I could be convinced to test it if no one else does
13:40:07
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deI had it once for testing but I don't have the config anymore13:40:34
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de Lily Foster: you could test it with https://github.com/helsinki-systems/plymouth-theme-nixos-bgrt 😏 That gives you a spinning nixos logo 13:40:52
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de * Lily Foster: you could test it with https://github.com/helsinki-systems/plymouth-theme-nixos-bgrt 😏 That gives you a spinning nixos logo and flicker-free boot 13:41:15
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI use plymouth+systemd-initrd13:41:32
@linus:schreibt.jetzt@linus:schreibt.jetztWhat does BGRT mean?13:41:33
@k900:0upti.meK900Boot Graphics Resource Table13:41:41
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgDon't currently have time to test that though13:41:45
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de
In reply to @linus:schreibt.jetzt
What does BGRT mean?
It's your vendor logo from your UEFI
13:41:45
@linus:schreibt.jetzt@linus:schreibt.jetztaah13:41:48
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.deWhat Windows is doing13:41:54
@k900:0upti.meK900I'm just annoyed AMDGPU has what seems to be a forced modeset on boot13:42:19
@janne.hess:helsinki-systems.de@janne.hess:helsinki-systems.de
In reply to @k900:0upti.me
I'm just annoyed AMDGPU has what seems to be a forced modeset on boot
Have you tried amdgpu.dc=0?
13:42:51
@k900:0upti.meK900Pretty sure that doesn't work13:43:30
@k900:0upti.meK900My GPU is too new to support the pre-DC code paths13:43:40
@kranzes:matrix.org@kranzes:matrix.orgIt doesn't work right now btw. so debugging is also needed13:50:54
@kranzes:matrix.org@kranzes:matrix.org this plymouth PR works if i manually run systemctl restart plymouth-start.service but doesn't work in the initrd. interesting. 15:33:37
@kranzes:matrix.org@kranzes:matrix.org

testing it with something like this:

{
  inputs = {
    nixpkgs.url = "github:Kranzes/nixpkgs/plymouth";
    nixos-generators = { url = "github:nix-community/nixos-generators"; inputs.nixpkgs.follows = "nixpkgs"; };
  };

  outputs = { self, nixpkgs, nixos-generators }:
    let
      pkgs = nixpkgs.legacyPackages.x86_64-linux;
    in
    {
      packages.x86_64-linux.default = nixos-generators.nixosGenerate {
        inherit pkgs;
        modules = [{
          boot.initrd.systemd.enable = true;
          boot.plymouth.enable = true;
          boot.plymouth.theme = "breeze";
          documentation.nixos.enable = false;
          users.users.root.hashedPassword = "$y$j9T$92VDaYfgg6XS1G8/s4Yff1$ORqQG/Iy/hUUuRdee35PBNqHu3FsplYv9ui.hqTL/bC"; # 123
          users.mutableUsers = false;
        }];
        format = "vm-bootloader";
      };
    };
}
15:34:23
@lily:lily.flowers@lily:lily.flowers
In reply to @kranzes:matrix.org
this plymouth PR works if i manually run systemctl restart plymouth-start.service but doesn't work in the initrd. interesting.
Is it just segfaulting shortly after starting in initrd for you? That's what I'm seeing in a VM with a bunch of debug logging turned on and your flake
16:03:02
@kranzes:matrix.org@kranzes:matrix.orgIdk, I don't know how to get debugging logs in the initrd.16:46:45
@lily:lily.flowers@lily:lily.flowers Alright, this is gonna sound dumb, but why is there an empty directory in my initrd rootfs just called 0755 17:56:06
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgwut17:56:33
@elvishjerricco:matrix.org@elvishjerricco:matrix.orglol that sounds like a mistake17:56:43
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI don't even know how to begin debugging that17:57:09
@elvishjerricco:matrix.org@elvishjerricco:matrix.orgI guess you could grep nixpkgs for 0755 and look for files related to initrd17:57:57
@elvishjerricco:matrix.org@elvishjerricco:matrix.org * I guess you could grep nixpkgs for 0755 and look for files related to initrd?17:57:58

Show newer messages


Back to Room ListRoom Version: 6