Is it possible to assign more video memory in VirtualBox?
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
and get $2,000 discount on your first invoice
--------------------------------------------------
Take control of your privacy with Proton's trusted, Swiss-based, secure services.
Choose what you need and safeguard your digital life:
Mail: https://go.getproton.me/SH1CU
VPN: https://go.getproton.me/SH1DI
Password Manager: https://go.getproton.me/SH1DJ
Drive: https://go.getproton.me/SH1CT
Music by Eric Matyas
https://www.soundimage.org
Track title: Fantascape Looping
--
Chapters
00:00 Is It Possible To Assign More Video Memory In Virtualbox?
00:25 Accepted Answer Score 17
00:47 Answer 2 Score 9
01:21 Answer 3 Score 4
01:52 Answer 4 Score 0
02:49 Thank you
--
Full question
https://superuser.com/questions/293735/i...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#virtualbox
#avk47
ACCEPTED ANSWER
Score 17
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
.
ANSWER 2
Score 9
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.
ANSWER 3
Score 4
go to your virtual machine display properties and put monitor count at max; this will also give you the max ceiling for video memory just above it. go on and move your slider for video memory all the way to max and ok it. start your virtual machine. let your virtual machine run for a few minutes then shut it down. go back into the virtual machine display properties and bring monitor count back down to one. video memory will remain at max level from now on.
ANSWER 4
Score 0
Alternatively (if you are using mac),
1) in virtualbox, right click on the VM -> showinfinder
2) edit the xxxxxxx.vbox file with an editor
3) scroll down to the line
... Display VRAMSize="128" monitorCount="1" accelerate3D="true" accelerate2DVideo="false"/>
4) change the value to 256
... Display VRAMSize="256" monitorCount="1" accelerate3D="true" accelerate2DVideo="false"/>
and save.
Note: Remember to backup /clone your current image for safety. As above try to set within 256 mb. And finally do not run this while your VM is running. :) good luck.
PC should be similar, you just have to find the vbox file.