Page 1 of 1

Autoscale Ubuntu 22.04 guest in VirtualBox 6.1 Windows Host

Posted: 23. Aug 2022, 22:54
by TonyNube
VirtualBox version: 6.1.36 r152435
Windows host version: 10 Pro 64-bit
Ubuntu version: 22.04

I've installed the latest VirtualBox version on a new Windows 10 laptop workstation, along with the updated Guest Additions. I've created a single VM running Ubuntu 22.04. Here are some details on the Display configuration within the machine config:
Memory: 32 Mb
Scale factor: 100%
Graphics controller: VMSVGA (recommended by VirtualBox)

If I select either of the other 2 available Graphics Controllers, VBoxVGA or VBoxSVGA, VirtualBox gives an error that an invalid controller is selected. When I start the VM the View option to Auto-resize Guest Display is grayed out.

I have a similar configuration on an older desktop machine running the prior version of VirtualBox and Ubuntu 18.04. The Auto-resize option works fine in that configuration. I created an Ubuntu 18.04 VM in the newer VirtualBox installation on the laptop just to see if something about the guest OS was contributing or causing the problem. No dice. So, the problem seems specific to this latest version of VirtualBox.

Any ideas?

Re: Autoscale Ubuntu 22.04 guest in VirtualBox 6.1 Windows Host

Posted: 23. Aug 2022, 23:30
by scottgus1
Start the VM from full normal shutdown, not save-state. Run until you see the problem happen, then shut down the VM from within the VM's OS if possible. If not possible, close the Virtualbox window for the VM with the Power Off option set.

Right-click the VM in the main Virtualbox window's VM list, choose Show Log. Save the far left tab's log, zip it, and post the zip file, using the forum's Upload Attachment tab.

Re: Autoscale Ubuntu 22.04 guest in VirtualBox 6.1 Windows Host

Posted: 24. Aug 2022, 21:02
by TonyNube
Here is the log file. Thanks for any suggestions you might have.

Re: Autoscale Ubuntu 22.04 guest in VirtualBox 6.1 Windows Host

Posted: 24. Aug 2022, 21:33
by scottgus1
Try increasing VM video RAM to the max 128MB.

The pre-installed Guest Additions are possibly too old & need replacing:
00:00:12.001623 VMMDev: Guest Additions information report: Version 6.0.0 r127566 '6.0.0'
Guest Additions have prerequisites in Linux, same as Virtualbox on the host, see https://www.virtualbox.org/manual/ch04. ... ions-linux and https://www.virtualbox.org/manual/ch02. ... nux-prereq. Also, watch the terminal installation report when running the GAs installer. Error messages will show if the install ran into a problem.

After you get 6.1.36's Guest Additions loaded, try the VM again.