Gentoo Archives: gentoo-user

From: R0b0t1 <r030t1@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Dual booting with Windows 10
Date: Sat, 16 Sep 2017 03:25:39
Message-Id: CAAD4mYgB4htDnyGtt0zYE+f=2o9VXC_iqqL3yevx5xVbTFL+3g@mail.gmail.com
In Reply to: Re: [gentoo-user] Dual booting with Windows 10 by Radoje Stojisic
1 On Fri, Sep 15, 2017 at 4:03 AM, Radoje Stojisic
2 <radoje.stojisic@××××××.de> wrote:
3 > Hi all,
4 >
5 > I am interested in doing something too. Do you talk about GPU Pass-through?
6 > Few months ago I wanted to try it myself but I own a Ryzen 1800x and just
7 > one GPU. Is there a way with only one GPU?
8 >
9
10 That depends what you want to do. I'm going to assume what you
11 actually want is a 3D capable OpenGL provider in your VM.
12
13 If you have an Intel GPU, you can use VT-g to share it with virtual
14 machines. On Linux this is fairly recent development and I personally
15 have not had time to experiment with it. This functionality has,
16 surprisingly, been available on Windows for some time. Also available
17 on Windows is the ability to pool GPUs and allow virtual machines
18 computation time on them.
19
20 However, that doesn't work on Linux (yet), so the only alternative to
21 VT-g is VGA passthrough which requires another GPU.
22
23 > Or do I really need 2GPUs and 2 Keyboard/Mouse?
24 >
25
26 You don't need two keyboards and mice.
27
28 However, in the typical setup, when you pass your keyboard and mouse
29 to the virtual machine, you will be unable to interact with your host
30 machine. For a lot of users this might be fine. If QEMU crashes the
31 devices should be released to the host, but if the machine becomes
32 unresponsive you will have to wait or perform a hard reset.
33
34 Another option is to view your machine (Linux or Windows) with remote
35 desktop software. I personally prefer this one because it doesn't
36 require you to have a duplicate set of hardware. With Windows, RDP
37 provides better host/guest integration than anything else.
38
39
40 Taiidan recommended a separate USB controller for the guest. This can
41 be very helpful but also isn't necessary. You can pass specific USB
42 ports to a guest. (I have to test this with hotplugging but it looks
43 like it should work.)
44
45 Cheers,
46 R0b0t1