Now this is quite specfic, and I'm sorry about that.

I am running a Windows 10 virtual machine using QEMU inside my physical Arch Linux install. The virtual machine is set up with GPU passthrough. It uses the VFIO BIOS.

When launching Just Cause 3 through Steam (the one other thread on the internet with this issue says this is also the case for other Avalanche games, e.g. Mad Max), Windows instantly bluescreens at ntoskrnl.exe. Other games do not have this issue and run without any issue. Just Cause 3 worked without an issue on the same hardware on a physical, dedicated Windows install.

Graphics drivers are completely up to date, and fast boot is off (apparently this can cause issues).

I don't really expect an exact solution (as I said, this is quite specific), but if anybody can at least suggest things to try, I'd be grateful. I have attached the dump and my hardware as images:

Blue screen dump

Speccy hardware


It took me hours of searching Google to find anybody who had the same issue as me. I eventually found this Reddit post which also explained the reason and gave a fix:

"Most likely the VM trying to access an unsupported MSR. You can check if this is the error by running dmesg -wH and observing the output upon the crash. Adding echo 1 > /sys/module/kvm/parameters/ignore_msrs to the top of your startup script should fix the issue."

This fixed the problem instantly.

Sorry for the poorly worded question (I also should have mentioned I was using VFIO).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.