VirtualBox

Opened 15 months ago

Closed 8 months ago

#21431 closed defect (fixed)

Win11 guest freezes if VBoxSVGA is used.

Reported by: MaxF Owned by:
Component: 3D support Version: VirtualBox-7.0.6
Keywords: Cc:
Guest type: Windows Host type: Linux

Description

Win11 guest is very unstable if graphics adapter is set VBoxSVGA. It freezes totally very often. I can only see in the logs that guest is unresponsive. Disabling 3d acceleration does not help, only switching to VBoxVGA helps.

Operating System: Fedora Linux 37 KDE Plasma Version: 5.26.5 KDE Frameworks Version: 5.102.0 Qt Version: 5.15.8 Kernel Version: 6.1.7-200.fc37.x86_64 (64-bit) Graphics Platform: X11 Processors: 16 × Intel® Core™ i7-10870H CPU @ 2.20GHz Memory: 15.4 ГиБ of RAM Graphics Processor: Mesa Intel® UHD Graphics Driver version: mesa 22.3.3 Manufacturer: Dell Inc. Product Name: Dell G15 5510

Second graphics card is NVIDIA GeForce RTX 3060 Laptop (optimus) in offload mode Driver 525.85.05

Attachments (7)

Windows11-2023-01-25-11-37-06.log.gz (48.3 KB ) - added by MaxF 15 months ago.
Guest log after it froze
vulkaninfo.log.gz (26.2 KB ) - added by MaxF 15 months ago.
vulkaninfo output
Windows 11 Guest loop.log (193.3 KB ) - added by Feline 15 months ago.
Windows 11 Guest loop#2.log (189.6 KB ) - added by Feline 15 months ago.
Win11-2023-04-19-15-04-03.log (124.7 KB ) - added by tekstryder 12 months ago.
Log.zip (24.3 KB ) - added by Don Hughes 12 months ago.
Windows 11 guest after applying 7.0.x test Guest Additions
VBox-Win10-freezing02.zip (39.9 KB ) - added by Feuerfloh 11 months ago.
Win 10 guest using guest additions version 7.0.9 r157775

Download all attachments as: .zip

Change History (39)

by MaxF, 15 months ago

Guest log after it froze

by MaxF, 15 months ago

Attachment: vulkaninfo.log.gz added

vulkaninfo output

comment:1 by Feline, 15 months ago

Same external symptoms as those described above. I can easily reproduce it by booting the Windows 11 guest and as soon as the desktop is ready, starting either File Explorer or the command prompt. The application window partially appears and the the screen is then frozen/hung. In fact the guest is looping, as if I look on the Host system monitor, I have the two guest virtual cpus at 100%.

Machine is ThinkCentre M91P, Intel I5-2400, using onboard graphics (Intel HD 2000). Host OS is Debian 11 with all up-to-date service from main repos (no backports). Guest is Windows 11 build 22H2 22261.1105 with all gui gimmicks (transparency etc.) off.

I've attached two logs, both show gap in processing followed by "Guest unresponsive" message.

Note : If I install the 6.1.42 Guest Additions, I get *NO* problems at all.

by Feline, 15 months ago

Attachment: Windows 11 Guest loop.log added

by Feline, 15 months ago

Attachment: Windows 11 Guest loop#2.log added

comment:2 by Feline, 15 months ago

If it is of any use, I've taken a memory dump within the Windows 11 guest during the loop. Unfortunately, the MEMORY.DMP file is almost 68MB even when zipped. If you need the dump, please provide a link where I can upload it. Thank you.

comment:3 by Don Hughes, 15 months ago

Same issue. SuSE Leap host, Windows 11 Guest (fresh install) VBoxSVGA, 3D disabled. System randomly freezes after several minutes and I have to power cycle to recover. Downgrading to 6.1.40 Guest Additions resolves the issue.

comment:4 by AndyDF, 15 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:5 by wowsoppel, 15 months ago

Same issue here. Win 11 guest on Win 10 host.

comment:6 by LMJC, 15 months ago

I can confirm that I have the same issue as well. If I use VBoxVGA, the VM does not freeze. The OS freezes randomly using VBoxSVGA. Win11 Guest on Win 11 host.

comment:7 by sunlover, 15 months ago

Unfortunately this problem could not be reproduced so far. Does the hang happen if you create a new VM, install Windows 11, install guest additions, reboot the guest and let it run? I.e in a fresh Windows 11 VM where no other software has been installed.

comment:8 by Don Hughes, 15 months ago

The first time I had the issue was with a VB6 Windows 11 VM that was upgraded to VB7. I then did a fresh install in a new VM with Microsoft updates + Vivaldi. As soon as I installed the extensions, the system would randomly freeze. Downgrading the extensions to 6.1.40 resloved the issue and I could continue the setup, and this is the system that I now use daily. Also a Windos 10 guest with the same VB settings and pretty much the same software runs fine with the VB7 extensions.

Last edited 15 months ago by Don Hughes (previous) (diff)

comment:9 by Don Hughes, 15 months ago

I did the following (which is my normal setup process): 1) Created a new VM with 4 disks (C:System, D:Programs, E:Temp, F:Paging) 2) Installed Windows 11 3) Moved paging to F: 4) Moved TMP and TEMP to E:\Temp 5) Installed CCleaner and Vivaldi to the D: drive. 6) Switched the default browser to Vivaldi 7) Used CCleaner to uninstall the Windows bloatware not wanted in a business environment (basically all the Microsoft applications the you are allowed to uninstall such as solitair and x-box) 8) Ran a CCleaner "custom" and "registry" cleanup. 9) Re-booted 10) Install VB extensions to the D: drive. 11) Re-booted 12) switched to full screen 13) Opened Vivaldi and searched for news 14) Opened a 2nd Vivaldi 15) System freezes with several cores at 100% and requiring a power cycle to recover

I am sure that not all of the above are necessary, but this is my standard setup procedure, and the one that I used on the other systems that have experienced the problem.

comment:10 by chriswyattuk, 15 months ago

@AndyDF I have the same symptom, assuming yours is stable when 3D acceleration is enabled. Interestingly, if I set "VBoxInternal/Devices/vga/0/Config/VMSVGA10" to "0" with 3D acceleration enabled, it's also unstable.

comment:11 by chriswyattuk, 15 months ago

Possibly related to this issue: https://www.virtualbox.org/ticket/21291

comment:12 by Don Hughes, 15 months ago

Changing Paravirtualization Interface from Hyper-V to none does seem to make a difference on my system - at least it has run logner without freezing than it has in the past. All of the other Windows 11 systems that have experienced the issue have had Hyper-V set.

comment:13 by Feline, 15 months ago

The significant factor for me is whether the guest is set to full screen or not. GA 7.0.6 in full screen fails consistently. Switching it off and I've yet to see it fail.

comment:14 by Don Hughes, 15 months ago

I agree with Feline. For me, all of the following have to be true: 1)Windows 11, 2) Hyper-V virtualization, 3) VB7 extensions, 4) full screen - for the system to freeze.

comment:15 by tekstryder, 13 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

https://www.virtualbox.org/ticket/21448

https://www.virtualbox.org/ticket/21492

comment:17 by tekstryder, 12 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 tekstryder, 12 months ago

comment:18 by tekstryder, 12 months ago

Also, see new Virtualbox Forum thread:

https://forums.virtualbox.org/viewtopic.php?f=6&t=109147

comment:19 by Dmitrii Grigorev, 12 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:

  1. Install on your Windows 11 VM the Guest Additions from Development snapshots section at

https://www.virtualbox.org/wiki/Testbuilds

  1. Add the environment variable VBOX_RELEASE_LOG=-dev_vmm_backdoor.restrict
  2. Reproduce the freeze and attach your VBox.log here

The VBox.log you'll finally get should contain lots of traces from VGPU driver.

comment:20 by Don Hughes, 12 months ago

I did not get a freeze with the Testbuilds Guest Additions and the specified environment variable set. With the environment variable unset and 7.0.8 Guest Additions I did get a freeze.

in reply to:  20 comment:21 by Dmitrii Grigorev, 12 months ago

Replying to ...don:

I did not get a freeze with the Testbuilds Guest Additions and the specified environment variable set. With the environment variable unset and 7.0.8 Guest Additions I did get a freeze.


Thank you for testing!

I tweaked logging a little and uploaded a fresh Guest Additions for testing (the new version >= 157444). Could you please repeat the steps from comment:19.

Setting the environment variable VBOX_RELEASE_LOG=-dev_vmm_backdoor.restrict just removes restriction on the amount of strings in your VBox.log. It should not (in theory) influence on the probability of the freeze.

Last edited 12 months ago by Dmitrii Grigorev (previous) (diff)

by Don Hughes, 12 months ago

Attachment: Log.zip added

Windows 11 guest after applying 7.0.x test Guest Additions

comment:22 by Don Hughes, 12 months ago

Log attached. I applied the test Guest Additions. Opened a Vivald browser. Opened a Word document; made it full-screen. Waited a couple of minutes until system froze.

My settings are:

Linux host, 7.0.8 Extention Pak, Windows 11 guest, 7.0.x test Guest Additions, Nvidia graphics card, Paravirtualization: Hyper-V, VBoxSVGA, 3D Acceleration not enabled, View: Full-screen Mode

in reply to:  22 comment:23 by Dmitrii Grigorev, 12 months ago

Replying to ...don:

Log attached. I applied the test Guest Additions. Opened a Vivald browser. Opened a Word document; made it full-screen. Waited a couple of minutes until system froze.

My settings are:

Linux host, 7.0.8 Extention Pak, Windows 11 guest, 7.0.x test Guest Additions, Nvidia graphics card, Paravirtualization: Hyper-V, VBoxSVGA, 3D Acceleration not enabled, View: Full-screen Mode

Hello.
Thank you for reply. But your recent VBox.log does not contain the required info because Development snapshots version of Guest Additions should be used instead of 7.0.x. Could you please recheck the freeze with Development snapshots version of Guest Additions (it was updated several hours ago).

comment:24 by Don Hughes, 12 months ago

My mistake. I was also using the wrong additions in comment 20 above. I have a new log, but it is > 512K and will not upload. Is there an alternative? Here is a snippet:

00:31:24.775114 VMMDev: Guest Log: svgaCBSubmit: CPU0 IRQL1 CB: ffffc707351fd7d0
00:31:24.775199 VMMDev: Guest Log: svgaCBAlloc: CPU0svgaCBFree IRQL: CPU15  IRQL2CB: type  2CB: , ffffc707351fd7d0ffffc707351fdd50
00:31:24.775209 VMMDev: Guest Log: svgaCBAlloc: CPU0svgaCBFree IRQL: CPU15  IRQL2CB: type  2CB: , ffffc707351fd7d0ffffc707351fdd50
00:31:24.775426 VMMDev: Guest Log: SvgaCmdBufFlush: CPU0 IRQL1 CB: ffffc707351fdd50
00:31:24.775475 VMMDev: Guest Log: svgaCBSubmit: CPU0 IRQL1 CB: ffffc707351fdd50
00:31:24.775557 VMMDev: Guest Log: svgaCBAlloc: CPU0svgaCBFree IRQL: CPU15  IRQLCB: type 22 , CB: ffffc707351fd1d0
00:31:24.775566 VMMDev: Guest Log: svgaCBAlloc: CPU0svgaCBFree IRQL: CPU15  IRQLCB: type 22 , CB: ffffc707351fd1d0ffffc707351fdd50
00:31:24.775641 VMMDev: Guest Log: SvgaCmdBufFlush: CPU0 IRQL1 CB: ffffc707351fd1d0
00:31:24.775689 VMMDev: Guest Log: svgaCBSubmit: CPU0 IRQL1 CB: ffffc707351fd1d0
00:31:24.775776 VMMDev: Guest Log: svgaCBAlloc: CPU0svgaCBFree IRQL1: CPU 5CB: type  IRQL22 , CB: ffffc707351fd050
00:31:24.775786 VMMDev: Guest Log: svgaCBAlloc: CPU0svgaCBFree IRQL1: CPU 5CB: type  IRQL22 , CB: ffffc707351fd050ffffc707351fd1d0
00:31:24.775852 VMMDev: Guest Log: SvgaCmdBufFlush: CPU0 IRQL1 CB: ffffc707351fd050
00:31:24.775902 VMMDev: Guest Log: svgaCBSubmit: CPU0 IRQL1 CB: ffffc707351fd050
00:31:24.775988 VMMDev: Guest Log: svgaCBAlloc: CPU0 IRQLsvgaCBFree1: CPU 5CB: type  IRQL22 , CB: ffffc707351fd250
00:31:24.775995 VMMDev: Guest Log: svgaCBAlloc: CPU0 IRQLsvgaCBFree1: CPU 5CB: type  IRQL22 , CB: ffffc707351fd250ffffc707351fd050
00:31:24.776063 VMMDev: Guest Log: SvgaCmdBufFlush: CPU0 IRQL1 CB: ffffc707351fd250
00:31:24.776114 VMMDev: Guest Log: svgaCBSubmit: CPU0 IRQL1 CB: ffffc707351fd250
00:31:24.776194 VMMDev: Guest Log: svgaCBAlloc: CPU0svgaCBFree IRQL: CPU15  IRQLCB: type 22 , CB: ffffc707351fdd50
00:31:24.776203 VMMDev: Guest Log: svgaCBAlloc: CPU0svgaCBFree IRQL: CPU15  IRQLCB: type 22 , CB: ffffc707351fdd50ffffc707351fd250
00:31:24.776270 VMMDev: Guest Log: SvgaCmdBufFlush: CPU0 IRQL1 CB: ffffc707351fdd50
00:31:24.776318 VMMDev: Guest Log: svgaCBSubmit: CPU0 IRQL1 CB: ffffc707351fdd50
00:31:24.776409 VMMDev: Guest Log: svgaCBAlloc: CPU3 IRQLsvgaCBFree1 : CPUCB: type 52 IRQL, 2ffffc707351fded0
00:31:24.776431 VMMDev: Guest Log: ffffc707351fdd50
00:31:24.776502 VMMDev: Guest Log: SvgaCmdBufFlush: CPU3 IRQL1 CB: ffffc707351fded0
00:31:24.776553 VMMDev: Guest Log: svgaCBSubmit: CPU3 IRQL1 CB: ffffc707351fded0
00:31:24.776684 VMMDev: Guest Log: svgaCBFree: CPU5 IRQL2 CB: ffffc707351fded0
00:31:25.203750 VMMDev: Guest Log: svgaCBAlloc: CPU3 IRQL1 CB: type 2, ffffc707351fdcd0
00:31:25.204176 VMMDev: Guest Log: SvgaCmdBufFlush: CPU3 IRQL1 CB: ffffc707351fdcd0
00:31:25.204369 VMMDev: Guest Log: svgaCBSubmit: CPU3 IRQL1 CB: ffffc707351fdcd0
00:31:25.204900 VMMDev: Guest Log: svgaCBFree: CPU5 IRQL2 CB: ffffc707351fdcd0
00:31:26.058186 VMMDev: Guest Log: svgaCBAlloc: CPU3 IRQL1 CB: type 2, ffffc707351fda50
00:31:26.058722 VMMDev: Guest Log: SvgaCmdBufFlush: CPU3 IRQL1 CB: ffffc707351fda50
00:31:26.058926 VMMDev: Guest Log: svgaCBSubmit: CPU3 IRQL1 CB: ffffc707351fda50
00:31:26.059549 VMMDev: Guest Log: svgaCBFree: CPU5 IRQL2 CB: ffffc707351fda50
00:31:31.467818 VMMDev: Guest Log: VBoxMP::GaDxgkDdiPresentDisplayOnly: VidPnSourceId 0, pSource 0000020685a90000, BytesPerPixel 4, Pitch 10240, Flags 0x0, NumMoves 0, NumDirtyRects 1, pfn ffffc70739797d30
00:31:31.468217 VMMDev: Guest Log: svgaCBAlloc: CPU1 IRQL1 CB: type 2, ffffc707351fd3d0
00:31:31.468570 VMMDev: Guest Log: SvgaCmdBufFlush: CPU1 IRQL1 CB: ffffc707351fd3d0
00:31:31.468767 VMMDev: Guest Log: svgaCBSubmit: CPU1 IRQL1 CB: ffffc707351fd3d0
00:31:31.469376 VMMDev: Guest Log: svgaCBFree: CPU5 IRQL2 CB: ffffc707351fd3d0
00:31:51.760455 GIM: HyperV: Guest indicates a fatal condition! P0=0x109 P1=0xa3a0065fcf28d65a P2=0xb3b712e621ab904b P3=0x6 P4=0x18
00:31:51.760581 GIMHv: BugCheck 109 {a3a0065fcf28d65a, b3b712e621ab904b, 6, 18}
00:31:51.760585 CRITICAL_STRUCTURE_CORRUPTION
00:31:53.009903 AHCI#0: Reset the HBA
00:31:53.009917 VD#0: Cancelling all active requests
00:31:53.009920 VD#1: Cancelling all active requests
00:31:53.009922 VD#2: Cancelling all active requests
00:31:53.009923 VD#3: Cancelling all active requests
00:31:53.010134 AHCI#0: Port 3 reset
00:31:53.011146 VD#3: Cancelling all active requests
00:31:54.235377 VMMDev: vmmDevHeartbeatFlatlinedTimer: Guest seems to be unresponsive. Last heartbeat received 4 seconds ago
00:31:57.082070 VMMDev: Guest Log: VBoxGuest: BugCheck! P0=0x109 P1=0xa3a0065fcf28d65a P2=0xb3b712e621ab904b P3=0x6 P4=0x18
00:35:18.360955 GUI: User requested to shutdown VM.

comment:25 by Dmitrii Grigorev, 12 months ago

Ok. Thank you very much. Now you've got CRITICAL_STRUCTURE_CORRUPTION BugCheck. Let me sort out all that info.

comment:26 by Dmitrii Grigorev, 11 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!

comment:27 by Don Hughes, 11 months ago

My system has run 24 hours without freezing using the VBoxGuestAdditions_7.0.97-157540.iso Guest Additions. This is longer than it has survived in the past, so it looks like my version of the problem has been solved.

comment:28 by Feline, 11 months ago

Fixed here too, after installing GA 7.0.97-157540.

Thank you.

comment:29 by Feuerfloh, 11 months ago

Unfortunately this issue is not fixed. I got a freezing Windows 10 guest even with a recent develeopment snapshot of Guest Additions. See also #21590: toggling fullscreen mode several times will wake up the guest for a while but it will freeze again.

I'll attach a log file of the last session that was frozen several times. You'll find some lines like this:

VMMDev: vmmDevHeartbeatFlatlinedTimer: Guest seems to be unresponsive. Last heartbeat received 16 seconds ago

by Feuerfloh, 11 months ago

Attachment: VBox-Win10-freezing02.zip added

Win 10 guest using guest additions version 7.0.9 r157775

comment:30 by Feuerfloh, 11 months ago

Additional info: if the VM is frozen then the corresponding "VirtualBox" process on the host machine uses one (virtual) CPU core by 100% and there's no I/O activity at all.

in reply to:  26 comment:31 by tekstryder, 9 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!

This issue is Resolved / Fixed for me with VB 7.0.10.

Thank you!

comment:32 by aeichner, 8 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use