You experience performance issues, product crashes, or rendering issues in Visual Studio 2015 and Visual Studio 2013

Symptoms
If you have hardware acceleration enabled, or if you use the default Visual experience settings in Microsoft Visual Studio 2015 and Visual Studio 2013, you may experience intermittent performance issues, product crashes, or rendering issues. (Refer to the following screen shot.)

A screen shot for the
Cause
These issues may occur because of bugs in the installed graphics driver.

Note The Microsoft Visual Studio team has continued to notice a small but important series of performance and reliability issues that are caused by bugs in the installed graphics drivers. By default, Visual Studio automatically adjusts the visual experience in order to maximize performance and responsiveness across client configurations. Visual Studio also uses hardware graphics acceleration when it is available on the client. For most customers, these Visual Studio default settings provide the best user experience. However, some users have reported that manual adjustments to these settings can result in improved experience. This article describes how to make these adjustments in Visual Studio.
Workaround
To work around these issues, use one of the following methods:
  • Install the latest graphics drivers.

    Note Outdated drivers are a common source of WPF rendering issues.
  • Turn off hardware graphics acceleration to switch to software rendering. To do this, use one of the following methods:
    Method 1
    1. In Visual Studio, click Tools, and then click Options.
    2. In the Options dialog box, clear the Automatically adjust visual experience based on client performance check box. (Refer to the following screen shot for this step.)

      A screen shot for this step
    3. Clear the Use hardware graphics acceleration if available check box to prevent the use of hardware graphics acceleration.
    4. Select or clear the Enable rich client visual experience check box to make sure that rich visuals are always on or off, respectively. When this check box is selected, rich visuals are used independent of the computer environment. For example, rich visuals are used when you run Visual Studio locally on a rich client and over remote desktop.
    Method 2
    Disable the automatic adjustment settings that are made in the Visual experience area of the Options dialog box. To do this, specify the following values in this Visual Studio-specific registry subkey:

    [HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\General]"AutoAdjustExperience"=dword:00000000"VisualEffectsAllowed"=dword:00000000
    Or, if you prefer to make changes that are system-wide, specify the following registry subkey value:

    [HKEY_CURRENT_USER\Software\Microsoft\Avalon.Graphics]"DisableHWAcceleration"=dword:00000001
    You can undo this setting by the specifying the following value:

    [HKEY_CURRENT_USER\Software\Microsoft\Avalon.Graphics]"DisableHWAcceleration"=dword:00000000

    If you override these settings, and if the problems that you are trying to resolve persist or if new rendering performance issues occur, you should consider reverting these settings to their default values. To do this, select the Automatically adjust visual experience based on client performance check box.

    Note By default, when Visual Studio runs in Virtual Machine environments and on servers that have Hyper-V enabled, Visual Studio does not use hardware graphics acceleration. Additionally, Visual Studio does not provide a rich client visual experience.
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
More information
For more information about how to troubleshoot graphics issues, click the following article number to view the article in the Microsoft Knowledge Base:

963021 Guidelines for troubleshooting graphic issues in WPF applications
Properties

Article ID: 2894215 - Last Review: 07/13/2015 21:08:00 - Revision: 2.0

Visual Studio Professional 2015, Visual Studio Enterprise 2015, Visual Studio Test Professional 2015, Microsoft Visual Studio Professional 2013, Microsoft Visual Studio Premium 2013, Microsoft Visual Studio Ultimate 2013, Microsoft Visual Studio Test Professional 2013, Microsoft Visual Studio Express 2013 Preview for Windows, Microsoft Visual Studio Express 2013 Preview for Windows Desktop

  • kbexpertiseinter kbsurveynew kbprb KB2894215
Feedback