VirtualBox

Ticket #15257 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Auto-resize broken - Win10 Host & Guest

Reported by: LukeFranky Owned by:
Component: guest additions Version: VirtualBox 5.0.16
Keywords: Cc:
Guest type: Windows Host type: Windows

Description

I have a problem where my windowed guest will revert to 800x600 or a similar default resolution on the primary monitor after returning to my host after the screensaver comes on. The secondary screen stays as is.

The guest mouse is also becomes out of sync with the host. If I move the host mouse to the far right of the primary screen the guest will be closer to the middle. If I move the mouse to the left each pointer will be much closer together but still not in tune.

I normally work in maximized windowed mode. By that I mean the guest will be within a VirtualBox window but that will be maximized take up the most amount of space without hiding my host's taskbar.

This problem is becoming a show stopper. The only solution so far has been to restart the host entirely. It is starting to happen once or twice a day (I use VBox alot).

Things I have tried:

  • Restarting guest.
  • Resizing the VirtualBox windows.
  • Minimizing the VirtualBox.
  • Re-installing guest additions.
  • Switch to fullscreen and back.

Attachments

21-03-2016 5-24-45 PM.png Download (138.0 KB) - added by LukeFranky 7 years ago.
Screenshot of primary display
VBoxSVC.log Download (7.2 KB) - added by LukeFranky 7 years ago.
selectorwindow.log Download (168 bytes) - added by LukeFranky 7 years ago.
VBox.log Download (177.3 KB) - added by mhanor 7 years ago.
resizelogs.zip Download (59.1 KB) - added by mhanor 7 years ago.

Change History

Changed 7 years ago by LukeFranky

Screenshot of primary display

comment:1 Changed 7 years ago by LukeFranky

Now restarting the host doesn't help. The VM starts up at 1024 x 768.

Last edited 7 years ago by LukeFranky (previous) (diff)

comment:2 Changed 7 years ago by frank

Please attach a VBox.log file of such a VM session!

Changed 7 years ago by LukeFranky

Changed 7 years ago by LukeFranky

comment:3 Changed 7 years ago by LukeFranky

This is now happening to my co-worker's host machines as well. Often occurs after the screensaver has been active.

comment:4 Changed 7 years ago by frank

Sorry, you attached the wrong log files. The VBox.log file I'm after can be found in the VM selector menu / Machine / Show Log ...

comment:5 Changed 7 years ago by mhanor

I have the same problem with my Windows 10 VM.

Changed 7 years ago by mhanor

comment:6 Changed 7 years ago by malcolmwhat

I had a similar issue with my Windows 10 Host and Ubuntu 14.04 Guest.

A temporary fix was to remove the guest additions iso from the controller with the machine off, and to start the machine and reinsert guest additions. Upon reinsertion it prompted for re-installation, which I accepted. Once the process was complete I rebooted and re-sizing worked.

It should be taken into consideration that this is affecting Linux guests as well.

comment:7 Changed 7 years ago by mhanor

I've recompiled and installed the Guest Additions 5.0.20 with changeset 59518 rolled back, on my Windows 10 guest and the problem disappeared. Windows 8.1 (as guest) shows the same problem on my Windows 10 host. The last release version of GA that doesn't show this problem is version 5.0.14

Using the official GA binaries, you can go to Display settings -> Advanced settings, after the failed resize, and you will find the resolution in the list, the one that was supposed to be set by the Guest Additions. It can be set manually.

Last edited 7 years ago by mhanor (previous) (diff)

Changed 7 years ago by mhanor

comment:8 Changed 7 years ago by CoDEmanX

I'm seeing something similar after updating to v5.0.20 r106931 (VirtualBox as well as Guest Additions), Windows 10 Pro 64bit as Host as well as guest:

  • the resolution is not automatically adjusted to the window size
  • it also stays at 1152x864 when I go to fullscreen mode
  • automatic resize is enabled however (also restarted after installing the guest additions)
  • I can manually adjust the resolution in the guest up to the window size, which means I need to go to fullscreen mode in order to make it the host monitor size of 1920x1080
  • If I go from full HD fullscreen mode back to windowed mode, the resolution is automatically reduced - but it doesn't work the other way around (enlarge)

comment:9 Changed 7 years ago by sunlover

This should be fixed in guest additions 5.1.x r108965+ and 5.0.x r108966+

Please download additions from https://www.virtualbox.org/wiki/Testbuilds

mhanor, the fix addresses the problem, which happens with changeset 59518.

Please test. Thanks!

comment:10 Changed 7 years ago by mhanor

I have tested GuestAdditions_5.1.3-108967 and guest auto-resizing works fine.

Last edited 7 years ago by mhanor (previous) (diff)

comment:11 Changed 7 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Fix is part of 5.1.4.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use