FreeBSDVMSVGA driver can't automatically resize window

Discussions about using non Windows and Linux guests such as FreeBSD, DOS, OS/2, OpenBSD, etc.

FreeBSDVMSVGA driver can't automatically resize window

Postby piggyz » 31. Aug 2020, 14:22

Like in the subject. As we all knows, Oracle adopted VMSVGA VMware driver for unix guests.

Im BSD, even installing a mix of virtualbox-ose-additions (for clipboard share and mouse interaction) and vmware-guest-additions, it is impossible to resize the host OS windows automatically using mouse drag and drop with every window manager in X or wayland.

Any hint to overcome this big limitations?
piggyz
 
Posts: 63
Joined: 13. Feb 2013, 12:28

Re: FreeBSDVMSVGA driver can't automatically resize window

Postby scottgus1 » 31. Aug 2020, 20:29

I can't suggest any hints, but I can suggest it will very likely have to be a home-rolled solution.

From the manual, https://www.virtualbox.org/manual/ch03. ... tossupport :
FreeBSD:

Limited support.

Note that you must enable hardware virtualization when running FreeBSD.

Guest Additions are not available.


Without Guest Additions, there are no Virtualbox drivers for the video card available, so only basic video is available as supported by FreeBSD's drivers.

Oracle adopted the virtual VMSVGA video card, not VMware's drivers. From the manual https://www.virtualbox.org/manual/ch03. ... gs-display :
VMSVGA: Use this graphics controller to emulate a VMware SVGA graphics device


Installing 3rd-party drivers to handle Virtualbox-provided hardware that the guest OS doesn't have drivers for has worked (I did this once for a network card in an XP guest, and it works for virt-io setups.) Installing VMware drivers for the video card may or may not work. However, even if it does, the Guest Additions trigger won't be there, because the extra stuff that Guest Additions provides isn't generated for FreeBSD, so won't be calling out to the host to let the magic start.

Guest Additions for FreeBSD haven't been made because no (or not enough) Oracle customers want them.
scottgus1
Site Moderator
 
Posts: 13760
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: FreeBSDVMSVGA driver can't automatically resize window

Postby multiOS » 31. Aug 2020, 23:23

FreeBSD has its own guide for getting VirtualBox Guest Additions working (so they say) - https://www.freebsd.org/doc/handbook/vi ... VirtualBox™.,integration.%20Host%20time%20synchronization.%20Window%20scaling.%20Seamless%20mode.

This would definitely qualify as a Guest Additions 'hack', which obviously can't be supported by Oracle Devs/this Forum and the FreeBSD Forums would need to be used if problems are experienced or further advice is required. I don't use BSD based system myself (other than MacOS), so can't give any indication of whether the Guide actually works, but there would be limited risk if fully restorable backups of the working FreeBSD VM(s) were maintained.
multiOS
Volunteer
 
Posts: 485
Joined: 14. Sep 2019, 16:51
Location: United Kingdom
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Windows 10Pro, 7

Re: FreeBSDVMSVGA driver can't automatically resize window

Postby piggyz » 19. Sep 2020, 09:45

The solution to have windows automagically resized is to use VBoxVGA option (and not VMSVGA).

Then install virtualbox-ose-additions package from FreeBSD repository and you should be done.

From this point, the old FreeBSD instructions for running the OS (rc.config configuration, boot options, guest autostart) as a guest should be helpfull.

That's all.
Last edited by scottgus1 on 6. Sep 2021, 15:59, edited 1 time in total.
Reason: removed unnecessary swipe at forum help: no personal attacks please.
piggyz
 
Posts: 63
Joined: 13. Feb 2013, 12:28


Return to Other Guests

Who is online

Users browsing this forum: No registered users and 4 guests