News for hackers. Stuff that matters.
Re:WindowsLies/BlockWindows by smt88 on Friday November 06, 2015 @03:03AM (#10518314)
Dual boot?
Re:WindowsLies/BlockWindows by cookiecaper on Friday November 06, 2015 @03:08AM (#10518327)
I dual boot for games. In practice, I start Windows like twice a year. If the game isn't native and doesn't run in WINE, it simply never gets played. Just have too much stuff going on in main OS to stop it all for a few hours while I reboot and play.
Re:WindowsLies/BlockWindows by slazaro on Friday November 06, 2015 @05:46AM (#10518782)
How about sleeping instead of straight rebooting, and then booting to windows, so that when you restart and boot back into Linux you have everything the same way? If you have an SSD it's pretty fast to reboot to a different OS.
Re:WindowsLies/BlockWindows by cookiecaper on Friday November 06, 2015 @10:14AM (#10519830)
That's possible, but the problem isn't so much in my session being lost as it is in my services and processes not running anymore. I host a Plex server on my machine that serves the whole family, I rely on it for remote SSH if I need to get into the network from the road, I share files to clients from it, and so forth.

Really it's too important to take down very often. I've considered buying a separate box for Windows. I run Windows applications in either WINE or VirtualBox, but with games that don't support WINE, that doesn't work unless you have specific, hard-to-find hardware and an extra GPU. Since games are the only thing I'm missing out on, more and more games are getting Linux native versions, and I don't have much time for games anyway, I haven't actually pulled the trigger on the separate Windows machine yet, but one day I will.

Re:WindowsLies/BlockWindows by rplnt on Friday November 06, 2015 @04:10AM (#10518468)
I never (all right, not never, but at least in the last five years) understood dualboot. Why not just run one OS as a master and then a VM in it?
Re:WindowsLies/BlockWindows by vetinari on Friday November 06, 2015 @04:18AM (#10518492)
Hardware access and performance. It is only recently that the performance got OK-ish (through probably it is still not, if you feel that you have to get i7 6700K) and virtualizations started supporting PCI-Passthrough.

The setup is still not simple, your common dual-booter will not be able to setup it right, yet.

Re:WindowsLies/BlockWindows by johncolanduoni on Friday November 06, 2015 @04:25AM (#10518519)
> virtualizations started supporting PCI-Passthrough

To get a graphics card actually capable of this, you either need to buy the commercial grade versions (Quadro and FirePro) with are much more expensive, or buy a specific card for this purpose and deal with tons of issues[1] like not being able to restart the guest without crashing the host.

[1]: http://wiki.xenproject.org/wiki/Xen_VGA_Passthrough_Tested_A...

Re:WindowsLies/BlockWindows by blibble on Friday November 06, 2015 @04:54AM (#10518595)
the vga arbiter stuff went away with UEFI based cards (about 2 years ago), consumer level cards now work without issue.

NVIDIA attempt to detect the VM and artificially disable the driver, but works perfectly if you tell KVM to hide the fact it's a VM (requires a flag to be set in the config).

the technical difficulty of pci passthrough consists of clicking "add pci device", then selecting your graphics card from the list.

Re:WindowsLies/BlockWindows by vetinari on Friday November 06, 2015 @04:43AM (#10518566)
ATI consumer cards do support PCI-Passthrough, it's Nvidia that you need Quadro.

But the setup is not a simple one of neither.

Re:WindowsLies/BlockWindows by mirimir on Friday November 06, 2015 @04:38AM (#10518547)
If privacy is crucial, it's better to run Linux hosts and Windows VMs. But that doesn't work so well for high-end graphics, whether games or CAD. Or when even the fastest CPUs are too slow.

So then you run Linux VMs in a Windows host. In my experience, VMware is a better choice on Windows hosts. But it's been a few years, and maybe VirtualBox is doing better on Windows.

Re:WindowsLies/BlockWindows by vetinari on Friday November 06, 2015 @04:44AM (#10518570)
That's why I mentioned PCI-Passthrough. Then the guest can directly drive the graphics card, with it's native drivers.
Re:WindowsLies/BlockWindows by mirimir on Friday November 06, 2015 @05:28AM (#10518718)
But you and johncolanduoni both say that it's nontrivial. However, blibble says that it's easy with current ATI consumer hardware.

I know a few gamers who would like to relegate Windows to a locked-down VM ;)

Re:WindowsLies/BlockWindows by vetinari on Friday November 06, 2015 @05:35AM (#10518738)
Well, it was a while that I was looking at it. Combine that with my opinions about gamers' hardware and system software knowledge (not very flattering, outside of knowing which brands and models are "best"), that's how I came to the conclusion, that it might be difficult for them.

But do not take that as discouragement, your friends definitely should try it on their own.

Re:WindowsLies/BlockWindows by alkonaut on Friday November 06, 2015 @05:02AM (#10518620)
Dual boot works fine, as long as the windows machine is the host, and the linux machine is the guest, since only on the host will you get reasonable gaming performance.

EDIT: Yes meant to answer the "Why dual boot when you can use a VM". My post meant to say "VM is cool is Windows is the host". Sorry.

Re:WindowsLies/BlockWindows by darklajid on Friday November 06, 2015 @05:21AM (#10518678)
Uhm? No. You seem to confuse dual boot with virtualization. Dual boot means 'Reboot, pick a different OS in the bootloader'. Both Linux AND Windows would run with full performance, but never at the same time. There is no concept of host or guest.
Re:WindowsLies/BlockWindows by alkonaut on Friday November 06, 2015 @05:55AM (#10518808)
Hah sorry, I was answering the wrong post, I meant to answer the post that said "why dual boot when you can run a VM", and the answer should be "VM works fine as long as..."

Sorry about that.

Re:WindowsLies/BlockWindows by slazaro on Friday November 06, 2015 @05:14AM (#10518653)
You're thinking of virtualization. Dual booting is when you have both OS installed on different partitions/drives and you restart to boot a different one.
Re:WindowsLies/BlockWindows by radialbrain on Friday November 06, 2015 @05:13AM (#10518652)
I think he meant dual booting as in installing two operating systems side by side, and running one at a time on bar metal - not virtualizing anything.