• 0 Posts
  • 1.37K Comments
Joined 3 years ago
cake
Cake day: July 7th, 2023

help-circle







  • I think you’re unfamiliar with the general ideas around exactly what a display is in an OS, so don’t be offended if I break it down:

    In Windows, there is only THE compositor, meaning no separate distinction from one process or another, it’s all the same display process as far the OS goes.

    In MacOS, there is the compositor (the screen display manager) that loads first, and everything after that is a subprocess that handles different things: login security, window management, launcher, search…etc.

    In Linux everything is generally separate. Your first login screen is its own process, which then calls another process to load your DE or whatever, and then everything is handed off after that.

    If all you want is a “Kiosk Mode”, you just skip everything else. No display manager, login manager, DE…etc. You just boot the kernel, and have a compositor load. That compositor will then be responsible for displaying what you launch from there. So you Daisy chain things like that, and skip all the stuff you don’t need.


  • Wayland isn’t going to be your issue if you’re saying you’re building something from scratch. It’s pretty lightweight on its own, because it’s just a framework of libraries and APIs.

    The compositor and environment you build around that is what will be taking the majority of resources to run whatever rinterface you’re going to have.

    Sway is fairly minimal, but if you just run a bare compositor layer and figure out a launcher from there, it would be lighter. But you’re talking about Megabytes of difference, so it’s not going to be much different.

    Edit: also, I was assuming you’re asking about memory, but could be wrong.








  • Back up a bit because you’re conflating a number of things, so let me try to break it down:

    1. If you’re using Hyprland, you’re losing all the power management features of the more fully featured DE’s like Gnome or KDE. This isn’t a flaw, it’s just an acceptance of the trade-off.
    2. Unless you’ve directly intervened, the power profiles are set to whatever your distro installs and sets from the initial install. Which leads to…
    3. There are different defaults for powered vs battery by default. If you’re on a laptop and you don’t have the DE helpers, you’re on your own.
    4. The hardware power management built in to your laptop may be playing a role here, so check your BIOS
    5. Check dmesg to see what live changes your hardware controllers might be making
    6. Check the Framework forums for keywords related to “Hyprland” to see if somebody has easy scripts for you to help. Otherwise, just switch to a DE that manages power the way you’d expect.


  • PXE is unnecessary unless you’re going to be creating a reusable boot image. Just faster to use LiveUSB.

    What did you getaid off, and what are you trying to apply to? Maybe help to understand on what you’re trying to learn.

    Just for your own sanity, just install Talos on the 3 machines, understand how to join them to a cluster, then deploy some stuff around the cluster. Get a feel for the basics before you get into the mess of trying to do it all in VMs.

    I’d also check some comparisons on the various flavors of different lube stacks: k3s, microk8s, kubedge…etc. Theres so many now it’s hard to track.