Fixing WinCC TIA Portal HMI Simulator Black Screen in VMs

David Krause13 min read
SiemensTIA PortalTroubleshooting
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

Problem Description

When launching the WinCC (TIA Portal) HMI runtime simulator, the panel control chrome loads (function key labels, F1–F8 strip, screen-change buttons, and the system menus) but the configured screens, graphics, tags, and trends remain invisible. The runtime process is active and responds to F-key inputs, but the display surface renders as a black, white, or transparent rectangle. This symptom is reported consistently across Siemens Comfort and Basic panels simulated inside virtual machines, including the KTP700 Basic, TP1200 Comfort, TP700 Comfort, and MP 377 panel classes.

The defect is not a fault of the TIA Portal project, the WinCC compile output, or the panel image. It is a host-hypervisor-guest graphics pipeline failure that prevents the HMI surface from being composited into the VM framebuffer. The same TIA project, when copied to a physical host running Windows 7 SP1 x64 or Windows 10 x64, renders correctly without code or panel image changes.

Diagnostic signature: The Windows taskbar shows the HMI window is active, focus follows the F-keys, and the RT (Runtime) process HMIRtm.exe consumes CPU during screen change events. Yet no pixel data is rendered to the client area. This combination is the canonical indicator of a 3D graphics acceleration failure inside the VM.

Affected Software Matrix

TIA Portal Version WinCC Component Status Notes
V13 SP1 Update 7 WinCC Advanced V13 SP1 Update 7 Confirmed affected Most reported configuration
V14 SP1 WinCC Advanced V14 SP1 Affected in VM, OK on host Same root cause
V15 / V15.1 WinCC Advanced / Professional Affected without 3D accel Same fix applies
V16 / V17 WinCC Professional Intermittent, depends on VM Updated graphics stack
V18 / V19 WinCC Unified / Professional Rare, but reproducible Unified runtime has higher GPU demand

The bulk of field reports concentrate on TIA Portal V13 SP1 Update 7 with the matching WinCC Advanced Update 7 build. This build shipped a new Direct3D 9/11 rendering path for the panel simulator that depends on hardware-accelerated vertex and pixel pipelines. The native TIA RT was already OpenGL/D3D-driven since V12, but the V13 SP1 update tightened the OpenGL profile requirements, which exposes weaknesses in virtual graphics drivers.

Affected Hypervisor Configurations

Hypervisor Version Tested 3D Driver Default Behavior Required Action
VMware Workstation 10 / 11 VMware SVGA 3D Working after enable Enable 3D acceleration
VMware Workstation 12.0 / 12.5.x (build 4542065 and later) VMware SVGA 3D / DirectX 11 Broken by default Enable 3D acceleration + update VMware Tools
VMware Workstation Player 5 / 6 / 12 VMware SVGA 3D Broken by default Enable 3D acceleration
VMware Workstation Pro 14 / 15 / 16 / 17 SVGA 3D / Vulkan passthrough Mostly OK with current tools Verify driver in Device Manager
Oracle VM VirtualBox 5.0 / 5.1 / 5.2 / 6.x / 7.x VirtualBox Graphics Adapter (WDDM) Broken by default Install Guest Additions 3D driver
Microsoft Hyper-V (Gen 2) 2016 / 2019 / 2022 Microsoft Hyper-V Video Not supported for WinCC RT Use RemoteFX or RDP-only mode
Parallels Desktop 12 / 13 / 14 Parallels Display Adapter (WDDM) Working with Coherence off Disable Retina/HiDPI scaling

Root Cause Analysis

WinCC (TIA Portal) uses a hardware-accelerated rendering surface for the HMI simulator. The composition path is:

  1. HMIRtm allocates a Direct3D 9Ex/11 device backed by the system's primary GPU.
  2. WinCC draws screen primitives (vector graphics, bitmaps, trend buffers, alarm views) into an offscreen surface.
  3. The surface is blitted to the panel window's HWND via IDirect3DSwapChain9::Present or IDXGISwapChain::Present.
  4. The Windows window manager composites the HWND into the desktop framebuffer.

Inside a virtual machine, the primary GPU is virtual. Three failure modes are common:

  1. Software-only virtual display adapter – The guest is presented with a basic Microsoft Basic Display Adapter (MSBDD) or an XPDM mirror driver that has no 3D pipeline. D3DERR_NOTAVAILABLE is returned at swap-chain creation, and WinCC silently fails to the GDI fallback. F-key chrome still draws because it is owner-drawn GDI; the screen canvas does not.
  2. Stalled or blacklisted WDDM driver – The guest sees a WDDM 1.1/1.2/1.3 driver (VMware SVGA 3D, VirtualBox Graphics Adapter), but the driver has been put on the Windows display driver block list or has not been updated to a build that exposes the required feature levels (9_3, 10_0, 11_0).
  3. Disabled 3D acceleration in the VM configuration – The hypervisor is configured to expose a non-accelerated framebuffer. The guest cannot negotiate a hardware device, so the simulator falls back to a non-rendering state.

All three modes produce the same visual symptom: chrome visible, screens black. The fix is to ensure the guest advertises and uses a working WDDM 3D driver, and that the hypervisor is configured to provide it.

Step-by-Step Solution for VMware Workstation / Player

Prerequisites

  • VMware Workstation 12.x or later, or VMware Workstation Player 12.x or later.
  • Guest OS: Windows 7 SP1 x64, Windows 10 x64, or Windows 11 x64.
  • Host GPU with hardware OpenGL 3.2 / Direct3D 10 support (Intel HD Graphics 2000 or later, NVIDIA, AMD).
  • VMware Tools installed at the current build matching the hypervisor version.

Procedure

  1. Power off the virtual machine. Do not suspend; power off cleanly so the .vmx file is not locked.
  2. Open the VM settings: VM > Settings > Hardware > Display.
  3. Set 3D graphics to Accelerate 3D graphics (checked). The Graphics memory field should be raised to at least 1 GB; 2 GB is recommended for TP1200 and larger panels. Do not exceed the maximum recommended for your VMware build.
  4. Open the .vmx file in a text editor and verify/add the following keys:
    mks.enable3d = "TRUE"
    svga.vramSize = "268435456"
    svga.enable3D = "TRUE"
    vmmouse.present = "FALSE"
    hint3DConfig = "TRUE"
    
  5. Boot the VM. Open Device Manager > Display adapters. The adapter should read VMware SVGA 3D (not VMware SVGA II and not Microsoft Basic Display Adapter). Right-click > Properties > Driver tab: Driver Provider VMware, Inc., Driver Version matching the latest VMware Tools build.
  6. If the adapter shows Microsoft Basic Display Adapter, VMware Tools did not install the display component. Repair the install: Control Panel > Programs > VMware Tools > Change > Repair, or reinstall VMware Tools to match the hypervisor version exactly.
  7. Open dxdiag (Win+R > dxdiag). On the Display tab, Direct3D Acceleration must show Enabled. DirectDraw Acceleration must show Enabled. AGP Texture Acceleration must show Enabled. If any show Disabled, click Enable next to that line.
  8. Launch TIA Portal, open the project, compile the HMI, and start the runtime simulator. The configured screens should now render.
VMware 12.5.1 build 4542065 and later regression: Several builds in the 12.5.x line shipped an SVGA 3D driver that defaults to a WDDM 1.1 path even with 3D acceleration enabled, which is insufficient for WinCC V13 SP1 Update 7. Update to VMware Workstation 12.5.9 (build 7535481) or later 12.x, or move to 14.x/15.x. Always match VMware Tools to the hypervisor major version.

Step-by-Step Solution for Oracle VM VirtualBox

Prerequisites

  • Oracle VM VirtualBox 5.1.x or later (5.2 / 6.0 / 6.1 / 7.0 supported).
  • Guest additions ISO matching the VirtualBox version.
  • Host GPU with hardware OpenGL 3.0 or Direct3D 9 minimum.

Procedure

  1. Power off the VM.
  2. Open Settings > Display > Screen. Set Video Memory to at least 128 MB. Tick Enable 3D Acceleration.
  3. Set Graphics Controller to VBoxSVGA (recommended for Windows 7+), not VMSVGA or VBoxVGA. VBoxVGA has no 3D pipeline and will not render the screen content.
  4. Boot the VM. Insert the Guest Additions CD image (Devices > Insert Guest Additions CD image) and run VBoxWindowsAdditions.exe with the Direct3D Support (Experimental) option enabled. Reboot.
  5. Confirm in Device Manager that the adapter reads VirtualBox Graphics Adapter (WDDM) with a current driver date.
  6. Open dxdiag and verify Direct3D Acceleration is Enabled.
  7. Run VBoxDrvCfg.exe (if present) to confirm the 3D driver is loaded. Restart the guest if the driver was just installed; the runtime will not pick it up until the desktop session is fresh.
  8. Launch the WinCC simulator.

Verifying the Graphics Driver State

Open Device Manager and expand Display adapters. The single entry must be the hypervisor's WDDM 3D adapter. Multiple entries, an Microsoft Basic Display Adapter override, or a yellow warning triangle all indicate a broken graphics chain.

Open dxdiag (Start > Run > dxdiag > Display tab) and confirm:

Field Expected Value Indicates Problem If
Device Name VMware SVGA 3D / VirtualBox Graphics Adapter Microsoft Basic Display Adapter
Manufacturer VMware, Inc. / Oracle Corporation Microsoft
Chip Type VMware SVGA 3D / VBoxSVGA Unknown / Basic
DAC Type 8-bit (n/a)
Approx. Total Memory ≥ 256 MB < 64 MB
Direct3D Acceleration Enabled Disabled
DirectDraw Acceleration Enabled Disabled
AGP Texture Acceleration Enabled Disabled

Run DxDiag /64bit on a 64-bit guest if the panel image is a 64-bit HMI runtime. Inspect Notes and Warnings at the bottom of the Display tab; any line beginning with Problem blocks hardware acceleration.

Host GPU and Driver Considerations

The host GPU and its driver feed the virtual adapter. If the host is using a stale or basic driver, the virtual adapter inherits the same limitations. Field data shows that Intel HD Graphics integrated into Core i5-560M (Arrandale) and similar first-generation Intel HD parts can run the VM, but the host driver must be at least Intel 15.36.x or later and provide OpenGL 3.2. NVIDIA Kepler and later, and AMD GCN and later, are reliable choices.

Confirm host readiness:

  • Host dxdiag shows a real adapter (not Microsoft Basic Display Adapter).
  • OpenGL renderer string from GPU-Z or OpenGL Extensions Viewer reports a hardware renderer, not a software fallback.
  • Host driver is not on the Windows display driver block list (Windows 10/11 upgrades may downgrade the host driver to the Microsoft Basic Display Adapter; reinstall the OEM driver).

Windows 7 Specific Notes

Windows 7 SP1 x64 is the most frequently reported guest OS for this failure because it ships the WDDM 1.1 driver model. WinCC V13 SP1 Update 7 expects a WDDM 1.2 minimum. Practical fixes:

  • Install KB2670838 (Platform Update for Windows 7) to enable WDDM 1.2 in the user-mode driver.
  • Apply the latest VMware Tools (10.x or later for VMware 12.5.x). Tools 9.x predates the required WDDM 1.2 path and is not sufficient.
  • Disable Aero theme (right-click Desktop > Personalize > Basic theme). Aero adds a DWM composition layer that interacts badly with broken 3D paths; the WinCC simulator is GDI on top, not DWM, so Aero can be disabled without loss.
  • Verify HKLM\SOFTWARE\Microsoft\Direct3D\MaximumTextureBlendStages is not capped below 8 (default 16 is fine).

Advanced Diagnostics

Direct3D Test Inside the Guest

  1. Download the DirectX End-User Runtime Web Installer and accept the EULA to ensure D3DX9_43.dll is present.
  2. Run the in-box dxdiag tool. On the Render tab of DirectX Features, observe the feature levels reported. 9_3, 10_0, 10_1, 11_0 are required for the panel simulator.

Process Monitor Trace

Use Sysinternals Process Monitor to capture the boot of HMIRtm. Filter on Process Name is HMIRtm.exe. The simulator will read d3d9.dll, d3d11.dll, dxgi.dll, and the hypervisor's display driver DLL. A NAME NOT FOUND or ACCESS DENIED on the hypervisor display DLL confirms the WDDM path is broken.

Event Log Inspection

Check Applications and Services Logs > Microsoft > Windows > DisplayAdapters for events with Event ID 4101 (display driver stopped responding and recovered). If present, the hypervisor GPU is dropping frames; lower the VM's allocated graphics memory or disable 3D in the host, then re-enable.

Test Pattern with a Sample Project

Create a new TIA Portal project, add a Comfort panel (for example TP900), insert a default screen, drag one rectangle and one text field, compile, and start the RT. This isolates the symptom from a corrupt project file or a malformed panel image.

Fallback Solutions

If 3D acceleration cannot be enabled in the host environment (locked-down corporate image, remote desktop without GPU, Hyper-V Gen 2 without RemoteFX), use the following fallbacks:

  1. Run TIA Portal on the host directly, not in the VM. This is the canonical engineering recommendation. The WinCC simulator is a 32-bit/64-bit native Windows application; no VM is required to develop or test it.
  2. Use a Windows native or ProxMox KVM GPU passthrough with VT-d/IOMMU. Pass a discrete GPU to the guest; install matching host and guest drivers; configure the VM with QXL or VirtIO-GPU as the boot display and the passed-through GPU as the simulation target. This is a heavy setup but solves the WDDM limitation completely.
  3. RemoteApp / RDP to a physical workstation with a real GPU. RDP supports Direct3D redirection from Windows Server 2012 R2 onward and can carry the WinCC surface to a remote client.
  4. Use the WinCC Runtime Advanced web option (Sm@rtServer / WebUX) to publish the runtime to a browser, bypassing the local GDI surface entirely. Requires a real panel image that supports WebUX.

Verification Checklist

Step Pass Criteria
Hypervisor 3D acceleration Enabled in VM settings, confirmed in .vmx or .vbox
VMware Tools / VirtualBox Additions Version matches hypervisor, no yellow triangle in Device Manager
Display adapter VMware SVGA 3D or VirtualBox Graphics Adapter (WDDM)
dxdiag Direct3D Enabled, feature level ≥ 10_0
Host GPU driver OEM driver, not Microsoft Basic
TIA Portal compile 0 errors, 0 warnings on the HMI device
Simulator startup HMIRtm.exe and HMIRTm.exe both present in Task Manager
Screen render Configured graphics visible within 3 seconds of F1

Troubleshooting Matrix

Symptom Likely Cause Action
Chrome visible, screen black 3D acceleration disabled Enable in hypervisor, install Tools/Additions
Simulator crashes on start DirectX runtime missing Install DirectX End-User Runtime
Simulator launches, then window closes Compiled HMI has runtime error Recompile HMI, check _temp logs
Screen flickers white/grey Driver mismatched, wrong graphics controller Change controller to VBoxSVGA / re-pair VMware Tools
Works for first run, then breaks VMware Tools 3D driver reset after Windows update Repair VMware Tools, suspend updates
Works on host, not in VM VM has no 3D acceleration Enable 3D acceleration, raise VRAM
Black on RDP session RDP does not have Direct3D redirection Use console session or enable RemoteFX
KTP700 works, TP1200 does not VRAM too low for larger panel Increase video memory to 2 GB
WinCC V13 SP1 OK, V14 black V14 raises minimum feature level Update hypervisor, raise VRAM, fix WDDM path

Preventive Configuration

For engineering teams that must run WinCC inside a VM, the following baseline configuration eliminates the issue in 95% of field cases:

  • VMware Workstation 15.5.x or later (or Workstation Pro 17.x).
  • VMware Tools build matched to the hypervisor, installed with the Complete option.
  • VM video RAM: 2 GB.
  • 3D Acceleration: enabled.
  • Guest OS: Windows 10 22H2 x64 with current cumulative updates, or Windows 7 SP1 x64 with KB2670838.
  • TIA Portal: V16 Update 7 or later, or V17/V18 with matching WinCC updates.

For teams on VirtualBox, use the same baseline with the current VirtualBox release (7.0.x or later) and the matching Guest Additions ISO. Avoid VBoxVGA; always use VBoxSVGA for Windows 7 and later guests running WinCC.

FAQ

Why does the WinCC HMI simulator show the F-key bar but a black screen in VMware?

The F-key chrome is rendered via GDI, which uses the basic Windows framebuffer. The HMI screen surface is rendered via Direct3D, which requires a WDDM 3D driver. Enable 3D Acceleration in the VM settings, allocate at least 1 GB of video RAM, and confirm VMware Tools is installed and matched to the hypervisor version. The screen renders as soon as the guest negotiates a hardware 3D device.

Which VMware Workstation versions are known to break WinCC V13 SP1 Update 7 simulation?

VMware Workstation 12.5.1 build 4542065 and subsequent 12.5.x builds shipped a problematic SVGA 3D driver that defaults to WDDM 1.1. Update to VMware Workstation 12.5.9 build 7535481, or move to VMware 14.x / 15.x / 16.x / 17.x. Always pair the VMware Tools version with the hypervisor major version to avoid driver mismatch.

How do I check whether the guest has a working 3D driver?

Open dxdiag (Win+R > dxdiag) and select the Display tab. The Device Name must read VMware SVGA 3D or VirtualBox Graphics Adapter (WDDM), not Microsoft Basic Display Adapter. Direct3D Acceleration, DirectDraw Acceleration, and AGP Texture Acceleration must all show Enabled. If any show Disabled, the simulator will not render.

Does Windows Aero affect the WinCC simulator in a VM?

Yes. Windows 7 Aero inserts a DWM composition layer that interacts badly with broken 3D paths. Switch to a Basic theme (right-click Desktop > Personalize > Basic) while debugging VM graphics issues. Aero can be re-enabled once the simulator is rendering correctly.

Can I run the WinCC simulator over Remote Desktop into a VM?

Standard RDP does not redirect Direct3D 9Ex or Direct3D 11 surfaces used by the WinCC runtime. Use a console session (mstsc /console on legacy clients, or connect to the VM's own session 0 via the hypervisor's console viewer). On Windows Server, enable RemoteFX for D3D redirection, or use VMware's 3D acceleration with the VMware Blast / PCoIP display protocol as an alternative path.

Back to blog