Opened 22 months ago
Last modified 5 months ago
#21448 new defect
VirtualBox 7 VM Freezes or UI glitches
Reported by: | Jean-Paul Ebejer | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox-7.0.6 |
Keywords: | freeze, 3d hardware acceleration, UI glitches | Cc: | |
Guest type: | Windows | Host type: | Linux |
Description
Using VirtualBox VM 7.0.6 (guest additions installed) with an Ubuntu 22.04 LTS host and Win 11 guest, with an nvidia RTX 3080 Ti (and attaching log).
If I use the above combination I get frequent VM freezes (even if I leave it for hours). This happens regularly especially when I launch a browser (both MS edge and firefox exhibited this behaviour). The only way to recover is with a "power off" of the VM.
I have read in the forums (second post here: https://forums.virtualbox.org/viewtopic.php?f=2&t=107371) that this happens with VB7 and the solution for it is to enable 3D acceleration in the settings. I do that and the VM stops freezing BUT ...
The UI is almost unusable as it is broken in multiple ways (even when switching transparency off): broken borders, broken backgrounds, flickering, fonts looks rough, buttons disappear, etc etc etc. For example when I launch MS Office, I get an empty (white) panel and nothing else. This is certainly related to 3D acceleration as when I set a regedit key (DisableHardwareAcceleration to 1) to disable 3D hardware acc. for office 365, this starts working normally. But the rest of the OS still suffers from the visual glitches.
Let me know if you require any more info.
Attachments (2)
Change History (17)
by , 22 months ago
Attachment: | Win 11 Pro-2023-01-30-16-07-22.log added |
---|
comment:2 by , 22 months ago
Same exact issue here, Win 11 host with Win 11 guest.
Without 3D acceleration the machine freezes up, WITH 3d acceleration the UI is unusable.
There's now a TON of posts about this, please address the issue.
Thank you.
comment:3 by , 22 months ago
I have found a temporary workaround for this. For graphics controller (with 3D hardware acceleration off) use VBoxVGA. In the limited time that I have used it with this setting, Win11 guest has not frozen and there are no annoying Win UI glitches like the ones you see with 3D hardware acceleration on.
Let me know if this also fixes it for you.
comment:4 by , 20 months ago
Running Virtualbox 7.0.6 with Guest Additions 6.1.42 is the only workaround I've been able to employ without completely reverting to the Virtualbox 6.1.4x series.
Same freezes here with VBoxSVGA (default), Hyper-V (default), and the workaround to try the other virtual video driver modes is not viable in my case, as I need full 4k resolution fullscreen support.
I can reproduce this Win11 VM freeze 100% reliably by simply launching Windows Explorer.
There are many similar tickets regarding this failure currently reported and none have any developer responses.
See also:
https://www.virtualbox.org/ticket/21291
comment:6 by , 19 months ago
This issue is still present and easily reproduced on Virtualbox 7.0.8 with Guest Additions 7.0.8.
Guest freezes with the same log/error but nothing else informative:
00:02:52.712472 VMMDev: vmmDevHeartbeatFlatlinedTimer: Guest seems to be unresponsive. Last heartbeat received 4 seconds ago
Once again I've installed GA 6.1.44 in VB 7.0.8 Win11 guest as a temporary workaround until a proper fix is eventually released.
Attaching an updated log for 7.0.8 freeze.
by , 19 months ago
Attachment: | Win11-2023-04-19-15-04-03.log added |
---|
comment:8 by , 19 months ago
I can confirm this is still the case with VB and guest additions versions 7.0.8.
comment:9 by , 19 months ago
Hello all.
On my side the freeze of a Windows11 guest VM reproduces quite rarely. Could you please perform this steps to collect more information for analysis:
- Download and install on your Windows 11 VM the Guest Additions from "Development snapshots" section at
https://www.virtualbox.org/wiki/Testbuilds
- Add the environment variable VBOX_RELEASE_LOG=-dev_vmm_backdoor.restrict
- Reproduce the freeze and attach your VBox.log here
The VBox.log you'll finally get should contain lots of traces from VGPU driver.
Thank you!
follow-up: 14 comment:10 by , 18 months ago
Hello all. Please download and install on your Windows 11 VM a recent Development snapshots version of Guest Additions from https://www.virtualbox.org/wiki/Testbuilds. The issue has been fixed. Please check it!
follow-up: 12 comment:11 by , 18 months ago
comment:12 by , 18 months ago
Replying to TheMalteseFalcon:
Unfortunately, I haven't managed past step one of your recipe. So I installed python and pywin32 as well as the VC redistributables which were prerequisities.
But now the installation of GA 7.0.97 just fails without a detailed error I can followup (see image attached)
Hello TheMalteseFalcon.
Could that happen that you've tried to install Guest Additions into host OS (instead of guest)? Please check it and attach *.log files from this folder on you guest C:\Program Files\Oracle\VirtualBox Guest Additions.
comment:13 by , 18 months ago
Hi there,
So I am working with an Ubuntu 22.04 host and a Win 11 guest. I uninstalled guest additions (7.0.8) in Win11 and tried to install 7.0.97. Again this fails as above image.
Moreover, in C:\Program Files\Oracle\VirtualBox Guest Additions there are no log files (as shown below)...
comment:14 by , 13 months ago
Replying to Dmitrii Grigorev:
Hello all. Please download and install on your Windows 11 VM a recent Development snapshots version of Guest Additions from https://www.virtualbox.org/wiki/Testbuilds. The issue has been fixed. Please check it!
Running VirtualBox 7.0.6 on Windows 7 Pro; my attempts to update to any later versions fail with the message that I must install the VC 2019 runtime, even though I've already installed it.
I was experiencing the freeze every time. I tried turning on 3D acceleration; that fixed the freeze with no issues. I reverted that change before proceeding.
Following instructions, I installed guest additions 7.0.97 into the Windows 11 VM. That has fixed the freeze issue for me.
Thanks.
VM log with 3D hardware acceleration on