Display resolution changed after install VirtualBox Guest Additions

Discussions about using Windows guests in VirtualBox.
Post Reply
msprivat
Posts: 9
Joined: 21. May 2022, 13:47

Display resolution changed after install VirtualBox Guest Additions

Post by msprivat »

Hallo,

Host system: Linux Mint 20.3
Guest system: Windows 10 v.21H2
CPU: AMD Ryzen 7 2700X

Problem:
Before installation of the VirtualBox Guest Additions I can scale 1600 x 1200.
After installation only the maximum resolution is 1024 x 768.

My two screens supports:
First screen 2560x1440~60Hz, 2nd screen: 1920x1200~60Hz

Extension Pack has the same version number as the VirtualBox .

How can I fix the problem to have a higher resolution? :)

Best regards
Michael
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Display resolution changed after install VirtualBox Guest Additions

Post by mpack »

msprivat wrote: How can I fix the problem to have a higher resolution? :)
Choose the display size you want from the VM menu: View|Virtual screen 1|Resize to www x hhh.
msprivat wrote:Hallo,
msprivat wrote: My two screens supports:
A VM uses virtual hardware, it doesn't much care about the capabilities of the host.
msprivat
Posts: 9
Joined: 21. May 2022, 13:47

Re: Display resolution changed after install VirtualBox Guest Additions

Post by msprivat »

Hallo,

the guest system Windows 10 is opened.
In the menu I select View -> Resize to 1920x1200.

Nothing happened. Even I can not change the resolution in the guest system?

Best regards
Michael
BillG
Volunteer
Posts: 5102
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: Display resolution changed after install VirtualBox Guest Additions

Post by BillG »

That is odd. Will it resize if you drag a corner of the window? Will it go to full screen if you select that option from the View tab?
Bill
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Display resolution changed after install VirtualBox Guest Additions

Post by mpack »

msprivat wrote: In the menu I select View -> Resize to 1920x1200.

Nothing happened.
In that case we will require a VM log. Make sure the VM is fully shut down, then right click it in the manager UI. Select "Show Log" and save "VBox.log" (no other file) to a zip file. Attach the zip here.
msprivat
Posts: 9
Joined: 21. May 2022, 13:47

Re: Display resolution changed after install VirtualBox Guest Additions

Post by msprivat »

Will it resize if you drag a corner of the window? Will it go to full screen if you select that option from the View tab?
Yes it go to full screen and it will also resize, but the resolution is still the same. Eyerything gets bigger, but that's it.

I attached the log.

Hopefully that helps to solve the problem. :)

Best regards
Michael
Attachments
Windows 10_21H2-2022-05-23-18-50-19.log.zip
Log from today
(40.08 KiB) Downloaded 28 times
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Display resolution changed after install VirtualBox Guest Additions

Post by scottgus1 »

msprivat wrote:Eyerything gets bigger, but that's it.
Are you in Scaled Mode? Try Host-Key + C
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Display resolution changed after install VirtualBox Guest Additions

Post by fth0 »

The problem could somehow be related to the fact that the smaller right monitor is enumerated as screen 0 and the larger left monitor is enumerated as screen 1, but that's just a guess.

Does the problem depend on which monitor is used to display the VM window? When experimenting, set the resolution to 1024x768, move the VM window to one of the monitors, shut down the VM from within the Windows guest OS, restart the VM and try to change the resolution.

For each test run, provide the VBox.log file and describe exactly what you did when. Please also provide the Windows 10_21H2.vbox file.
msprivat
Posts: 9
Joined: 21. May 2022, 13:47

Re: Display resolution changed after install VirtualBox Guest Additions

Post by msprivat »

I have solved that issue.
In Guest settings (Windows) -> System -> Acceleration
Paravirtualization Interface: Hyper-V
Hardware Virtualization: Enable Nested Paging

Now it works perfect
Thanks to all

Best regards
Michael :D
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Display resolution changed after install VirtualBox Guest Additions

Post by fth0 »

That doesn't sound plausible, because according to the Windows 10_21H2-2022-05-23-18-50-19.log file, the paravirtualization provider was effectively Hyper-V, which means it was configured as either Default or Hyper-V already, which both should have the same effect. Can you switch back and reproduce your problem?
msprivat
Posts: 9
Joined: 21. May 2022, 13:47

Re: Display resolution changed after install VirtualBox Guest Additions

Post by msprivat »

Unfortunately I can not reproduce it. If I switch to default it still works.
I do not want to reinstall the guest system again.

Best regards
Michael
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Display resolution changed after install VirtualBox Guest Additions

Post by fth0 »

msprivat wrote:If I switch to default it still works.
Thanks for the feedback, that's enough for me. :)
Post Reply