-
Notifications
You must be signed in to change notification settings - Fork 68
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
The virtual machine cannot use the GPU #27
Comments
If you're using the latest kubevirt (> 0.45), have a look at #19 |
You mean, I need to update the version of kubevirt to 0.45 or higher to be able to use it, right? At present, the GPU pass-through I am using does not use the VGPU method. |
No, I mean if you are using a new kubevirt version it might be issues #19.
|
For now, I am now reporting errors through
|
Try binding 01:00.1 to |
It prompts me that I can't find this device, but this device exists through I want to know the words of gpu pass-through. Do I need to load the sound card? |
From the device plugin's perspective, everything looks ok. You exposed the device to Kubernetes |
Hello, what method can be used to view the |
@rthallisey Do I need to adjust the run level of my host machine to 3 and close his graphics window (I wonder if the reason is that the physical machine is already using the graphics card and cannot be connected directly). |
Try this gist. |
Hello, the following is the result after I execute the script, it seems that the NVIDIA device is already in the iommu group.
|
Hello, through the settings here, the virtual machine has been successfully started, but there are currently two problems: First: The 750ti graphics driver for Windows 10 downloaded from the nvidia official website. After installation, the device can display normal operation, but the GPU information is not displayed in the task manager. Second: After the virtual machine system restarts, the graphics card driver disappears. |
@newhuangchuan what did you do to start the VM? I'm hitting the same issue... |
Sorry for replying to you now, I hope it will be useful to you |
I finally saw a repro for this issue after switching to a newer kubevirt version. This PR kubevirt/kubevirt#6664 changed the default behavior in kubevirt, which can lead to this issue.
|
Hello, I want to connect my GPU directly to the virtual machine in my kubevirt through the current method, but when I create the virtual machine, I was prompted by
describe vmi
:The GPU resource pool is as follows:
What I understand is this, you can use the GPU directly, or you can create a VGPU, and I am currently using the GPU, do I need other configurations?
The text was updated successfully, but these errors were encountered: