You are not logged in.

#1 2016-06-03 13:43:22

sjaak
Member
From: The Netherlands
Registered: 2016-05-30
Posts: 16

[solved-ish] Virtual machine gaming

Hey there,

I occasionally play windows-only games (not compatible with Wine etc.), however I loath the idea of dual booting just because it can be better.

So I've done some research(DDG searches) and it could be possible giving the right hardware and 2 GPU's, meaning 1 dedicated for the VM. However the topic's I read where quite out of date, so I figured I'd ask here.

is it possible having 1 GPU and still use that GPU for the virtual machine as well as for the host?

Sjaak

Last edited by sjaak (2016-06-04 07:59:14)

Offline

#2 2016-06-03 14:11:26

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [solved-ish] Virtual machine gaming

Nope. Afraid not.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2016-06-03 14:44:24

tmp-meteque
Member
Registered: 2015-12-11
Posts: 30

Re: [solved-ish] Virtual machine gaming

People usually use their integrated GPU for the host OS.

This thread can give you some ideas.

Last edited by tmp-meteque (2016-06-03 14:45:47)


IBM Lenovo T430

Offline

#4 2016-06-03 16:00:23

DenBrahe
Member
Registered: 2016-04-24
Posts: 17

Re: [solved-ish] Virtual machine gaming

You can run the VM on a different GPU using GPU passthrough:
https://wiki.archlinux.org/index.php/PC … h_via_OVMF
https://www.reddit.com/r/pcmasterrace/c … e_at_near/
The second one is based on tmp-meteque's link, so you're probably better off there

Last edited by DenBrahe (2016-06-03 16:00:40)

Offline

#5 2016-06-03 16:33:09

sjaak
Member
From: The Netherlands
Registered: 2016-05-30
Posts: 16

Re: [solved-ish] Virtual machine gaming

tmp-meteque wrote:

People usually use their integrated GPU for the host OS.

This thread can give you some ideas.

Yeah, but I have some games running on Linux as well :s. So that would require me to reboot everything I want to run a game on either linux / windows in order to switch the GPU.
This does seem like the optimal solution at the moment though.

DenBrahe wrote:

You can run the VM on a different GPU using GPU passthrough:
https://wiki.archlinux.org/index.php/PC … h_via_OVMF
https://www.reddit.com/r/pcmasterrace/c … e_at_near/
The second one is based on tmp-meteque's link, so you're probably better off there


My question was if I could run it with 1 though ;p

Last edited by sjaak (2016-06-03 16:33:29)

Offline

#6 2016-06-03 20:55:51

DenBrahe
Member
Registered: 2016-04-24
Posts: 17

Re: [solved-ish] Virtual machine gaming

sjaak wrote:
DenBrahe wrote:

You can run the VM on a different GPU using GPU passthrough:
https://wiki.archlinux.org/index.php/PC … h_via_OVMF
https://www.reddit.com/r/pcmasterrace/c … e_at_near/
The second one is based on tmp-meteque's link, so you're probably better off there


My question was if I could run it with 1 though ;p

You want to run 2 systems on 1 GPU? Don't think that's possible.

Offline

#7 2016-06-03 21:19:34

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [solved-ish] Virtual machine gaming

I may have read on the vfio-users ml where some people were able to switch the discrete GPU between host and VM usage without rebooting. OTOH it may have just been a "hopes for the future" thing.

Regardless, the ml is a better resource about VGA passthrough than these forums IMO. You should also checkout Alex William's vfio blog.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#8 2016-06-04 07:58:47

sjaak
Member
From: The Netherlands
Registered: 2016-05-30
Posts: 16

Re: [solved-ish] Virtual machine gaming

alphaniner wrote:

I may have read on the vfio-users ml where some people were able to switch the discrete GPU between host and VM usage without rebooting. OTOH it may have just been a "hopes for the future" thing.

Regardless, the ml is a better resource about VGA passthrough than these forums IMO. You should also checkout Alex William's vfio blog.

Great! Thanks, I'll look through it smile.

Sure that makes sense, this is just the only Linux forum I'm on and I just wanted to know if it was possible since my searches didn't really answered my question. I'll mark this as solved.

Offline

Board footer

Powered by FluxBB