FS#76531 - [virtualbox] 7.0.2-2 Windows 11 guest is unresponsive
Attached to Project:
Community Packages
Opened by Ralf Mardorf (Ralf) - Friday, 11 November 2022, 18:50 GMT
Last edited by Toolybird (Toolybird) - Sunday, 21 May 2023, 04:06 GMT
Opened by Ralf Mardorf (Ralf) - Friday, 11 November 2022, 18:50 GMT
Last edited by Toolybird (Toolybird) - Sunday, 21 May 2023, 04:06 GMT
|
Details
Hi, I was able to use a Windows 11 guest with
community/virtualbox 7.0.2-1, but with community/virtualbox
7.0.2-2 the guest becomes unresponsive short after a
successful startup and login.
Apart from a fast and noisy fan the host doesn't suffer from this issue. I run community/virtualbox 7.0.2-1 with successfully with a rt-patched linux 4.19.246-rt110 I build myself. It fails with community/virtualbox 7.0.2-2 with a rt-patched linux 4.19.255-rt113 using the same config as 4.19.246-rt110 and with core/linux 6.0.8.arch1-1 threadirqs. [rocketmouse@archlinux ~]$ grep x......th /boot/syslinux/syslinux.cfg -A3 MENU LABEL Arch Linux ^threadirqs LINUX ../vmlinuz-linux APPEND root=LABEL=s3.archlinux ro threadirqs INITRD ../intel-ucode.img,../initramfs-linux.img Upstream: https://forums.virtualbox.org/viewtopic.php?f=7&t=107757 https://forums.virtualbox.org/viewtopic.php?f=7&t=107757#p527439 [...] Arch forums: https://bbs.archlinux.org/viewtopic.php?pid=2067415#p2067415 Arch-general : arch-general@lists.archlinux.org/thread/GSDRGWQEULBUM254XGBZLX7NCFWF5FCE/"> https://lists.archlinux.org/archives/list/arch-general@lists.archlinux.org/thread/GSDRGWQEULBUM254XGBZLX7NCFWF5FCE/ Regards, Ralf |
This task depends upon
Closed by Toolybird (Toolybird)
Sunday, 21 May 2023, 04:06 GMT
Reason for closing: Upstream
Additional comments about closing: It's definitely an upstream problem. Not much Arch can do here.
Sunday, 21 May 2023, 04:06 GMT
Reason for closing: Upstream
Additional comments about closing: It's definitely an upstream problem. Not much Arch can do here.
The VM appears to be running per the log and Manager's activity page. Issuing an ACPI shutdown is successful. It appears the display may simply be mangled.
FWIW, I dual boot with Debian Stable for exactly this kind of reason. I booted the VM from Debian and downgraded GA to 6.1.40.
Back in Arch that did not resolve the issue... the Win11 VM is still busted. However this does appear to be specific to Win11 guest as my Win10 guest boots just fine and is running GA 7.0.2.
after downgrading the Arch guest additions package, installing the downgraded guest additions by the Windows 11 guest and restarting the Windows 11 guest, it is running for several minutes now without freezing.
$ uname -r; cat /proc/cmdline; pacman -Q virtualbox{,-ext-oracle,-guest-iso,-host-dkms}
6.0.8-arch1-1
BOOT_IMAGE=../vmlinuz-linux root=LABEL=s3.archlinux ro threadirqs initrd=../intel-ucode.img,../initramfs-linux.img
virtualbox 7.0.2-2
virtualbox-ext-oracle 7.0.2-1
virtualbox-guest-iso 6.1.40-1
virtualbox-host-dkms 7.0.2-2
Regards,
Ralf
$ uname -r; cat /proc/cmdline; pacman -Q virtualbox{,-ext-oracle,-guest-iso,-host-dkms}
6.0.8-arch1-1
initrd=\intel-ucode.img initrd=\initramfs-linux.img root=UUID=d475ae3e-f8c5-4e02-9c23-541d4667d78e rw pci=noaer ibt=off nvidia_drm.modeset=1 module_blacklist=snd_hda_intel
virtualbox 7.0.2-2
error: package 'virtualbox-ext-oracle' was not found
virtualbox-guest-iso 6.1.40-1
virtualbox-host-dkms 7.0.2-2
This is all I see when booting the Win11 VM:
https://postimg.cc/MM9J8F0n
EDIT1: Not that I really suspected this to be related to kernel version but the Win11 VM also fails booting when my Arch host is using the LTS kernel 5.15.77-1 but successfully boots via Debian with kernel 5.15.77 I compiled.
EDIT2: If I disable the 3D Acceleration option the VM boots successfully. Not really a viable workaround as I need full resolution, but hopefully helps narrow the issue.
EDIT3: Looks like I _can_ get full resolution with 3D Acceleration disabled. I was then able to install GA 7.0.2 and the VM is fully functional, albeit without the aforementioned 3D Acceleration.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6054
I built mutter 43.1 with 7e7a639c reverted:
https://gitlab.gnome.org/GNOME/mutter/-/commit/7e7a639cc5132cf3355e861235f325540fe56548
The Virtualbox issue is no longer reproducible. Bonus - some other funky stuff like broken text highlighting in firefox and borked dash-to-panel extension are working properly again too.
Upstream ticket: https://www.virtualbox.org/ticket/21268
Hi,
while downgraded guest additions solved a freeze issue with a Windows 11 guest, USB is broken.
There are no issues with a Windows 7 or a Windows 10 guest.
$ uname -r; pacman -Q virtualbox
4.19.255-rt113-0.1000
virtualbox 7.0.2-2
Windows 7
guest never updated to guest additions version 7.0.2r154219
now at version 6.1.40r154048
USB 2.0 enabled does work with my iPads connected by USB
Windows 10
guest updated to guest additions version 7.0.2r154219
now at version 7.0.2r154219
USB 2.0 enabled does work with my iPads connected by USB
Windows 11
guest updated to guest additions version 7.0.2r154219 does cause freezes
downgraded to guest additions version 6.1.40r154048
now at version 6.1.40r154048 no freezes anymore, but
USB 2.0 as well as USB 1.1 enabled do n o t work with my iPads
For more details, see [snip]
https://forums.virtualbox.org/viewtopic.php?f=7&t=107757
https://bbs.archlinux.org/viewtopic.php?id=281196
arch-general@lists.archlinux.org/thread/GSDRGWQEULBUM254XGBZLX7NCFWF5FCE/#GSDRGWQEULBUM254XGBZLX7NCFWF5FCE"> https://lists.archlinux.org/archives/list/arch-general@lists.archlinux.org/thread/GSDRGWQEULBUM254XGBZLX7NCFWF5FCE/#GSDRGWQEULBUM254XGBZLX7NCFWF5FCE
Regards,
Ralf
[1] https://www.virtualbox.org/wiki/Linux%20build%20instructions
I build virtualbox 6.1.40 against core/openssl 3.0.7-2 and there are no issues at all when running the Windows 11 guest in virtualbox 6.1.40.
The script to build it in a clean chroot: https://pastebin.com/sKzMmun4
$ pacman -Qi virtualbox virtualbox-host-dkms virtualbox-guest-iso|grep -eVe -ed\ D
Version : 1:6.1.40-702.2
Build Date : Sun 13 Nov 2022 21:24:27 CET
Version : 1:6.1.40-702.2
Build Date : Sun 13 Nov 2022 21:24:27 CET
Version : 6.1.40-1
Build Date : Sat 15 Oct 2022 12:18:22 CEST
$ /usr/bin/ls -l /usr/share/virtualbox/extensions/*
-rw-r--r-- 1 root root 11233264 Oct 11 18:15 /usr/share/virtualbox/extensions/Oracle_VM_VirtualBox_Extension_Pack-6.1.40.vbox-extpack
Building virtualbox takes around 50 minutes on my machine, if there is a bump of the community/virtualbox 7.0.2 pkgrel, to rebuild it against updated dependencies, I'll try to rebuild virtualbox 6.1.40, too.
For the time being this seems to be the only workaround.
it's on my todo list. It is unlikely that I can risk to break my working environment before February or March. At the moment I need to rely on the Windows 11 guest to run properly, so I compile 6.1.40 against shared library updates whenever necessary.
Regards,
Ralf
virtualbox 7.0.4-3
After installing the new guest additions I can move the mouse, but after a while neither host, nor Windows 11 guest care about mouse clicks anymore. Strg+Alt+F2 and "kill -9" PID of virtualbox processes makes the host responsive again.
It's quite annoying that I cannot use W11 within my usual work environment since several months.
See the following upstream bug reports:
Freezes:
https://www.virtualbox.org/ticket/21291
https://www.virtualbox.org/ticket/21431
https://www.virtualbox.org/ticket/21448
https://www.virtualbox.org/ticket/21492
Artifacts / 3D Accel:
https://www.virtualbox.org/ticket/21136
https://www.virtualbox.org/ticket/21233
https://www.virtualbox.org/ticket/21433
https://www.virtualbox.org/ticket/21515
And Virtualbox forums thread:
https://forums.virtualbox.org/viewtopic.php?f=7&t=108440&p=532943#p532943
I continue to employ the workaround of using (currently) 6.1.42 GA with VB 7.0.6.
When using the older Guest Additions none of the linked issues occur.
$ grep "virtualbox (" /var/log/pacman.log | grep grade | tail -2
[2023-04-19T07:11:33+0200] [ALPM] upgraded virtualbox (1:6.1.40-706.3 -> 1:6.1.40-708.1)
[2023-04-19T11:03:17+0200] [ALPM] downgraded virtualbox (1:6.1.40-708.1 -> 7.0.8-1)
$ hwinfo --cpu | grep Model | sort -u
Model: 6.191.5 "13th Gen Intel(R) Core(TM) i3-13100"
$ cat /sys/devices/virtual/dmi/id/board_{vendor,name}
Gigabyte Technology Co., Ltd.
B760M DS3H DDR4
JFTR QEMU/KVM does run on the new hardware, too. I only use it for a Linux guest without sharing data between host and guest.
I don't have much time at the moment and I'm considering whether I should spend the time troubleshooting virtualbox or converting Windows 7, 10 and 11 for use with QEMU/KVM and learning how to share data between guest and host.
GPU: NVIDIA GeForce GTX 1050 Ti
Running virtualbox 7.0.8-1 with Win11 guest all morning without issue here simply by installing Guest Additions 6.1.44.
Using Guest Additions 7.0.8 results in the same guest unresponsive/freeze as reported upstream in the various tickets I linked.
Nothing informative is logged at the time of freeze, just:
0:02:52.712472 VMMDev: vmmDevHeartbeatFlatlinedTimer: Guest seems to be unresponsive. Last heartbeat received 4 seconds ago
I have a Debian partition on this system. When I have time I'll install 7.0.8 on there and see if I can reproduce freeze.
If I can reproduce the Win11 guest freeze on Debian, I'll unsubscribe from this flyspray, having absolved Arch in the matter.