Index: /trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoVhwa.cpp
===================================================================
--- /trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoVhwa.cpp	(revision 30263)
+++ /trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoVhwa.cpp	(revision 30264)
@@ -562,5 +562,5 @@
         Assert(pSurf->SurfDesc.pitch);
         /* @todo: make this properly */
-        pSurf->SurfDesc.bpp = (pSurf->SurfDesc.cbSize * 8) / pSurf->SurfDesc.height / pSurf->SurfDesc.pitch;
+        pSurf->SurfDesc.bpp = pSurf->SurfDesc.pitch * 8 / pSurf->SurfDesc.width;
         Assert(pSurf->SurfDesc.bpp);
     }
@@ -954,5 +954,5 @@
             {
                 int tmpRc;
-                for (uint32_t j = i; j < pRc->cAllocations; ++j)
+                for (uint32_t j = 0; j < i; ++j)
                 {
                     PVBOXWDDM_ALLOCATION pDestroyAlloc = &pRc->aAllocations[j];
Index: /trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp
===================================================================
--- /trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp	(revision 30263)
+++ /trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp	(revision 30264)
@@ -1533,4 +1533,6 @@
                                 if (RT_SUCCESS(rc))
                                 {
+                                    pAllocationInfo->Flags.Overlay = 1;
+                                    pAllocationInfo->Flags.CpuVisible = 1;
                                     pAllocationInfo->Size = pAllocation->SurfDesc.cbSize;
                                 }
