• user28282912@piefed.social
    link
    fedilink
    English
    arrow-up
    5
    ·
    9 hours ago

    Gentoo is GOAT. I am also glad that Arch exists though. Both have excellent wikis, good knowledgeable communities, lots of configuration options. In terms of pure speed, it is hard to beat a build it all from source as per your own custom USE flags setup like in Gentoo.

  • lmr0x61@lemmy.ml
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    17 hours ago

    Those modules, man… they’re the biggest cause of—dare I say it?—bloat in the kernel.

    For the few people here who may not know about it: there’s a utility called modprobe-db that watches what kernel modules get loaded at runtime, and can generate a kernel build config file accordingly. There’s even an ArchWiki article about it. You need to keep it around for a while (e.g. several weeks or months) so it can get a proper sample of the modules you use; that way, your kernel can have all the modules you need (ask me how I know). If you do it right, however, you can slim down your compile time significantly.

  • Solar Bear@slrpnk.net
    link
    fedilink
    English
    arrow-up
    56
    ·
    edit-2
    1 day ago

    Fun fact about monitors turning on slowly: did you know Windows has a bluescreen code for that?

    The WIN32K_POWER_WATCHDOG_TIMEOUT bug check has a value of 0x0000019C. This indicates that Win32k did not turn the monitor on in a timely manner.

    ~ https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-0x19c--win32k-power-watchdog-timeout

    That’s right, Windows will panic and throw a bluescreen if your monitors take a little too long to wake up. Had the pleasure of dealing with this suddenly becoming an issue and causing wide bluescreens on wakeup after an update back in mid-2024, on any Surface Dock using DisplayPort with specific Acer monitors.

    • tux7350@lemmy.world
      link
      fedilink
      arrow-up
      17
      ·
      1 day ago

      Woah woah… is there someplace in the event logs where this would show? Does this mean that you cannot run a windows computer headless?

      • Solar Bear@slrpnk.net
        link
        fedilink
        English
        arrow-up
        8
        ·
        edit-2
        20 hours ago

        It gets logged in the event viewer, yeah. That’s how I discovered it, on account of the screens not waking up in time to show the actual bluescreen. The users were only reporting that their computers were deleting all their windows when waking up. From their perspective, all they saw was their computer taking a mildly longer time to wake up from deep sleep and then losing their entire session, but what it was actually doing was hard rebooting.

        Headless is fine, the bug was specifically triggered when a computer woke up and detected a monitor exists, but the monitor took some unspecified amount of time too long to wake up. It was also fixed at some point, I’m not sure when, but it went on long enough that we swapped dozens of cables because it specifically only happened on the ones using DisplayPort, not HDMI.

  • quediuspayu@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    93
    arrow-down
    1
    ·
    1 day ago

    I hate my monitor for that. Entering the bios is guesswork about when to press a key if I remember what key to press. Also I can’t turn it on too early before the PC or it will go to stand by after not receiving a signal for two seconds and then take even longer.

    I want a monitor turns on and stays on.

    • ark3@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      35
      ·
      1 day ago

      Let me guess, samsung odyssey? Had one of those, never again.

      Friend even called me that he has fucked up his pc rebuild - his Samsung monitor was just not waking up because it literally turns off.

      • spamspeicher@feddit.org
        link
        fedilink
        arrow-up
        3
        ·
        15 hours ago

        Typical Samsung product. Good hardware, acceptable build quality/ material selection, horrible software.

        On mine you can’t even select the input manually, the monitor always cycles through every input. Couldn’t find anything on input 2 I just plugged in? Let’s do another round of checking all inputs for 10 seconds, and again, and again… And always finish on the input you started, or turn off if no active input is found.

        Software always destroys their products.

      • eli@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        19 hours ago

        All modern monitors are like this now. Dell, HP, Asus…

        Doesn’t detect input? Instant power off. Now you have to press the menu key every 5 seconds to try and find the input for your PC.

        Beyond ridiculous. I have a Dell that’s like 15 years old and it stays on for multiple minutes before going into power saving. It’s glorious

      • aeiou@piefed.social
        link
        fedilink
        English
        arrow-up
        21
        ·
        edit-2
        1 day ago

        I’ve learned the hard way that there’s only one decent Samsung product line - from big appliances to little electronics - and it’s their phones (and even those leave questions on privacy).

        • WhyJiffie@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          3
          ·
          13 hours ago

          in that case there are zero decent Samsung product lines.

          horrible repairability, horrible privacy with all the built in bloatware and spyware, no more bootloader unlock to get rid of all of them, but even before they made that impossible they were the only android phone maker that required their own quirky tools for that, and blowing permanent efuses while at it.

        • sylver_dragon@lemmy.world
          link
          fedilink
          English
          arrow-up
          10
          ·
          1 day ago

          That’s funny, while I still buy Samsung TVs, I hate their phones. So much of what their phones can do is usually locked to only working in Samsung’s apps and those are universally dog shit. The phones themselves are also often privacy and user control nightmares.

          Granted, there isn’t a lot of good choices for phones these days. I’m still running an old LG phone and have been looking outside Android as my next possible solution. But, I also haven’t had a reason to upgrade.

          • aeiou@piefed.social
            link
            fedilink
            English
            arrow-up
            8
            ·
            edit-2
            1 day ago

            Have a Samsung TV and it’s by far my least favorite. Turns off at random, takes forever to switch inputs, turns on at random…

            As for phones I’m eyeing the Motorola RazrFold, since they’re supposedly offering it Graphene-ready

            • FG_3479@lemmy.world
              link
              fedilink
              arrow-up
              4
              ·
              22 hours ago

              Turn off all of the Energy Saving/Eco Solution crap. It will stop turning off and you will get s brighter inage that doesn’t shift in brightness.

              You should also switch to Movie mode in the picture settings and set dejudder/deblur (under Motion Clarity) to 0 while you’re at it so it doesn’t turn everything into 60 fps with fake frames.

          • Quetzalcutlass@lemmy.world
            link
            fedilink
            English
            arrow-up
            3
            ·
            23 hours ago

            Their SSDs are/were considered amongst the best options, but I haven’t looked into them since the 970 Evo days and they could be crap now for all I know.

          • hardcoreufo@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            1 day ago

            Only SD card I’ve ever had die. I go with sandisk for important SD cards and team group for less important ones. Neither have ever failed.

      • quediuspayu@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        10
        ·
        edit-2
        1 day ago

        It’s an MSI but now looking at pictures ofequivalent samsung odysseys it might very well be the same monitor with a different sticker on the back.

        And yes, it turns off, the PC doesn’t see a monitor so it doesn’t send a signal, and the monitor doesn’t turn on either because it’s not receiving any signal.

        REISUB time when that happens.

        • LwL@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          1 day ago

          Afaik it’s a displayport issue (because DP has the feature to detect if PC is on). I’ve had the issue on multiple monitors that it wouldn’t turn on the next time I booted the PC. After a lot of unsuccessful googling I finally found that the pc off-> monitor off -> pc on-> pc doesn’t see monitor -> monitor stays off apparently happens because of a capacitor not discharging properly, getting the monitor stuck in “pc off” state. Flipping the monitor power switch (or disconnecting the power cable) for 15-20 seconds has so far always fixed it for me.

          But maybe there are other reasons too.

          • Whitebrow@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            1 day ago

            I’m not saying that’s not the case, but it has both hdmi and displayport, and it’s happening with both, had it on either one, alternating, both plugged in, nothing plugged in and then jamming either cable in there as stuff was powering on, I did eventually resign myself to having to yank out the power cable and plug it back in when it was misbehaving. Nowadays it’s just sitting in a corner, seldom used, should honestly toss it but it’s still sorta works, when it feels like it.

    • notthebees@reddthat.com
      link
      fedilink
      arrow-up
      7
      ·
      edit-2
      1 day ago

      I have a modern Lenovo monitor (2020) that takes longer to wake up than my hp monitor. So annoying.

      Edit: aforementioned is from 2011 and is a zr2040w.

      The Lenovo monitor is a d22e-20

      • A_Random_Idiot@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        11 hours ago

        i have a shitty little AOC 20 inch monitor that doesnt even have any physical controls on it,connected via a Displayport to VGA adapter, and a big 27 inch dell monitor connected via HDMI.

        the shit little monitor always wakes up like 2 seconds after the PC does, the dell takes for fuckin ever. often just waking up in time to see the OS login screen.

    • [object Object]@lemmy.world
      link
      fedilink
      arrow-up
      1
      arrow-down
      4
      ·
      21 hours ago

      Entering the bios is guesswork about when to press a key

      What is there to guess? Just spam the fuck out of that key.

      However, I also don’t know why you’re visiting the BIOS regularly.

  • Onomatopoeia@lemmy.cafe
    link
    fedilink
    English
    arrow-up
    17
    arrow-down
    2
    ·
    1 day ago

    What’s this “boot” of which you speak?

    Do people really turn their machines off these days?

    • PieMePlenty@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      13 hours ago

      Yup. My entire PC desk (monitor, PC, 2+1 speakers) draw 7W when the PC is turned off (old speakers draw power when off for some reason). For comparison: My NUC server draws 7W white turned on, doing useful work. This infuriates me, so I got a zigbee power switch and shut the PC desk completely off when I’m not home.
      If 7W for nothing pisses me off, you’re damn straight an idle or sleeping PC will too!

    • Flipper@feddit.org
      link
      fedilink
      arrow-up
      10
      ·
      1 day ago

      You’ve got to reboot after kernel updates, otherwise it can’t load new modules. I’ve been confused at least twice why something didn’t load until.I remembered the reboot.

      • tux7350@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        18 hours ago

        I think the command “systemctl kexec” would like to have a word. Great command to know if you have a VM on a system you dont manage / share with others.

        • WhyJiffie@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          13 hours ago

          Great command to know if you have a VM on a system you dont manage / share with others.

          won’t this kill all their processes just the same?

          • tux7350@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            9 hours ago

            So you can just run kexec if its installed on the distro. This tells the kernel to boot into another kernel. The reason to use it with systemctl is to properly shut down all the services running in userspace. That command will have systemd gracefully turn off all services and then the new kernel with whatever updates / modules can be loaded in a clean environment.

            Its useful if say, you have a VM in a data center. Now most of them provide a web gui where you can turn your VM off and then on. But if you’re lazy like me and already remoted into the terminal lol

            • WhyJiffie@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              1
              ·
              4 hours ago

              but I still don’t get it. couldn’t you just systemctl reboot? it will boot the new kernel that way too. its supposed to be the same as from the web gui

              • tux7350@lemmy.world
                link
                fedilink
                arrow-up
                1
                ·
                18 minutes ago

                If you run systemctl reboot on a non-vm it will actually power cycle the system and cause it to go back through the BIOS and then the bootloader. Using systemctl kexec allows you to “restart” the computer without having to go all the way back through the full boot process.

                In the case of a VM, some are setup to do this behind the scenes. For example, virt-manager allows for direct kernel booting. If you look in the options there will be a path to the kernel. If its not setup that way, then the VM still has a bootloader. In that case, restarting the VM with kexec will allow for a faster reboot since the bootloader is skipped completely.

    • ViatorOmnium@piefed.social
      link
      fedilink
      English
      arrow-up
      47
      arrow-down
      1
      ·
      1 day ago

      Gentoo recompiles everything, so it can do optimisations based on your particular setup Arch can’t.

    • mogoh@lemmy.ml
      link
      fedilink
      arrow-up
      19
      ·
      1 day ago

      Arch is about telling other people what you use. If you use gentoo, you can take way more pride in you installation.

      • cygnus@lemmy.ca
        link
        fedilink
        arrow-up
        29
        ·
        1 day ago

        Arch is pourover coffee; Gentoo is those ridiculous Rube Goldberg setups that take 45 minutes to make a single cup. Both are for hipsters.

      • Lucy :3@feddit.org
        link
        fedilink
        arrow-up
        5
        arrow-down
        1
        ·
        edit-2
        1 day ago

        I’d argue that there’s literally no difference in difficulty of installing Arch vs Gentoo vs LFS. The only difference lies in the convenience of package management. Arch is very convenient, everything is precompiled. Gentoo is more time consuming. No difference in setting stuff up tho. LFS makes you be the package manager. Which isn’t really difficult, all programs clearly state which dependencies they have, but it’s just much more time consuming.

      • ViatorOmnium@piefed.social
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        1
        ·
        1 day ago

        After restarting the installation for the 5th time, and wasting 5 hours compiling the kernel each time, you should be proud you finally can type on the TTY.

    • Ephera@lemmy.ml
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 day ago

      Arch basically happens at a granularity of individual packages. You decide from the ground up which packages you actually need, which is how you end up with a comparatively minimal setup.

      But yeah, if the package itself is big, then Arch doesn’t usually deal with that. The Linux kernel comes with drivers for most hardware out of the box, which you can remove, if you know you won’t need that hardware.
      And while this can also be done on Arch, it is Gentoo’s thing to do precisely that.

      • FauxLiving@lemmy.world
        link
        fedilink
        arrow-up
        10
        ·
        1 day ago

        To add to this, the big thing you get when using Gentoo is to setup your compiler to use all of the optimizations for your exact CPU/other hardware.

        The binaries for arch are built for generic x86-64, while your Gentoo system could bet setup to include AMD-specific optimizations or to remove code paths that you would never used based on your hardware.

        The result will be that the binaries will typically be smaller and optimized specifically for your hardware.

        The downside is that a system update will take you half a day of churning your CPU on compiling.

  • redsand@infosec.pub
    link
    fedilink
    arrow-up
    8
    ·
    1 day ago

    Keep going. Kevin can get smaller, leaner, faster and hopefully has apparmor or selinux already.

  • UntouchedWagons@lemmy.ca
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 day ago

    My laptop boots much faster than my desktop PC (both running Fedora 43) despite my desktop PC being much faster.

    • BlameTheAntifa@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      1 day ago

      Does your desktop have more RAM, or faster RAM? If so, the training step can take much longer. In your desktop’s BIOS look for a setting called “Memory Context Restore” and turn it on. That can dramatically speed up boot times.