Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] plymouth theme animation broken when using linuxPackages_cachyos* kernels #946

Open
qweered opened this issue Jan 1, 2025 · 7 comments

Comments

@qweered
Copy link

qweered commented Jan 1, 2025

What happens?

Animation is displayed only in last second on boot, it is static otherwise

What is expected to happen?

Animation displayed during all boot

If possible, please attach logs

N/A

More information

I am using this config for plymouth:

plymouth = {
      enable = true;
      theme = "nixos-bgrt";
      themePackages = [ pkgs.nixos-bgrt-plymouth ];
};
@qweered
Copy link
Author

qweered commented Jan 1, 2025

Full config for boot:

{ pkgs, ... }:

{
  security.unprivilegedUsernsClone = true; # Required for hardened kernel
  services.scx.enable = true;
  # TODO: enably cachy ananicy rules

  boot = {
    loader.systemd-boot.enable = true;
    loader.efi.canTouchEfiVariables = true;
    tmp.cleanOnBoot = true;
    # initrd.systemd.enable = true; # TODO: Not feature-complete yet https://blog.decent.id/post/nixos-systemd-initrd/

    kernelPackages = pkgs.linuxPackages_cachyos; # TODO: evaluate switching to hardened when using nix-mineral

    plymouth = {
      enable = true;
      theme = "nixos-bgrt";
      # TODO: replace with my own theme
      themePackages = [ pkgs.nixos-bgrt-plymouth ];
    };

    # Silent boot
    initrd.verbose = false;
    consoleLogLevel = 0;
    # TODO: configure more parameters
    kernelParams = [
      "quiet"
      "splash"
      "vt.global_cursor_default=0"
      "loglevel=3"
      "rd.systemd.show_status=auto"
      "rd.udev.log_level=3"
      "udev.log_priority=3"

      "boot.shell_on_fail"
    ];

    # Hide the OS choice for bootloaders.
    # It's still possible to open the bootloader list by pressing any key
    # It will just not appear on screen unless a key is pressed
    loader.timeout = 0;
  };
}

@PedroHLC
Copy link
Member

PedroHLC commented Jan 1, 2025

Just to be sure: does it work with kernelPackages = pkgs.linuxPackages_6_12;?

@qweered
Copy link
Author

qweered commented Jan 2, 2025

I tested with linuxPackages_latest today on unstable nixpkgs, surely works

@qweered
Copy link
Author

qweered commented Jan 2, 2025

Same correct behavior with pkgs.linuxPackages_6_12

@s0me1newithhand7s
Copy link
Contributor

haven't stumble across this problem:

╭──╼ s0mePC-nix on NixOS 25.5.0 ❄️  
┆ ~ 
╰─> uname -a                                                                                                                                                                                ✓  at ❗ 00:13
Linux s0mePC-nix 6.12.6-cachyos #1-NixOS SMP PREEMPT_DYNAMIC Thu Dec 19 17:13:24 UTC 2024 x86_64 GNU/Linux

&

@qweered
Copy link
Author

qweered commented Jan 3, 2025

@s0me1newithhand7s you didn't select theme

theme = "nixos-bgrt";

@s0me1newithhand7s
Copy link
Contributor

@s0me1newithhand7s you didn't select theme

theme = "nixos-bgrt";

isn't "nixos-bgrt" and "nixos-bgrt-plymouth" are same? anyway - i'll try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants