Honestly, I'd go with ubuntu, just because lots of llm tools work with it, and because it has good support for dgpus. I personally use debian, but for your case, i'd go with ubuntu.
Linux
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
I've been using Manjaro for years and highly recommend it.
That said, lenovo build quality has gone way downhill and anyone reading this might want to avoid them in their next purchase.
I have an AMD 5900HS iGPU and a 3070M in my laptop. I've had no issues on Mint (with the auto-installed Optimus in the Nvidia Prime applet) or with PopOS. If you want to use passthrough, SR-IOV GPU sharing is not an option for AMD iGPUs IIRC, and I know it doesn't work for NVIDIA dGPUs, so you'd need to pass the whole dGPU through to the Windows VM to get hardware acceleration.
For Figma, I would say the unofficial Electron wrapper or the online version is likely your best bet in terms of reliability. If it's just using the browser mechanisms for hwaccel (no funky accessing windows resources behind the scenes) if you run Optimus in the "on-demand" mode the webpage should be able to access the dgpu for hardware acceleration just fine. Optimus is a lot better than it was a few years ago.
Great info, thanks! That makes two mentions of Pop_OS so I guess I’ll give that a try first.
I can add an aspect when it comes to Lenovo laptops. PopOS automatically searches and offers updates for different firmware for my Thinkpad. Really neat feature I haven't seen in other distros to keep your device up to date.
Thats via fwupd, thinkpads specifically get this because Lenovo officially supports Ubuntu on them. Other lenovo laptops don't get this!
TIL Thanks for the info/clarification
I had a dual gpu Dell Xps laptop a couple of years ago, and the best experience I had with it was PopOS. It was the only distro that worked with that laptop out of the box without just completely disabling the dgpu.
I also have two GPUs in my laptop and PopOS works great for me
One thing you probably need to figure out first: how are the dgpu and igpu connected to each other, and then which ports are connected to which gpu.
Everyone does funky shit with this, and you'll sometimes have dgpus that require the igpu to do anything, or cases where the internal panel is only hooked up to the igpu (or only the dgpu), and the hdmi and display port and so on can be any damn thing.
So uh, before you get too deep in planning what gets which gpu, you probably need to see if the outputs you need support what you want to do.
Yes, that's a good point, I think the thunderbolt out only works on the iGPU, so I'm assuming that to get dual external monitors (HDMI and usb-c) the bare metal OS (Linux) will have to be running at least the iGPU.
I guess that also begs the question: X or Wayland in this scenario?
I'll admit to having no opinion on windowing systems.
If the distro ships with X, I use X, and if it ships with Wayland, I use Wayland.
I'd honestly probably not be able tell you which systems I've been using use one or the other, and that's a good thing: if you can't tell, then it probably doesn't matter anymore.
He's referring to a hardware mux. Essentially, it's hardware that will bypass your iGPU and directly use your dGPU. It's more expensive to find laptops with hardware muxes, but they perform a bit better because output isn't being routed through the iGPU first.
The downside of a hardware mux is that you have to switch between the dGPU and iGPU in your UEFI. This means you need to restart the computer every time you want to change which GPU you're using. The dGPU will result in better performance at the cost of battery life.
Odds are your laptop does not have a hardware mux and you will need to go through the standard optimus setup for your distro. Some distros make this easy with their own tools, like Linux Mint and Manjaro.