Display scaling not working in Manjaro guest running kernel 5.2 in VirtualBox

I upgraded the kernel to 5.4. The problem that autoscaling doesn't work persists.
$ sudo dmesg does not give me any errors.

$ sudo /usr/lib/systemd//systemd-modules-load gives me no erors either. I have no dkms installed.

What might be wrong here?

What DE, my experience is it works only on KDE, GNOME, XFCE4.

I use xfce in the guest and kde in the host.

In the guest can we see:

pacman -Qs virtual
systemctl status vboxservice.service
uname -sr

What graphics controller do you use, and is your host linux as well?

Can you check that the vboxvideo module is loaded in the guest (e.g. lsmod | grep vbox)? If not, load it with modprobe vboxvideo.

$ uname -sr
Linux 5.4.34-1-MANJARO
$ systemctl status vboxservice.service
● vboxservice.service - VirtualBox Guest Service
     Loaded: loaded (/usr/lib/systemd/system/vboxservice.service; disabled; v>
     Active: inactive (dead)
$ pacman -Qs virtual 
local/gvfs 1.44.1-1 (gnome)
    Virtual filesystem implementation for GIO
local/gvfs-afc 1.44.1-1 (gnome)
    Virtual filesystem implementation for GIO (AFC backend; Apple mobile
    devices)
local/gvfs-gphoto2 1.44.1-1 (gnome)
    Virtual filesystem implementation for GIO (gphoto2 backend; PTP camera,
    MTP media player)
local/gvfs-mtp 1.44.1-1 (gnome)
    Virtual filesystem implementation for GIO (MTP backend; Android, media
    player)
local/gvfs-nfs 1.44.1-1 (gnome)
    Virtual filesystem implementation for GIO (NFS backend)
local/gvfs-smb 1.44.1-1 (gnome)
    Virtual filesystem implementation for GIO (SMB/CIFS backend; Windows
    client)
local/lib32-llvm-libs 10.0.0-1
    Low Level Virtual Machine (runtime library)(32-bit)
local/linux414-virtualbox-guest-modules 6.1.6+obsolete-1 (linux414-extramodules)
    Guest kernel modules for VirtualBox
local/linux54-virtualbox-guest-modules 6.1.6-4 (linux54-extramodules)
    Guest kernel modules for VirtualBox
local/openvpn 2.4.9-2
    An easy-to-use, robust and highly configurable VPN (Virtual Private
    Network)
local/virtualbox-guest-utils 6.1.6-1
    VirtualBox Guest userspace utilities
local/vte3 0.60.1-1
    Virtual Terminal Emulator widget

Those are good pointers.

I got the service to run with $ systemctl start vboxservice

I also enabled it now:

$ systemctl enable vboxservice.service
Created symlink /etc/systemd/system/multi-user.target.wants/vboxservice.service → /usr/lib/systemd/system/vboxservice.service.

Will reboot to see if that works [edit: nope]

1 Like

If the vboxservice wasn't running, that means the guest utils weren't running.

Its all quite strange. I set the graphics adapter too the most dumb one (vboxvga).

afbeelding

$ mhwd -li
Installed PCI configs:


              NAME               VERSION          FREEDRIVER           TYPE

  video-virtualbox            2018.11.25                true            PCI

EDIT 1
Fixing/Improving Virtual Machine support (use vboxsvga) seems to contradict Can't auto-resize guest display in VirtualBox (use VBoxVGA).
Not sure about the recommended graphics adapter now..


EDIT 2

$ sudo mhwd -r pci video-vmware
Error: config 'video-vmware' is not installed!

$ sudo mhwd -i pci video-virtualbox
Error: config 'video-virtualbox' does not exist!


EDIT 3
Remvoed video-virtualbox in the hope to install it later, but now i have video-virtualmachine installed and I cannot install video-virtualbox anymore..

Video-virtualmachine replaces video-virtualbox.

1 Like

Ah thx, it doesn't take away the issue nonetheless.

Does anybody know the as per Manjaro recommended settings? No combination acutally makes auto-resizing works. Some combination gray out that item alltogether in the menu.

Manjaro and VirtualBox have different ideas about the recommend graphical adapter. None works.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by