Ticket #16604 (new defect)

Opened 5 years ago

Last modified 2 months ago

Plasma 5 screen scaling on 4K monitor causes Windows guest to be 1/4 size of window.

Reported by: Raydude Owned by:
Component: GUI Version: VirtualBox 5.1.16
Keywords: graphics scaling plasma kde Cc:
Guest type: Windows Host type: Linux


This is a very specific bug to KDE / Plasma 5.

I have a laptop with a 4K display. KDE / Plasma 5 are not yet suited to the resolution. To help with icon size I selected System Settings => Display and Monitor => Scaled Display (button) and set the scale to 2.0.

This doubled all my icons nicely, but within the Windows 10 VM, the graphics were scaled to half resolution on both axes, but were not scaled back up to fill the screen. Mouse clicking was difficult because they were based on the full size of the window but the graphics were 1/2 size.

This is a small issue as I just turned of the Plasma feature to fix VirtualBox. And since it limits display resolution, it's probably not a good fix for the small icons.

Change History

comment:1 Changed 5 years ago by mhlavac

As workaround use this:

  1. Compute reverse ratio as 1 / SCALE_IN_PLASMA (in your case 1 / 2 = 0.5)
  2. Run vbox as export QT_SCALE_FACTOR=0.5; VirtualBox --startvm vm-name

No it uses native resolution and you can use scaling feature in vbox to resize. It looks much better

comment:2 Changed 2 months ago by sputniczek

After many years I encountered the same problem Main VirtualBox windows is blurry.

Host: arch linux Guest: kali linux hardware: acer spin 5 with HiDPI screen system scaling: 200%

The workaround from this ticket doesn't work for me.

VirtualBox --startvm vm-name

Doesn't work anymore, but I adopted it to current system I did:

export QT_SCALE_FACTOR=0.5
vboxmanage startvm "Kali-Linux-2021.3-vbox-amd64"

Virtual machine is starting, but it's not using native resolution. Instead, the VM window is blurry and it seems that is out of my screen.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use