Comments (4)
BTW.
cuda_enabled
seems to be doing it's job when the device id is not spoofed. Taking M40 24G as an example, that gets spoofed on the mdev level as a M60 - NVIDIA in their docs says only the 8Q profile is capable of CUDA:
but with the cuda_enabled
flag I was able to happily run CUDA apps on the 2Q profile (providing there's no device spoofing for the guest OS as decribed above).
Also, going back to the guest spoofing - it doesn't matter where it's spoofed - the same behaviour when I spoof the device using your config.toml or that's an override of device id on the KVM level.
EDIT: Goes without saying - I'm happy to test any ideas you might have.
from vgpu_unlock-rs.
CUDA is not supported when spoofing the PCI device ID. So far, it only works with the GRID guest driver.
from vgpu_unlock-rs.
Have you ever investigated why is that?
I haven't gone through the nvidia's open source kernel modules myself, you must have, so I'm just curious what is so specific about spoofing and cuda
it only works with the GRID guest driver.
Also - that's the thing, I'm not changing the driver in the guest to be the GRID one. I'm using the standard driver, and cuda works when dev id is not spoofed
EDIT: Also OpenCL doesn't fly either - so it's not specific to CUDA API rather it's a compute capabilities thing.
from vgpu_unlock-rs.
There is some code path done with the GRID guest driver that does not happen when doing PCI-e ID spoofing for some reason.
from vgpu_unlock-rs.
Related Issues (20)
- Same issue as #5 - Fails to start VM HOT 21
- use of unstable library feature 'renamed_spin_loop' Error. HOT 4
- mdev specific nvidia profile overrides HOT 5
- Changing the name of the graphics card does not take effect? HOT 2
- The card_name parameter is invalid, the virtual graphics card name will still be displayed HOT 3
- how to recompile nvidia-vgpu-vfio with NV_KVM_MIGRATION_UAPI ? HOT 22
- Can we support RTX 30 Series (Ampere, GA102) ? HOT 3
- unable to compile --noob issue HOT 2
- vGPU License HOT 2
- Unable to install driver on Debian HOT 1
- Unable to override with two mdev profiles within one VM HOT 1
- have anyone gotten rtx 30 series card to work yet? HOT 2
- Failed to override nvidia profile HOT 1
- RTX 2060 In proxmox 7.3 not work HOT 3
- VM won't start after shutdown: error allocating framebuffer HOT 3
- nvidia-vgpud.service wont activate HOT 4
- Fails to start VM HOT 6
- VM will not start and nvidia-vgpu-mgr spits errors HOT 1
- Kernel NULL pointer dereference HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vgpu_unlock-rs.