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

PCI passthrough guide #208

Open
5 tasks done
anjandev opened this issue Apr 22, 2020 · 9 comments · May be fixed by #217
Open
5 tasks done

PCI passthrough guide #208

anjandev opened this issue Apr 22, 2020 · 9 comments · May be fixed by #217

Comments

@anjandev
Copy link
Contributor

anjandev commented Apr 22, 2020

I setup PCI passthrough on voidlinux by using various r/voidlinux reddit posts. I would like to formally document the process.

  • Installing required packages
  • Document isolating video card for pci passthrough (dracut and grub)
  • Loading amd/intel iommu
  • Document configuring virt-manager

Extra:

  • Configuring scream for painless audio

@HadetTheUndying can maybe review the guide.

void-linux/void-packages#17225 must be merged before I can begin this guide.

The guide would only feature void specific issues when configuring PCI passthrough and link to archwiki for anything that's more general.

Is this guide appropriate for the handbook?

@HadetTheUndying
Copy link

HadetTheUndying commented Apr 22, 2020

Yep I'll take a look in the morning.

EDIT: I misunderstood. Yes i can help with and review this guide. I can also add in the proper options for rEFInd too.

@anjandev
Copy link
Contributor Author

@bobertlo is this appropriate for the handbook?

@anjandev anjandev linked a pull request Apr 26, 2020 that will close this issue
@bobertlo
Copy link
Contributor

@anjandev I think this is an appropriate topic for the handbook personally. I would like to keep the content concise and specific to void. I don't have time to peruse the PR but it looks like things are being reviewed in the right direction.

@HadetTheUndying
Copy link

The big thing i can think of is working on figuring out why LookingGlass isn't properly building on Void right now, since otherwise this will require a KVM Switch or separate, keyboard, mouse and monitor. I could working packaging LookingGlass this weekend if anyone can confirm they can get it to build.

Other than that it looks like the review is going well. We're also still waiting on qemu to be updated to support ovmf
void-linux/void-packages#17225

@Animeshz
Copy link

Animeshz commented May 9, 2023

I believe someone said that all the files required for the GPU/PCI passthrough is available in the qemu package itself void-linux/void-packages#29074 (comment), @anjandev can you verify and finish the guide documenting the way GPU passthrough has to be set up?

@anjandev
Copy link
Contributor Author

anjandev commented May 23, 2023

I believe someone said that all the files required for the GPU/PCI passthrough is available in the qemu package itself void-linux/void-packages#29074 (comment), @anjandev can you verify and finish the guide documenting the way GPU passthrough has to be set up?

I dont use void anymore so I will not be able to verify and finish this guide.

@HadetTheUndying
Copy link

The only thing not included with the packages is the hooks that you would need to hand off the GPU and shut down the display server. I can take a look at this PR again next week and probably get it in a state that's ready to be merged if anyone is actually willing to merge it. The problem is that there's no way to do this without users modifying some files and it creates a support burden if we do add it to the Handbook and someone can't figure out how to do it with the provided information. I would also be willing to write an external guide instead. Because there are little tricks and hacks needed for certain GPU models as well and I'm only able to test a few.

@Vaelatern
Copy link
Member

I have a setup that uses PCI passthrough. I'm willing to re-install that system and retry this. @HadetTheUndying ping me as you like, especially on IRC, to get this done.

@Vaelatern
Copy link
Member

@junkminerman I've not attempted UEFI on qemu yet.

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

Successfully merging a pull request may close this issue.

5 participants