Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VirtualBox and HiDPI screen tip
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Wed Feb 14, 2018 9:18 pm    Post subject: VirtualBox and HiDPI screen tip Reply with quote

I was struggling to get VirtualBox (booting Kali) looking proper on my HiDPI screen. VirtualBox appears to be scaling everything automatically 2x the size, which is undesirable as everything looked big, blurry, and pixelated. There is apparently an option in VirtualBox to prevent this auto-scaling for HiDPI screens "Use Unscaled HiDPI Output" but that option is not available within the build in portage.

Scaling the display inside VirtualBox either rendered the virtual screen completely black or everything would appear blurry. Instead I decided to scale the native X display then start VirtualBox. This works good enough for me and although it's not a HiDPI resolution the display looks about what you would expect on a standard screen.

Start a second X:
Code:
startx -- :1 vt8


Scale screen to half the size:
Code:
xrandr --output eDP1 --scale 0.5x0.5

Then start VirtualBox.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum