Failed to create accelerated Display. Please check the display hardware and drivers meet the minimum requirements.

Source: Internet
Author: User
Tags stack trace

ArcGIS Runtime for WPF development in map set property useaccelerateddisplay= "True", Error:

Sample:LocalMapError:Failed to create accelerated Display. Please check the display hardware and drivers meet the minimum requirements. Stack Trace: at ESRI. ArcGIS.Client.NativeMap. ctor (Inativemapowner map, single dpi) at ESRI. ArcGIS.Client.DrawingSurface. ctor (Single dpi, inativemapowner owner) at ESRI. ArcGIS.Client.Map.OnApplyTemplate () in System.Windows.FrameworkElement.ApplyTemplate () in System.Windows.FrameworkElement.MeasureCore (Size availablesize) in System.Windows.UIElement.Measure (size availablesize) in System.Windows.Controls.Grid.MeasureOverride (Size constraint) in System.Windows.FrameworkElement.MeasureCore (Size availablesize) in System.Windows.UIElement.Measure (size availablesize) in MS. Internal.Helper.MeasureElementWithSingleChild (UIElement element, Size constraint) in System.Windows.Controls.ContentPresenter.MeasureOverride (Size constraint) in System.Windows.FrameworkElement.MeasureCore (Size availablesize) in System.Windows.UIElement.Measure (size availableSize) in System.Windows.Controls.Border.MeasureOverride (size constraint) in System.Windows.FrameworkElement.MeasureCore (Size availablesize) in System.Windows.UIElement.Measure (size availablesize) in System.Windows.Controls.Control.MeasureOverride (Size constraint) in System.Windows.FrameworkElement.MeasureCore (Size availablesize) in System.Windows.UIElement.Measure (size availablesize) in MS. Internal.Helper.MeasureElementWithSingleChild (UIElement element, Size constraint) in System.Windows.Controls.ContentPresenter.MeasureOverride (Size constraint) in System.Windows.FrameworkElement.MeasureCore (Size availablesize) in System.Windows.UIElement.Measure (size availablesize) in System.Windows.ContextLayoutManager.UpdateLayout () in System.Windows.ContextLayoutManager.UpdateLayoutCallback (Object Arg) in System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks () in System.Windows.Media.MediaContext.RenderMessageHandlerCore (Object resizedcompositiontarget) in System.Windows.MediA.mediacontext.rendermessagehandler (Object resizedcompositiontarget) in System.Windows.Threading.ExceptionWrapper.InternalRealCall (Delegate callback, Object args, Int32 Numargs) in System.Windows.Threading.ExceptionWrapper.TryCatchWhen (object source, Delegate callback, Object args, Int32 Numargs, Delegate Catchhandler)

Cause: The hardware does not meet the requirements for display acceleration and can be detected using the following code

int tier = (System.Windows.Media.RenderCapability.Tier >> 16);

When tier > 1 o'clock is met, otherwise not satisfied, close Accelerateddisplay

Failed to create accelerated Display. Please check the display hardware and drivers meet the minimum requirements.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.