Sample Header Ad - 728x90

How to enable high DPI display scaling in KVM guest?

0 votes
1 answer
111 views
I've just got brand new Lenovo P1 gen7 with 16" with decent 3840x2400 resolution. Fedora 42 handles it pretty well: it let me set up scaling to whatever suits me, and that's all. However KVM guest does not seem to read the screen size properly. Vm's icons and texts are extremely tiny. It's just annoyng to set it up internally for every VM I'm runnig and change it every time I start it on other display. Is it possible to make qemu/KVM/libvirt somehow report the accual size of the window/screen in DPI or mm, so VM could decide if it should run on 1:1 or in scaling mode in more-less automatic manner?
Asked by marcinek (3 rep)
May 11, 2025, 01:53 PM
Last activity: May 11, 2025, 02:05 PM