Allowing >256MB Video Memory?

Here you can provide suggestions on how to improve the product, website, etc.
Post Reply
Keyring52
Posts: 1
Joined: 15. Feb 2021, 16:33

Allowing >256MB Video Memory?

Post by Keyring52 »

Hey, I've noticed with Virtualbox that it does not allow more than 128MB or 256MB of video memory in guest OSes. Unfortunately some apps/games that require 3D acceleration need more than that, I know that this feature is most likely highly requested, but will we ever have the option to allow more than 256MB of Video memory in Virtualbox, like hyper-v & vmware do?
Sadly I cannot use hyper-v due to apps not working with it enabled and I can't use VMware because it has severe audio problems, so VirtualBox is kind of my only option.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Allowing >256MB Video Memory?

Post by scottgus1 »

Like you said, this has been asked for a lot. We here on the forum can't control what the devs do or why they have decided to limit to 128/256MB. You can put an enhancement request on the Bugtracker.
World Domination Studios
Posts: 12
Joined: 19. Feb 2021, 09:01

Re: Allowing >256MB Video Memory?

Post by World Domination Studios »

It's basically a character limit on the number that's used to keep track of how much video memory the virtual machine is simulating. Like the amount of video memory can't be expressed as a number larger than 2^32-1, or something. Anything larger than that causes a rollover error. And this decision was made so long ago, and is buried so deep in the code, that it can't be changed without breaking over 9,000 other things, or so the developers want us to believe.

I'm more worried about the lack of Direct3D support AT ALL in WinXP machines going forward.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Allowing >256MB Video Memory?

Post by mpack »

No, the main reason for the limit IMV is that more would just be RAM wasted to no benefit. Virtual graphics RAM is simulated using normal host PC RAM, so it's not actually any faster than buffering graphics in a normal RAM buffer - which is what apps will do anyway if they run out of special "vram".

IME around 10 times the frame size is plenty RAM for buffering.

Bear in mind that the OpenGL renderer is actually on the host. That's where VRAM is needed, not sitting doing nothing in a VM.
Post Reply