[Solved] Automatic resizing of Screen resolution

Discussions about using Windows guests in VirtualBox.
Locked
willib2013
Posts: 5
Joined: 17. Jul 2015, 09:44

[Solved] Automatic resizing of Screen resolution

Post by willib2013 »

Hi all,

I'm running VirtualBox 4.3.30 on a Windows 8.1 host. As guestsystem I have Windows 8.1. and Sever 2012 installed. In both guests it is no longer possible to have an automatic resizing of the guest resolution. The max resolution is 1280 x 1024. Windows doesn't let me choose any higher resolution.

The guest additions are installed!

With version 4.3.20 everything worked fine. After upgrading from version 4.3.20 to 4.3.28 the problem started. With 4.3.30 the problem still exist

I tried everything I found in the forums (enable/disable 3d and 2d support, added cuatom video mode, ...) but no success. AS a workaround I start the guest and then connect via RDP.

Any ideas?

willi
Last edited by willib2013 on 24. Jul 2015, 14:05, edited 1 time in total.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Automatic resizing of Screen resolution

Post by mpack »

You say that you can't resize. Do you actually mean that you can resize, but you can't go larger than 1280x1024?

If yes, then I had that problem with VirtualBox 4.3.12, so really this is not a VBox version issue.

Though you have not said so, I'm going to guess that your host PC has a widescreen monitor. It would be nice to know its display size. I'm guessing that 1024 is close to the full height of your display.

The problem is that your Windows guests think that the virtual monitor is 4:3, so they are helpfully disallowing any display modes that use a widescreen ratio. This constraint is now stored in the windows registry somewhere, so you need to go through a few hoops to get around it.
  1. First, make sure you are not in fullscreen mode: i.e. switch to your windowed 1280x1024 mode (or whatever windowed mode suits you).
  2. IMPORTANT. Make sure that View|Auto resize guest display is enabled (checked).
  3. Make sure that the Guest Additions are installed, not merely having the GAs CD mounted. If they are installed then there should be an icon on the guest taskbar which will tell you the GAs version and status.
  4. Carefully drag the bottom edge of the VM window to reduce the screen height. You are trying to achieve a 16:9 ratio, so with a 1280 display width you want a display height of 720, exactly.
  5. Shut down the VM completely (not suspend), then restart it. We want windows to start up, seeing a 16:9 ratio while booting up. This should make it happy to accept other 16:9 ratios.
As a test, it should now be possible to go fullscreen, or to use seamless mode without artifacts. But, be careful about resizing the VM again using the guests display properties. IME Windows may still be confused about display sizes - I think it keeps a list somewhere of display sizes known to work with the current monitor, so now it will have a mix of 4:3 and 16:9 ratios, and you want to avoid the former. You may have to manually create new display size hints, but it should at least now be allowing you to choose larger widescreen ratios.

p.s. I don't know where you saw advice to fiddle with 2D/3D support. That's a virtual graphics card feature, nothing to do with your virtual monitor at all!
willib2013
Posts: 5
Joined: 17. Jul 2015, 09:44

Re: Automatic resizing of Screen resolution

Post by willib2013 »

I can resize the window but the screen resolution keeps stucks at a max of 1280x1024. The resolution of the host is 1600x900 or 1920x1200 (=external monitor).I'll try your suggestions and give feedback
willib2013
Posts: 5
Joined: 17. Jul 2015, 09:44

Re: Automatic resizing of Screen resolution

Post by willib2013 »

Make sure that the Guest Additions are installed, not merely having the GAs CD mounted. If they are installed then there should be an icon on the guest taskbar which will tell you the GAs version and status.
I see a couple of icons (harddrive, network card, ...) but no special icon which shows the GAs versions. Where exactly ist that icon? According to the Windows installed programs the GAs are installed.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Automatic resizing of Screen resolution

Post by mpack »

willib2013 wrote:I see a couple of icons (harddrive, network card, ...) but no special icon which shows the GAs versions.
See the image below. Hover the mouse cursor over that icon. Check your notification area settings, perhaps the icon was has been hidden away in your Windows image.
Attachments
GAs_icon.png
GAs_icon.png (6.27 KiB) Viewed 440462 times
jorgensen
Posts: 583
Joined: 20. Oct 2009, 01:22
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, LinuxMint

Re: Automatic resizing of Screen resolution

Post by jorgensen »

Had the same problem after upgrading to VB 5, and it turned out to be a setting I was not aware of.
Not sure if this is new to VB5 - see attachment.
Attachments
VB resize.png
VB resize.png (31.09 KiB) Viewed 440451 times
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Automatic resizing of Screen resolution

Post by mpack »

In fact that option has been around for a while. Indeed I mention it in step 2 above.
willib2013
Posts: 5
Joined: 17. Jul 2015, 09:44

Re: Automatic resizing of Screen resolution

Post by willib2013 »

@mpack: I tried your steps but that didn't help. After restarting the VM and going to fullscreen the resolution is set to 1152x864.
willib2013
Posts: 5
Joined: 17. Jul 2015, 09:44

Re: Automatic resizing of Screen resolution

Post by willib2013 »

I found a solution which worked for me here: http://askubuntu.com/questions/211163/v ... 1080-inste

Go To the 'File' menu, and activate 'Environment setting (P)'. Select 'Display', and change the setting for 'Maximum guest screen size' to 'hint', which allows you to set an arbitrary size for both width and height (eg., 1920 and 1200).

Reboot the virtual machine and enjoy it.
I just set the 'Maximum guest screen size' to 'none'. Now the automatic resizing (Host+G) works like before

Thanks for your input
Samuel_F_Smith
Posts: 1
Joined: 17. Jul 2018, 19:29

Re: [Solved] Automatic resizing of Screen resolution

Post by Samuel_F_Smith »

Confirmed ... The same settings work for me on a OSX with a Windows (8.1.N) guest. (See attached).

Thanks to all contributors!
Attachments
Screen Shot 2018-07-17 at 10.27.58 AM.png
Screen Shot 2018-07-17 at 10.27.58 AM.png (103.23 KiB) Viewed 159693 times
jamied_uk
Posts: 11
Joined: 17. Mar 2011, 17:47
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Linux Mint 18 & Kali Linux 2
Location: England
Contact:

Re: [Solved] Automatic resizing of Screen resolution

Post by jamied_uk »

How I just fixed it is Ctrl C to swicth viewing modes from scaled if required then in virtual box settings monitor options i selected VBOXsvga enable 3D acceleration give it 72 mb graphics memory and 3 gb system memory (ram) and in the virtual machine settings under monitor make sure max guest size is none scale factor all monitors 100%, then save! restart virtual machine a couple times to veryfie it is all good! dont worry about any warnings or errors about crashes in linux that is normal when things are changed unnexpectidly and forcing it to shutdown without saving state and re opening will fix this issue!

https://imgur.com/a/nwXpbIk
socratis
Site Moderator
Posts: 27330
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: [Solved] Automatic resizing of Screen resolution

Post by socratis »

jamied_uk,
Not sure why you felt the need to wake up a thread that was dealing with an issue that doesn't apply in the 6.x series. Your solution is for the 6.x series, not for the original problem.

Better let the dead sleep, locking this.
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.
Locked