VirtualBox

Ticket #16843 (new defect)

Opened 2 years ago

Last modified 2 years ago

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

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

Change History

Changed 2 years ago by machfour

Log from clean boot/poweroff sequence when problem occurs

Changed 2 years ago by machfour

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

Changed 2 years ago by machfour

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

comment:1 Changed 2 years ago by machfour

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

comment:2 Changed 2 years ago by machfour

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

comment:3 Changed 2 years ago by DmitrG

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.

www.oracle.com
ContactPrivacy policyTerms of Use