Skip to content

v0.7.1 - Support for passthrough without killing X, among other gpu subprocess handling.

Pre-release
Pre-release
Compare
Choose a tag to compare
@ipaqmaster ipaqmaster released this 28 Dec 07:12
· 46 commits to master since this release

A small bump for some new features.

Key changes since 0.7:

  • Various script subroutine cleanup to cover all use cases even when certain requirements aren't configured on a host

    • e.g. Checking only for IOMMU-related stuff when the script is about to engage it
  • Further documentation cleanup as usual

  • Added -iommu as an alternative IOMMU group check flag. Still keeping -iommugroups and -iommugrouping

  • Added -portforward to port-forward host ports to the guest when NOT using a bridge. This is for the User-mode guest networking default setting (NAT). Pretty useful for tests and quick start/stops.

  • Added Multi-GPU VFIO support without having to kill an existing X server.

    • This is supported in scenarios where Xorg is configured via xorg.conf to ignore your other host GPUs. The README.md contains example xorg configuration.
    • This feature allows for a GPU to participate in CUDA operations for the day while also being able to take an unbind request on the fly (Obviously not while something is in active use of the card).
    • The script consults fuser to look for any processes (Or Xorg itself) using the GPU if any before unbinding.
    • If Xorg isn't using the GPU but user processes are; it kills them and starts them back up again after getting a target card onto vfio-pci.
      • This has been useful for me as Firefox, Chromium based browsers, XFCE4 and Cinnamon (Any Gnome based WM, really) continue to start processes which latch onto my second card even after asking xorg.conf not to.
  • Added a new flag -killX to tell the script that killing X is OK. This was primarily added for Single GPU Passthrough scenarios.

  • Fixed a niche issue with hugepage allocation in special circumstances.