Hacker News new | ask | show | jobs
by strange_things 1897 days ago
This is very anecdotal but every single laptop I have bought in the last 10 years (4) worked perfectly out-of-the box with either Linux Mint or Ubuntu (which are the same on the inside). I only vaguely remember once I had to change some conf file for my trackpad to work after a dist update but that was it.

Not sure why everyone in this thread is so hesitant about Linux on a laptop? It literally just works (tm) for me and I haven’t used windows for 10 years and will never have a personal Mac.

30 comments

Every single laptop my company bought me in the last 10 years (3+) had kernel/driver issues, especially with Ubuntu, since the kernel version was usually lower than that from other distros, like Fedora.

This includes mostly graphics driver issues (either simply Nvidia, or hybrids, or some exotic protocols such as DisplayLink), but also touchpad, power/suspend issues (e.g. wake-up failure), lack of fingerprint or smartcard reader drivers... Without mentioning certain manufacturers forcing you to use Windows simply to update docking station firmware drivers (like Dell does).

I still favor Linux whenever I can, but there is a real issue in several models, especially bleeding-edge powerful laptops from brands favored by businesses. Linux certification does improve things, but it often omits "optional" components such as fingerprint readers.

Overall, about 1-2 years after the new laptop model has been released, almost everything works fine, but when you're among the first users, some amount of time will be spent in forums trying to find solutions and workarounds for such issues.

I can live without the fingerprint reader.

It’s the lack of hibernate that really sucks. I got my 2013 MBA battery replaced. Leave it unplugged for 10 hours. 1% battery drop.

XPS 17 on Pop OS LTS with kernel 5.8. I have to shut down if I want battery left.

On XPS 13 (2017) I watched this break due to a firmware update from Dell (something to do with sleep states)

Before the update: Windows sleep was strange, it would sleep but drain battery like crazy. Linux sleep was perfect, I could have the laptop sleeping for days.

After the update: Linux sleep started showing the exact problem as Windows now.

I did not dive much further because I switched jobs and got a ThinkPad at the new one which works perfect.

Windows/MS was the people behind the mess Todo with bios sleep states and lack of support in Linux. That was resolved ages ago though.
> I can live without the fingerprint reader.

Semi on topic: I don't have one either but I would really like to, simply because then I could have a stronger account password.

Having to frequently use sudo restricts the length/complexity of the password since a longer one would simply be a pain in the ass to use. With a fingerprint reader this problem wouldn't exist.

Had the same problem with mine. You need to change the sleep mode. You need to change sleep to mem_sleep_default=deep
I found it much more difficult. I had to move my swap partition into the LUKS partition so it was encrypted, resize it to be much bigger than the default then figure our how to have the RESUME=disk-uuid boot flag enabled for EFI boot. I got it working but it was quite time consuming.
This was the method I found but it didn’t work for me and I gave up.
We see that kind of issue frequently and in the majority of cases it is not a Linux fault, but manufacturer firmware.

It is such a frequent issue I wrote an article 10 years ago that is still extremely relevant with simple instructions to enable a kernel work-around [0].

Specifically the problem is the ACPI DSDT (Differentiated System Description Table) - which is actually byte-code installed by the device manufacturer (but executed by the host OS) that handles device power states and enablement.

The problem is almost always DSDT methods are written to conditionally configure system hardware optimally ONLY when the host OS is a version of Windows as declared by the host OS's ACPI OSI (Operating System Identification).

When Linux boots only a minimal configuration is applied which very often has never been tested and thus devices fail to work reliably, especially for suspend/resume, in interesting ways.

Fortunately, Linux has a WORKAROUND that allows passing a 'fake' OSI on the kernel command-line in the form:

  acpi_osi=! "acpi_osi=Windows XXXX"
The first instance (=!) clears all built-in kernel OSIs to avoid confusion. The second string sets the 'best' and only OSI value which has been found in the DSDT of that PC.

That can be discovered from a Linux boot using:

  sudo strings /sys/firmware/acpi/tables/DSDT | grep -i 'windows ' | sort
E.g: on my Lenovo E495 (AMD Ryzen 7 3700U) I have:

  Microsoft Windows NT
  Windows 2001
  Windows 2001.1
  Windows 2001 SP1
  Windows 2001 SP2
  Windows 2001 SP3
  Windows 2006
  Windows 2006 SP1
  Windows 2009
  Windows 2009
  Windows 2012
  Windows 2013
  Windows 2015
  Windows 2015
  Windows 2016
So, on the basis that "Windows 2016" is the 'latest' and likely the OSI expected to enable all features optimally I use that. On Debian/Ubuntu I therefore have:

  /etc/default/grub.d/local.cfg

  GRUB_CMDLINE_LINUX="acpi_osi=! \"acpi_osi=Windows 2016\" "

Notice the escaped quote-marks inside the shell string since the argument contains a space.

(some folks might prefer to edit the package-shipped /etc/default/grub but I prefer to leave that virgin to avoid package-upgrade prompts when that file is replaced.)

After:

  sudo update-grub

  /boot/grub/grub.cfg
will have the acpi_osi= entries added to all the "linux ..." command lines

E.g:

  $ grep acpi_osi= /boot/grub/grub.cfg
  linux   /vmlinuz-5.12.0-rc5+ root=/dev/mapper/ELLOE000-rootfs ro acpi_osi=! "acpi_osi=Windows 2016" systemd.unified_cgroup_hierarchy=1 nosplash

[0] https://iam.tj/prototype/enhancements/Windows-acpi_osi.html
As mentioned by AnssiH, this hasn't been true for a long time - https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin... was merged in 2007. I wrote up the reasoning back in 2008 at https://mjg59.livejournal.com/85923.html, but since then Linux should always have been behaving identically to the most recent version of Windows as far as OSI responses go.
most features of my laptop don't work reliably (MSI GS65) if I don't use the acpi_osi line, why would that be in that case ? I'm on archlinux with pretty much always the latest kernel
What argument are you providing? In some cases if you pretend to be an older version of Windows then things will work better, since it's possible for the kernel to end up pretending to be a new version of Windows without all the relevant semantic changes in the drivers having been made.
That sounds out of date. Linux has reported itself as Windows via ACPI OSI and actually reports FALSE for "Linux" OSI query for well over a decade now.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...

https://www.kernel.org/doc/Documentation/firmware-guide/acpi...

most features of my laptop don't work reliably (MSI GS65) if I don't use the acpi_osi line, why would that be in that case ? I'm on archlinux with pretty much always the latest kernel
Just tried this on my AMD laptop with an American megatrends bios and it won't boot at all - just freezes while initializing the efi framebuffer device.

Clearly in some cases the manufacturers overrides for Linux are required...

Pop OS doesn’t use grub :(
This is a kernel parameter, so just set it in whatever bootloader Pop OS uses..
Ok. Linux 5.10 actually seemed to improve the power issue but my sound and mic breaks which I need for meetings.
I'd recommend buying one of the new Laptops with actual, official LVFS support by the vendor. My new (Tiger Lake) Dell XPS 13 for example even has support for the fingerprint reader, face unlock etc. by default, and the new ThinkPads and many other High-End models come with Linux support and Linux pre-installed nowadays. They also have a proper hibernation toggle (Linux/Windows mode) in the BIOS so it "just works".
Indeed I too have a new XPS and I was pleasantly surprised that everything works fine. Also Linux updates for Bulbasaur are quite regular visitors.
I have a tiger lake XPS 13 as well and have been unable to get S3 deep sleep to work. Have you?
Are you somehow explicitly testing S3? S3 is obsolete on new hardware — it was replaced by S0ix. The kernel and userspace are supposed to be able to handle this.
>about 1-2 years after the new laptop model has been released, almost everything works fine

It depends on the category of device and what feature you want. I recently got an X1 Tablet (the 2-in-1 version of the X1 Carbon), and it barely works on Linux; there's a veritable zoo of inscrutable bugs that render the device very annoying to use (for example, Plasma's night mode disables when you re-attach the keyboard). It's clear that the FOSS ecosystem as a whole places little priority on touchscreeny things, either on the device end or the software end; the overlap between people hackish enough to fix weird bugs and people who find 2-in-1 tablets compelling enough to hack on is evidently smaller than with normal laptops.

This matches my experience with a 2-in-1 Thinkpad. Obscure bugs (WiFi driver periodically crashing when Thunderbolt is connected) still there after 2 years now.

I think the best bet is going with as much of a run off the mill device as possible. In my experience a separate tablet works much better than a 2-in-1 compromise anyway. When your sole input device is a touchscreen, UX is (unsurprisingly) massively better with a touch-first UI compared to a mouse-first UI.

The problem isn't the "compromise" - the problem is there is no touch-first UI on Linux. That's the point. I can detach the screen and use it as a "seperate tablet", but it still sucks.

Android, on the other hand, is strictly improved by the addition of a hardware keyboard.

> there is no touch-first UI on Linux

If you’re still looking, you could check out JingOS. I haven’t tried it personally but it seems to be basically an iPadOS desktop environment for Linux.

No thanks; it's a closed source GPL-violating fork of Plasma Mobile with heavy (and sketchy) marketing.
Pro tip: Canonical provides recent kernels for all LTS releases. it's a meta package with rolling updates. 1 apt command and you're set. Full support.

On ubuntu 18.04 or before you could/should do this : sudo apt-get install --install-recommends linux-generic-hwe-18.04 xserver-xorg-hwe-18.04

Starting with 20.04 it's by default so you don't even need it IIRC.

No complaints on my Thinkpads.
Also very anecdotal, but I've been running Linux on laptops for ~15 years, and have had many issues and difficulties. My first mistake was trying to run Linux on Mac laptops for the first 10 of those years.

(To be fair, my first Mac+Linux experience was on a PowerBook, which surprisingly worked rather well, though power management was terrible so battery life suffered. Once the Intel train started, it was... not great.)

In 2016 I bought a Razer Blade Stealth, and Linux ran perfectly on it; there was even 3rd-party support for custom things like the tweakable RGB keyboard backlight.

Like a fool, I didn't learn from my mistakes, and in 2018 I installed Linux on an employer-provided 2016 MacBook Pro. At the time, the keyboard and trackpad required an out-of-tree kernel driver (so I needed a USB keyboard and mouse to install), and audio and suspend-to-RAM didn't work (well, suspend was fine, but the disk drive wouldn't wake up on resume). My timing here was actually good, as not long before this, the NVMe drive itself didn't even work.

In 2019 I bought a Dell XPS 13, and aside from the fingerprint sensor, Linux again runs perfectly on it.

So, if you get yourself a laptop that is either specifically made to support Linux, or you've determined via research works well with Linux on it, then you should be fine. Otherwise, you'll probably have issues, unless you're lucky.

(Avoiding laptops with certain things, like Nvidia video and Broadcom WiFi, helps a lot.)

Even Nvidia is less terrible these days:

- Support for Optimus laptops with on-demand rendering offload, if one does the research and uses the correct env variables or tries the "Launch using Dedicated Graphics Card" menu item in GNOME.

- Some whispers of Nvidia finally using dmabuf in the next version of its drivers. With appropriate code/kernel module restructuring for GPL compatibility, I guess.

I feel like the pattern is that when you start to dig into people talking about their great experience with Linux on a laptop, you end up eventually getting them to admit that there are a lot of annoyances they’ve just resigned to living with
On some fronts it even feels like things have regressed. Trying to resize an encrypted partition is way, way too difficult. And it seems like GParted doesn't handle LUKS so you're back to manually typing block offsets on the command line.

If you wanted to use a TPM to store the FDE passphrase, well, you have the patience of a saint. Compare this to Mac or Windows where you click a single button and it's all setup, including TPM!

As much as I love linux for server environments, it remains a failure when it comes to modern desktop environments.

>As much as I love linux for server environments, it remains a failure when it comes to modern desktop environments.

On top of what you mentioned, software distribution on Linux is still a nightmare for normal users. Yea apt-get is great for us nerds, but Bob the Accountant has no desire to use a CLI. Linux will not be viable on the modern desktop until the user never has to see a CLI.

Get OpenBSD. FDE is dumb easy. I am not kidding.
from the cursory read of the documentation on the openbsd site it doesn't seem to support TPMs. Setting up the encryption of a disk paritition does seem easier though.
Some of which they are not even aware of unless they have used other systems for some time.

"I don't even have any problems with bluetooth, audio or a secondary display"

Why would you mention these? Why would anybody expect to have problems with that? ;)

FWIW I use linux on laptop for dev, it's great for my specific use case (terminals flying around), I would not recommend it to my family.

i3wm FTW

> Why would you mention these? Why would anybody expect to have problems with that?

Because other people on Hacker News always mention problems like them.

I wonder why they do that.
>Why would anybody expect to have problems with that? ;)

Because you can expect issues with this for example on mac?

https://www.reddit.com/r/macbookpro/comments/ekh86o/macbook_...

> there are a lot of annoyances they’ve just resigned to living with

I feel like this is true of every computing platform in general.

I feel the same way. It was the annoyances with Windows that I couldn't resign myself to just live with that pushed me to Linux on my desktop full time. For those unable to make the switch due to some critical application in their workflow, it's easy to see how they'd feel they have resigned themselves to dealing with Windows' annoyances.
OTOH, my work bought me a top of the line Macbook in 2020, and there's been many annoyances I've had to live with too, including strange bugs that Apple never seems to fix.

I also have an older Macbook Air, and when I tried to auto-update it to the latest MacOS, the update process corrupted my partition and lost all my files (thankfully backed up in the cloud).

Also had issues with Windows Update being broken out of the box when I tried to set up a PC for my mom with Windows 8. Seriously, I needed to manually download an update on a thumb drive to fix windows update. Like, how did this OS release ever pass QA?

I would honestly say Linux on the desktop and on laptops is pretty good in my experience, and if it had just a little more support from hardware vendors it would be near-perfect. I would definitely say that compared to Windows, the Linux experience is a lot better.

As opposed to the constant annoyances with windows, and similarly things I don't like in Mac?
As opposed to basic things (like display drivers, hibernation, bluetooth, fingerprint scanners, etc.) working fine on both.

Every OS will add annoyances and bugs on top. But it's on Linux where people usually have to fight/configure/trial-and-error to get basic things working more often than Windows and macOS.

And this is not some Linux hater notion. It has been complained about by people like ESR, Linus, and Miguel Icaza. If the original "bazaar" proponent, the founder of the OS, and the original creator of the still major desktop environment have issues with ease-of-use and just-works, who are we to say otherwise?

> As opposed to basic things (like display drivers, hibernation, bluetooth, fingerprint scanners, etc.) working fine on both.

I have a nice list of issues that contradicts that statement. For example, M1 macs like to kernel panic for some reason.

> But it's on Linux where people usually have to fight/configure/trial-and-error to get basic things working more often than Windows and macOS.

Depends what you are trying to achieve. If you were trying to hackintosh some random ASUS+AMD laptop, your experience would not be nice either. Similarly, when you are trying to use random crap (that's technical term) where nobody ever did any integration with Linux, the experience will be bad (that someone doing the integration is going to be you). If you use either supported machine model (where the machine vendor did all the work), or machine that's very near to reference designs (where the chip vendors did the work), you experience will be much better.

The only thing that's never worked for me is hibernation, and that doesn't even work for my windows pc either
Seconded, but I believe there's more to it than just linux being "bad". I believe the greater problems are:

1. Poor discoverability and ease of use - if you have an issue or a need, it's often really hard to find out how to solve it. Even if you do manage to find a solution, often it's not quite plug-and-play and you have to mess around in configs or compile something yourself in order to get it to work. Fun for college students, but a massive pain for everyone else.

2. Hardware drivers: 50% of my issues with linux come from nvidia being an ass. Fuck you, nvidia. Likewise with other devices that often only get third-party drivers which aren't good enough or require more wrangling, see problem 1.

I'm trying to think of one and literally can't. everything works these days. even Bluetooth audio isn't a problem anymore.
Come on - Bluetooth headsets are unusable with the mic on due to HFP being the only bluetooth profile most Linux distros support.
Nope. I run Pop OS and I get A2DP on all my Bluetooth headsets. I'm running a cheapish Clevo laptop.
A2DP doesn't work simultaneously with HFP (i.e. "with the (bluetooth) mic on"). That's not Linux limitation, that's Bluetooth limitation and other OSes - Android, MacOS, iOS, Windows - behave exactly the same.

One solution is getting a wired mic.

What i meant is that most distros use HFP instead of HSP.
Thanks, I'll try PopOS out - hopefully I can finally use the integrated mic on my BT headset.
A2DP works OOB with my Ubuntu 20.10 with Sony WH-1000XM3.
Try sharing only a single display of your multi monitor setup on X11. Try sharing a screen at all on Wayland ;)

E: Realised "sharing" would be ambiguous - I mean screen sharing on video calls, etc.

Sharing single displays or specific windows on Wayland is easy - Chrome and Firefox, or app like OBS can do it; if your conference app cannot do it, ask the vendor why.
Here's an anecdote: sharing a single X11 display on my two-display setup works just fine with Microsoft Teams, I use it almost daily.

That Linux MS Teams client can only do read-only sharing (no giving control to remote party) is another matter, which bothers me a lot.

I have a fine experience on my Dell XPS laptop, it doesn't come with an nVidia card but know it would be a PITA if it did.

Better than my colleagues who use a Macbook and can't use Display Ports correctly, can't plug a cable into one side without it ramping up CPU, can't use their keyboards after a while, etcetcetc.

I think it's good to distinguish if the annoyances are:

- a limitation of the laptop

- a limitation of linux

- a configuration issue (limitation of time / person)

So we don't exclude them to make a point, that's also true for Mac and PC laptops.

My XPS 15 wifi won't wake automatically after sleep on Windows. Wifi works perfectly on Linux, but there are things that don't work with the touchscreen in tablet mode on Fedora that I've been told work on Ubuntu.

My T2 MacBooks are little nightmares sometimes, fans screaming during video meetings and crashing and draining battery instead of sleeping, and I still haven't seen a compelling reason to give up my 2015 13". If the second gen M-series solves the weirder problems, maybe.

> So we don't exclude them to make a point, that's also true for Mac and PC laptops.

The 2016-2019 mbp have been ripped on by everyone, Mac fan or not. I'm not sure if they will go down as the worst Macs of all time, but it might the longest stretch of bad Macs in the history of the Mac.

With the M1 that time appears to be over - finally.

Reinstalling a T2 machine can be a real cat and mouse game, especially if 2fa is involved.

  security = 1 / convenience
Not my experience at all. Thinkpads are the one with the best support, but there are always problems with high DPI screens, plugging external monitors, suspending some times works some times doesn't, battery drains really quick, the trackpad just barely works (gestures, hardly work).

I feel the only people that say Linux works great on a laptop is because A) it manages to boot it and 2) Never used a MacBook Pro or similar so they don't know what something working well means.

I'd love to use a linux laptop and I've used it many years in the past, but not going back this year. It is not ready yet for my expectations.

I've used Linux mostly on IBM/Lenovo ThinkPads and Dell Latitudes. Overall I've had great success. Drivers work, suspend and hibernation work, plugging in monitors just works, wifi works, and battery life is decent enough.

My current benchmark for laptop integration is a Dell XPS 13 2-in-1 that my previous employer bought me with Windows 10. It had a high-DPI screen and there were so many bugs it wasn't even funny. The touchpad was horrible to use. Connecting and disconnecting external monitors was a fun adventure not unlike playing roulette to see if the big presentation you're about to make will ever show on the projector.

Overall, I'd say my Windows and Linux experiences on laptops has been about equal in terms of frustration and annoyance. I haven't had a Mac since like 2007 when I got rid of my G4 PowerBook which was probably the most polished laptop I've ever used in terms of hardware/software just working-ness.

Windows 10 is a mess. It makes Linux on a laptop much easier to bear :)

I think the real advantage of Apple is that they're building both, the hardware and the software.

I'm very skeptical we will ever see such a good integration in the linux or windows world because there isn't any single entity doing both.

My ideal situation would be a Macbook Pro running linux to the perfection, or just having MacOS open source. I don't think I'm going to see any of this in my lifetime.

>Thinkpads are the one with the best support, but there are always problems with high DPI screens

Had no problems plugging my 4k LG CX with at 1440p@120Hz mode, which is kinda more than I managed to do with Mac.

>Never used a MacBook Pro or similar so they don't know what something working well means

Nope. Used three different macs over course of 4 years due to fact that three employers provided me them. I hated those machines, especially constant overheating issues when using external monitors. Maybe M1 fixed that, but they still won't offer it with 16' ones.

Also hated the UI with burning passion. Only thing that made it usable is the fact that maximizing window switches the window to a different "workspace". If only those were numbered, persistently assigned to monitors and windows could be configured to only spawn on particular workspaces it would be pretty nice though.

One thing I really liked though is retina display on two later ones.

> 2) Never used a MacBook Pro or similar so they don't know what something working well means.

On the contrary; if you use all three systems, you realize, that all of them have quirks. You just got used to them, so you don't get disturbed to them, but the quirks of the system you don't use regularly will get noticed quickly.

For example, only with the above-mentioned MacBook Pro I experienced a situation, where I'm connected to the wifi, unless suddenly I'am not, all network packets go to null and to get connected again, I have to reboot the machine. Or the machine randomly not waking up from sleep, when connected to TB dock. Or - new on M1 - machine kernel panicking, the menu bar getting non-responsive or not recognizing ethernet adapter in the TB dock at all.

The experience has dramatically improved since when I first started using Linux with Ubuntu dapper. I have had very good success as well. Having said that, I have run into hibernation, track pad issues with Asus devices. Optimus is also a right pain in the ass.

Your best bet is a Dell laptop with an integrated Intel gpu chip.

Can confirm. Linux "just works" now to the extent that it's boring. I remember when I was a teen the struggle of getting things like WiFi to work and the joy when you finally did it. For years now I've been running Gentoo and it works better than most distros did back then!
Oh how I wish it would be boring... but now for me it's just annoying.
The manufacturers of the laptops you mention (HP, Lenovo, Dell, Acer, ASUS etc.) all directly support Linux for their hardware by publishing SDKs, developing drivers, pushing updates to the kernel and more. Some of these companies even sell Linux laptops themselves. Apple is a very different company.
The short answer is that this is a different beast. Much of the hardware in Macs before the M1 was commodity hardware. Now it is all bespoke and undocumented. This is a big undertaking.
I mean, it's really just a case of being back to the good ol' days when Macs had PowerPC (or before then, m68k) processors. So if anything, I'd expect more success with this in the long run than with commodity x86 hardware, since it's a more-or-less new architecture rather than having to adapt an existing architecture to Apple-specific oddities.

But yeah, short-term there's a bit of a barrier to entry. Once it's overcome, though, this might be what pushes me to voluntarily buy any piece of Apple hardware made after 2007.

I don’t think so. The CPU itself isn’t the big problem here. You can see basic support is already there. The challenge is all of the surrounding hardware.

I am not sure why would would expect better success with this processor than we have had with x86? Most PC hardware is directly supported by the OEM in Linux.

He's not asking why it's hard to port linux to M1 (and it's never been easy either, even before M1), but why people in this thread have hesitations about linux on laptop in general.
It's a really fun how every thread that mentions how linux is ready for desktop got filled with bunch of low level driver configurations.
Not hesitant, just personal preference. Probably like that for a lot of people here. I used Linux on desktop (later, laptop) for a long time, since the late 90s - went through so many phases, "not enough RAM to run X", barebones X, "emacs for everything", enlightenment, gnome desktop, etc.

At some point the churn got to me and I stopped customising my computer environments. Just use the defaults. By this time OSX was a "real UNIX" and I hopped over. No regrets. It does what I need it to do, which is still mostly to run a terminal and a browser.

I will say that reliably turning on and off when I close the lid is a great quality of life improvement.

Sorry, this is not true :)

The Ubuntu bluetooth stack has been misconfigured for a long time, and it still is (specifically, the pulseaudio bluetooth module is misnamed; there is an open bug). I use an Ubuntu MATE, but I think this applies to the other Ubuntu distros as well.

It also had other misconfigurations in the past, and anyway, the bluetooth stack has always been poor quality (nowadays is much better though).

Even the Dell XPS, which is supposed to be perfectly compatible, has minor niggles (in other areas).

So, Ubuntu/Linux works acceptably... yes, but perfectly, definitely not.

I was investigating recently options which laptop I can buy to be able to use Linux without any issues. I've checked Lenovo Legion 5 with AMD processor. Looks like good machine for a price, but touchpad is not gonna work out of the box on the latest stable Ubuntu. Kernel upgrade is needed (or PopOs distro that already has needed patch).

For me kernel update does not sound as something big, at least I know that something like kernel exists in Linux, the point is that average computer user these days does not have such knowledge.

That was just one example. Many people can give more and more on various issues. Some edge cases with routers provided by ISP. With wifi repeaters/boosters. With printers. DLNA equipment connectivity (I had this one too - again, after googling I've installed some software and it started to work, but average... and so on).

Typically older equipment and standard peripherals work ok. But people use all kind of stuff.

If you want to use Linux on laptops, the best option is Fedora. Of all the mainstream dependable Linux distros it has the most up to date Kernel and other bits (like Gnome). This means that its support for hardware is usually the best. On Lenovo laptops with Intel graphics everything works perfectly out of the box with no issues (all the way down to fingerprint readers etc.).

I also find it to be stable and generally good distro, but of course that's more subjective.

It helps, that some Thinkpads do ship with Fedora OOB. Lenovo worked with Redhat to have the support for these models upstreamed to the respective projects.
If you don't need discrete GPU, check out Intel Dell with Linux support. I recently bought 3410 with pre-installed Ubuntu and it works flawlessly, both with Ubuntu and with latest Fedora.

Touchpad is not Macbook-level, though. But may be XPS is better.

I have a System76 laptop that comes preinstalled with Linux.

Everything graphics related is crap compared to Windows and MacOS. From Optimus not working to all kinds of high DPI issues, to the ease of not completely breaking things with a bad driver update.

It's not really Linux's fault, but it affects the user experience for sure.

I bet a dollar you’re conveniently forgetting a ton of little adjustments you’ve had to make, because they “are not complex at all” for you.

Or all you do is use the browser.

You don't seem very confident, betting only a dollar. ;-)

But honestly, just buy a Thinkpad and everything works out of the box. Yes, everything.

That's not true.

For example, the microphone of the X1 Carbon 7th generation still doesn't work out of the box. You need to blacklist a handful of kernel modules and edit your PulseAudio configuration to force the loading of an ALSA source hooked to the correct device ID.

The Arch wiki has an article cataloguing issues and workarounds (with various degrees of success) for every generation of the X1.

It really depends on what you buy / how recent it is. If you buy a just-released new model (that's not just a trivial bump in specs from the previous version), you will likely run into issues.

But you're right - the experience is way better than a decade ago and these days I'd expect anything that's been on the shelf of a local office store to work just fine.

I had one of the first Nvidia Optimus laptops. It was a nightmare on Linux for a while even just trying to get the Nvidia card off (no BIOS option) so it wouldn't drain the battery was difficult let alone using it. I don't even think it was officially supported by Nvidia when they added support because the gen after they changed how Optimus worked?

My laptop after that at least had a BIOS option to disable the Nvidia graphics. I only bought an Nvidia model again because the OEM made a mistake and sold it for hundreds less than the Intel one on their website. Every distro needed me to do something to get the screen brightness keys to work.

WiFi chipsets could also be a hassle though they have gotten much better.

My current laptop, a 2018 MacBook Pro, is basically near unusable as a Linux laptop. By default the trackpad and keyboard don't work and you need someone's kernel patch to use them. You can't currently have both sleep and sound. A bunch of little other gremlins.

Got a Dell with an integrated GPU as well as a GTX1660. The laptop's display is hooked to the igpu, the HDMI to the GTX. Problems that have happened with Linux, in no particular order:

* Bumblebee/Optimus is a pain in the ass to install

* Performance on the second screen with Optimus is dreadful (sub 30Hz refresh rate)

* Being an NVidia card, I have the choice between Nouveau which can only put it into its low power state (which fucks me over when I need to use the Android emulator), or the proprietary nvidia ones which are, well, shit.

* Putting the laptop to sleep with an external display connected is a sure way to have it crash when it starts back up.

* Just kidding it doesn't actually go to sleep, the GPU stays on and runs like crazy.

I would _love_ to be running Debian on this machine. Sadly, the state of some things on Linux makes it impossible for me.

My emergency laptop, an 8 year old low end HP with a broken keyboard is still happily running along with Debian though.

Don’t use Bumblebee anymore.

Use this instead:

https://download.nvidia.com/XFree86/Linux-x86_64/440.31/READ...

Newer doc:

https://download.nvidia.com/XFree86/Linux-x86_64/465.19.01/R...

And https://download.nvidia.com/XFree86/Linux-x86_64/465.19.01/R... for power management, including turning off the GPU entirely when unused.

Oh I said Bumblebee/Optimus, but PRIME does not work properly either.
I have a very similar Dell. I'm not sure it fits your use case, but I just run on the Intel graphics with the nvidia one powered down and no nvidia drivers installed. The Intel card runs multi-monitor 4K desktop stuff smooth as silk (I use Wayland, but I checked X too).

Whenever I need to run CUDA stuff (my only use case for the nvidia GPU), I power it up, and pass it through to a VM that also runs Linux, but with the horrid nvidia stuff installed. Works like a charm.

I'd be curious to see your setup, purely because I have never found a way to have the iGPU handle the HDMI output. It seems it's directly soldered to the Nvidia card.
Strange. I thought that solution (output soldered onto the GeForce) was discontinued a long time ago for this range of machines. My setup works really well both with the HDMI output, with the Thunderbolt output, and of course with the laptop display.

I have this going on two very similar machines: A circa 2017 XPS 9560, and a circa 2020 XPS 7590. Both are 15". I don't have the 9560 near me at the moment, but the 7590 has

00:02.0 VGA compatible controller: Intel Corporation CoffeeLake-H GT2 [UHD Graphics 630]

01:00.0 3D controller: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] (rev ff)

I'm happy to help you debug if you want. What happens if you remove all nvidia drivers and plug something into the HDMI port? Do you notice any response from the external screen if you hit for example control f2?

I think its like most things - people with bad experiences talk about them a lot. If it works perfectly why would you post about it.

I've also had good experiences with linux laptops. Maybe not perfect, but more like easily resolved in 20 minutes of googling, which is totally reasonable to me.

I wonder what happens when you close the lid and then open it again.
Same here, although I have been mainly on Windows for the past 5 years because of other reasons.

If I didn't use my computer for music production I'd have no problem going Linux only.

I have the complete opposite experience, including laptops that were initially shipped with Linux (yes, Dell). Lack of support for hibernate, lack of support for docking station, etc. And things also break after updates. Of course "this is not Linux fault, this is lack of vendor support". But that doesn't change anything for me: It's either I'm willing to fiddle with the system or I have to buy something else.
I'm on this M1 Macbook since it has both blazing fast performance and 20+ hours of battery life at the same time. No hardware on the market compares.
My single experience with trying to use Linux daily on the laptop was 10 years ago. It had an "optimus" configuration, a combination of integrated/discrete GPU. I had to find instructions and resources online to get it to run for my specific model.

Eventually whoever was posting these probably moved on to a different model, which meant mine would stop working correctly when I'd upgrade Ubuntu.

At this point I just want my equipment to 'work'. In order for me to have mental capacity to spend elsewhere and debugging my equipment.
I remember I gave up on linux on a macbook once.

When I tried again ONE change made all the difference. reconfiguring the trackpad settings. I think before there were confusing click regions for different buttons. I think I changed to one-finger two-finger tap and it was like a different machine.

Same for me, however you can be sure I do my research before buying to make sure it will be compatible. You can't just blindly buy a Windows laptop and expect it to work flawlessly on Linux.
Even on a Dell XPS Developer Edition (that comes with Linux) I can't get the webcam to use the full resolution or get bluetooth audio to work reliably.

So I get where folks are coming from.

Some are better than others. Don't be hesitant - just find one that works well and use Linux.
Anything to do with graphics if you have a dedicated card never works properly out of the box
Here are my thoughts on Linux...

I used Ubuntu on my sole/main machine for a month up until recently: i9 10900K, 32GB, 1TB NVMe SSD, GTX1080, MSI Z-490-A Pro, 3 x screens.

In my day job I'm a .NET developer so I created a Windows 10 VM for VS 2019 and allocated 4 cores and 12GB RAM. I used VMWare Workstation 16. It was smooth as hell.

I developed PHP/Laravel/Wordpress stuff in Linux using PHP Storm and VSCode. Docker on Linux natively is faster than in WSL2 (I know it's to do with accessing the file system but still...).

I learned a whole bunch of commands in this time and learned to live inside the terminal for a chunk of my work. It was fantastic. I loved it.

I also loved being able to configure Ubuntu and make it look like I wanted with new icons and whatnot: I didn't go mental, but it looked cool when I was finished.

All in all, as a dev machine (and browsing 'n' stuff) it worked... quite ok, sort of: it wasn't all plain sailing. Here are the issues I had

1. Realtek 2.5GB nic would not work so I bought a 1G USB nic and it ran fine without all kinds of tweaking (yes, I tried a bunch of stuff I found online but I can't get the realtek nic to work: something to do with the older kernel)

2a. When waking from sleep it sometimes lost network so had to reboot

2b. When waking from sleep AND with NordVPN on in the background it always failed to find a network card... reboot fixed it

3. Printer (HP MFP M477DW) would disappear frequently. Ubuntu would find it again when I asked but it wouldn't print to it. This required wizardry to get it running... more miss than hit so I ended up only using it through the Windows 10 VM

4. It would hang sometimes. Music would still be playing in the background but would become unresponsive. Happened maybe 5 times in a month. Reboot to fix.

5. VMWare workstation wouldn't work properly if I had display scaling turned on inside Ubuntu: it had no idea what resolution to show so I had to turn it off making things smaller than I'd like on the Ubuntu DESKTOP

6. Sound would fail regularly: usually crackled when I opened a web page. So I either close every browser window or stop all sound playing for a minute or so. I use a soundblaster something-or-other card.

7. OnlyOffice would open off-screen every single time. I had to do Alt+Space every time. Works perfectly on Windows 10. I switched to Libreoffice

All in all, it has come a long way since I last used it a few years ago but I NEVER have any of these issues in Windows 10. Ever. And, whether we like it or not, we tend to remember the bad stuff and I can't get away from the fact that W10 is just more stable.... for me, on my hardware, at least.

But I should caveat that by saying that I've disabled literally EVERYTHING in W10 using O&O Shutup, including updates (I've also deleted the Windows Update Medic Service dll so it doesn't turn updates back on). I hate notifications and I want to pick when I run updates myself - given the spotty nature of the updates I usually wait a while, like when I've finished some client work and can afford a bit of downtime if the update fails)

In Linux' defense, VMware workstation 16 running Windows 10 is smoother than a Windows 10 VM on VMware workstation on Windows. No idea why, it just runs smoother. If Linux stability was fixed (waking from sleep especially) I would switch immediately but all the tiny, annoying niggles that I just don't get with W10 are enough to keep me on W10... W10 is a tool and, for me, it's a better one for now.

> In Linux' defense, VMware workstation 16 running Windows 10 is smoother than a Windows 10 VM on VMware workstation on Windows.

Reminded me about a time years ago I had to do some c# work in Windows 7. At the time, I found the best Windows laptop experience was running it in a VM on a MBP.

Haha, that's crazy!

I will say that running natively on Windows is still faster but the VM of Windows 10 in VMWare Workstation on Linux is noticeably faster and smoother than running that same Windows 10 VM on VMWare Workstation on Windows 10... it just defies logic!

It's not like it's a Type 1 hypervisor in Linux and Type 2 in Windows (well, I assume it isn't!).

Hibernate is very useful on laptop.