[SOLVED] (OVMF BIOS) Display Resolution switchs back to default after power off

devaux

Active Member
Feb 3, 2024
172
40
28
Proxmox 8.2.2
pve-edk2-firmware 4.2023.08-4
Windows Server 2022 with UEFI (OVMF q35-8.1) and Default/Default/clipboard=vnc Display switches to native resolution 1280x800 after every power off.

To Reproduce:
1. Installation of Windows Server 2022 is in default resolution 1280x800
2. Rebooting Windows and switching to 1920x1200 in the OVMF settings
3. Booting Windows => 1280x800 (not modifiable)
4. Rebooting Windows => Resolution is 1920x1200
5. Rebooting Windows => Resolution is 1920x1200
...
6. Power off Windows
7. Power on Windows => resolution is back to 1280x800

Solution: You need to add en EFI disk to the VM to store the configuration.
 
Last edited:
how does your vm config look like? (qm config ID) ? do you have an efi disk configured?
 
No EFI-Disk configured. smbios set from dmidecode 2.11

Code:
agent: 1
bios: ovmf
boot: order=virtio0;ide2;net0
cores: 4
cpu: x86-64-v2-AES
ide2: local:iso/virtio-win-0.1.248.iso,media=cdrom,size=715188K
machine: pc-q35-8.1
memory: 8192
meta: creation-qemu=8.1.5,ctime=1715591100
name: xxx
net0: virtio=BC:24:11:xx:xx:xx,bridge=vmbr0,firewall=1
numa: 0
onboot: 1
ostype: win11
scsihw: virtio-scsi-single
smbios1: base64=1,family=xxx=,manufacturer=xxx,product=xxx=,serial=xxx=,sku=xxx==,uuid=xxx,version=xxx
sockets: 1
tags:
vga: clipboard=vnc
virtio0: local-zfs:vm-100-disk-0,cache=writeback,iothread=1,size=52G
 
ok that makes sense. if you don't have an efi disk configured, there is no permanent space where the ovmf settings get saved.

create an efi disk and try again please
 
  • Like
Reactions: devaux

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!