QEMU Windowed Max Screen Resolution

Questions about virtualization software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
MintMagoo
Level 2
Level 2
Posts: 50
Joined: Fri Feb 09, 2024 6:05 am

QEMU Windowed Max Screen Resolution

Post by MintMagoo »

With VMWare Player and Virtual Box you can get a max screen resolution of 1918 x 942 for a 1920 x 1080 screen when the window is maximized instead of full screen.

Last time I tried QEMU I was not able to get that kind of resolution and ended up with large black bars on the side.

I'm want to try QEMU again, but wanted to know if it was possible to get full screen resolution using QEMU in a max'd window.
MintMagoo
Level 2
Level 2
Posts: 50
Joined: Fri Feb 09, 2024 6:05 am

Re: QEMU Windowed Max Screen Resolution

Post by MintMagoo »

I was able to get what I want for resolution. But it looks like bridged networking with WiFi is basically an unsupported nightmare with QEMU.
MintMagoo
Level 2
Level 2
Posts: 50
Joined: Fri Feb 09, 2024 6:05 am

Re: QEMU Windowed Max Screen Resolution

Post by MintMagoo »

It looks like as long as spice-vdagent and qemu-guest-agent are installed QEMU does create the proper size for windowed views, 1920x935 if using the tool bar, 1920x980 without.

I am a little confused about refresh rate though.

The host I am running on and viewing through is running Mint Edge with a refresh rate of 60 Hz. Most of the VM's I have are minimal Debian w/ Cinnamon as desktop. The Display setting for 1920x1080 is also 60Hz. But the Hz for 1920x980 or 1920x935 are both 75 Hz.

I don't really understand the affect if I am displaying the VM in windowed mode with a refresh rate of 75 Hz and the host screen is 65 Hz.

Can anyone tell me what my screen is really receiving, 60 Hz or 75 Hz?

I can add this to sudo gedit /usr/share/X11/xorg.conf.d/10-monitor.conf

Code: Select all

section "Monitor"
    Identifier "Virtual-1"
    Modeline "1920x935_60.00"  148.00  1920 2032 2232 2544  935 938 948 971 -hsync +vsync
    Modeline "1920x980_60.00"  156.00  1920 2040 2240 2560  980 983 993 1017 -hsync +vsync
EndSection
But I am unsure if it makes any difference if the host display is 60 Hz anyways.


Also was wondering if anyone has a script that can be used to launch specific VM's controlled by QEMU that is not too hard to setup for the app launcher on Cinnamon panels.
MintMagoo
Level 2
Level 2
Posts: 50
Joined: Fri Feb 09, 2024 6:05 am

Re: QEMU Windowed Max Screen Resolution

Post by MintMagoo »

QEMU Setting Up VM Launcher:

The answer to setting up launchers for individual VM's requires using "virsh start" and "virt-viewer"

You can check the name of the VM you want to launch

mintuser@MINT-PC:~$

Code: Select all

virsh list --all
Id Name State
-------------------------------
1 DEB12BRV running
- DEB12FBV shut off
- DEB12LOP shut off
- DEB12MNT shut off

Replace DEB12MNT with the name of the VM you want to start with the launcher.

Launcher Properties
Command:

Code: Select all

sh -c "virsh start DEB12MNT ; virt-viewer --connect qemu:///system DEB12MNT -w"
Post Reply

Return to “Virtual Machines”