You are not logged in.

#1 2019-07-12 11:04:15

mehdi
Member
Registered: 2016-10-05
Posts: 8

[SOLVED] intel-vulkan breaks Qemu Windows 10 Guest

I have a Lenove T490 laptop with latest efi arch, gdm, wayland and GNOME. While investigating GNOME relateted freeze on login, I installed `vulkan-intel` to see whether this can improve possible intel graphic related issues. However after installation I realized my Windows 10 Guest crashes on every boot. Removing `vulkan-intel` and rebooting solved the problem. The only relevant kernel paramter that I have enabled is `i915.enable_gvt=1`. The Qemu guest has `spice-guest-tools` and `spice-webdav-daemon` installed on it.

Could someone help me to understand why `intel-vulkan` breaks my Windows 10 Qemu guest please?

Update 1:
It happened again. I was able to boot the windows 10 guest only once after removing `vulkan-intel`. Now I get the same error again: `KMODE EXCEPTION NOT HANDLED`. I'm confused. I appreciate any tips.

Update 2:
I want to add that reverting the guest to a fully functional snapshot does not change anything.

Last edited by mehdi (2019-07-15 07:11:40)

Offline

#2 2019-07-12 13:57:54

Joe S
Member
Registered: 2013-01-18
Posts: 14

Re: [SOLVED] intel-vulkan breaks Qemu Windows 10 Guest

Hi,
if you experience this crash running linux 5.2 on your host system, could you please try to revert back to kernel 5.1.x or linux-lts and reboot and test if the problem persists? I had some strange qemu guest behaviour since using kernel 5.2 but going back to linux 5.1 the problems dissolved...

Offline

#3 2019-07-12 14:03:16

mehdi
Member
Registered: 2016-10-05
Posts: 8

Re: [SOLVED] intel-vulkan breaks Qemu Windows 10 Guest

On my desktop machine ,which still runs linux 5.1, a similar setup still works. I'll try your suggestion and report back.

Offline

#4 2019-07-13 08:55:43

mehdi
Member
Registered: 2016-10-05
Posts: 8

Re: [SOLVED] intel-vulkan breaks Qemu Windows 10 Guest

With linux-lts I can't open gnome-boxes anymore with the following error:

(gnome-boxes:2204): Boxes-CRITICAL **: 10:53:35.144: boxes_vm_importer_get_source_media: assertion 'self != NULL' failed
EGLDisplay Initialization failed: EGL_NOT_INITIALIZED
[1]    2204 segmentation fault (core dumped)  gnome-boxes

Offline

#5 2019-07-13 12:11:51

C!HO
Member
Registered: 2007-10-02
Posts: 16

Re: [SOLVED] intel-vulkan breaks Qemu Windows 10 Guest

This is definitely kernel-related, not Intel. I get the same "KMODE EXCEPTION NOT HANDLED" error on my Windows 10 guest after updating to 5.2. Didn't change anything else/install any additional Intel-related packages.

Offline

#6 2019-07-13 14:59:07

Joe S
Member
Registered: 2013-01-18
Posts: 14

Re: [SOLVED] intel-vulkan breaks Qemu Windows 10 Guest

mehdi wrote:

With linux-lts I can't open gnome-boxes anymore with the following error:

(gnome-boxes:2204): Boxes-CRITICAL **: 10:53:35.144: boxes_vm_importer_get_source_media: assertion 'self != NULL' failed
EGLDisplay Initialization failed: EGL_NOT_INITIALIZED
[1]    2204 segmentation fault (core dumped)  gnome-boxes

This error you encounter has something to do with the lts-kernel graphics driver (or lack thereof). You could try to run your guest OS via console or just simply downgrade to linux-5.1.x (section IGNOREPKG in /etc/pacman.conf , then pacman -U /var/cache/pacman/pkg/linux-5.1.16.arch1-1-x86_64.pkg.tar* and not to forget mkinitcpio -P).

Offline

#7 2019-07-14 15:05:09

thepasto
Member
From: trash:///
Registered: 2009-03-16
Posts: 55

Re: [SOLVED] intel-vulkan breaks Qemu Windows 10 Guest

I have the same problem with 5.2 kernel. Downgrading to 5.16 fix the problem. No vulkan-intel installed

Offline

#8 2019-07-15 07:11:16

mehdi
Member
Registered: 2016-10-05
Posts: 8

Re: [SOLVED] intel-vulkan breaks Qemu Windows 10 Guest

gnome-boxes does not work anymore, even with the latest or lts kernel. Apparently this is a problem of gnome-boxes and not the underlying technology.

Downgrading the kernel to 5.16 and using other libvirl clients such as Virtual Machine Manager and virsh I am able to start and use the vm again. I just started libvirtd manually and used the aforementioned clients (had to check journal and install missing components such as eptables and dnsmasq).

Thanks for your time!

Last edited by mehdi (2019-07-15 07:29:39)

Offline

#9 2019-07-18 11:34:04

timakro
Member
Registered: 2019-07-18
Posts: 2

Re: [SOLVED] intel-vulkan breaks Qemu Windows 10 Guest

Having the same issue. Is there a kernel bug report?

Maybe https://wiki.archlinux.org/index.php/PC … h_via_OVMF should be updated warning of kernel version 5.2?

Last edited by timakro (2019-07-18 11:39:22)

Offline

#10 2019-07-19 12:20:02

timakro
Member
Registered: 2019-07-18
Posts: 2

Re: [SOLVED] intel-vulkan breaks Qemu Windows 10 Guest

It might be https://bugzilla.kernel.org/show_bug.cgi?id=204209. Video games are crashing in my Windows 10 host, notably Minecraft is crashing with an assertion for some floating point number >= 0. There seem to be some floating point issues.

Although I'm happy to say that 5.2 increased the overall stability of my PCI Passthrough system. I had issues when starting the VM, those are gone now. I'm looking forward to a patch!

Offline

#11 2019-08-05 21:20:32

archeryfor
Member
Registered: 2019-07-26
Posts: 2

Re: [SOLVED] intel-vulkan breaks Qemu Windows 10 Guest

I ran  a quick test and this problem seems to be fixed in 5.2.5. I say "seem" because the test I did was for a short time.
See  https://bugzilla.kernel.org/show_bug.cgi?id=204209 for more information.

Offline

Board footer

Powered by FluxBB