On Fri, 14 Aug 2020 10:07:48 +0100 Sam Morris <[email protected]> wrote:
> Package: virtualbox-guest-x11
> Version: 6.1.12-dfsg-9
> Severity: important
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> VirtualBox guest additions now includes a VBoxDRMClient program that
> is missing from the Debian package.
> 
> I believe this is used for 3d acceleration under Wayland. I've not
> had a change to switch over to Wayland to confirm yet.

In at least VirtualBox 7 and higher, this executable is used to notify
the VMSVGA driver that the virtual display's size has changed. This
data then propagates down to userspace via udev events, which
presumably can then use that information to dynamically resize the
display. Under X11, VirtualBox's guest additions appear to fall back to
some other way of sending these notifications, but in CLI-only sessions
and some Wayland compositors, this isn't possible and thus userspace
simply doesn't know the display changed size as a result of the missing
executable.

This issue affects Debian Trixie, and is making it difficult for me to
set up labwc to dynamically change its resolution under VirtualBox
using Debian's version of the VirtualBox guest additions.

--
Aaron

> Note that upstream installs VBoxDRMClient setuid root and activates it
> from VBoxClient --vmsvga; Fedora patch their package to drop the
> setuid bit, launch VBoxDRMClient as a systemd service, and activate
> the service by udev rules. These changes can be found at
> <https://www.virtualbox.org/ticket/19647>.
> 
> - -- System Information:
> Debian Release: bullseye/sid
>   APT prefers testing
>   APT policy: (530, 'testing'), (520, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: arm64
> 
> Kernel: Linux 5.7.0-2-amd64 (SMP w/2 CPU threads)
> Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
> Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
> LANGUAGE not set Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages virtualbox-guest-x11 depends on:
> ii  libc6                                  2.31-3
> ii  libnotify-bin                          0.7.9-1
> ii  libx11-6                               2:1.6.10-3
> ii  libxext6                               2:1.3.3-1+b2
> ii  libxmu6                                2:1.1.2-2+b3
> ii  libxt6                                 1:1.1.5-1+b3
> ii  virtualbox-guest-utils                 6.1.12-dfsg-9
> ii  x11-xserver-utils                      7.7+8
> ii  xserver-xorg-core [xorg-video-abi-24]  2:1.20.8-2
> 
> virtualbox-guest-x11 recommends no packages.
> 
> virtualbox-guest-x11 suggests no packages.
> 
> - -- Configuration Files:
> /etc/X11/Xsession.d/98vboxadd-xclient changed [not included]
> 
> - -- no debconf information
> 
> -----BEGIN PGP SIGNATURE-----
> 
> iQJGBAEBCAAwFiEEyqqqGsppqDqJKxhV0gtCAlzaJ7kFAl82VF8SHHNhbUByb2Jv
> dHMub3JnLnVrAAoJENILQgJc2ie5KBkP/RCmH8TOFHyNCqJtYSM3rf5iy6fHF/Bu
> i8BVWf0RmHxI5TmYH48vXKz7WWkUnumMbP1BKehPCAmDVFiZ9cZt1adpkK9OCcrw
> /cSFhvvikcFYWi0ywYCPQ9Dnzt+XwqBIk/q2gxkylorL2QxOYD5lyJ4I7W8aLkXh
> m23APTwOkHXIdt81od5jS8E2RrbYRwrDmJSVrihuhJzMPuNp7pZ5REkSbcjwPhF6
> l0V9YWmoy4mZjuccW4u0Ajh2e5OO8fj4mtVwCelP85wstuKVN4dE0je4RtuOHCTD

Attachment: pgpVnv5vFANPb.pgp
Description: OpenPGP digital signature

Reply via email to