QEMU 7.2 and Raw Disks

Update January 27, 2023: The issue described below is limited to users of RAW partitions. But there is a workaround. See under “What to do?”

A recent update from QEMU 7.1 to QEMU 7.2 caused my Windows 10 VM to show 100% utilization of the C: drive. Performance of the Windows VM dropped to the bottom – the VM was pretty much unusable.

Users at the VFIO Reddit reported similar issues. However, as it turned out, it seems to affect only storage on LVM raw volumes. In other words, if you have your VM in a qcow file, all should be well.

Continue reading “QEMU 7.2 and Raw Disks”

Kernel 6.0 and VFIO

Kernel 6 not booting with VFIO – workaround

Recently I upgraded to kernel 6.0 on my Manjaro rig, but that didn’t go well. The PC booted but there was no screen output. I was able to ssh into the Manjaro host, though.

Searching for an answer led me to the “Linux Kernel 6 seems to be incompatible with the vfio_pci module needed for PCI passthrough” on Level1Techs. If you go further down the thread, you’ll see how someone posted a working solution “Using the driver_override feature“.

Continue reading “Kernel 6.0 and VFIO”

Why Long Tutorials?

Anyone who follows this website will notice that the tutorials are rather long. In these long tutorials I usually give reference specs, explain basic terms or processes, and expand on the how and why.

I wish I could write short, easy, step by step tutorials titled “GPU passthrough made easy” or the “Quick guide to VFIO bliss”. In fact, there are plenty of those out there in the great Internet. Some of the most popular ones are on Youtube, showing you how to get your Windows gaming VM up and running in no time.

Continue reading “Why Long Tutorials?”

Nvidia And The “hidden state”

No more need to hide the hypervisor

Ever since I started to run a Microsoft Windows VM with GPU passthrough, Nvidia graphics drivers would only support their professional Quadro line of graphics cards in a virtual machine. Ten years ago I bit the bullet and bought an outrageously expensive Nvidia Quadro 2000 GPU. Truth be told – it’s been and still is a great GPU and I currently use it for my Linux host. Back then the Quadro was passed through to a Windows 7 VM running on Xen. It worked great.

Continue reading “Nvidia And The “hidden state””

Manjaro Linux Kernel 5.10

I was so busy studying, writing, and processing photos that I didn’t touch my Manjaro Linux host for a long long time. Then one day I decided to upgrade my PC from a 5.4 kernel to the most recent LTS or “Long Term Support” Manjaro Linux kernel 5.10.

Continue reading “Manjaro Linux Kernel 5.10”

Manjaro Linux

A look at Manjaro Linux from a VFIO passthrough user perspective – the benefits and downsides of using Manjaro as a Linux host

Last year in April I switched from Linux Mint via a short detour to Pop_OS to Manjaro Linux as my host OS. The reasons I chose Manjaro Linux were its up-to-date kernel and software and its well-rounded selection of software packages. However, the latest and greatest kernel and software can come at a price of being less stable. In this post I like to weigh in the pros and cons for Manjaro Linux and what you might want to consider before jumping on the wagon.

Continue reading “Manjaro Linux”

Passing Through a Nvidia RTX 2070 Super GPU

Tutorial for passing through a Nvidia RTX graphics card to a Windows 10 virtual machine using a modified VBIOS

Last update: September 14, 2021

Starting with the GeForce 1000 series, vfio passthrough of a Nvidia GPU has become a little more complicated. If, when starting the VM, you get a black screen, chances are you need to pass along a VBIOS file to the VM so the GPU can properly initialize.

This post is about passing through a Nvidia RTX 2070 Super GPU or any other modern Nvidia GPU to a Windows 10 guest.

Continue reading “Passing Through a Nvidia RTX 2070 Super GPU”

AMD Radeon 6800/6800XT for VFIO?

Up until November 18, 2020 I would have suggested against the purchase of an AMD GPU for VFIO. But yesterday AMD launched its Radeon RX 6800 line of GPUs. Are the AMD Radeon 6800/6800XT suitable for VFIO?

Continue reading “AMD Radeon 6800/6800XT for VFIO?”

Remote Backup Script for Windows NTFS Partitions on LVM Volumes

Linux bash script to mount and backup / synchronize a Windows 10 partition inside a LVM volume to a remote backup server using rsync and SSH

I run the bash script below to backup my Windows NTFS partitions residing on LVM volumes to a remote backup server. It uses SSH and public key authentication to authenticate at the remote side.

The script mounts an NTFS partition inside a LVM raw volume. It performs a file-based backup using rsync. It is NOT suitable for system backups!

Please carefully read the “Requirements”, “How it Works”, and “Usage” sections before attempting to use it.

Continue reading “Remote Backup Script for Windows NTFS Partitions on LVM Volumes”

Windows 10 VFIO Passthrough Configuration

I’ve been tweaking my configuration for my needs and it performs very well. As a reference, I’m posting my:

  • hardware configuration
  • Linux distro, kernel, etc.
  • Windows VM configuration (XML)
Continue reading “Windows 10 VFIO Passthrough Configuration”