Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am currently using VirtualBox to run a Fedora 15 VM. While changing my settings, I allocated 128MB of video memory, as well as enabling 3D acceleration.

Is there any way to assign more video memory? If not, why is it limited to 128MB?

share|improve this question
1  
What are you doing in a VM that you think would be helped by providing more video memory? –  Zoredache Jun 6 '11 at 22:34
    
I was interested in testing Compiz on there for fun, and figured a little extra memory may help. I also wondered why i was limited anyway –  Simon Sheehan Jun 6 '11 at 22:46

2 Answers 2

up vote 12 down vote accepted

You can do it from the command line. This example will increase the video memory to 256MB:

<~> $ vbm showvminfo WinXP-SP3 | grep VRAM
VRAM size:       128MB

<~> $ vbm modifyvm WinXP-SP3 --vram 256

<~> $ vbm showvminfo WinXP-SP3 | grep VRAM
VRAM size:       256MB

Note:vbm is actually an abbreviation for vboxmanage.

share|improve this answer
    
Fantastic, thank you!! –  Simon Sheehan Jun 12 '11 at 14:18
1  
Worth mentioning for those who don't use virtualbox that often (like me): vbm is an alias for vboxmanage, so you either need to create this alias or just replace vbm with vboxmanage in the above commands. –  cheflo Apr 21 at 2:41

The upper limit provided by VirtualBox is 256Mb, regardless of the capability of your host hardware/GPU.

For example running:

vboxmanage modifyvm MyVMBoxName --vram 1024

Gives this error:

VBoxManage: error: Invalid VRAM size: 1024 MB (must be in range [1, 256] MB)
VBoxManage: error: Details: code NS_ERROR_INVALID_ARG (0x80070057), component SessionMachine, interface IMachine, callee nsISupports
Context: "COMSETTER(VRAMSize)(ValueUnion.u32)" at line 417 of file VBoxManageModifyVM.cpp

Would be great if there was a way to assign more video memory to a VM as my Win7 use is pretty extensive e.g. for Photoshop.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.