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

Revert Guide? #84

Open
flipch opened this issue Nov 27, 2024 · 1 comment
Open

Revert Guide? #84

flipch opened this issue Nov 27, 2024 · 1 comment

Comments

@flipch
Copy link

flipch commented Nov 27, 2024

How does one revert the readme guide? After restarting the host I no longer can see /dev/dri/ devices that I was previously sharing with my LXC containers

@ruanmed
Copy link

ruanmed commented Nov 29, 2024

Hi @flipch .
You need to undo the edits performed in the files mentioned in section Configuring the GPU for passthrough. Which are:

  • /etc/modules
  • /etc/modprobe.d/vfio.conf

Basically what's happening is that, with those edits, proxmox is NO longer loading the amdgpu drivers, and loading the vfio drivers instead, and that means LXC containers no longer can use the GPU, because the OS won't have any GPU available.

After removing the changes from both files, you need to also peform step 6 to refresh the kernel modules and restart:

update-initramfs -u -k all
shutdown -r now

And after restarting proxmox should be loading the amdgpu drivers again, and there should be no issues to your promox LXC containers.


So that just goes as a reminder to anyone that reach this:

  • GPU passthrough means the HOST (proxmox) can no longer use that GPU.

If you are sharing GPU from proxmox host to LXC containers you cannot ALSO perform GPU passthrough to guest VMs in parallel.
If you passed through the GPU that means that proxmox NO longer has any GPU available for the LXC containers.
Unless, of course, you have more than one GPU in your machine...

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

2 participants