• 0 Posts
  • 19 Comments
Joined 1 year ago
cake
Cake day: June 19th, 2023

help-circle
  • I haven’t used any of the arch install scripts but they seem to have regular problems. Doing it the usual way is a proper way to roll your own but it doesn’t give you options. You have to know what you want, or you have to know where to find out what exists.

    The guided installer is going to be important to a type of person we’re going to see more and more of: power users that know what they want to do, but for whom the Linux ecosystem is a foreign and fractous entity what uses entirely unfamiliar nomenclature.













  • I currently have a VFIO setup and it works great. There’s just almost nothing I need it for with how great Proton has become. I have an AMD APU and GPU. My Linux desktop runs on the APU and only offloads to the discrete GPU when invoked with the DRI_PRIME=1 environment variable.

    Virt-Manager has the ability to run scripts at certain points in the VM startup and shutdown process. This is what I use to reassign the GPU to the VFIO stub driver so it can be handed to Windows, remove half of my CPU cores from the process scheduler so Windows isn’t suffering constant cache misses, and open looking-glass which uses a shared memory device to render the GPU output in a window on my desktop with minimal latency. Scream starts on login to handle audio, and you’re going to want to use a shared memory device for that because it has latency problems over network.

    I’ve been told I have one foot in each bucket labeled “single GPU passthrough” and the other labeled “dual GPU passthrough”. If you’ve only got one you’ll have to exit your X or Wayland session to use the VM because your GPU cannot abide two masters. Nvidia has a functional equivalent to Prime, I think, but I don’t think it just works out of box. I understand Nvidia isn’t happy about their consumer cards being handed to VMs as it’s usually an expensive enterprise trick, so there might be a workaround process there.

    The Arch wiki has a great tutorial on GPU passthrough using VFIO and OVMF, that’s probably your best bet on an arch based system like Manjaro.