VFIO

42 readers
2 users here now

This is a subreddit to discuss all things related to VFIO and gaming on virtual machines in general.

About What is VFIO?

VFIO stands for Virtual Function I/O. VFIO is a device driver that is used to assign devices to virtual machines. One of the most common uses of vfio is setting up a virtual machine with full access to a dedicated GPU. This enables near-bare-metal gaming performance in a Windows VM, offering a great alternative to dual-booting.

Rules

  1. No harassment

  2. No shilling

  3. No discussion of developing cheats

founded 2 years ago
MODERATORS
1
 
 

My Genshin Impact under VFIO passthrough stopped working yesterday (booting Windows using the same disk works flawlessly). Any other game is working (and VM is booting without any issue).

I suspect they added new checks, and maybe TPM chip is related. Tested removing exposure of hypervisor feature, adding and removing TPM device, among others, but still didn't found the button. Any ideas?

2
 
 

I am trying to set up a way to use my Linux normally and then on demand fire up an OSX VM with GPU passthrough.

Arch Linux
Gigabyte RX6600xt
macos 13 Ventura VM

I've been fucking around with it for two days, getting a bit further each time, but now I am stuck.

I can boot up the vm just fine with OpenCore-Boot.sh

Here is my script:

https://pastebin.com/McyHyMk4

What I see, the screen goes black, then I see the TianoCore boot logo, then some errors and nothing more happens. https://imgur.com/JdTkXG2

I ran info pci via telnet and it showed the GPU.

I have agdpmod=pikera in the config.plist and rebuilt the OpenCore.qcow2 according to the official instructions.

When I add a vnc option and vnc into it from another computer, I can see the proper boot menu and select an entry and boot into macos. It even seems to recognize an AMD gpu, but not fully.

Please tell me any debugging / info providing steps, as I am quite new to this.

Thank you very much for your time and effort.