Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wizard error: Failed to attach devices to VFIO #45

Open
veryheavypickle opened this issue Oct 7, 2024 · 0 comments
Open

Wizard error: Failed to attach devices to VFIO #45

veryheavypickle opened this issue Oct 7, 2024 · 0 comments

Comments

@veryheavypickle
Copy link

This issue occurs after booting up, after running the Wizard.
issue

Running the command manually

~$ sudo bash -c echo "0000:01:00.0" > /sys/bus/pci/drivers/vfio-pci/bind
-bash: /sys/bus/pci/drivers/vfio-pci/bind: Permission denied

After allowing write permission

~$ sudo bash -c echo "0000:01:00.0" > /sys/bus/pci/drivers/vfio-pci/bind
0000:01:00.0: line 1: echo: write error: No such device

Hardware

  • Ryzen 7950X
  • 3090 Ti 24GB

Environment
This is running in a proxmox VM.

  • IOMMU is enabled
  • Nested virtualization is enabled
  • GPU passthrough works flawlessly

I have both a windows VM as well as another linux VM that can utilise the gpu with no issues - one at a time of course. I can switch between the guest indefinitely and keep the host running 24/7 with no weird issues. Passthrough works as well as if running on metal, not even anti cheat detects it as a VM.

What I have tried

  • Toggling GPU audio passthrough (the error changes to 0000:01:00.1 no perm instead of 0000:01:00.0)
  • Toggling using GPU as display out on both golem-gpu-vm and the VM that build golem-gpu-vm
  • Setting write permission on /sys/bus/pci/drivers/vfio-pci/bind the error is documented above
  • Running the wizard in ssh terminal /usr/local/bin/golemwz-wrapper

What I believe the issue is
I believe the issue is proxmox related, since the GPU has already been passed through, it shouldn't expect to passthrough to a different level.

What I expect

  • To be able to finish the wizard

Possible solution

  • Skip guest creation in wizard, run the guest as a host and override the existing system where needed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant