Changeset 40192 in vbox
- Timestamp:
- Feb 21, 2012 10:46:37 AM (13 years ago)
- svn:sync-xref-src-repo-rev:
- 76356
- Location:
- trunk/src/VBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/UIVMDesktop.cpp
r39983 r40192 842 842 accel << tr("2D Video", "details report"); 843 843 #endif /* VBOX_WITH_VIDEOHWACCEL */ 844 if ( vboxGlobal().is3DAvailable() 845 && m_machine.GetAccelerate3DEnabled()) 844 if (m_machine.GetAccelerate3DEnabled()) 846 845 accel << tr("3D", "details report"); 847 846 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp
r39800 r40192 325 325 checkVRAMRequirements(); 326 326 327 if (mCb3D->isChecked() && !vboxGlobal().is3DAvailable()) 328 { 329 strWarning = tr("you enabled 3D acceleration. However, 3D acceleration is not " 330 "working on the current host setup so you will not be able to " 331 "start the VM."); 332 return true; 333 } 334 327 335 /* Video RAM amount test: */ 328 336 if (shouldWeWarnAboutLowVideoMemory() && !m_guestOSType.isNull()) … … 523 531 mLeMonitors->setEnabled(isMachineOffline()); 524 532 mLbOptions->setEnabled(isMachineOffline()); 525 if (vboxGlobal().is3DAvailable()) 526 mCb3D->setEnabled(isMachineOffline()); 527 else 528 { 529 mCb3D->setEnabled(false); 530 mCb3D->setChecked(false); 531 } 533 mCb3D->setEnabled(isMachineOffline()); 532 534 #ifdef VBOX_WITH_VIDEOHWACCEL 533 535 mCb2DVideo->setEnabled(isMachineOffline() && VBoxGlobal::isAcceleration2DVideoAvailable()); -
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r40188 r40192 2509 2509 hrc = host->COMGETTER(Acceleration3DAvailable)(&fSupports3D); H(); 2510 2510 if (!fSupports3D) 2511 { 2512 setVMRuntimeErrorCallbackF(pVM, this, 0, 2513 "Accel3DNotAvailable", 2514 N_("This VM was configured to use 3D support. However, the " 2515 "3D support of the host is not working properly. Therefore " 2516 "3D support for the guest has been disabled")); 2517 fEnabled3D = false; 2518 } 2519 } 2520 2521 if (fEnabled3D) 2522 { 2511 return VMSetError(pVM, VERR_NOT_AVAILABLE, RT_SRC_POS, 2512 N_("This VM was configured to use 3D acceleration. However, the " 2513 "3D support of the host is not working properly and the " 2514 "VM cannot be started. To fix this problem, either " 2515 "fix the host 3D support (update the host graphics driver?) " 2516 "or disable 3D acceleration in the VM settings")); 2517 2523 2518 /* Load the service */ 2524 2519 rc = pVMMDev->hgcmLoadService("VBoxSharedCrOpenGL", "VBoxSharedCrOpenGL");
Note:
See TracChangeset
for help on using the changeset viewer.