VirtualBox

Opened 7 years ago

Last modified 6 years ago

#16843 new defect

WDDM driver does not validate custom video resolutions, causing graphics freeze on boot

Reported by: machfour Owned by:
Component: WDDM Version: VirtualBox 5.1.22
Keywords: Cc:
Guest type: Windows Host type: Linux

Description

See investigation on this forum post

For some reason (possibly the tiling WM resize bug on Linux) the custom/transient display resolution can be set to a very small size (e.g. 400x191) and this small size is saved to the registry in Windows. Once the WDDM driver is installed, Windows will try to add this mode to the target modes in the VidPn framework. This fails and the boot sequence appears to freeze on the Windows splash screen, rendering the VM unusable.

A workaround is to install the Guest additions in safe mode, then edit the registry keys storing the custom resolution to be a larger size, e.g. 800x600. See the attached image.

Reproduced on both OSE and non-OSE versions of Virtualbox, 5.1.22 with corresponding extpack and Guest Additions ISO installed.

I have attached the boot log when the problem occurs.

Attachments (3)

win10-clone.log (163.9 KB ) - added by machfour 7 years ago.
Log from clean boot/poweroff sequence when problem occurs
regedit.png (122.2 KB ) - added by machfour 7 years ago.
Small Custom{X,YRes and CustomYRes values in WDDM registry storage causing graphics freezes
regedit.2.png (122.2 KB ) - added by machfour 7 years ago.
Small Custom{X,Y}Res values in WDDM registry storage cause graphics freezes

Download all attachments as: .zip

Change History (6)

by machfour, 7 years ago

Attachment: win10-clone.log added

Log from clean boot/poweroff sequence when problem occurs

by machfour, 7 years ago

Attachment: regedit.png added

Small Custom{X,YRes and CustomYRes values in WDDM registry storage causing graphics freezes

by machfour, 7 years ago

Attachment: regedit.2.png added

Small Custom{X,Y}Res values in WDDM registry storage cause graphics freezes

comment:1 by machfour, 7 years ago

(Sorry, I accidentally attached the regedit.png twice while editing the description. The first one can be deleted)

comment:2 by machfour, 7 years ago

The ticket and related discussion about the resizing issue in tiling WMs is found at #15863.

comment:3 by Dmitrii Grigorev, 6 years ago

Recent 5.2 Guest Additions should have fix for the discussed problem. Please upgrade GA in your Windows guest and if the problem will persist - attach VBox.log here.

The download link for your convinience: http://download.virtualbox.org/virtualbox/5.2.0_RC1/

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use