Hi! Optimus-manager only supports Archlinux so it won't work out-of-the box on MX Linux. I'm not familiar with SysV so I can't offer much help, but you'd likely need something equivalent to the "optimus-manager" service in systemd (https://github.com/Askannz/optimus-manager/blob/master/systemd/optimus-manager.service), including start/stop hooks.
Machine learning engineer in a start-up. I work mostly with Python in Linux environments. My personal computer runs Arch and is also my work computer. I'll probably get a dedicated workstation soon, but will also install Arch on it.
In my case I don't see any reason not to use Arch for work. It's reliable, flexible, and even obscure data visualization programs can be easily found in AUR.
As others have said the game works in Proton, you need to activate Steam Play in your settings.
One thing to note, by default this game in Proton requires 32-bit Vulkan drivers (which may not be installed by default on your distro). If your GPU doesn't support Vulkan or the drivers don't work with Flatpak with some reason, you can always force it back to OpenGL by setting the launch options to PROTON_USE_WINED3D=1 %command%. It's technically slower, but that game is really not demanding to begin with, so it should be fine.
Yeah, getting Nvidia to co-exist with the open-source driver stack is a bit tricky, this causes a lot of headaches on dual-GPU laptops.
In my experience with dealing with this mess, there are 2 possible setups :
Nvidia as main GPU driving the Xorg server, accesses the video outputs from the AMD card via Reverse Prime. Applications can only run on Nvidia, AMD only serves as a passthrough for the video outputs.
AMD as main GPU driving the Xorg server, but can offload applications to Nvidia if needed (look up Nvidia Prime offloading). Both GPUs can render applications in this scenario, however the video outputs from Nvidia are inaccessible.
So yeah, it's a bit limited, and both cases take a bit of Xorg fiddling to get working, it's definitely not plug-and-play. And that's not even mentioning the 10bit depth thing, I have no idea how that plays with Xorg.
If you solved the issue by installing an intel driver, it means you're lucky and the external outputs of your laptop are actually connected to the Intel card. Very often it's on the Nvidia card and your only options are to run the entire session on the Nvidia chip (using optimus-manager or some manual config), or use the nouveau driver.
Good answer. Also worth noting is that XWayland doesn't work on Nvidia even with mutter and kwin (it falls back to software rendering). Therefore Wayland+Nvidia is unusable for gaming or pretty much anything that requires GPU power.
Just to clear out any confusion, the parent comment is talking about amdgpu (which is a kernel driver already included in Linux and does not need to be installed), while OP was talking about amdgpu-pro (which is the proprietary driver provided by AMD). Those are 2 different things.
Sway won't work with the proprietary Nvidia driver. In fact it refuses to start if the driver is loaded on the system for any reason, even if the Nvidia card isn't connected to any display.
I use Arch on my personal laptop which is also my work machine. I do Python development for data/signal processing and a bit of machine learning.
Honestly, it's great. Even the most obscure pieces of software required for my work can be found in the AUR, and I can use custom PKGBUILDs to install my own data visualization tools system-wide.
Stability-wise, I update almost every day and I've never had Arch break in a way that wasn't a direct result of my own tinkering.
Wayland is barely usable on Nvidia. KDE only has it as a WIP backend. Gnome is more advanced but XWayland doesn't work anyways, so it's unusable for gaming.
Sway doesn't work with the proprietary driver, at all.
Since it breaks when starting the X server and you have a dual-GPU laptop, it's probably another Optimus fuckery. Try the kernel parameter nomodeset. If that doesn't work, force the system to boot into a TTY with the kernel parameter systemd.unit=multi-user.target and see if the problem still happens.
Hi! Optimus-manager only supports Archlinux so it won't work out-of-the box on MX Linux. I'm not familiar with SysV so I can't offer much help, but you'd likely need something equivalent to the "optimus-manager" service in systemd (https://github.com/Askannz/optimus-manager/blob/master/systemd/optimus-manager.service), including start/stop hooks.
Well
Sure
Yes and yes.
Machine learning engineer in a start-up. I work mostly with Python in Linux environments. My personal computer runs Arch and is also my work computer. I'll probably get a dedicated workstation soon, but will also install Arch on it.
In my case I don't see any reason not to use Arch for work. It's reliable, flexible, and even obscure data visualization programs can be easily found in AUR.
As others have said the game works in Proton, you need to activate Steam Play in your settings.
One thing to note, by default this game in Proton requires 32-bit Vulkan drivers (which may not be installed by default on your distro). If your GPU doesn't support Vulkan or the drivers don't work with Flatpak with some reason, you can always force it back to OpenGL by setting the launch options to
PROTON_USE_WINED3D=1 %command%. It's technically slower, but that game is really not demanding to begin with, so it should be fine.Misleading title. This only affects things that depend on nvidia_uvm, eg CUDA and friends. The rest works fine.
My bad, should have read the whole thing. Still, if you're installing
vulkan-radeon, it makes sense to have the 32-bit version as well.Also
lib32-vulkan-radeonif you intend to play games.-fCsirbecause you want to clean those build deps afterwards.Yeah, getting Nvidia to co-exist with the open-source driver stack is a bit tricky, this causes a lot of headaches on dual-GPU laptops.
In my experience with dealing with this mess, there are 2 possible setups :
Nvidia as main GPU driving the Xorg server, accesses the video outputs from the AMD card via Reverse Prime. Applications can only run on Nvidia, AMD only serves as a passthrough for the video outputs.
AMD as main GPU driving the Xorg server, but can offload applications to Nvidia if needed (look up Nvidia Prime offloading). Both GPUs can render applications in this scenario, however the video outputs from Nvidia are inaccessible.
So yeah, it's a bit limited, and both cases take a bit of Xorg fiddling to get working, it's definitely not plug-and-play. And that's not even mentioning the 10bit depth thing, I have no idea how that plays with Xorg.
The offloading works. The power automatic switching doesn't.
If you solved the issue by installing an intel driver, it means you're lucky and the external outputs of your laptop are actually connected to the Intel card. Very often it's on the Nvidia card and your only options are to run the entire session on the Nvidia chip (using optimus-manager or some manual config), or use the nouveau driver.
Shameless plug: https://github.com/Askannz/optimus-manager
Oh thanks, I thought I was the only one.
Good answer. Also worth noting is that XWayland doesn't work on Nvidia even with mutter and kwin (it falls back to software rendering). Therefore Wayland+Nvidia is unusable for gaming or pretty much anything that requires GPU power.
No clue then. Maybe try a more bleeding-edge kernel version.
I'm no expert but that sounds like it's still using the
radeonmodule for some reason. What is the module in use as reported bylspci -k?Bumblebee is a hack, with a high performance cost and no Vulkan support (unless you pile the other hack that is primus_vk on top of it).
OP is referring to true offloading support, which has just been officially added to the Nvidia driver.
Just to clear out any confusion, the parent comment is talking about amdgpu (which is a kernel driver already included in Linux and does not need to be installed), while OP was talking about amdgpu-pro (which is the proprietary driver provided by AMD). Those are 2 different things.
Shameless plug : https://github.com/Askannz/optimus-manager
Sway won't work with the proprietary Nvidia driver. In fact it refuses to start if the driver is loaded on the system for any reason, even if the Nvidia card isn't connected to any display.
I use Arch on my personal laptop which is also my work machine. I do Python development for data/signal processing and a bit of machine learning.
Honestly, it's great. Even the most obscure pieces of software required for my work can be found in the AUR, and I can use custom PKGBUILDs to install my own data visualization tools system-wide.
Stability-wise, I update almost every day and I've never had Arch break in a way that wasn't a direct result of my own tinkering.
This, so much this.
Wayland is barely usable on Nvidia. KDE only has it as a WIP backend. Gnome is more advanced but XWayland doesn't work anyways, so it's unusable for gaming.
Sway doesn't work with the proprietary driver, at all.
Since it breaks when starting the X server and you have a dual-GPU laptop, it's probably another Optimus fuckery. Try the kernel parameter
nomodeset. If that doesn't work, force the system to boot into a TTY with the kernel parametersystemd.unit=multi-user.targetand see if the problem still happens.