Ubuntu 16.04 guest can't resize with VMSVGA

Discussions related to using VirtualBox on Linux hosts.
Post Reply
mastupristi
Posts: 16
Joined: 21. Jul 2009, 08:41
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows XP, linux 32 nit, linux 64 bit

Ubuntu 16.04 guest can't resize with VMSVGA

Post by mastupristi »

I have another VM: ubuntu 64 bit 16.04.

If I set VMSVGA, the guest display is never resized to the size of the window. If I set VBoxSVGA the performance are very low, but the guest display can be resized to the window size.

I attach both logs

best regards
Max
Attachments
VBoxLog.zip
(88.03 KiB) Downloaded 9 times
Max
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: Ubuntu 16.04 guest can't resize with VMSVGA

Post by socratis »

I split your post from the VirtualBox 6.0 brutally slow with AMD Threadripper 2 thread, and gave it an appropriate title. We like to observe the "One issue, one thread" rule... ;)

You should *not* choose the VBoxSVGA option, except _only_ for Windows guest. You should choose either VBoxVGA (no "S") or VMSVGA for a Linux guest. Since VMSVGA is not working for you, then search for an existing ticket. If you can't find one, please let us know before creating a new one, here.

Code: Select all

00:02:09.488982 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 2022x1130 if necessary
00:02:09.502511 VMMDev: SetVideoModeHint: Got a video mode hint (2022x1130x32)@(0x0),(1;0) at 0
00:02:09.517464 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 2158x1184 if necessary
00:02:09.530470 VMMDev: SetVideoModeHint: Got a video mode hint (2158x1184x32)@(0x0),(1;0) at 0
00:02:09.530533 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 2158x1184 if necessary
00:02:09.553223 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:02:09.554195 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 2244x1216 if necessary
00:02:09.563870 VMMDev: SetVideoModeHint: Got a video mode hint (2244x1216x32)@(0x0),(1;0) at 0
00:02:09.563965 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 2244x1216 if necessary
00:02:09.578806 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:02:09.585059 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 2402x1272 if necessary
00:02:09.594223 VMMDev: SetVideoModeHint: Got a video mode hint (2402x1272x32)@(0x0),(1;0) at 0
00:02:09.594303 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 2402x1272 if necessary
00:02:09.617142 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:02:09.619200 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 2576x1342 if necessary
00:02:09.628363 VMMDev: SetVideoModeHint: Got a video mode hint (2576x1342x32)@(0x0),(1;0) at 0
00:02:09.628429 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 2576x1342 if necessary
00:02:09.645282 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:02:09.646241 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 2678x1384 if necessary
00:02:09.655602 VMMDev: SetVideoModeHint: Got a video mode hint (2678x1384x32)@(0x0),(1;0) at 0
00:02:09.660291 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:02:09.660291 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 2678x1384 if necessary
00:02:09.677967 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:02:09.678169 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 2830x1452 if necessary
00:02:09.688969 VMMDev: SetVideoModeHint: Got a video mode hint (2830x1452x32)@(0x0),(1;0) at 0
00:02:09.697735 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 2830x1452 if necessary
00:02:09.714171 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:02:09.714368 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 2972x1518 if necessary
00:02:09.723249 VMMDev: SetVideoModeHint: Got a video mode hint (2972x1518x32)@(0x0),(1;0) at 0
00:02:09.726352 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 2972x1518 if necessary
00:02:09.730080 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:02:09.746225 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 3092x1569 if necessary
00:02:09.756294 VMMDev: SetVideoModeHint: Got a video mode hint (3092x1569x32)@(0x0),(1;0) at 0
00:02:09.767041 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 3092x1569 if necessary
00:02:09.784943 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:02:09.785139 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 3163x1603 if necessary
00:02:09.793902 VMMDev: SetVideoModeHint: Got a video mode hint (3163x1603x32)@(0x0),(1;0) at 0
00:02:09.816293 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:02:09.827524 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 3226x1634 if necessary
00:02:09.836388 VMMDev: SetVideoModeHint: Got a video mode hint (3226x1634x32)@(0x0),(1;0) at 0
00:02:09.861744 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 3278x1658 if necessary
00:02:09.871181 VMMDev: SetVideoModeHint: Got a video mode hint (3278x1658x32)@(0x0),(1;0) at 0
00:02:09.888302 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:02:09.888302 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 3309x1674 if necessary
00:02:09.899774 VMMDev: SetVideoModeHint: Got a video mode hint (3309x1674x32)@(0x0),(1;0) at 0
00:02:09.919341 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:02:09.920239 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 3339x1688 if necessary
00:02:09.929108 VMMDev: SetVideoModeHint: Got a video mode hint (3339x1688x32)@(0x0),(1;0) at 0
00:02:09.956634 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:02:09.957482 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 3356x1698 if necessary
00:02:09.966386 VMMDev: SetVideoModeHint: Got a video mode hint (3356x1698x32)@(0x0),(1;0) at 0
00:02:09.987190 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:02:09.990108 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 3387x1717 if necessary
00:02:09.996294 VMMDev: SetVideoModeHint: Got a video mode hint (3387x1717x32)@(0x0),(1;0) at 0
00:02:10.020625 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:02:10.021625 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 3410x1728 if necessary
00:02:10.033179 VMMDev: SetVideoModeHint: Got a video mode hint (3410x1728x32)@(0x0),(1;0) at 0
00:02:10.050696 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:02:10.051542 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 3424x1735 if necessary
00:02:10.062644 VMMDev: SetVideoModeHint: Got a video mode hint (3424x1735x32)@(0x0),(1;0) at 0
00:02:10.083165 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:02:10.092292 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 3437x1743 if necessary
00:02:10.104779 VMMDev: SetVideoModeHint: Got a video mode hint (3437x1743x32)@(0x0),(1;0) at 0
00:02:10.118380 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:02:10.119199 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 3447x1748 if necessary
00:02:10.128565 VMMDev: SetVideoModeHint: Got a video mode hint (3447x1748x32)@(0x0),(1;0) at 0
00:02:10.143270 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:02:10.144004 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 3454x1750 if necessary
00:02:10.153345 VMMDev: SetVideoModeHint: Got a video mode hint (3454x1750x32)@(0x0),(1;0) at 0
00:02:10.187562 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:02:10.198219 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 3465x1752 if necessary
00:02:10.209943 VMMDev: SetVideoModeHint: Got a video mode hint (3465x1752x32)@(0x0),(1;0) at 0
00:02:10.229663 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:02:10.230547 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 3475x1758 if necessary
00:02:10.241377 VMMDev: SetVideoModeHint: Got a video mode hint (3475x1758x32)@(0x0),(1;0) at 0
00:02:10.242515 GUI: UIMediumEnumerator: Medium-enumeration finished!
00:02:10.243694 GUI: UIMachineView::sltPerformGuestResize: Sending guest size-hint to screen 0 as 3475x1758 if necessary
00:02:10.248122 GUI: UIMediumEnumerator: Medium-enumeration finished!
Can you try to resize the guest from within the guest and not by dragging the VM window borders? To something more ... computer friendly? I don't know too many physical monitors with a 3437x1743 resolution...
00:00:00.559358 GUI: UIDesktopWidgetWatchdog::sltHandleHostScreenAvailableGeometryCalculated:
                Screen 0 work area is actually resized to: 0x33 x 3840x2086
That sounds like a HiDPI monitor, is that correct? If so, did you go to the VirtualBox Preferences (not the VM Settings) » Display » Scale Factor » set it to 200%. And then set the VM resolution to something more manageable, like 1280x800?
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