by alex_smart · 3y ago · 0 comments
I turn the lid down on my laptop and it goes to sleep. It pull it up and the system comes back up. Reliably. Every single time.
I guess that narrows my choices down to Windows and MacOS. Between them I find it much harder to choose, but Macs just have a solid lead on the hardware front for now. The M1/M2 chips are just chef's kiss. And I don't know why most Windows laptops come with such junk webcams.
Edit: I almost forgot! Linux still doesn't have hardware accelerated video playback on browsers. How can anybody recommend using linux on their laptop despite this is beyond me. Is this a joke? Like do you guys just always keep your laptops plugged in all day? Why not just get a desktop at that point?
So does my laptop. And my sister's laptop; and my father's laptop; and my cousin's laptop; you see where I'm going.
>Linux still doesn't have hardware accelerated video playback on browsers.
I don't know about Chromium, but Firefox has.
>Like do you guys just always keep your laptops plugged in all day?
No, because I installed Linux its battery now last longer than on Windows.
It's not the case for my M1 MBP. Having it connected to an external USB C/Thunderbolt monitor makes it simply refuse to sleep, even when clicking on the Sleep button, closing the lid, etc. Even outside of that it's a crapshoot if simply closing the lid when on battery power will actually make it sleep, or i will realise on Monday it never slept.
Undocking/docking works fine. Perhaps you have some process running that is preventing sleep.
Yes it does.
It means that your browser uses the dedicated video card for rendering video frames and pushing it to your monitor instead of using the CPU.
Why you would want this? The same reason you use a straight-edge to draw a line and a compass to draw a circle. The right tool for the job. I'm sure most people here would have had the experience of the first time training their machine learning model on a GPU instead of the CPU and having their jaw drop at how much faster it was? GPUs are simply much better than CPUs at the things they are designed for. Sure, most CPUs are still powerful enough to push 1080p videos to the screen, but that comes at the cost of poor performance and battery life.
AFAIK it's easier to set up on Wayland, but I have it working on X.
edit:
Maybe I'm super lucky, but I rarely had problems with suspend on Linux. Having said that I prefer no suspend on closing the lid, and AFAIK that's not an option on MacOS.
How much time did you have to spend fiddling with your config to get it working? Does it work reliably? Last I checked, it wasn't even possible with an NVIDIA card.
>Having said that I prefer no suspend on closing the lid, and AFAIK that's not an option on MacOS.
Yes it is.
Max an hour. It's an Intel GPU on a cheapo netbook (hence the need to make it as efficient as possible). Arch wiki is quite decent for this kind of stuff.
I don't know about NVIDIA, I didn't own one since a long time.
Especially if I'm also carrying something in my other hand.
This is exactly how my Librem 15 works with Linux and Qubes OS.
Linux does that on my laptop. In fact, I just close the lid, put it in his bag, and forget about it.
The battery does last about 6 hours of coding and browsing. It's not 12 hours like the Apples, but it has been enough for my writing sessions.
I do agree about the junk webcam :/
I have been that guy who loved to customize every last ounce of the user facing experience of my system. (I still spend most of my time inside of Emacs irrespective of which OS I'm on.) I had a dotconfig folder that I used to carry around to different machines and it's fun and all that. But I'm no longer a student, I simply can not justify spending time tinkering around trying to get the basics working. Bad battery life is a deal breaker. Unreliable suspend is a deal breaker. No, I will not spend a minute trying to get it working. I would rather just run linux on virtualbox or, more recently, use Windows + WSL or a Mac.
>The battery does last about 6 hours of coding and browsing.
And does hardware accelerated video playback work on the browser?
This works with my current HP Spectre x360, I don't remember it ever working in any of the previous laptops.
> And does hardware accelerated video playback work on the browser?
I think the answer is not, as I notice about 6-8% of CPU load when watching videos in the browser.
On every single windows or mac laptop, I just seem to the same peace of mind I have come to expect from smartphones. Click, system goes to sleep. Click, system is up.
On linux, every time I approach the laptop, it is with that small but unshakable feeling of dread. What is my laptop going to do this time? Will it decide to come up with the same state I left it in? Or will it decide this is a good time to reboot?