Index: /trunk/src/VBox/Main/src-client/DisplayImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/src-client/DisplayImpl.cpp	(revision 35543)
+++ /trunk/src/VBox/Main/src-client/DisplayImpl.cpp	(revision 35544)
@@ -779,5 +779,5 @@
         mParent->consoleVRDPServer()->SendResize();
 
-#if defined(VBOX_WITH_HGCM) && defined(VBOX_WITH_CROGL)
+#if defined(VBOX_WITH_HGCM) && defined(VBOX_WITH_CROGL) && 0
         {
             BOOL is3denabled;
@@ -2593,4 +2593,7 @@
     Console::SafeVMPtr pVM(mParent);
     if (FAILED(pVM.rc())) return pVM.rc();
+
+    /* Leave lock because the call scheduled on EMT may also try to take it. */
+    alock.leave();
 
     /*
