Page 1 of 1

[WorksForMe] Virtual box stuck trying to auto-resize after boot (#16991)

Posted: 7. Aug 2017, 08:52
by zaxter
Hello everyone,

I have been using VirtualBox for quite some time now - Ubuntu 16.04 guest on OSX 10.12.4 host. It was all working fine until today.
VirtualBox starts to Ubuntu 16.04, shows initial boot logs, then Ubuntu logo with progress, and then tries to change its (app window) size. The window goes all black and it keeps maximizing-minimizing (just a little, not fullscreen) indefinitely.

Here's what I see in the logs:

Code: Select all

00:03:43.219898 VBVA: InfoScreen: [0] @0,0 800x600, line 0xc80, BPP 32, flags 0x1
00:03:43.219926 Display::handleDisplayResize: uScreenId=0 pvVRAM=000000011349a000 w=800 h=600 bpp=32 cbLine=0xC80 flags=0x1
00:03:43.219958 GUI: UIFrameBufferPrivate::NotifyChange: Screen=0, Origin=0x0, Size=800x600, Sending to async-handler
00:03:43.220030 VBVA: InfoScreen: [0] @0,0 800x600, line 0xc80, BPP 32, flags 0x5
00:03:43.220046 Display::handleDisplayResize: uScreenId=0 pvVRAM=000000011349a000 w=800 h=600 bpp=32 cbLine=0xC80 flags=0x5
00:03:43.220058 GUI: UIMachineView::sltHandleNotifyChange: Screen=0, Size=800x600
00:03:43.220071 GUI: UIFrameBufferPrivate::handleNotifyChange: Size=800x600
00:03:43.220085 GUI: UIFrameBufferPrivate::NotifyChange: Screen=0, Origin=0x0, Size=800x600, Sending to async-handler
00:03:43.220139 GUI: UIFrameBufferPrivate::performResize: Size=800x600, Using fallback buffer since no source bitmap is provided
00:03:43.220740 GUI: UIMachineView::storeGuestSizeHint: Storing guest-screen size-hint for screen 0 as 800x600
00:03:43.223772 Display::handleDisplayResize: uScreenId=0 pvVRAM=000000011349a000 w=800 h=600 bpp=32 cbLine=0xC80 flags=0x0
00:03:43.223837 GUI: UIFrameBufferPrivate::NotifyChange: Screen=0, Origin=0x0, Size=800x600, Sending to async-handler
00:03:43.227772 GUI: UIMachineView::sltHandleNotifyChange: Screen=0, Size=800x600
00:03:43.227798 GUI: UIFrameBufferPrivate::handleNotifyChange: Size=800x600
00:03:43.227804 GUI: UIFrameBufferPrivate::performResize: Size=800x600, Directly using source bitmap content
00:03:43.228167 GUI: UIMachineView::storeGuestSizeHint: Storing guest-screen size-hint for screen 0 as 800x600
00:03:43.241487 GUI: UISession::sltAdditionsChange: GA state really changed, notifying listeners.
00:03:43.241581 GUI: UIMachineViewNormal::adjustGuestScreenSize: Adjust guest-screen size if necessary.
00:03:43.241591 GUI: UISession::sltAdditionsChange: GA state change event came, notifying listeners.
00:03:43.241596 GUI: UIMachineLogicNormal::sltCheckForRequestedVisualStateType: Requested-state=0, Machine-state=5
00:03:43.241610 GUI: UIMachineView::sltHandleNotifyChange: Screen=0, Size=800x600
00:03:43.241616 GUI: UIFrameBufferPrivate::handleNotifyChange: Size=800x600
00:03:43.699997 Display::handleDisplayResize: uScreenId=0 pvVRAM=0000000000000000 w=720 h=400 bpp=0 cbLine=0x0 flags=0x0
00:03:43.700052 GUI: UIFrameBufferPrivate::NotifyChange: Screen=0, Origin=0x0, Size=720x400, Sending to async-handler
00:03:43.700108 GUI: UIMachineView::sltHandleNotifyChange: Screen=0, Size=720x400
00:03:43.700117 GUI: UIFrameBufferPrivate::handleNotifyChange: Size=720x400
00:03:43.700130 GUI: UIFrameBufferPrivate::performResize: Size=720x400, Directly using source bitmap content
I haven't changed anything in the settings today. I tried enabling/disabling `2D acceleration` and `Unscaled HiDPI video output`, but nothing worked.
I was using an older version, so I even updated to 5.1.26 today to see if that works, but it didn't.

Could it be that my .vdi is corrupted?
Is this some known issue?

Thanks in advance.

Re: Virtual box stuck trying to auto-resize after boot

Posted: 7. Aug 2017, 09:20
by socratis
Partial logs are not that helpful I'm afraid.
  • Follow a "start the VM from cold-boot" / "observe error" / "shutdown the VM" cycle.
  • With the VM shut down completely (not paused or saved), right-click on the VM in the VirtualBox Manager and select "Show Log".
  • Save only the first "VBox.log", ZIP it and attach it to your response (see the "Upload attachment" tab below the reply form).

Re: Virtual box stuck trying to auto-resize after boot

Posted: 7. Aug 2017, 09:44
by zaxter
Thank you for your response @socratis.
I have attached the log as per your instructions.

Re: Virtual box stuck trying to auto-resize after boot

Posted: 7. Aug 2017, 14:46
by zaxter
Did you get a chance to look at the logs @socratis?
Anything particularly peculiar?

Re: Virtual box stuck trying to auto-resize after boot

Posted: 7. Aug 2017, 16:42
by Martin
This looks the display manager inside your guest is failing to start and retries again and again.
The changing screen size is only a symptom of this and not the problem itself.

Re: Virtual box stuck trying to auto-resize after boot

Posted: 7. Aug 2017, 16:48
by zaxter
Does that mean it's a guest additions problem? I tried running a gparted-live some time back and it's running fine.
Do you know of a workaround @Martin?

Re: Virtual box stuck trying to auto-resize after boot (#16991)

Posted: 8. Aug 2017, 09:50
by socratis

Re: Virtual box stuck trying to auto-resize after boot (#16991)

Posted: 24. Aug 2017, 09:00
by socratis
From ticket #16991:
On ticket 16991#comment:2 zaxter wrote:I was able to resolve this using Ubuntu's boot recovery options, so, this was probably an Ubuntu problem. Please close this ticket.
Marking as [WorksForMe].