Component
VBoxManage CLI
What problem are you facing?
Hi,
I'd like to enable acceleration while simultaneously switching the graphics controller. This only works in a specific order. However, my command line gets generated and options are sorted alphabetically. Thus, --acce... will come before --graphic. This is not supported. It seems that software tries to enable acceleration before changing the controller.
$ VBoxManage modifyvm "test" --graphicscontroller=vga # works fine
$ VBoxManage modifyvm "test" --accelerate-3d=on --graphicscontroller=vmsvga
VBoxManage: error: The graphics controller does not support the given feature
VBoxManage: error: Details: code VBOX_E_NOT_SUPPORTED (0x80bb0009), component GraphicsAdapterWrap, interface IGraphicsAdapter, callee nsISupports
VBoxManage: error: Context: "SetFeature(GraphicsFeature_Acceleration3D, ValueUnion.f)" at line 1160 of file VBoxManageModifyVM.cpp
$ VBoxManage modifyvm "test" --graphicscontroller=vmsvga --accelerate-3d=on # works fine
How can we fix this?
Set the graphics controller if the corresponding argument is provided, only then change the 3d acceleration settings if that argument is provided, too.
What alternatives or workarounds exist?
Invoke --graph... before --acce...
Anything else we should know?
No response
Component
VBoxManage CLI
What problem are you facing?
Hi,
I'd like to enable acceleration while simultaneously switching the graphics controller. This only works in a specific order. However, my command line gets generated and options are sorted alphabetically. Thus,
--acce...will come before--graphic. This is not supported. It seems that software tries to enable acceleration before changing the controller.How can we fix this?
Set the graphics controller if the corresponding argument is provided, only then change the 3d acceleration settings if that argument is provided, too.
What alternatives or workarounds exist?
Invoke
--graph...before--acce...Anything else we should know?
No response