vbox Screen resolution problem - with Slim in Virtualbox - Freebsd 13.1

Screen resolution Slim
slim.png




Mate Desktop is correct 1920x1080

mate.png


I have installed emulators/virtualbox-ose-additions before installing Mate Desktop

So how do I get the Login screen in 1920x1080 I'm running with FreeBSD 13.1
 
Can anyone help me with this problem. I've searched here on the forum and on Google but haven't found any solutions.
 
Post your Xorg.0.log, easy way to do that: cat /var/log/Xorg.0.log | nc termbin.com 9999
 
So how do I get the Login screen in 1920x1080
Change into a virtual terminal (i.e. Alt + Ctrl + F5, use "Soft Keyboard" "Input -> Keyboard"), create a "Screen" section Xorg configuration file:

/usr/local/etc/X11/xorg.conf.d/screen.conf
Code:
Section "Screen"
      Identifier    "screen0"
      Device        "card0"
      Monitor        "monitor0"
         SubSection "Display"
            Depth    24
            Modes    "1920x1080"
         EndSubSection
EndSection

Execute shutdown now to drop into single user mode, enter "RETURN for /bin/sh", then exit. The screen resolution of Slim should be 1920x1080.
 
Virtualbox is correctly identified:
Code:
[    20.002] (II) VBoxVideo(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    20.002] (==) VBoxVideo(0): Depth 24, (--) framebuffer bpp 32
[    20.002] (II) VBoxVideo(0): Virtual size is 32766x32766 (pitch 32766)
[    20.002] (**) VBoxVideo(0):  Built-in mode "800x600": 29.3 MHz (scaled from 0.0 MHz), 36.4 kHz, 60.0 Hz
[    20.002] (II) VBoxVideo(0): Modeline "800x600"x0.0   29.31  800 802 804 806  600 602 604 606 (36.4 kHz b)
[    20.002] (**) VBoxVideo(0):  Built-in mode "800x600": 29.3 MHz (scaled from 0.0 MHz), 36.4 kHz, 60.0 Hz
[    20.002] (II) VBoxVideo(0): Modeline "800x600"x0.0   29.31  800 802 804 806  600 602 604 606 (36.4 kHz b)
[    20.002] (II) VBoxVideo(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0
[    20.002] (==) VBoxVideo(0): RGB weight 888
[    20.002] (==) VBoxVideo(0): Default visual is TrueColor
[    20.002] (==) VBoxVideo(0): Using gamma correction (1.0, 1.0, 1.0)
[    20.002] (==) VBoxVideo(0): DPI set to (96, 96)
It simply defaults to 800x600. Look at the solution T-Daemon posted, that's typically how I solve it too.
 
Execute shutdown now to drop into single user mode, enter "RETURN for /bin/sh", then exit. The screen resolution of Slim should be 1920x1080.

Unfortunately it didn't help. Slim is still in 800x500 px and not 1920x1080
 
I think Xorg just switches to the same resolution as the console. That often defaults to 800x600 too. Try setting these in /boot/loader.conf:
Code:
efi_max_resolution="1920x1080"
vbe_max_resolution="1920x1080"
Then restart the VM.
 
Code:
efi_max_resolution="1920x1080"
vbe_max_resolution="1920x1080"
Now is boot scren and txt before login manager 1920x1080, but unfortunately not Slim. It's still 800x600
 
Back
Top