Linux Virtual Gaming Machine

You may wonder what’s wrong with this fellow (meaning me, the author). Has he completely lost his mind when he proposes a Linux virtual gaming machine? Before you discredit the idea, let me explain. Continue reading “Linux Virtual Gaming Machine”

Installing a Linux Mint 19 (Ubuntu 18.04) VM with VGA Passthrough

Introduction

Installing a Linux Mint 19 VM (or Ubuntu 18.04) with VGA passthrough is surprisingly straightforward. This tutorial follows the Running Windows 10 on Linux using KVM with VGA Passthrough almost step-by-step. I will therefore focus on what’s different from the above tutorial.

While booting the Linux Mint 19 life installation media (ISO) as a VM was easy, the installation of Linux Mint invariably ended with the following error:

The ‘grub-efi-amd64-signed’ package failed to install target/

The following tutorial will describe the steps to overcome this problem (bug?). Continue reading “Installing a Linux Mint 19 (Ubuntu 18.04) VM with VGA Passthrough”

Windows 10 Virtual Machine Benchmarks

Benchmarking Performance of a Virtual Machine

I have run  a number of benchmarks to document the performance of Windows 10 running as a virtual machine on Linux, in the hope other PC users will dive into the fascinating world of virtualization.

Benchmarks are helpful in comparing one system with another, and one configuration with another. I use them for optimizing my Windows 10 performance and for making sure that updates/upgrades haven’t produced unwanted side effects. Continue reading “Windows 10 Virtual Machine Benchmarks”

Low 2D Graphics Benchmark with Windows 10 (1803) KVM VM

Problem: bad 2D performance in Windows VM versus Windows on bare metal

For the past few months I noticed sluggish 2D graphics in my Windows 10 VM, something that hadn’t happened before. Below are the Passmark 8 results and comparisons between different configurations/releases: Continue reading “Low 2D Graphics Benchmark with Windows 10 (1803) KVM VM”

Upgrade to Linux Mint 19 (Ubuntu 18.04)

I recently upgraded from Linux Mint 18.3 to the latest version, Linux Mint 19. I did this so I could test and eventually update my VGA passthrough tutorial. There was no other practical reason for me to upgrade.

I did the upgrade twice:

  1. Using the mintupgrade tool provided by Linux Mint. This allowed me to upgrade my existing Linux Mint installation and all installed applications.
    The upgrade went surprisingly smooth, with only minor glitches. However, in the end I decided to reinstall the Linux Mint 19 system from scratch (see 2. below).
  2. Install the entire operating system from the downloaded ISO, while preserving the /home director (my user directory) and all other data.
    This was quite a pain in the neck, as it turned out.

Continue reading “Upgrade to Linux Mint 19 (Ubuntu 18.04)”

Memory Failure

I did some overclocking (to 4.2 GHZ) and gave the CPU and memory a trial using Prime95 and other torture tests. Later, much later, I realised that part of my memory was gone!

Checking the BIOS showed memory failures of two of 8 modules, reducing my total to 24GB. I’m not sure it was the overclocking, the torture tests or simply old age (the PC and memory is 6 years old). The funny thing was that I could boot into Linux and run some applications, and whenever I used Firefox I would sooner or later get a freeze. I monitored the processes and saw that the kswapd demon was busy. It took me a little to grasp that I had “lost” memory. Continue reading “Memory Failure”

Qemu and libvirt security – ppa:jacob/virtualisation

I’m running Linux Mint 18.3 which is based on Ubuntu 16.04 Xenial. Until yesterday I used the Personal Packet Archive ppa:jacob/virtualisation to get more up-to-date releases of Qemu, libvirt, and virt-manager.

Ubuntu and Linux Mint recently released security updates for their official (but old) qemu and libvirt packages to address the Meltdown and Spectre vulnerabilities. Unfortunately the Ubuntu 16.04 releases in the ppa:jacob/virtualisation archive have not been updated, judging from the upload date. Continue reading “Qemu and libvirt security – ppa:jacob/virtualisation”

Prime95 Benchmark: Linux Host versus Windows VM

This is yet another benchmark of my Windows 10 VM. This time I used the free Mersenne Prime Search software Prime95 (mprime under Linux) available at www.mersenne.org. I wanted to see if there is a significant difference between running the benchmark on the Linux host, versus the Windows virtual machine. Continue reading “Prime95 Benchmark: Linux Host versus Windows VM”

Virtualization Hardware Accessories

In my Running Windows 10 on Linux using KVM with VGA Passthrough tutorial I introduced different options for using the keyboard and mouse with the Linux host and the Windows VM. Running a virtualized Windows VM means running two separate systems – the Linux host and the Windows VM – both of which require input and output devices. Continue reading “Virtualization Hardware Accessories”

Why run Windows on Linux?

I’ve written several tutorials on “how to make dual-boot obsolete using VGA passthrough“, yet one may ask why run Windows on Linux? Most PC or laptop come pre-installed with Windows, in fact its rare to see computers pre-installed with Linux. So why not just leave Windows and install Linux in a virtual machine (VM), for example using Oracle VirtualBox?

Installing Linux in a VirtualBox VM is definitely a lot easier than following my tutorials on VGA passthrough. Not only that, most computer users who want or need to use both Windows and Linux will find that this simple solution is all they need.

Continue reading “Why run Windows on Linux?”