Hi guys.
I run VBox 5.2.8 on my LM 18 Cinnamon laptop.
The laptop has an integrated Intel graphic chipset and an additional Nvidia GT 635M card with 2 GB memory.
I've set up my system so that Nvidia is the default chipset (with proprietary driver in use).
Now, VBox allows me to set a maximum of 128 MB for video memory no matter what chipset I set as default for the host system.
Is there a way I can use a larger amount of memory from the Nvidia card?
Thank you.
[Solved] Virtual Box: how to increase maximum video memory?
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[Solved] Virtual Box: how to increase maximum video memory?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
I'm here thanks to Windows 10
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Virtual Box: how to increase maximum video memory?
Some may say, yes, but the fact is, the host video memory is passed through to the VM when 3D acceleration is enabled, which means the VM is using the host card's video memory, irrespective of the amount you set in the VM settings.
To increase the amount of host RAM allocated to the VM's video driver, not actual video memory, set the display to 3D acceleration then, with the machine shut down, in a terminal:
Code: Select all
VBoxManage modifyvm "NameOfVM" --vram 256
NameOfVM
is the name of the VM you want to change."There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Re: Virtual Box: how to increase maximum video memory?
Thank you, catweazel!
It works but I'm not sure I understand your statement:
It works but I'm not sure I understand your statement:
Can you explain that?
I'm here thanks to Windows 10
- catweazel
- Level 19
- Posts: 9763
- Joined: Fri Oct 12, 2012 9:44 pm
- Location: Australian Antarctic Territory
Re: Virtual Box: how to increase maximum video memory?
You're most welcome.
There are two types of memory on the host, one is host RAM, the other is video RAM, which is on the video card, or it is shared host RAM on some laptops. When you set up a VM, the host's video RAM is made directly accessible to the guest. As I said, this is unaffected by how much RAM you allocate to video in the VM settings. When you allocate RAM to the video in the VM, that RAM is host RAM for the video driver to other things with, buffering for example, it is not video RAM.
It's complex and I can't simplify it more than that.
Cheers.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.