Re: emulators/virtualbox-ose-addtions72: 4k resolution not possible

[email protected] (Helge Oldach)
Newsgroups gmane.os.freebsd.devel.ports,gmane.os.freebsd.devel.virtualization
Message-ID <[email protected]>
A FreeBSD User wrote on Wed, 05 Aug 2026 07:36:00 +0200 (CEST):
> on a system provided by my company I have FreeBSD 15.1-RELENG running as a VM guest within
> VirtualBox 7.2. The VBox environment is completely maintained by the company in a
> restrictive manner and only limited settings are available for users.
> 
> With FreebSD 15.1-RELENG installed vioa pkg/pkg-base in addtion to
> emulators/virtaulbox=ose-additions72 and X11, on 4k Displays (3840x2180 pixel) the resolution
> of the screen maxes out at 2560x1440 
> [...]
> We also use Win10/Win11 guests which are obvioulsy all capable of running 4k on the same
> hardware setup. For my FreeBSD VM, I select the VM profile for Win11 or Ubuntu to run FBSD.

There are several things to look at.

Try running configured for "BSD / FreeBSD / FreeBSD (64-bit)" in VBox.

Note that changing this in VBox might impact your default boot options (BIOS or EFI), so take note of settings beforehand.

Also, in VBox, configure for the VBoxSVGA driver, not the default VMSVGA. See /usr/ports/emulators/virtualbox-ose-additions-72/pkg-message

If you're on syscons (sc), try tweaking VESA boot settings, for example:

hint.sc.0.flags="0x180"
hint.sc.0.vesa_mode="0x160"

(Use vidcontrol -i mode to obtain possible values. See vidcontrol(4).)

On vt it /should/ work out of the box provided that you boot in EFI mode.

In case none of these make a difference, try tweaking X. For example /usr/local/etc/X11/xorg.conf.d/screen.conf:

Section "Screen"
        Identifier              "screen0"
        SubSection "Display"
                Modes           "3840x2160"
        EndSubSection
EndSection

Also you might want to correct your GECOS name to something more verbose. :-)

Kind regards
Helge
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.