How to disable V Sync in virtual box?

This is for discussing general topics about how to use VirtualBox.
Post Reply
User82
Posts: 2
Joined: 14. Sep 2012, 08:39

How to disable V Sync in virtual box?

Post by User82 »

So i installed virtual box, and created a client where i installed windows xp as the source of the virtual computer.
I noticed while i was trying to test or benchmark a game in virtual box, all games were capped at 60fps only? I'm guessing v sync is enabled in that windows xp client.
Note i also installed the Guest additions on safe mode both 2d and 3d acceleration stuff.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: How to disable V Sync in virtual box?

Post by mpack »

VSync is a pulse sent by analog video cards to an analog monitor at the start of every video field - I very much doubt that the VBox simulation works at that level. I think it more likely that the (virtual) monitor capabilities are reported to the guest OS plug and play interface, and it will include a legacy refresh rate. It has to report something, I believe 60Hz is the standard value reported, even though it's pretty meaningless when the monitor isn't a CRT.
User82
Posts: 2
Joined: 14. Sep 2012, 08:39

Re: How to disable V Sync in virtual box?

Post by User82 »

The weird thing is, my games in virtual box are all capped at 60fps and won't go beyond that limit, where as if i were to play a game on my pc and not virtual box the fps would go beyond 60fps, which leave me with an educated guess that the fps is capped because of V sync?, i was checking fps with fraps on both in virtual box and in real time pc.

how do i get around the 60fps cap in virtual box, i wonder
BillG
Volunteer
Posts: 5106
Joined: 19. Sep 2009, 04:44
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 10,7 and earlier
Location: Sydney, Australia

Re: How to disable V Sync in virtual box?

Post by BillG »

I think that it is more likely to be a limitation of the emulated video card. The vm does not see or use the physical video card which the host uses.
Bill
Post Reply