How to unbind a gpu /sys/bus/pci
0
votes
0
answers
2529
views
How do I unbind an Nvidia GPU in
/sys/bus/pci/driver/nvidia/unbind
in order to use it for virtualization
I am using sudo echo "0000:09:00.0" > unbind
but I get bash: unbind: Permission denied
I am following the docs from IBM ,but can't seem to figure out to unbind the gpu
the os I am using is ubuntu 22.04
when running the command echo "0000:09:00.0" | sudo tee /sys/bus/pci/drivers/nvidia/unbind
this cause the terminal to hang and I can't use it anymore
even trying to kill the process fails
root 8646 0.0 0.0 14356 5912 pts/0 S+ 09:07 0:00 sudo tee /sys/bus/pci/drivers/nvidia/unbind
root 8647 0.0 0.0 14356 956 pts/1 Ss+ 09:07 0:00 sudo tee /sys/bus/pci/drivers/nvidia/unbind
root 8648 11.5 0.0 8380 1024 pts/1 R 09:07 0:14 tee /sys/bus/pci/drivers/nvidia/unbind
Asked by Weed Cookie
(111 rep)
Aug 28, 2022, 06:56 PM
Last activity: Aug 29, 2022, 06:11 AM
Last activity: Aug 29, 2022, 06:11 AM