vbox Update to virtualbox-ose-additions-6.1.18 killed Xorg

Hi,

I have a virtualbox VM with FreeBSD 12.2-RELEASE-p4 as guest on a Windows machine. After updating to virtualbox-ose-additions-6.1.18 (latest repo), I got a blank screen instead of Lxde. I use the VBoxVGA as graphic adapter but tried VMSVGA as well (with the proper driver installed): same result.

The Xorg log isn't very clear (see below). I ended to return to my last saved boot environment (not without problem, but this isn't the subject here) and I locked the virtualbox-ose-additions package to the 5.2.44_3 version.

I would like to know if someone else is impacted by this problem. And if so, I will make a PR.

[ 16.178]
X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
[ 16.178] Build Operating System: FreeBSD 12.1-RELEASE-p13 amd64
[ 16.178] Current Operating System: FreeBSD LxdeFreeBSD 12.2-RELEASE-p4 FreeBSD 12.2-RELEASE-p4 GENERIC amd64
[ 16.179] Build Date: 30 January 2021 02:05:13PM
[ 16.179]
[ 16.179] Current version of pixman: 0.40.0
[ 16.179] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 16.179] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 16.179] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Mar 21 09:13:28 2021
[ 16.186] (==) Using config directory: "/usr/local/etc/X11/xorg.conf.d"
[ 16.186] (==) Using system config directory "/usr/local/share/X11/xorg.conf.d"
[ 16.194] (==) No Layout section. Using the first Screen section.
[ 16.194] (**) |-->Screen "Screen0" (0)
[ 16.194] (**) | |-->Monitor "<default monitor>"
[ 16.194] (==) No monitor specified for screen "Screen0".
Using a default monitor configuration.
[ 16.194] (==) Automatically adding devices
[ 16.194] (==) Automatically enabling devices
[ 16.194] (==) Not automatically adding GPU devices
[ 16.194] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 16.207] (==) FontPath set to:
/usr/local/share/fonts/misc/,
/usr/local/share/fonts/TTF/,
/usr/local/share/fonts/OTF/,
/usr/local/share/fonts/Type1/,
/usr/local/share/fonts/100dpi/,
/usr/local/share/fonts/75dpi/,
catalogue:/usr/local/etc/X11/fontpath.d
[ 16.207] (==) ModulePath set to "/usr/local/lib/xorg/modules"
[ 16.207] (**) Extension "Composite" is enabled
[ 16.207] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 16.207] (II) Loader magic: 0x42f020
[ 16.207] (II) Module ABI versions:
[ 16.207] X.Org ANSI C Emulation: 0.4
[ 16.208] X.Org Video Driver: 24.1
[ 16.208] X.Org XInput driver : 24.1
[ 16.208] X.Org Server Extension : 10.0
[ 16.208] (--) PCI:*(0@0:2:0) 80ee:beef:15ad:0405 rev 0, Mem @ 0xe0000000/16777216, 0xe1400000/2097152, I/O @ 0x0000c170/16, BIOS @ 0x????????/65536
[ 16.208] (II) LoadModule: "glx"
[ 16.209] (II) Loading /usr/local/lib/xorg/modules/extensions/libglx.so
[ 16.236] (II) Module glx: vendor="X.Org Foundation"
[ 16.236] compiled for 1.20.9, module version = 1.0.0
[ 16.236] ABI class: X.Org Server Extension, version 10.0
[ 16.236] (==) Matched vboxvideo as autoconfigured driver 0
[ 16.236] (==) Matched modesetting as autoconfigured driver 1
[ 16.236] (==) Matched scfb as autoconfigured driver 2
[ 16.236] (==) Matched vesa as autoconfigured driver 3
[ 16.236] (==) Assigned the driver to the xf86ConfigLayout
[ 16.236] (II) LoadModule: "vboxvideo"
[ 16.239] (II) Loading /usr/local/lib/xorg/modules/drivers/vboxvideo_drv.so
[ 16.241] (II) Module vboxvideo: vendor="Oracle Corporation"
[ 16.241] compiled for 1.20.9, module version = 1.0.1
[ 16.241] Module class: X.Org Video Driver
[ 16.241] ABI class: X.Org Video Driver, version 24.1
[ 16.241] (**) Load address of symbol "VBOXVIDEO" is 0x801a24410
[ 16.241] (II) LoadModule: "modesetting"
[ 16.241] (II) Loading /usr/local/lib/xorg/modules/drivers/modesetting_drv.so
[ 16.243] (II) Module modesetting: vendor="X.Org Foundation"
[ 16.243] compiled for 1.20.9, module version = 1.20.9
[ 16.243] Module class: X.Org Video Driver
[ 16.243] ABI class: X.Org Video Driver, version 24.1
[ 16.243] (II) LoadModule: "scfb"
[ 16.243] (II) Loading /usr/local/lib/xorg/modules/drivers/scfb_drv.so
[ 16.244] (II) Module scfb: vendor="X.Org Foundation"
[ 16.244] compiled for 1.20.7, module version = 0.0.5
[ 16.244] ABI class: X.Org Video Driver, version 24.1
[ 16.244] (II) LoadModule: "vesa"
[ 16.244] (II) Loading /usr/local/lib/xorg/modules/drivers/vesa_drv.so
[ 16.245] (II) Module vesa: vendor="X.Org Foundation"
[ 16.245] compiled for 1.20.9, module version = 2.5.0
[ 16.245] Module class: X.Org Video Driver
[ 16.245] ABI class: X.Org Video Driver, version 24.1
[ 16.245] (II) VBoxVideo: guest driver for VirtualBox: vbox
[ 16.245] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 16.245] (II) scfb: driver for wsdisplay framebuffer: scfb
[ 16.245] (II) VESA: driver for VESA chipsets: vesa
[ 16.246] (--) Using syscons driver with X support (version 2.0)
[ 16.246] (++) using VT number 9

[ 16.246] (WW) Falling back to old probe method for modesetting
[ 16.246] (EE) open /dev/dri/card0: No such file or directory
[ 16.246] (WW) Falling back to old probe method for scfb
[ 16.246] scfb trace: probe start
[ 16.246] scfb trace: probe done
[ 16.246] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 16.246] (II) VBoxVideo(0): VirtualBox guest additions video driver version 6.1
[ 16.246] (II) Loading sub module "ramdac"
[ 16.247] (II) LoadModule: "ramdac"
[ 16.247] (II) Module "ramdac" already built-in
[ 16.247] (II) Loading sub module "fb"
[ 16.247] (II) LoadModule: "fb"
[ 16.247] (II) Loading /usr/local/lib/xorg/modules/libfb.so
[ 16.248] (II) Module fb: vendor="X.Org Foundation"
[ 16.248] compiled for 1.20.9, module version = 1.0.0
[ 16.248] ABI class: X.Org ANSI C Emulation, version 0.4
[ 16.248] (II) Loading sub module "shadowfb"
[ 16.248] (II) LoadModule: "shadowfb"
[ 16.249] (II) Loading /usr/local/lib/xorg/modules/libshadowfb.so
[ 16.249] (II) Module shadowfb: vendor="X.Org Foundation"
[ 16.249] compiled for 1.20.9, module version = 1.0.0
[ 16.250] ABI class: X.Org ANSI C Emulation, version 0.4
[ 16.250] (II) Loading sub module "vgahw"
[ 16.250] (II) LoadModule: "vgahw"
[ 16.250] (II) Loading /usr/local/lib/xorg/modules/libvgahw.so
[ 16.251] (II) Module vgahw: vendor="X.Org Foundation"
[ 16.251] compiled for 1.20.9, module version = 0.1.0
[ 16.251] ABI class: X.Org Video Driver, version 24.1
[ 16.251] (==) VBoxVideo(0): Depth 24, (--) framebuffer bpp 32
[ 16.251] (II) VBoxVideo(0): Virtual size is 32766x32766 (pitch 32766)
[ 16.251] (**) VBoxVideo(0): Built-in mode "800x600": 29.3 MHz (scaled from 0.0 MHz), 36.4 kHz, 60.0 Hz
[ 16.251] (II) VBoxVideo(0): Modeline "800x600"x0.0 29.31 800 802 804 806 600 602 604 606 (36.4 kHz b)
[ 16.251] (**) VBoxVideo(0): Built-in mode "800x600": 29.3 MHz (scaled from 0.0 MHz), 36.4 kHz, 60.0 Hz
[ 16.251] (II) VBoxVideo(0): Modeline "800x600"x0.0 29.31 800 802 804 806 600 602 604 606 (36.4 kHz b)
[ 16.251] (**) VBoxVideo(0): Built-in mode "1920x1080": 125.5 MHz (scaled from 0.0 MHz), 65.2 kHz, 60.0 Hz
[ 16.251] (II) VBoxVideo(0): Modeline "1920x1080"x0.0 125.50 1920 1922 1924 1926 1080 1082 1084 1086 (65.2 kHz b)
[ 16.251] (II) VBoxVideo(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0
[ 16.251] (==) VBoxVideo(0): RGB weight 888
[ 16.251] (==) VBoxVideo(0): Default visual is TrueColor
[ 16.251] (==) VBoxVideo(0): Using gamma correction (1.0, 1.0, 1.0)
[ 16.251] (==) VBoxVideo(0): DPI set to (96, 96)
[ 16.251] (II) UnloadModule: "modesetting"
[ 16.251] (II) Unloading modesetting
[ 16.251] (II) UnloadModule: "scfb"
[ 16.251] (II) Unloading scfb
[ 16.251] (II) UnloadModule: "vesa"
[ 16.252] (II) Unloading vesa
[ 16.260] (II) VBoxVideo(0): Requested monitor count: 1
[ 16.260] (II) VBoxVideo(0): Output VGA-0 has no monitor section
[ 16.260] (II) VBoxVideo(0): Output VGA-0 has no monitor section
[ 16.262] (II) VBoxVideo(0): EDID for output VGA-0
[ 16.262] (II) VBoxVideo(0): Manufacturer: VBX Model: 0 Serial#: 39322400
[ 16.262] (II) VBoxVideo(0): Year: 1990 Week: 1
[ 16.262] (II) VBoxVideo(0): EDID Version: 1.3
[ 16.262] (II) VBoxVideo(0): Digital Display Input
[ 16.262] (II) VBoxVideo(0): Indeterminate output size
[ 16.262] (II) VBoxVideo(0): Gamma: 2.20
[ 16.262] (II) VBoxVideo(0): DPMS capabilities: StandBy Suspend Off
[ 16.262] (II) VBoxVideo(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[ 16.262] (II) VBoxVideo(0): Default color space is primary color space
[ 16.262] (II) VBoxVideo(0): First detailed timing is preferred mode
[ 16.262] (II) VBoxVideo(0): redX: 0.640 redY: 0.330 greenX: 0.300 greenY: 0.600
[ 16.262] (II) VBoxVideo(0): blueX: 0.150 blueY: 0.060 whiteX: 0.312 whiteY: 0.329
[ 16.263] (II) VBoxVideo(0): Manufacturer's mask: 0
[ 16.263] (II) VBoxVideo(0): Supported detailed timing:
[ 16.263] (II) VBoxVideo(0): clock: 29.3 MHz Image Size: 0 x 0 mm
[ 16.263] (II) VBoxVideo(0): h_active: 800 h_sync: 802 h_sync_end 804 h_blank_end 806 h_border: 0
[ 16.263] (II) VBoxVideo(0): v_active: 600 v_sync: 602 v_sync_end 604 v_blanking: 606 v_border: 0
[ 16.263] (II) VBoxVideo(0): Ranges: V min: 0 V max: 200 Hz, H min: 0 H max: 200 kHz, PixClock max 1005 MHz
[ 16.263] (II) VBoxVideo(0): Monitor name: VBOX monitor
[ 16.263] (II) VBoxVideo(0): EDID (in hex):
[ 16.263] (II) VBoxVideo(0): 00ffffffffffff005858000020035802
[ 16.263] (II) VBoxVideo(0): 0100010380000078eeee91a3544c9926
[ 16.263] (II) VBoxVideo(0): 0f505400000001010101010101010101
[ 16.263] (II) VBoxVideo(0): 010101010101720b2006305806200202
[ 16.263] (II) VBoxVideo(0): 2200000000000000000000fd0000c800
[ 16.263] (II) VBoxVideo(0): c864000a202020202020000000fc0056
[ 16.263] (II) VBoxVideo(0): 424f58206d6f6e69746f720a00000010
[ 16.263] (II) VBoxVideo(0): 000a2020202020202020202020200071
[ 16.263] (II) VBoxVideo(0): Printing probed modes for output VGA-0
[ 16.263] (II) VBoxVideo(0): Modeline "1920x1080"x60.0 125.50 1920 1922 1924 1926 1080 1082 1084 1086 (65.2 kHz UPb)
[ 16.263] (II) VBoxVideo(0): Modeline "800x600"x60.0 29.31 800 802 804 806 600 602 604 606 (36.4 kHz Pb)
[ 16.263] (II) VBoxVideo(0): Modeline "2560x1600"x60.0 247.26 2560 2562 2564 2566 1600 1602 1604 1606 (96.4 kHz b)
[ 16.263] (II) VBoxVideo(0): Modeline "2560x1440"x60.0 222.63 2560 2562 2564 2566 1440 1442 1444 1446 (86.8 kHz b)
[ 16.263] (II) VBoxVideo(0): Modeline "2048x1536"x60.0 190.04 2048 2050 2052 2054 1536 1538 1540 1542 (92.5 kHz b)
[ 16.263] (II) VBoxVideo(0): Modeline "1920x1600"x60.0 185.59 1920 1922 1924 1926 1600 1602 1604 1606 (96.4 kHz b)
[ 16.263] (II) VBoxVideo(0): Modeline "1600x1200"x60.0 116.21 1600 1602 1604 1606 1200 1202 1204 1206 (72.4 kHz b)
[ 16.263] (II) VBoxVideo(0): Modeline "1680x1050"x60.0 106.82 1680 1682 1684 1686 1050 1052 1054 1056 (63.4 kHz b)
[ 16.263] (II) VBoxVideo(0): Modeline "1400x1050"x60.0 89.08 1400 1402 1404 1406 1050 1052 1054 1056 (63.4 kHz b)
[ 16.263] (II) VBoxVideo(0): Modeline "1280x1024"x60.0 79.47 1280 1282 1284 1286 1024 1026 1028 1030 (61.8 kHz b)
[ 16.263] (II) VBoxVideo(0): Modeline "1024x768"x60.0 47.83 1024 1026 1028 1030 768 770 772 774 (46.4 kHz b)
[ 16.263] (II) VBoxVideo(0): Modeline "800x600"x60.0 29.31 800 802 804 806 600 602 604 606 (36.4 kHz b)
[ 16.263] (II) VBoxVideo(0): Modeline "640x480"x60.0 18.84 640 642 644 646 480 482 484 486 (29.2 kHz b)
[ 16.263] (II) VBoxVideo(0): Output VGA-0 connected
[ 16.264] (II) VBoxVideo(0): Using user preference for initial modes
[ 16.264] (II) VBoxVideo(0): Output VGA-0 using initial mode 1920x1080 +0+0
[ 16.265] (==) VBoxVideo(0): DPMS enabled
[ 16.266] (II) Initializing extension Generic Event Extension
[ 16.266] (II) Initializing extension SHAPE
[ 16.266] (II) Initializing extension MIT-SHM
[ 16.266] (II) Initializing extension XInputExtension
[ 16.270] (II) Initializing extension XTEST
[ 16.270] (II) Initializing extension BIG-REQUESTS
[ 16.270] (II) Initializing extension SYNC
[ 16.271] (II) Initializing extension XKEYBOARD
[ 16.271] (II) Initializing extension XC-MISC
[ 16.271] (II) Initializing extension SECURITY
[ 16.271] (II) Initializing extension XFIXES
[ 16.272] (II) Initializing extension RENDER
[ 16.272] (II) Initializing extension RANDR
[ 16.272] (II) Initializing extension COMPOSITE
[ 16.273] (II) Initializing extension DAMAGE
[ 16.273] (II) Initializing extension MIT-SCREEN-SAVER
[ 16.273] (II) Initializing extension DOUBLE-BUFFER
[ 16.273] (II) Initializing extension RECORD
[ 16.274] (II) Initializing extension DPMS
[ 16.274] (II) Initializing extension Present
[ 16.274] (II) Initializing extension DRI3
[ 16.274] (II) Initializing extension X-Resource
[ 16.274] (II) Initializing extension XVideo
[ 16.275] (II) Initializing extension XVideo-MotionCompensation
[ 16.275] (II) Initializing extension GLX
[ 16.275] (II) AIGLX: Screen 0 is not DRI2 capable
[ 16.752] (II) IGLX: Loaded and initialized swrast
[ 16.752] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 16.752] (II) Initializing extension XFree86-VidModeExtension
[ 16.753] (II) Initializing extension XFree86-DGA
[ 16.753] (II) Initializing extension XFree86-DRI
[ 16.753] (II) Initializing extension DRI2
[ 16.753] (II) VBoxVideo(0): Setting screen physical size to 508 x 285
[ 16.897] (II) config/udev: Adding input device System keyboard multiplexer (/dev/input/event0)
[ 16.897] (**) System keyboard multiplexer: Applying InputClass "Evdev keyboard"
[ 16.897] (**) System keyboard multiplexer: Applying InputClass "libinput keyboard catchall"
[ 16.897] (**) System keyboard multiplexer: Applying InputClass "KeyboardDefaults"
[ 16.897] (II) LoadModule: "libinput"
[ 16.897] (II) Loading /usr/local/lib/xorg/modules/input/libinput_drv.so
[ 16.908] (II) Module libinput: vendor="X.Org Foundation"
[ 16.908] compiled for 1.20.9, module version = 0.30.0
[ 16.908] Module class: X.Org XInput Driver
[ 16.908] ABI class: X.Org XInput driver, version 24.1
[ 16.908] (II) Using input driver 'libinput' for 'System keyboard multiplexer'
[ 16.908] (**) System keyboard multiplexer: always reports core events
[ 16.908] (**) Option "Device" "/dev/input/event0"
[ 16.908] (**) Option "_source" "server/udev"
[ 16.928] (II) event0 - System keyboard multiplexer: is tagged by udev as: Keyboard
[ 16.928] (II) event0 - System keyboard multiplexer: device is a keyboard
[ 16.929] (II) event0 - System keyboard multiplexer: device removed
[ 16.929] (**) Option "config_info" "udev:/dev/input/event0"
[ 16.929] (II) XINPUT: Adding extended input device "System keyboard multiplexer" (type: KEYBOARD, id 6)
[ 16.929] (**) Option "xkb_rules" "evdev"
[ 16.929] (**) Option "xkb_layout" "fr"
[ 16.929] (**) Option "xkb_variant" "oss"
[ 16.965] (II) event0 - System keyboard multiplexer: is tagged by udev as: Keyboard
[ 16.965] (II) event0 - System keyboard multiplexer: device is a keyboard
[ 16.966] (II) config/udev: Adding input device System mouse (/dev/input/event1)
[ 16.966] (**) System mouse: Applying InputClass "libinput pointer catchall"
[ 16.966] (II) Using input driver 'libinput' for 'System mouse'
[ 16.966] (**) System mouse: always reports core events
[ 16.966] (**) Option "Device" "/dev/input/event1"
[ 16.966] (**) Option "_source" "server/udev"
[ 16.967] (II) event1 - System mouse: is tagged by udev as: Mouse
[ 16.967] (II) event1 - System mouse: device is a pointer
[ 16.967] (II) event1 - System mouse: device removed
[ 16.967] (**) Option "config_info" "udev:/dev/input/event1"
[ 16.967] (II) XINPUT: Adding extended input device "System mouse" (type: MOUSE, id 7)
[ 16.968] (**) Option "AccelerationScheme" "none"
[ 16.968] (**) System mouse: (accel) selected scheme none/0
[ 16.968] (**) System mouse: (accel) acceleration factor: 2.000
[ 16.968] (**) System mouse: (accel) acceleration threshold: 4
[ 16.968] (II) event1 - System mouse: is tagged by udev as: Mouse
[ 16.969] (II) event1 - System mouse: device is a pointer
[ 16.969] (II) config/udev: Adding input device AT keyboard (/dev/input/event2)
[ 16.969] (**) AT keyboard: Applying InputClass "Evdev keyboard"
[ 16.969] (**) AT keyboard: Applying InputClass "libinput keyboard catchall"
[ 16.969] (**) AT keyboard: Applying InputClass "KeyboardDefaults"
[ 16.969] (II) Using input driver 'libinput' for 'AT keyboard'
[ 16.969] (**) AT keyboard: always reports core events
[ 16.969] (**) Option "Device" "/dev/input/event2"
[ 16.969] (**) Option "_source" "server/udev"
[ 16.970] (II) event2 - AT keyboard: is tagged by udev as: Keyboard
[ 16.970] (II) event2 - AT keyboard: device is a keyboard
[ 16.970] (II) event2 - AT keyboard: device removed
[ 16.970] (**) Option "config_info" "udev:/dev/input/event2"
[ 16.970] (II) XINPUT: Adding extended input device "AT keyboard" (type: KEYBOARD, id 8)
[ 16.970] (**) Option "xkb_rules" "evdev"
[ 16.970] (**) Option "xkb_layout" "fr"
[ 16.971] (**) Option "xkb_variant" "oss"
[ 16.971] (II) event2 - AT keyboard: is tagged by udev as: Keyboard
[ 16.972] (II) event2 - AT keyboard: device is a keyboard
[ 16.972] (II) config/udev: Adding input device IntelliMouse Explorer (/dev/input/event3)
[ 16.972] (**) IntelliMouse Explorer: Applying InputClass "libinput pointer catchall"
[ 16.972] (II) Using input driver 'libinput' for 'IntelliMouse Explorer'
[ 16.972] (**) IntelliMouse Explorer: always reports core events
[ 16.972] (**) Option "Device" "/dev/input/event3"
[ 16.972] (**) Option "_source" "server/udev"
[ 16.979] (II) event3 - IntelliMouse Explorer: is tagged by udev as: Mouse
[ 16.979] (II) event3 - IntelliMouse Explorer: device is a pointer
[ 16.980] (II) event3 - IntelliMouse Explorer: device removed
[ 17.006] (**) Option "config_info" "udev:/dev/input/event3"
[ 17.006] (II) XINPUT: Adding extended input device "IntelliMouse Explorer" (type: MOUSE, id 9)
[ 17.006] (**) Option "AccelerationScheme" "none"
[ 17.006] (**) IntelliMouse Explorer: (accel) selected scheme none/0
[ 17.006] (**) IntelliMouse Explorer: (accel) acceleration factor: 2.000
[ 17.006] (**) IntelliMouse Explorer: (accel) acceleration threshold: 4
[ 17.013] (II) event3 - IntelliMouse Explorer: is tagged by udev as: Mouse
[ 17.014] (II) event3 - IntelliMouse Explorer: device is a pointer
[ 17.014] (II) config/udev: Adding input device (unnamed) (/dev/vboxguest)
[ 17.014] (II) LoadModule: "vboxmouse"
[ 17.014] (II) Loading /usr/local/lib/xorg/modules/input/vboxmouse_drv.so
[ 17.027] (II) Module vboxmouse: vendor="Oracle Corporation"
[ 17.027] compiled for 0.0.0, module version = 1.0.0
[ 17.027] Module class: X.Org XInput Driver
[ 17.027] ABI class: X.Org XInput driver, version 24.1
[ 17.027] (**) Load address of symbol "VBOXMOUSE" is 0x80a86dda8
[ 17.027] (II) Using input driver 'vboxmouse' for '(unnamed)'
[ 17.027] (**) (unnamed): always reports core events
[ 17.027] (**) Option "Device" "/dev/vboxguest"
[ 17.027] (**) (unnamed): Device: "/dev/vboxguest"
[ 17.028] (**) Option "config_info" "udev:/dev/vboxguest"
[ 17.028] (II) XINPUT: Adding extended input device "(unnamed)" (type: MOUSE, id 10)
[ 17.028] (**) (unnamed): (accel) keeping acceleration scheme 1
[ 17.028] (**) (unnamed): (accel) acceleration profile 0
[ 17.028] (**) (unnamed): (accel) acceleration factor: 2.000
[ 17.028] (**) (unnamed): (accel) acceleration threshold: 4
[ 17.028] (II) (unnamed): On.
[ 17.028] (II) VBoxVideo(0): EDID vendor "VBX", prod id 0
[ 17.029] (II) VBoxVideo(0): DDCModeFromDetailedTiming: 800x600 Warning: We only handle separate sync.
[ 17.029] (II) VBoxVideo(0): Using hsync ranges from config file
[ 17.029] (II) VBoxVideo(0): Using vrefresh ranges from config file
[ 17.029] (II) VBoxVideo(0): Printing DDC gathered Modelines:
[ 17.029] (II) VBoxVideo(0): Modeline "800x600"x0.0 29.30 800 802 804 806 600 602 604 606 -hsync -vsync (36.4 kHz eP)
[ 19.340] (II) VBoxVideo(0): EDID vendor "VBX", prod id 0
[ 19.340] (II) VBoxVideo(0): DDCModeFromDetailedTiming: 800x600 Warning: We only handle separate sync.
[ 19.340] (II) VBoxVideo(0): Using hsync ranges from config file
[ 19.340] (II) VBoxVideo(0): Using vrefresh ranges from config file
[ 19.340] (II) VBoxVideo(0): Printing DDC gathered Modelines:
[ 19.340] (II) VBoxVideo(0): Modeline "800x600"x0.0 29.30 800 802 804 806 600 602 604 606 -hsync -vsync (36.4 kHz eP)
[ 19.341] (II) VBoxVideo(0): EDID vendor "VBX", prod id 0
[ 19.341] (II) VBoxVideo(0): DDCModeFromDetailedTiming: 800x600 Warning: We only handle separate sync.
[ 19.341] (II) VBoxVideo(0): Using hsync ranges from config file
[ 19.341] (II) VBoxVideo(0): Using vrefresh ranges from config file
[ 19.341] (II) VBoxVideo(0): Printing DDC gathered Modelines:
[ 19.341] (II) VBoxVideo(0): Modeline "800x600"x0.0 29.30 800 802 804 806 600 602 604 606 -hsync -vsync (36.4 kHz eP)
[ 23.406] (II) VBoxVideo(0): EDID vendor "VBX", prod id 0
[ 23.407] (II) VBoxVideo(0): DDCModeFromDetailedTiming: 800x600 Warning: We only handle separate sync.
[ 23.407] (II) VBoxVideo(0): Using hsync ranges from config file
[ 23.407] (II) VBoxVideo(0): Using vrefresh ranges from config file
[ 23.407] (II) VBoxVideo(0): Printing DDC gathered Modelines:
[ 23.407] (II) VBoxVideo(0): Modeline "800x600"x0.0 29.30 800 802 804 806 600 602 604 606 -hsync -vsync (36.4 kHz eP)
[ 24.730] (II) event0 - System keyboard multiplexer: device removed
[ 24.730] (II) event1 - System mouse: device removed
[ 24.730] (II) event2 - AT keyboard: device removed
[ 24.730] (II) event3 - IntelliMouse Explorer: device removed
[ 24.757] (II) (unnamed): Off.

The attached file is the Xorg log with VMSVGA as graphic adapter.
 

Attachments

  • Xorg.vmware.txt
    37.2 KB · Views: 162
I noticed this behavior yesterday. I had previously installed the updated additions without this issue so I don’t know what happened. I didn’t have time to troubleshoot, other than a “me too” I can’t add anything
 
Thanks, jardows. You say that you have installed virtualbox-ose-additions-6.1.18 before and it was working but not anymore? I don't really understand what you mean, unless you have several VM.

No one else has the same problem?
 
Me too as well, and me too had no time to investigate, and needed to disable the guest additions.
 
Thanks, jardows. You say that you have installed virtualbox-ose-additions-6.1.18 before and it was working but not anymore? I don't really understand what you mean, unless you have several VM.

No one else has the same problem?
Same VM. When I initially installed it, everything was working. Then on Friday I started up my VM, and it was having the same problem you described. I didn't change anything, which is what makes it so strange.
 
After another try with the virtualbox-ose-additions-6.1.18 my installation of FreeBSD 12.2-RELEASE-p4 is somehow borked now. GNOME 3 does not start anymore with or without said additions enabled. I am now restoring it from a snapshot, and I will install emulators/virtualbox-ose-additions-legacy. These are the old v5.2.44 ones.
 
Success! Now also with the new emulators/virtualbox-ose-additions v6.1.18.

I vaguely remembered that some weeks ago I read somewhere, that it is important to orderly finish the desktop session before deleting the old and installing the new virtualbox-ose-additions. I cannot find this anymore, but I am sure that I did not dream reading it. Anyway this worked out. I started with the almost identical snapshot, which had still the old additions installed. In order to be really on the narrow road of said hint, I did the following:

1. deactivate the vbox entries in /etc/rc.conf
2. restart into the GNOME desktop
3. delete the old additions
4. restart into the GNOME desktop again
5. install the new addions and activate the vbox entries in /etc/rc.conf
6. restart into the GNOME desktop again, now with the working new additions

Now everything is working fine. Most probably, step 4 was not necessary. But so what, its done and everything is working now.
 
Success! Now also with the new emulators/virtualbox-ose-additions v6.1.18.

I vaguely remembered that some weeks ago I read somewhere, that it is important to orderly finish the desktop session before deleting the old and installing the new virtualbox-ose-additions. I cannot find this anymore, but I am sure that I did not dream reading it. Anyway this worked out. I started with the almost identical snapshot, which had still the old additions installed. In order to be really on the narrow road of said hint, I did the following:

1. deactivate the vbox entries in /etc/rc.conf
2. restart into the GNOME desktop
3. delete the old additions
4. restart into the GNOME desktop again
5. install the new addions and activate the vbox entries in /etc/rc.conf
6. restart into the GNOME desktop again, now with the working new additions

Now everything is working fine. Most probably, step 4 was not necessary. But so what, its done and everything is working now.
Sorry, but this doesn't work for me. I get the same as before.
And even if it worked, there is a bug somewhere.
 
For what it's worth, though somewhat off the subject--on a CentOS host, when I install a FreeBSD VirtualBox, I can't get X until I install the xf86-video-vmware package on the FreeBSD guest. I had installed ose-guest-additions but no X. . This is for the older version of guest additions, but I wonder if it's worth a shot? (I don't remember where I found this solution, but awhile ago, even after installing the virtualbox additions, X wouldn't start on the guest, and somewhere, someone suggested the vmware video driver. I don't use FreeBSD on VBox very often, usually only to test something, so I don't know how consistent this result is, but, I'd say, for me, on a T495 Thinkpad, a few times in the last few months, it's been necessary to use the vmware video drivers. The CentOS version of VirtualBox is the latest from VirtualBox's site, 6.1.18
 
Sorry, but this doesn't work for me. I get the same as before.
And even if it worked, there is a bug somewhere.
In your initial post, you wrote „I got a blank screen instead of Lxde.“

I use GNOME 3 via x11/gdm, and initially, until I found my solution, already X11 crashed and I didn’t even come to login a user. Now, after everything seemed to work fine, I had a problem with one user only, namely after logging in, the screen went almost immediately black. May it be that this black screen is the same as your blank screen. If this is the case, then the solution is easy. With the new additions, the users must be member of the wheel group, so I issued for the non-working user # pw groupmod wheel -m <black-screen-user>, and voilà everything is working well.
 
All my users are members of the wheel group since my first steps with FreeBSD.

I use slim in autologin mode. Maybe there is something to look there. I didn't even try to launch Lxde by hand.

That being said, it works with the previous version of virtualbox-ose-additions. So, I think this package is somewhat broken.

Just wonder if someone will work on this subject... Can't keep a package locked for too long as drawbacks will certainly come, soon or late.

PS: precisely, it's a black screen with VBoxVGA and a... gray screen with VMSVGA.
 
For what it's worth, though somewhat off the subject--on a CentOS host, when I install a FreeBSD VirtualBox, I can't get X until I install the xf86-video-vmware package on the FreeBSD guest. I had installed ose-guest-additions but no X. . This is for the older version of guest additions, but I wonder if it's worth a shot? (I don't remember where I found this solution, but awhile ago, even after installing the virtualbox additions, X wouldn't start on the guest, and somewhere, someone suggested the vmware video driver. I don't use FreeBSD on VBox very often, usually only to test something, so I don't know how consistent this result is, but, I'd say, for me, on a T495 Thinkpad, a few times in the last few months, it's been necessary to use the vmware video drivers. The CentOS version of VirtualBox is the latest from VirtualBox's site, 6.1.18
Thats very interesting.
Because, I asked myself what kind of "video adapter" virtualbox provides.

VMware has its own PCI vendor ID (15AD). Two device IDs are listed for this PCI vendor:
'0405' => 'VMWARE0405 SVGA II Adapter'
'0710' => 'VMWARE0710 SVGA Adapter'

These are being dispatched by the x11-drivers/xf86-video-vmware.

I wonder what virtualbox displays at pciconf -lv | grep -A4 vgapci.
And I'd be curious whether this changes if the ose extensions are installed.

(I didn't yet install virtualbox for my tests. But I post this because it might give potential hint at potential problem, and in this case my post might be not OT, but very on-topic...)
 
I wonder what virtualbox displays at pciconf -lv | grep -A4 vgapci.
Code:
 # pciconf -lv | grep -A4 vgapci
vgapci0@pci0:0:2:0:    class=0x030000 card=0x040515ad chip=0x040515ad rev=0x00 hdr=0x00
    vendor     = 'VMware'
    device     = 'SVGA II Adapter'
    class      = display
    subclass   = VGA
I don’t use this, because with that one the virtual screen size is fixed to 800 x 600, while by using the VBoxSVGA adapter, I may adjust any virtual screen size which suits my needs.
Code:
# pciconf -lv | grep -A4 vgapci
vgapci0@pci0:0:2:0:    class=0x030000 card=0x040515ad chip=0xbeef80ee rev=0x00 hdr=0x00
    vendor     = 'InnoTek Systemberatung GmbH'
    device     = 'VirtualBox Graphics Adapter'
    class      = display
    subclass   = VGA
 
Thank you obsigna for your detailing.
This was extremely helpful to me understanding things about VirtualBox and graphics configuration.

Maybe it is okay if I tell some findings, they might help in case somebody later reads this thread.
With the new additions, the users must be member of the wheel group, so I issued for the non-working user # pw groupmod wheel -m <black-screen-user>, and voilà everything is working well.
Actually, according to the package info, this appears to be also necessary for the emulators/virtualbox-ose-additions-legacy legacy driver.
Edit: The new package info seems to be not correct for the -legacy port, as obsigna confirmed expressly that it was/is never necessary with the old/legacy version.
You don’t need to lock the package. Just deinstall it, and install emulators/virtualbox-ose-additions-legacy instead. Currently legacy is v5.2.44, it may even be, that this one receives updates from upstream.
To me this seems like that an orderly clean-up is necessary, making sure nothing still uses part of the old module, so it can be unloaded or whatever. So maybe it is indeed no bug, but rather should be considered as possible lack of important information in the package notes.
Maybe it could help many people if instructions for a "clean" upgrade, as you described it, would be added.

I'd like also to point out the real purpose of the emulators/virtualbox-ose-additions-legacy port:
commit note of 09 Mar 2021 by madpilot said:
Please note that this new version [6.1.18] supports only amd64 CPUs.
If you need to use older hardware please install the legacy ports.

So the -legacy driver is actually meant for i386 32-bit systems.
 
Thank you for the clarification/confirmation, obsigna .
This might be another of the (confounding) cases where legacy packages' notes have not been preserved, but just replaced by the, in this case, incorrect infos applying to the *new* package.
(Such is very common with video drivers and this caused me a lot of difficulties trying to understand what actually has to be done.)

I have edited the post above to reflect/correct this.
 
BTW: That user was not in wheel by purpose, because, I used this distinction to tell apart admin users which may use sudo(8) from restricted users which may not. For the very system in the VirtualBox this does not have any practical effect, since I am the only real user. Only, this system is meant to be my prototype for installations which I ship to customers on real hardware. And there I must maintain the distinction between admin and non-admin users.

Why the group wheel? Because in /usr/local/etc/sudoers, I saw the two lines:
Code:
## Uncomment to allow members of group wheel to execute any command
# %wheel ALL=(ALL) ALL

Perfect, a no-brainer which served my needs. Now, I need either to remember removing that unrestricted user from wheel before shipping a system, or I create a new group, e.g. admin and add a similar entry to sudoers.

Anyway, I still feel uncomfortable to be urged to put all users into wheel, this would defeat the purpose of wheel, won’t it? Now back to the vbox additions, wouldn’t it be better to adjust the access rights of some of it to allow non-wheel users utilizing it?
 

Update to virtualbox-ose-additions-6.1.18 killed Xorg​


Does the issue only occur with an upgrade to emulators/virtualbox-ose-additions, from 5.2.24_3?

<https://www.freshports.org/emulators/virtualbox-ose-additions/#history>

With an installation:

2021-04-21 15:18:05.png
 
I don't know but since, I live on virtualbox-ose-addition-legacy.

Upgraded the VM to 13.0-RELEASE then removed virtualbox-ose-addition-legacy and installed the 6.1.18 version: got exactly the same problem.

Nothing special in logs, just the screen which stays black or gray, depending on the video driver.
And I have an amd64 processor.
 

… killed Xorg​

The problem is not so broad.

Please:
  • what do LXDE and Plasma have in common?
On FreeBSD 13.0-RELEASE with x11/kde5 5.20.5.20.12.3, x11/lxde-meta 1.0_8 and x11/sddm 0.19.0_1 from quarterly, using sddm to log in:
  1. Openbox, User Session, LXDE and Plasma work with emulators/virtualbox-ose-additions-legacy 5.2.44_3
  2. Openbox and User Session work with emulators/virtualbox-ose-additions 6.1.18; LXDE and Plasma do not
– screenshots below.

2021-04-21 16:49:30.png


2021-04-21 16:51:32.png


2021-04-21 16:53:30.png


With Plasma, the most frequent visual symptom is no progress beyond the splash screen:

2021-04-21 16:59:36.png


– sometimes the splash will disappear once then reappear. This type of brief disappearance sometimes happens when Plasma starts normally, it's probably negligible in this context. More relevant to focus on log files.

I first noticed a problem affecting Plasma after the 13th April editions of Quick start; there were discussions in #kde-freebsd on freenode.
 
The problem is reproducible here under the conditions that the FreeBSD 13.0-RELEASE VM's graphics controller is set to VMSVGA and the vmware driver from x11-drivers/xf86-video-vmware is loaded: Black screen.

If the graphics controller is set to VBoxSVGA or VBoxVGA and the vboxvideo driver from emulators/virtualbox-ose-additions is loaded Xorg (and LXDE ) is starting fine.

If the vmware driver is installed and the controller is set to VMSVGA it is picked up automatic. Without the vmware driver installed Xorg won't start under VMSVGA.

The screenshot below is of a 13.0-RELEASE guest (upgraded from RC3->RC5) on a 12.2-RELEASE host, VirtualBox 6.1.18, x11/lxde-meta installed.

The VM's display graphics controller is set to VBoxSVGA (VBoxVGA is also fine), emulators/virtualbox-ose-additions 6.1.18 and all other packages are installed from latest repository, no Xorg configuration.

For screen resizing or full-screen mode the user must be in the wheel group and can run VBoxClient-all or VBoxClient --vmsvga. See all in LXTerminal from screenshot. Xorg is initialized from console with startx.

lxde.png
 
Back
Top