in reply to shapis

I also don't know if there's any Linux program that will automatically do the configuration for you.

It seems like it would be pretty complex since I guess you need to disable the linux host from using the GPU, and do PCI passthrough in a VM that has Windows installed.

And there's still the problem of the graphics needing to move around the system in order to get to the display instead of the display being directly connected to the GPU.

Seems like a pretty cool thing that would be neat to have a nice automated GUI solution for.

I was just looking at, seems like it's difficult but not impossible

I'm in the same boat that it seems too difficult (and I bet the performance still isn't near native).

I just dual boot and boot into Windows if I'm going to play a game.

This entry was edited (5 months ago)
in reply to blobjim [he/him]

It seems like it would be pretty complex since I guess you need to disable the linux host from using the GPU, and do PCI passthrough in a VM that has Windows installed.@blobjim [he/him] @shapis


This is all addressed by the Linux kernel and xml code specifying it for the VM.

And there's still the problem of the graphics needing to move around the system in order to get to the display instead of the display being directly connected to the GPU.

Again handled by the kernel and qemu, just requires a bit of XML code in the vm description. Not a big deal.

Linux reshared this.

in reply to shapis

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.

in reply to shapis

It's not... easy but it's also not 20 pages difficult, unless you wanna do sinlge GPU passtrough, then that's black magic.

This along with the arch wiki's page on GPU passtrough should be enough to get you setup

E: Pro tip - pay close attention to section 2.3 Gotchas in the arch wiki, this sh!t had me stuck for a while on my system

This entry was edited (5 months ago)
in reply to shekau

I mean, I hope they keep doing that because Valorant sucks. Everything about it is boring and 20 bucks for one gun wrap is outrageous. The rootkit is invasion of privacy I don't want to reboot just to play. The rounds go on for so long people just get bored and start griefing... If you leave early the game punishes you hard. There are plenty of better games to play. Not to mention it's only KB/M no cross play no ability for players with disabilities. Perfect for conservatives who only care about themselves like to have players begging to drop their wrapped guns
This entry was edited (5 months ago)