

If the artifact disappears, the problem might be with your video driver. When you see rendering artifacts in an application, try turning off hardware acceleration. The disable hardware acceleration option enables you to turn off hardware acceleration for debugging and test purposes. HKEY_CURRENT_USER\SOFTWARE\Microsoft\Avalon.Graphics\DisableHWAcceleration These settings can also be created or modified by accessing the values directly by using the Windows Registry Editor.ĭisable Hardware Acceleration Option Registry key These settings can be accessed by any external configuration utility that knows how to reference the WPF registry settings. Specifies whether WPF should use the reference rasterizer. Specifies whether the system disables hardware acceleration for drivers released before November 2004. Specifies the degree of multisampling for antialiasing 3D content. Specifies whether hardware acceleration should be enabled. WPF provides four registry settings for controlling WPF rendering: Setting For more information about WDDM, see Windows Display Driver Model (WDDM) Design Guide. XPDM is available on computers running Windows Vista, Microsoft Windows XP, and Microsoft Windows Server 2003. WDDM is available on computers running Windows Vista and Windows 7. XPDM is the Microsoft Windows XP Display Driver Model and WDDM is the Windows Display Driver Model. Some of the graphics rendering registry settings have different default values, depending on whether your video card uses an XPDM or WDDM driver. Because changes to the registry affect all WPF applications, your application should never alter these registry keys automatically, or during installation. These registry settings are provided for troubleshooting, debugging, and product support purposes. When to Use Graphics Rendering Registry Settings This topic provides an overview of the WPF graphics rendering registry settings that affect WPF applications.
