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

Discussions related to using VirtualBox on Mac OS X hosts.
Post Reply
zaxter
Posts: 4
Joined: 7. Aug 2017, 08:30

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

Post 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.
Last edited by socratis on 24. Aug 2017, 09:02, edited 2 times in total.
Reason: Marked as [WorksForMe].
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

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

Post 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).
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
zaxter
Posts: 4
Joined: 7. Aug 2017, 08:30

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

Post by zaxter »

Thank you for your response @socratis.
I have attached the log as per your instructions.
Attachments
Ubuntu-16.04 (Desktop) -2017-08-07-11-41-33.log.zip
(30.07 KiB) Downloaded 17 times
zaxter
Posts: 4
Joined: 7. Aug 2017, 08:30

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

Post by zaxter »

Did you get a chance to look at the logs @socratis?
Anything particularly peculiar?
Martin
Volunteer
Posts: 2561
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: XP, Win7, Win10, Linux, OS/2

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

Post 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.
zaxter
Posts: 4
Joined: 7. Aug 2017, 08:30

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

Post 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?
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

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

Post by socratis »

Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

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

Post 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].
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply