The closest I came was my XPS 15 9560. The build quality and hardware was excellent. i5 + GTX 1050 + 8GB RAM + 256 GB NVME + Thunderbolt. Linux support was phenomenal, especially on a rolling release. After about 18 months of owning it, I upgraded the memory to 16GB and storage to 1 TB without any problems. Unfortunately, I ran into a few issues trying to use it as a work and home machine.
1) Mixed DPI is insanely bad on Linux, and that issue is amplified if you have Nvidia hardware. At least as of last month, Wayland and XWayland are basically unusable with Nvidia. Since the laptop screen is 4k, but I was using a Thunderbolt dock plugged into 2x1080p monitors, I'd have to turn off display scaling on the laptop, and, because I was stuck on X11 because Nvidia, I'd have to restart the laptop for the scaling change to take effect.
2) There was no Thunderbolt dock support for unlocking full disk encryption, so if you wanted FDE, you either had to unplug the laptop from the dock, open it, type the password and plug it back in every time you turn the laptop on, or just not used a Thunderbolt dock. This wouldn't be a big deal except I was restarting the laptop frequently when changing pretty much any display parameter.
3) There was no clear best practice for managing switchable graphics. There are options like Bumblebee that I never really figured out if they were working properly - especially for games. Then, Nvidia supposedly added a "primus-run" feature to the driver, but again, it seemed to just not work. Eventually I settled on "prime-select" but that involves rebooting every time you switch.
4) Selecting the Nvidia graphics disabled on-board audio. I had to either use USB or Bluetooth. I never figured this out despite countless hours of messing around with alsamixer. My best guess is that it was trying to direct everything over the HDMI out even though that wasn't plugged in. The Intel drivers were loaded, just every time I selected the Nvidia chip, the audio devices would disappear.
In the end, I settled on picking up an Acer Aspire refurbished from eBay. It has an i5 10400, 12GB RAM, and a 512GB SSD. I put a 1050 Ti in it without any problems. The total system ran me $500. It's much nicer. So the moral of the story is for me, if you do go Linux laptop, avoid Nvidia like the plague.
>4) Selecting the Nvidia graphics disabled on-board audio. I had to either use USB or Bluetooth. I never figured this out despite countless hours of messing around with alsamixer. My best guess is that it was trying to direct everything over the HDMI out even though that wasn't plugged in. The Intel drivers were loaded, just every time I selected the Nvidia chip, the audio devices would disappear.
Try sudo alsactl restore
I have a Dell G5 with Nvidia RTX and my headphones do not work when I start it
Took me a few months of investigation, but that alsactl command fixes it in 90% of situations
Unfortunately, I need CUDA for work. However, with a desktop and static resolution (not changing from laptop 4k to dock 1080p all the time) I can comfortably use X11, and without power management issues (no battery on desktop) I don't have to switch between Nvidia and integrated graphics.
1) Mixed DPI is insanely bad on Linux, and that issue is amplified if you have Nvidia hardware. At least as of last month, Wayland and XWayland are basically unusable with Nvidia. Since the laptop screen is 4k, but I was using a Thunderbolt dock plugged into 2x1080p monitors, I'd have to turn off display scaling on the laptop, and, because I was stuck on X11 because Nvidia, I'd have to restart the laptop for the scaling change to take effect.
2) There was no Thunderbolt dock support for unlocking full disk encryption, so if you wanted FDE, you either had to unplug the laptop from the dock, open it, type the password and plug it back in every time you turn the laptop on, or just not used a Thunderbolt dock. This wouldn't be a big deal except I was restarting the laptop frequently when changing pretty much any display parameter.
3) There was no clear best practice for managing switchable graphics. There are options like Bumblebee that I never really figured out if they were working properly - especially for games. Then, Nvidia supposedly added a "primus-run" feature to the driver, but again, it seemed to just not work. Eventually I settled on "prime-select" but that involves rebooting every time you switch.
4) Selecting the Nvidia graphics disabled on-board audio. I had to either use USB or Bluetooth. I never figured this out despite countless hours of messing around with alsamixer. My best guess is that it was trying to direct everything over the HDMI out even though that wasn't plugged in. The Intel drivers were loaded, just every time I selected the Nvidia chip, the audio devices would disappear.
In the end, I settled on picking up an Acer Aspire refurbished from eBay. It has an i5 10400, 12GB RAM, and a 512GB SSD. I put a 1050 Ti in it without any problems. The total system ran me $500. It's much nicer. So the moral of the story is for me, if you do go Linux laptop, avoid Nvidia like the plague.