Can't change screen resolution in Windows 10 VM

fxdaemon

New Member
Mar 8, 2016
24
2
3
31
Hi experts,
I've got a couple of Windows 10 VM installed on PVE 4.1.
The Display adapter driver is Microsoft Basic Display Adapter and as a result screen resolution is fixed
at 800x600 and no other option available.

On PVE VM Hardware->Display, I have tried:
Default
Standard VGA
VMWare Compatible
Cirrus Logic GD5446

However, it doesn't make any difference.

Is there a way to get Win10 to recognise the display adapter as something more advanced and enable me
to select different driver with resolution options?

Thanks,
FXD
 

fxdaemon

New Member
Mar 8, 2016
24
2
3
31
root@butterfly:/etc/apt/sources.list.d# pwd
/etc/apt/sources.list.d
root@butterfly:/etc/apt/sources.list.d# cat pve-enterprise.list
deb https://enterprise.proxmox.com/debian jessie pve-enterprise
root@butterfly:/etc/apt/sources.list.d#

root@butterfly:/etc/apt/sources.list.d# apt-get update
Hit http://security.debian.org jessie/updates InRelease
.
.
.
Get:1 https://enterprise.proxmox.com jessie InRelease [401 B]
Ign https://enterprise.proxmox.com jessie InRelease
Get:2 https://enterprise.proxmox.com jessie Release.gpg [401 B]
Ign https://enterprise.proxmox.com jessie Release.gpg
Hit http://download.proxmox.com jessie/pve-no-subscription amd64 Packages
Get:3 https://enterprise.proxmox.com jessie Release [401 B]
Ign https://enterprise.proxmox.com jessie Release
Get:4 https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages [401 B]
Get:5 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US [401 B]
Get:6 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [401 B]
Get:7 https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages [401 B]
Get:8 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US [401 B]
Get:9 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [401 B]
Ign http://download.proxmox.com jessie/pve-no-subscription Translation-en_US
Get:10 https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages [401 B]
Ign http://download.proxmox.com jessie/pve-no-subscription Translation-en
Get:11 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US [401 B]
Get:12 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [401 B]
Get:13 https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages [401 B]
Get:14 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US [401 B]
Get:15 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [401 B]
Get:16 https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages [401 B]
Err https://enterprise.proxmox.com jessie/pve-enterprise amd64 Packages
HttpError401
Get:17 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US [401 B]
Ign https://enterprise.proxmox.com jessie/pve-enterprise Translation-en_US
Get:18 https://enterprise.proxmox.com jessie/pve-enterprise Translation-en [401 B]
Ign https://enterprise.proxmox.com jessie/pve-enterprise Translation-en

W: Failed to fetch https://enterprise.proxmox.com/debian/dists/jessie/pve-enterprise/binary-amd64/Packages HttpError401

E: Some index files failed to download. They have been ignored, or old ones used instead.


Any idea what's wrong with this?

Thanks,
FXD
 

fxdaemon

New Member
Mar 8, 2016
24
2
3
31
I just did an upgrade from 4.1 to 4.2 with GPU pass-through working previously.
After upgrade, when I attempt starting the Windows 10 VM, I got the following error:


TASK ERROR: Cannot open iommu_group: No such file or directory

Anyone can help ?

Thanks,
FXD
 

fxdaemon

New Member
Mar 8, 2016
24
2
3
31
Dont
I just did an upgrade from 4.1 to 4.2 with GPU pass-through working previously.
After upgrade, when I attempt starting the Windows 10 VM, I got the following error:


TASK ERROR: Cannot open iommu_group: No such file or directory

Anyone can help ?

Thanks,
FXD
Figured it out grub file got over written to default!!!
Have to add back the following:

GRUB_CMDLINE_LINUX="quiet intel_iommu=on"

However, even after upgrading to 4.2, my other Windows 10 VM still don't have the ability to change screen resolution. :-(
 

tom

Proxmox Staff Member
Staff member
Aug 29, 2006
15,537
920
163
after changing /etc/default/grub you need to run:

> update-grub

but please do not mix topics within one thread.

this thread is about "Can't change screen resolution in Windows 10 VM".
 

fxdaemon

New Member
Mar 8, 2016
24
2
3
31
Regarding dynamic resizing, I'd advise to use Spice protocol:
  • In your guest Windows VM, install Spice Windows Guest Tools - spice-guest-tools-0.100.exe
  • Set your Windows guest to use the Spice driver for display (in Proxmox, under the Hardware tab)
Compared to VNC I've found this is much faster and I don't have cursor offset problems.

For more details see:
https://pve.proxmox.com/wiki/SPICE

Thanks. Tried that still not able to get Windows 10 to offer up other screen resolutions.
Has anyone at all actually managed to get Window 10 VM to recognise there are more resolutions than 800x600 available ?

Thanks,
FXD
 

fxdaemon

New Member
Mar 8, 2016
24
2
3
31
Remove old spice guest tool and install the latest for Win10 still not seeing additional screen resolution available.
I must be missing something?
 
  • Like
Reactions: magicfab

fireon

Famous Member
Oct 25, 2010
3,878
319
103
40
Austria/Graz
iteas.at
Same problem here, since 4.3 can't change to screen resolution. It is on all hosts the same. We have 4 Windows10 running. Yes Spice works, but Spice is not useable over internet with only small bandwidh. VNC is much more more more faster :) .
 

tom

Proxmox Staff Member
Staff member
Aug 29, 2006
15,537
920
163
post the Win10 VM config

> qm config VMID
 

fireon

Famous Member
Oct 25, 2010
3,878
319
103
40
Austria/Graz
iteas.at
Code:
agent: 1 
bios: ovmf 
boot: dc 
bootdisk: scsi1 
cores: 8 
cpu: host 
cpulimit: 4 
cpuunits: 10000 
description: Wird zum Template generieren verwendet. %0AHier darf kein Sysprep oder sonstiges %0Aausgf%C3%BChrt werden, immer ei
nen Klon erstellen. 
efidisk0: v-machines:vm-112-disk-1,size=128K 
hotplug: disk,network,usb,memory,cpu 
ide0: none,media=cdrom 
ide2: none,media=cdrom 
memory: 4096 
name: win10-template-generieren 
net0: virtio=52:CF:D5:47:D6:7C,bridge=vmbr0,tag=40 
numa: 1 
ostype: win8 
scsi1: v-machines:vm-112-disk-2,cache=writeback,discard=on,size=40G 
scsihw: virtio-scsi-pci 
smbios1: uuid=a3bf3090-409d-4025-8a40-a9523deca4c0 
sockets: 1

I have installed again for the test. But it is the same.
 

tom

Proxmox Staff Member
Staff member
Aug 29, 2006
15,537
920
163
> bios: ovmf

use the default seabios and you can choose your needed resolution.
 

fireon

Famous Member
Oct 25, 2010
3,878
319
103
40
Austria/Graz
iteas.at
> bios: ovmf

use the default seabios and you can choose your needed resolution.
Thanks you, i test this tomorrow. Is this for all Windows, also for Server2012r2? Next week i will setup a new template with uefi, because futurethings like GPU passthroug... when it works with normal bios, is there an other solution?
 

dcsapak

Proxmox Staff Member
Staff member
Feb 1, 2016
8,062
993
163
34
Vienna
Thanks you, i test this tomorrow. Is this for all Windows, also for Server2012r2? Next week i will setup a new template with uefi, because futurethings like GPU passthroug... when it works with normal bios, is there an other solution?
this is a limitation of ovmf.

with it, you can either set the resolution in the uefi menu (press esc during the boot logo; device manager -> ovmf platform configuration -> resolution)
or use the spice display and install the driver for it (this is the only virtual display hardware in which you can set the resolution in the guest directly)
hope this helps
 

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 your own in 60 seconds.

Buy now!