this post was submitted on 13 Nov 2024
48 points (94.4% liked)

Linux

48224 readers
113 users here now

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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Basically the title. I’ve only ever seen huge 20 page guides on how to make it work. Is there an easy way?

Specifically on Debian or Arch with a laptop with two gpus (zephyrus g14)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 5 days ago

I have the 2020 G14 and I got this working once. I'm afraid easy and simple are not a thing here, as you need to understand what you're doing if you want it to work well. The basics are:

  • Prevent the host system from loading any drivers that touch the discrete GPU. This is done by attaching it to the VFIO driver and uninstalling/blacklisting the Nvidia and Nouveau drivers.
  • Make sure you have the correct kernel parameters to support virtualisation and PCI-e passthrough.
  • Create a Windows VM and attach the Nvidia GPU to it.
  • Setup Looking Glass so you can play with the best possible latency. This will likely require a dummy USB-C display stick.

Personally, I don't think it's worth the hassle. I keep a Windows install for when it's needed, and do most of my gaming on a separate system.