There's a lot of Linux apologists in your replies but my experience is exactly the same _with a laptop that supports Linux_ (Framework laptop).
I'm running a very recent kernel in Fedora and have tried numerous power saving mechanisms (currently autocpufreq, although it's results are not much different from gnome PPD) and I'm lucky if I get 3 hours from the thing while running 10-15 FF tabs and a single instance of VSCode+Remote SSH extension. This is ~1/2 of what I can get in Windows.
I think a lot of Linux users would be surpised how good their battery life would be if they installed Windows on their laptops. It's not Linux's fault per se, it's just that there's considerably less engineering manpower going into tuning the power efficiency of laptop hardware on Linux. People get up in arms because they can't reconcile the fact that "Windows is bloated" with the fact that it gets better battery life, but if you think about it for a few seconds it really shouldn't surprise anyone.
It IS linux's fault, in the way that whenever someone new comes into the ecosystem and says "hey this important thing doesn't work well or is broken for me" and get accosted from all directions by crazy people who haven't touched mac or windows in 20 years who insist that what you describe isn't possible, linux is super easy to fix yourself (lol), and that ideas from computing in the 60s are unambiguously the best ideas ever made in computing.
The linux ecosystem doesn't even have a legitimate window manager. When people tell the linux world "hey there's an issue" the linux world always responds with "fuck off"
I agree with everything you said except for the window manager comment. i3/sway puts MacOS and Windows to shame. I could get used to my work macbook if only it would let me move focus in more than one dimension (i.e. super+left/right/up/down instead of cmd+tab back in time).
MacOS is especially bad because they don't even try to address their deficiencies. They just bandaid over it with an app ecosystem and then don't give that ecosystem an API that's to sufficient to do the job (e.g. the limitations of amethyst and amphetamine re: focus control and lid closing).
100% this. I'm using a Windows notebook at work, and I cannot go for a single week without running into some random window management bug. Despite it being the origin of its name, Windows is actually really bad at windows stuff.
And that's before we get into intentionally missing features like focus-on-hover.
1. Every once in a while, when I move a browser tab into a new window, the window spawns entirely off screen. At least that's what I think. It's completely invisible, but I can focus it and bring up the Alt-Space menu, which shows up in a random screen corner. I can start moving it, but it never moves into view. I just cannot get a hold of it. Only fix is to close the window and try to get back to the open webpage manually. It feels like this happens most often with Youtube tabs where a video is playing.
2. I have FancyZones set up (using PowerToys, i.e. an official MS tool). When a window is snapped to one of these zones, and I minimize it and bring it up again, there is a chance that it has a baffling white border around it that sticks with it while resizing. Only fix is to maximize the window, then snap it back into the zone.
3. Something that I've seen from time to time with different applications (when it's with my browser, it may be related to 1, but it happens with e.g. notepad too): There is a chance that new windows open up in just the most baffling geometries. For example, Notepad opening up at ~6000px width, stretching across most of my two screens' combined width. Or, particularly irritating, browser windows coming up at what must be ~10000px width and height, with the top way above the top edge of either screen, so I can only use Alt-Space -> Maximize to grab a hold of it.
4. Windows spawning on one screen, but using DPI ratio of the other screen, so either cartoonishly small or cartoonishly large. The one that comes to mind the most is the Outlook calendar reminder popup, but I think I've seen other apps suffering from this too.
I'm not sure about whether it's supported on Windows (and why if it's not), but I think it refers to having whichever window the cursor is over being "active" by default. For example, if you have two windows open that both have a text input focused (like maybe a text editor and a browser), the more common window-management paradigm is to consider one of them "active" independent of the cursor. If the text editor is active, you need to "switch" to the browser to type into it (by clicking on it, alt-tabbing, closing the editor, etc.). An alternative way of doing things would be to have the text you type go into whichever window the cursor is over. I haven't tried out using this, but I do find this behavior noticeable when playing a game on one monitor and having a web browser open on the other. Often if something is loading, I'll switch over to the browser to read hacker news or something while waiting, but then when the game is finished loading and I switch over, I'll try to move or something and be momentarily baffled at the lack of movement until I realize that I just typed "w" or something into the browser.
I think Linux is not less efficient than other major OSes. I am able to squeeze 5% more battery from a MacBook Air 11'' Late 2012 using Linux vs macOS.
This is possible because the machine is basically a pure Intel device, so in-kernel support for most hardware components is good. The key aspect is to implement fairly aggressive udev rules and to use no desktop environment, so that the CPU stays in powersaving states for as long as possible. This is where Linux really shines, as X plus a window manager is much lighter than anything else.
There is still some room for improvement with a custom kernel, a custom Firefox build or a better wireless card, the only non-Intel component. Broadcom Linux drivers are awful. Also Safari is a marvel in terms of efficiency.
No, it's not. Keep in mind in Linux, desktop environment means a big framework such as GNOME or KDE that runs on top of X or Wayland, i.e. a graphics server.
You can run bare X or Wayland, plus a window manager and cherry-picked daemons, to achieve the same sort of functionality e.g. desktop notifications, network roaming or device automounting.
My point is that bare X plus cherry-picked services tends to be much more efficient, because you don't need to pay a performance tax for the things you don't use.
Mac: Battery life sucks, let's make our own chip to make it better
Windows: Battery life sucks, we'll try to improve the software and maybe use a different CPU
Linux: Just turn off your desktop and recreate its functionality using a dozen command line daemons and selectively run graphics only when you need it. It worked in DOS, why not now?
lol and we wonder why desktop Linux never came...
I've seen a lot of Linux apologetics over the years, but this is the single funniest comment I've ever read on the topic
I feel like I'm watching cult members nodding at each other and wondering "why don't they get it, it's so obvious!" while everyone outside just backs away slooowly...
I think a lot of this boils down to the distribution you install, what kind of background services it runs, and how effective its energy tunings are.
As an example, IMO an idle computer should have all CPU save one or two at 0% utilization, and that remaining CPU(s) shouldn't be averaging more than a few percent, in short spiky bursts. FreeBSD or Debian are like this, but Ubuntu is not.
Yes, saying that a laptop runs "Linux" does not provide any useful information when talking about battery life.
I use Gentoo on a Dell Precision laptop and I do not see any battery lifetime difference between it and Windows.
However, I do not doubt that with other Linux distributions or with a Gentoo that has a very different configuration, the results would not be the same.
I think that it is very wrong to say that a laptop with Linux has a worse battery life than one with Windows, but it is right to say that in many cases a laptop with Linux needs an experienced user to configure it properly, in order to have the same battery life that it would have with Windows out of the box.
On the other hand, when installing Windows 10 Enterprise on embedded computers, I have encountered many cases when Linux had great performance in a default installation, while with Windows 10 I had to waste many days with tuning, e.g. with discovering that certain services must be disabled, until obtaining an acceptable performance.
Why do people write comments like this as though it's reasonable way to use an everyday driver PC?
"I don't use a DE" - well then yes, obviously but you've also removed like 80% of the functionality to turn the thing into a dumb console. That's not what I want to use a computer for.
No, DE doesn't mean I have a dumb console. It just means it's a bit lighter. I have all services a modern desktop has, I still run X plus a window manager.
I imagine Xfce or even GNOME 3 can be tweaked a bit to be almost equally energy efficient.
> I visit this comment section for the same reason I visit a zoo.
Before making offensive comments, have you thought about the meaning of my statement?
For example, a modern DE offers desktop notifications. I still have that by running a desktop notification daemon, dunst, despite just using X plus a window manager but no DE.
Linux is very much broken into small composable components, the same way Clojure is. To take this comparison further, it is extremely ignorant to claim you can't have the same functionality Rails offers just because you don't use a big framework (which is the equivalent to a DE).
I feel like this argument would be moot if all had the same understanding of the terms they were using. People seem bit hazy on what that the term desktop environment actually describes.
My car has a roof, it just wasn't chosen for me by someone at MS/Apple/Gnome/KDE. A custom hand-built car is not necessarily more primitive than a factory-standard one, or any less appealing.
I mean I don't have icons on desktop but that's about only miss of feature (that I don't use on windows either). Alt + F2 for app launcher + rest of it in autostart and under few bindings for common ones. If anything it's faster than anything under Windows, although definitely a power user thing.
Also something like XFCE will still get you the graphical things to fondle without as much power usage as GNOME. The problem is really those (especially GNOME) pissing on performance and thus power usage
This is not a text only console. It's how I was using UNIX workstations circa 1990. Boot to a script running startx to run X11 and a window manager (ttwm?).
What was I missing? Probably a start menu / launcher (but I guess it can be installed and run anyway) and a control panel for settings.
Which modern software won't run in such a setup? Maybe dbus? Systemd? I think a lot of GUI software would still run, some won't, daemons and servers probably would.
Is this something for the nerdiest 1% of the nerdiest 1%? Definitely. I won't do that myself because it's too much of a hassle and I'll probably have to revert to a standard DE to run some software I need for work, but it will work, mostly.
>The linux ecosystem doesn't even have a legitimate window manager.
The rest is largely correct, but this part is completely wrong. Linux has a bunch of legitimate window managers, most of them much better than MacOSX or Windows.
The problems with window managers on Linux are:
1) fragmentation: there's a bunch of them, all competing with each other, but with insufficient dev resources, so they all feel half-baked,
2) unreliability: because of #1, they have a lot of bugs
3) churn: with Gnome and KDE specifically, they keep throwing things out just as they finally make their product mature and starting over every so often, subjecting users to systems that are never really mature or reliable.
Interesting comment regarding the window manager, I had to use a Mac at work recently and apparently one has to use 3rd party tools to be able to snap windows. Coming from KDE Plasma I found this astonishing.
Yeah, it's pretty ridiculous macOS doesn't have this out of the box. Then again this is the same OS that decided to make the maximize button turn into full-screen zoom instead. Cuz who ever needs more than one window at a time? lol
I love my Macbook, but really wish they'd borrow some ideas from Windows and Linux
Important note, when I said "Window manager" I was actually bitching about the stupidity of X and Wayland both being pretty bad, missing functionality, or specifically for X, being so old the original ideas and ideology it was built with don't even make sense anymore. I guess that's "Windowing system" instead? Either way, I shouldn't have to know anything about any of that to use a damn computer. It should be a tool, not a lifestyle or ideology.
Wayland is not equivalent to X Server technically, X usually refers to the Xorg implementation whereas Wayland is a protocol with multiple implementations, i.e. by KDE, GNOME, Sway etc.
My experience with Wayland has been very solid within the last year or so I've been on it exclusively but it's definitely implementation dependent. You're right you shouldn't have to know about these things and I certainly get the sense that's the goal. I mean one disadvantage of a system being developed in the open is that things aren't necessarily 'released' as such when 'ready'. They're in the open for people to adopt/or not, many times still rapidly evolving.
I value this approach but it's certainly not for everyone.
> It should be a tool, not a lifestyle or ideology.
That's...a very subjective statement? I think free software definitely has its place as an ideology if you will, if people want to live by it and are willing to put with the downsides why not? Some people are in it to preserve general purpose computing for the next generation let's say. I see that as completely valid since nobody forces you to use their output.
But given how expensive the Apple ecosystem is, I would certainly not expect things like having to know that poll() will not work correctly after an update[1], if it's indeed just a tool.
Plenty of regular people have to get at least somewhat familiar with the Windows Registry for example.
Point is, in this industry these sorts of things happen and so you do end up having to know about certain internal inner workings of the system you're working on one way or another. It's obviously more of a case on a system developed in the open but not exclusively.
please, windows can't even get alt+tab right... it just goes to whatever the fuck clown that wrote it thought would be good idea instead of previously focused window
Let alone arcane tech like "search in list of open windows"
I'm another f/t Fedora user. I've been using Linux on dozens of laptops for over 2 decades. Not once in my experience has Linux got the same battery life as Windows on the same machine, regardless of tweaks. I did have about 5 years on MacOS, and that was the best of all, but that was different hardware of course.
Linux just is worse on battery than any of the other mainstream OSs in my experience, though the margin has reduced over time. It's still my platform of choice (because even now, in 2022, the choices available are crap), but denial makes them disappear only from the imagination, not reality.
Framework's Linux support is very... DYI. I would say it's a long step away from a laptop designed for Linux (the new Chromebook offering being the exception that proves the rule).
> It's not Linux's fault per se, it's just that there's considerably less engineering manpower going into tuning the power efficiency of laptop hardware on Linux.
You're not wrong, but it's worse than that. A lot of the power management is tied in to proprietary firmware. Then there's the whole Intel Gen12 debacle...
I would argue that Chromebooks are pretty solid proof that it isn't Linux's fault, because they by and large Linux systems that get fantastic power management results.
> People get up in arms because they can't reconcile the fact that "Windows is bloated" with the fact that it gets better battery life, but if you think about it for a few seconds it really shouldn't surprise anyone.
Windows gets better battery life on laptops designed for better battery life with Windows. At the same time, it is often surprising how running a program under WINE on Linux will outperform the same program running on Windows. ;-)
> I would argue that Chromebooks are pretty solid proof that it isn't Linux's fault, because they by and large Linux systems that get fantastic power management results.
Sorry, that should read:
"I would argue that Chromebooks are pretty solid proof that it isn't Linux's fault, because they are Linux systems that by and large get fantastic power management results.
I'm not convinced Framework actually supports Linux, though. AFAICT, it supports Windows and can ship with no OS, and you have to do the rest yourself. To predictable end (e.g. having to deal with kernel parameters to make it work.)
The firmware involved is also distinctly non-trivial.
That's actually one of the big reasons I've held off on buying one (although the #1 reason is lack of AMD options), and am eyeing laptops from HP and Lenovo that actually advertise full Linux support (like the HP Dev One).
Even if those laptops don't support Linux as well as they claim to, it seems like it'd be less of a headache to deal with than Framework with their unique dongle situation.
My experience is exactly the opposite.
If that make me a "Linux apologist" I don't really care.
Install TLP, uninstall thermald, and make sure turbo mode is off (it's on by default in Linux - probably applies to Intel only).
Under light load the system is using 6-8w (about 9-10h of usage on the 80WH battery), under 4w when completely idle. This is latest Fedora on a ThinkPad X1 Extreme with KDE. I want to see that with Windows.
You have to invest a bit more time with Linux (for example the fingerprint reader on my Laptop prevented the CPU from going into lower power modes), and that part is unfortunate.
On the other hand I never experience things randomly not working like it was with Windows.
>Install TLP, uninstall thermald, and make sure turbo mode is off (it's on by default in Linux - probably applies to Intel only).
Sorry, but that's not a good argument in favor of Linux when basic power management is not part of the OS and you need to set it up yourself manually. Can you imagine Microsoft or Apple shipping their OSs without power management? I need an OS to work out of the box so I can get to work/entertainment, not a hobby to tinker with. I still enjoy tinkering with Linux but it should be only when I want-to, not a need-to.
> I want to see that with Windows.
Yeah, you can get Linux to be more economical than Windows by manually installing a bunch of tools that throttle down the CPU into its lowest power mode and running it at 600MHz fixed all the time, and now you have a laptop that's super slow, all for the sake of battery life and winning online arguments. Good job. /s You can force that in Windows as well, but why would you?
I want to see Linux automatically scale the CPU power and frequency based on the load put on it like Windows does: idles at 600MHz when doing nothing, click on the Firefox tab and it shoots up to 3,6GHz, then back down to 800MHz. That's what any sane OS should do out of the box, not have you install and fiddle with a bunch of tools and maybe still not be as good.
>On the other hand I never experience things randomly not working like it was with Windows.
I have way more things randomly not working on Ubuntu 22.04 Gnome at work than on Windows 11 at home (none actually on this one).
> Sorry, but that's not a good argument in favor of Linux when basic power management is not part of the OS and you need to set it up yourself manually. Can you imagine Microsoft or Apple shipping their OSs without power management? I need an OS to work out of the box so I can get to work/entertainment, not a hobby to tinker with. I still enjoy tinkering with Linux but it should be only when I want-to, not a need-to.
That entirely depends on the distro you use. Any "mainstream" distro should already have power saving tools set up properly. Of course if you use something more DIY like Arch you will have to set those up yourself. You can't just group every distro together as "Linux" when you will get a different experience on each one.
> I want to see Linux automatically scale the CPU power and frequency based on the load put on it like Windows does: idles at 600MHz when doing nothing, click on the Firefox tab and it shoots up to 3,6GHz, then back down to 800MHz. That's what any sane OS should do out of the box, not have you install and fiddle with a bunch of tools and maybe still not be as good.
Unless you are using the performance or powersave governors (except with intel-pstate active) that's already what it should be doing. Once again you shouldn't have to tinker with that stuff on any sane distro.
>Once again you shouldn't have to tinker with that stuff on any sane distro.
OK, the thing is that even on sane distros, if you don't tinker them, out of the box, they have less battery life than on Windows on many machines. Out of the box Linux is just not that great with battery life.
Ships with Linux, some good marketing. I think PopOS! has lost the thread on why they exist, in that it started as an 'it just works' version of linux, and it seems to be managed as yet another enthusiast grade linux. It doesn't take much time over at r/popos to see this sentiment spelled out.
I'm not leaving the linux ecosystem, but I can tell you i'd be shocked if I go with either Framework again. Majorly disappointed for what should have been a top tier system when I bought it. I'm on the fence about PopOS. I need an OS that works out of the gate and doesn't break things like audio and bluetooth down the road (both of which are borked in the current version).
Idk. Hard time to be committed to FOSS, but the options aren't better.
Wow that’s horrible. I’ve got a 7 year old MacBook with a battery that needs servicing and I can still get nearly 3 hours out of that, and that’s running IntelliJ
"It's no use having 9hrs battery life if your CPU runs at 800Mhz."
800MHz would be more than enough processing power for most things I do. Just about virtually everything we do now, we were doing when 400MHz Celerons existed.
I have purposely configured my laptop with a maximum cpu performance target of 30% when on battery. No more fan noise, much longer battery life, performance difference is barely noticable (except in tasks like gaming and video transcoding which I don't do on battery)
Uh, I wouldn't consider that to be "supporting Linux" then. On a laptop - which isn't marketed as supporting anything other than Windows 11 - that has similar (but higher spec) hardware than the 12th gen framework I see anywhere between 8 to 20+ hours of battery life, greatly depending on load - largely equivalent to what it does running Windows.
The framework laptop would also seem to suffer from using user-replaceable DDR4 instead of, say, LPDDR5 like 12th gen compatriots generally do (higher performance, less power).
I'm running a very recent kernel in Fedora and have tried numerous power saving mechanisms (currently autocpufreq, although it's results are not much different from gnome PPD) and I'm lucky if I get 3 hours from the thing while running 10-15 FF tabs and a single instance of VSCode+Remote SSH extension. This is ~1/2 of what I can get in Windows.
I think a lot of Linux users would be surpised how good their battery life would be if they installed Windows on their laptops. It's not Linux's fault per se, it's just that there's considerably less engineering manpower going into tuning the power efficiency of laptop hardware on Linux. People get up in arms because they can't reconcile the fact that "Windows is bloated" with the fact that it gets better battery life, but if you think about it for a few seconds it really shouldn't surprise anyone.