DynamoDS / Dynamo

Open Source Graphical Programming for Design
https://dynamobim.org
Other
1.7k stars 628 forks source link

Crash report from Dynamo 2.3.0.5885 #10947

Open HendMousa opened 4 years ago

HendMousa commented 4 years ago

Issue Description

Please fill in the following information to help us reproduce the issue:

What did you do?

I opened Dynamo Revit

What did you expect to see?

What did you see instead?

the program crashed immediately

What packages or external references (if any) were used?

none

Stack Trace

(From the Dynamo crash window select 'Details' -> 'Copy' and paste here)

HRESULT: [0x8876086A], Module: [SharpDX.Direct3D9], ApiCode: [D3DERR_NOTAVAILABLE/NotAvailable], Message: Unknown

at SharpDX.Result.CheckError() at SharpDX.Direct3D9.Direct3DEx.CreateDeviceEx(Int32 adapter, DeviceType deviceType, IntPtr hFocusWindow, Int32 behaviorFlags, PresentParameters[] presentationParametersRef, DisplayModeEx[] fullscreenDisplayModeRef, DeviceEx returnedDeviceInterfaceOut) at HelixToolkit.Wpf.SharpDX.DX11ImageSource.StartD3D() at HelixToolkit.Wpf.SharpDX.DX11ImageSource..ctor() at HelixToolkit.Wpf.SharpDX.DPFCanvas.StartD3D() at HelixToolkit.Wpf.SharpDX.DPFCanvas.RenderTechniquesManagerPropertyChanged() at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType) at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal) at System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value) at HelixToolkit.Wpf.SharpDX.Viewport3DX.RenderTechniquesManagerPropertyChanged() at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType) at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue) at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange) at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange) at System.Windows.Data.BindingExpression.Activate(Object item) at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt) at System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(Boolean lastChance) at MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance) at MS.Internal.Data.DataBindEngine.Run(Object arg) at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent() at System.Windows.ContextLayoutManager.UpdateLayout() at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg) at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) at System.Windows.Interop.HwndTarget.OnResize() at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam) at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

OS: Microsoft Windows NT 6.3.9600.0 CLR: 4.0.30319.42000 Dynamo: 2.3.0.5885

I already tried installing (https://www.microsoft.com/en-us/download/details.aspx?id=8109) but failed.

mjkkirschner commented 4 years ago

What kind of machine / gpu are you trying to run Revit/Dynamo on?

HendMousa commented 4 years ago

00 01

mjkkirschner commented 4 years ago

hmm, can you try the following:

  1. update your GPU drivers
  2. make sure revit is set to use hardware acceleration via the nvidia graphics control panel app
  3. as a debugging step you can try starting DynamoSandbox.exe from dynamobuilds.com (you can use a similar 2.3 build) - follow the wiki on that site to make sure it's unzipped correctly with 7zip.
HendMousa commented 4 years ago

I updated my GPU drivers already. I already ran DynamoSandbox.exe (2.4.1), it opens but no grid shows, and the geometry nodes doesn't work.

mjkkirschner commented 4 years ago

Hi @HendMousa - did you add dynamosandbox.exe to the list of high performance apps in nvidia control panel as described here: https://github.com/DynamoDS/Dynamo/wiki/How-to-Utilize-Dynamo-Builds ?

What version of Revit do you have installed ?

HendMousa commented 4 years ago

I will add it now.

I am using Revit 2020.2

HendMousa commented 4 years ago

Actually, after adding sandbox.exe to the list it stopped working.