Skip to content

u/Praeteriens

In this archive from Sep 2014 to Oct 2016

1
posts
49
comments
1
media
190
score

Yes. And it's way better than dual-booting as you don't lose the underlying main system session. I have this kind of setup and when I want to game, I just change input from my main monitor to the VM's, while still having anything else needed from the main system (resource usage monitor etc.) running on my second monitor.

1 points

Yeah, these kinda things are better to execute without any extra hurry. I've missed a lot of sleep for the last week or two because of being so hyped up with configuring all this to my liking... Hope you get enough time soon and good luck with the setup when you get into it! :)

1 points

Good points.

You're totally right about the control panel. When I first saw how they did it on Windows 8/10, I just had to have a good and long laugh. It's ridiculous how inconsistent the setting windows look side by side and it just feels like the guys at Microsoft just were too lazy to make everything fit into their new UI schema.

I've had no problem with the Windows 10 start menu after removing all the crappy tile elements from it, making it quite traditional for Windows. Can't really say much about it as I don't really use it much. Windows is just a launcher for Steam in my use.

I'm very privacy/security conscious and for me any proprietary operating system doesn't deserve my trust at all. Whenever I use any Windows version, I just assume my actions might be logged/monitored in every possible way. Of course I try to minimize it with a reasonable effort, but there's never a perfect solution with closed source so I just don't do anything too private on my Windows VM.

But yeah, I understand your views. What are your thoughts on Windows 7's life cycle ending in a few years? Hopefully Windows will be even less relevant at that point...

1 points

Same here, I can't wait the day when we can just ditch this travesty of an operating system...

But as long as there's a reason to use it for gaming and such, what's so bad about Windows 10? The built-in spyware has been already brought to earlier Windows versions via updates to a great degree and otherwise 10 is just very usable from my experience. I have used an open source program to remove a big chunk of the spyware collection: https://github.com/Nummer/Destroy-Windows-10-Spying

2 points

It's my pleasure to spread the happy news. :)

And about the virtual drive, I just wanted to make sure you know you don't need a new physical drive for this setup. An .img file will do well in this case: https://wiki.archlinux.org/index.php/QEMU#Creating_a_hard_disk_image

Are you sure about your CPU support? I checked http://ark.intel.com and both i5-4440 items I could find actually do support the needed VT-x and VT-d technologies! Or is there some other edition of it available?

From what I understand, it's probably not possible for Virtualbox or any other virtualization software to utilize hardware to this level without the support on the actual hardware, so waiting for software updates for this would be pointless.

1 points

Don't worry about the mistake, no harm done. :)

The bash scripts are very simple in this setup and working examples are provided in the wiki like with other software you're not that familiar with. Synergy isn't mandatory and you totally can have simultaneous audio with the virtual machine and the main host system, voice chat works great too from what I've experienced with Mumble running on the host system while playing with the virtual machine.

1 points

To add to my earlier reply about using the Steam streaming out from the virtual machine, I recorded a clip for a proof of concept. Keep in mind that my recording software really decreased CPU performance awfully for the game/stream causing a lot of choppiness, which doesn't represent the actual quality in-game. Here's the clip, I recommend to watch it fullscreen to see my description I write on the terminal prompt: https://www.youtube.com/embed/oNiS1nJ2MrQ

I didn't include the audio as it was crackling on streaming with the Metro games and even more so when the recording software was running.

1 points

Apparently you have to use both GPU and IGP simultaneously?

To get video input out from both systems simultaneously you indeed need two GPUs, with the other being integrated or just having two dedicated ones.

I would love if the setup process was a little simpler.

Don't let the first expression about the guides fool you, it's fundamentally very simple if you're just motivated enough to do just a bit of research and reading. I bet it's gonna get a lot easier in a few years though as the technology becomes more common.

Also it would be cool to just simply boot the VM, hide Windows and just run the games without seeing the OS.

This actually reminded me about an idea I had a week ago! And now I actually tested it already; you can just start the Windows VM to background with automatic Steam login and use Steam's streaming function in Linux to play Windows games without using the Windows desktop! This is actually quite damn impressive, but unfortunately this isn't a working solution for me: Metro 2033 and Last Light crash the stream after a while of playing and the framerate is quite awful to be honest... But this isn't a problem for me, because when I want to play a Windows game, I just boot up the virtual machine and I'm able to choose with my main monitor's buttons/menu if I want to see the Linux or Windows video input on it. I can switch on the fly very fast and I have no problem seeing Windows desktop for a few seconds as it's merely just a launcher for Steam in this case. ;)

This is still an interesting addition to my setup though, and I'm going to do further testing with the Linux VM streaming games to my wife's desktop computer which only has integrated graphics.

Do you have any more recent games like GTA V or Dark Souls 3? I'm curious about their performance as well.

I can try out some newer and more demanding games at some point. I'll give out a report about this as well. It shouldn't be a problem though, as the hardware seems to get steadily utilized at unnoticeably native-feeling performance level all times so far.

I'll keep this in mind and may have to buy a new SSD just to try this out in the future.

Why not to try it out even before it if your other hardware supports it? Just create and use an .img file as a virtual drive.

1 points

Updated link(s) on my earlier reply, including some shaky camera footage! I think I'll do a better version later though, with assistance to get rid of the poor focusing and such. If you want to see some specific details on video about the workflow, I'll happily take requests.

1 points

I am the OP, what parts of my process make it look indcredibly hard? The basics are fundamentally pretty simple if you have enough will to read and otherwise do the research.

And don't get me wrong, Virtualbox is totally fine for fooling around with some VMs. I just really like the performance level of a KVM and the commandline usability of QEMU (I've used Virtualbox from the CLI too), but I understand how many people just like the convenient GUI of Virtualbox. Of course there's virt-manager GUI for the QEMU/KVM setups too...

But yeah, basically after installing the QEMU package you can immediately run a VM with a one-liner command. The more advanced command for my Windows 10 VM isn't that complicated either.

2 points

A brief googling points out some level of PCI passthrough support in Virtualbox, but do you actually have a good reason to prefer it when QEMU is available? I used to use Virtualbox for years, but after getting to know QEMU and KVM there really isn't a reason to turn back. It's trivial to setup and it's very flexible in a scale from simple single VM setups to complex homelab networks. I highly recommend to try it out for any virtualization needs!

1 points

UPDATE: I recorded a brief clip of gameplay on the Arch VM with OBS Studio. I had to use a lower 720p resolution and a framerate limit of 30 FPS for the video file to get a decent quality and it still made a negative impact on CPU usage (as usual on my earlier native system recordings), so it looks worse than it actually is. It still should give a good idea about how well it runs, the FPS counter is on the upper left corner and it's giving a bit lower values than usual because of the recording. Take a look: https://youtu.be/EZsW2Hgbk7M

I'll probably shoot some more detailed footage about the setup with an external camera today, I'll keep you updated!

EDIT: YouTube removed my recording for some reason... I'll reupload it somewhere when I get back home.

UPDATE/EDIT #2: the earlier clip is available again from the upper link and I also recorded some external camera footage viewing the whole setup. Sorry for the shaky camera and poor focusing, my wife was too lazy to assist me but you can hear her sneeze on the background... Go ahead and take a look: https://youtu.be/1N0SIGzHCnA

2 points

No, it's not necessary. QEMU supports having guest audio side by side with the host's like any usual program. With the -soundhw switch I use HD Audio emulation for the Linux guest and AC'97 for Windows. The guest Linux system is configured to connect to the host's pulseaudio server for low latency, and Windows needed a small driver installation for it's audio to work nicely. Everything good so far!

2 points

What problems did you have? QEMU is a whole different deal, KVM Just Works, straight away.

I needed some patching for the kernel, but instead of doing it manually I just used linux-vfio from Arch User Repository to bake in a VGA passthrough specific patchset automatically. So my rig does the compiling but it doesn't really require extra effort from me and I get the updates with the AUR helper of my choice (pacaur).

Thanks for your interest and also reminding me about ARMA 3, I've been waiting to get into it and now the chance would be very much suitable.

1 points

The host machine cant use the gpu anymore unless you revert it every time.

My current semi-solution for this is to run another Arch instance on a VM with passthrough, dedicated for gaming. The performance feels like native and overall it works very well for my needs. Changing between VMs isn't a problem as it happens very fast.

You cant have audio for both the host and guest playing

This is false, with both of Linux and Windows guests: on both guest operating systems I have simultaneous audio with the host working perfectly.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.