S
S
solsher2022-02-04 08:36:34
Virtualization
solsher, 2022-02-04 08:36:34

Forward GPU to VM, 3Ds Max to VM, and a few more questions about virtualization?

Good day. The idea came to make a workstation out of a home PC, which will be used by two people at the same time. The tasks are as follows:

1. full-fledged work in Autocad, 3Ds Max in a virtual machine
2. synchronization of work processes with a remote computer in the office so that you can start working at home and continue in the office, and vice versa. Preferably using a personal cloud, you have your own server
3. the possibility of gaming in another virtual machine, at the same time as point 1.

Please clarify the following questions:
1. for the tasks set, will the hypervisor be the best solution for allocating resources?
2. what hypervisor would you recommend?
3. For the distribution of GPU resources, only exotic video cards, such as some AMD FirePro, Nvidia GRID, Tesla, etc., were previously suitable, but now the situation has changed?
4. If it is not possible to distribute GPU resources between VMs, will it be possible to forward an external video card through Thunderbolt?

PC Configuration:
AMD Ryzen 5950X
DDR4 2x16Gb
Visiontek RX 5700 8Gb
Blackmagic eGPU Pro (RX 56) External Video Card, Thunderbolt
Gigabyte B550 Vision D
Intel Optane P5800X 800Gb
LAN 2.5GBe

Server:
Xeon E3-1245 v6
DDR4 2x16Gb 5
Sandisk X400 5300 Pro 2x1.92Tb
LAN 1GBe

Answer the question

In order to leave comments, you need to log in

5 answer(s)
E
Eugene, 2022-02-04
@yellowmew

https://habr.com/ru/post/448312/
https://habr.com/ru/company/ruvds/blog/583784/
start studying the issue with these two links
There are more links in the articles themselves, in the comments too
There answers not to all your questions but will help to dig in the right direction (and there is also an opportunity to ask the authors a question)
PS in long-term plans there is exactly the same task, so I am collecting data little by little

D
Drno, 2022-02-04
@Drno

1. most likely yes
2. Anyone who can forward a video card
Look at the popular ones. KVM, VmWare, virtualbox (I doubt it)
3. No, it hasn't changed. Vidyakha is thrown completely into one VM
4. In theory, yes. But you need to look at the capabilities of a particular
Sync hypervisor - in any way, sync files with the cloud. I personally use Nextcloud. Realtime as in Apple - unrealistic, no software
Play if the PC pulls out. This is no different from working in AutoCAD. Moreover, resources for virtual machines can be limited

A
Armenian Radio, 2022-02-04
@gbg

For fun, you can simply install Linux, create different X sessions on different monitors - and cut into wack on the first monitor, while the reducer is drawn on the second monitor.
At the same time, the resources of the video card will be safely shared between applications - if you manage to set up X and VirtualGL correctly the card is forwarded (or not forwarded at all, or jumps with a tambourine and card firmware patches are needed), but cannot see the monitor / stub. Then you can run CUDA on it, but Windows will refuse to draw your desktop on it, even if you put Looking Glass on it.
Details in the comments .

D
Denis _______________, 2022-02-04
@LuchS-lynx

The idea came to make a workstation out of a home PC, which will be used by two people at the same time. The tasks are as follows:
1. full-fledged work in Autocad, 3Ds Max in a virtual machine
2. synchronization of work processes with a remote computer in the office so that you can start working at home and continue in the office, and vice versa. Preferably using a personal cloud, your own server has
3. the possibility of gaming in another virtual machine, at the same time as point 1.

This is a working scheme, moreover, I came to the same conclusion, but I have one working virtual machine, the other is responsible for the safety of data, roughly speaking, 7 HDDs hang on it, on which files are stored and backups are made, and access is also organized with differentiation network rights. Now to your wishes.
1. Perhaps
2. This is not solved by means of virtualization, and here it is not fundamentally real whether this is hardware or a VM.
3. It is also possible.
However, you need to understand that the following things stand in the way of solving this problem through virtualization:
1. Iron. Without the support of the motherboard and the CPU, all this will not start. For AMD and for Intel, these are somewhat different technologies. Personally, in 2019, I changed 2 mothers before choosing the one on which it all started. It is best to look for stories with Happy End on the net and take the same hardware, the hardware from this page will partially work, but this is not a complete list of compatible hardware, you should understand this:
https://en.wikipedia.org/wiki/List_of_IOMMU -support...
2. Restriction of hardware and software. At the moment, the gaming VC resource cannot be divided between virtual machines, only forwarded (but professional series VC can be divided into several VMs, but they will not be played very well). Forwarding means 1 VC per 1 VM (respectively, 1 working monitor for each such virtual machine), it is best for the host to leave the integration, in principle, you can do without it, but the initial setup will become very complicated.
Hypervisors that support VC forwarding to VM: Xen, any Linux + KVM distribution (including Proxmox), ESXi, according to the assurances of small-scale Hyper-V, but in which version - desktop / server and how it works - I HZ. Didn't see or touch. And I felt Linux and it works well here, although it was originally understood for a month.
Another frequent companion here is error 43, widely known in narrow circles, which can have both iron roots, then nothing can be done here, or software ones, then you can. Even despite the fact that NVidia promised not to spoil the life of enthusiasts, there are still problems with forwarding in terms of drivers, either the driver sees the wrong hardware id, or the driver without tricks refuses to work correctly. As a rule, there are no problems with VC from AMD, but even here you need to be careful. Restrictions also come out on the sound, unfortunately, the integrated sound card can not always be forwarded to the VM, this is due to the fact that either forwarding is not supported for this equipment or it hangs in a group with other devices and its forwarding breaks the operation of this group of devices for the host . The best solution to this problem is a PCI-e sound card, a DP/HDMI cable,
Please clarify the following questions:
1. For the tasks at hand, would the hypervisor be the best solution for allocating resources?
2. what hypervisor would you recommend?
3. For the distribution of GPU resources, only exotic video cards, such as some AMD FirePro, Nvidia GRID, Tesla, etc., were previously suitable, but now the situation has changed?
4. If it is not possible to distribute GPU resources between VMs, will it be possible to forward an external video card through Thunderbolt?

1. Rather yes than no. There is software that divides resources without virtualization, but it costs money and is buggy according to reviews.
2. The one you know how to work with. ProxMox came to me as the friendliest with a WEB interface, but here it’s taste + community accessibility and manuals. KVM is out of competition here, IMHO.
3. No, everything is the same. There was a small-scale development for Hyper-V called Remote-FX, but it was buried. Was only in the server version of Windows.
4. Yes, you can.
Mobile GTX1660ti Max-Q forwarding video on laptop:
https://www.youtube.com/watch?v=6pzdkXqI4sU
GTX1070 forwarding video on desktop:
https://www.youtube.com/watch?v=wjlmWHJiEug
My articles on this topic (for laptop and for PC):
https://habr.com/ru/post/575654/
https://habr.com/ru/post/437598/

M
meDveD_spb, 2022-02-04
@meDveD_spb

2. The choice is small, Proxmox.
3. Not exotic, but which support SRV-IOV, vGPU. Mom also needs to support SRV-IOV. Plus, in order to use the video card in more than one virtual machine, you need the appropriate license.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question