8

Firstly, Apologies if this is the wrong place for this question.

I'm attempting to run ElasticFusion in a Ubuntu VM on my Windows machine using VMWare Workstation 15 Player.

All of my dependencies are good, and the application compiles fine, but when I try to run, I get an error that there are no Cuda compatible devices installed. Seems the VM has no access to my video card, and I can't figure out how to pass it through to the Linux environment on the VM.

I'm pretty new to VMs in general, and have only been playing around with this particular application for a few days, but I can't get it to work.

Maybe I need a different VM? Could I install Ubuntu on a flash drive or something? Would that even allow me to access all of my PCs other devices?(CPU, GPU, RAM, etc..)

Any ideas?

On my PC, I'm using:

  • Windows 10 Home
  • nVidia GeForce GTX 1080
  • VMWare Workstation 15 Player

The VM is running Ubuntu 18.04

Please let me know if you have any questions or need any other info on specs/etc, I'd love to get this to work.

Thanks

3

VMware Workstation 15 does not support GPU pass-through at the moment. The only VMware product that does support it is VMware vSphere.

Even if it was supported, there isn't any way to pass through a GPU that is being used by the OS the hypervisor is running on, or you would lose the display on the parent OS.

vSphere doesn't use the GPU at all, so the entire device can be passed through to the guest VM.

3
  • So is the solution to use vSphere? I'll have to look into that. Is there some other VM product that I could use that does support GPU pass-through? Or is that just not possible at all?
    – Zack F
    Aug 16 '19 at 23:46
  • VirtualBox might be better than VMware for the purpose. See this post and all answers there including mine. Your would need some minimum hardware such as two display adapters.
    – harrymc
    Aug 17 '19 at 7:19
  • Marking this as the solution, although I think I'm just going to end up dual booting with Ubuntu. Seems even that will cause me fewer headaches. Thanks for your help
    – Zack F
    Aug 17 '19 at 23:48
-1

The best solution for this is to edit your .VMX file to have this line in it:

mks.dx11.vendorID = "0x10de"

(I would suspect changing dx11 to ogl should work)

Not the best solution, but it does work and I have seen decent performance with it.

Learn more here: https://communities.vmware.com/t5/VMware-Workstation-Pro/Increase-dedicated-video-ram-in-workstation-player/td-p/919898

2
  • 1
    ... so it's the best solution, or it's not the best solution? Sep 27 '21 at 17:14
  • As a member of the community I am looking for authoritative answers, which in my opinion, don’t contain “I suspect” statements.
    – Ramhound
    Sep 27 '21 at 17:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.