DynamoDS / Dynamo

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

0.81xx daily builds nothing visible #4189

Closed epeter- closed 9 years ago

epeter- commented 9 years ago

workspace does not display geomtries(solids....) 076xxx working

kronz commented 9 years ago

sounds like your stuff @ikeough

ikeough commented 9 years ago

@epeter- Can you attach a screen shot? The new visualization work that we've been doing uses DirectX for hardware accelerated 3D. Are you using Dynamo over remote desktop or with virtualization like VMWare?

epeter- commented 9 years ago

screenshot were an empty screen, so nothing to show. am running dynamo in regular enviroment win 8.1

Am 09.04.2015 um 08:17 schrieb Ian Keough:

@epeter- https://github.com/epeter- Can you attach a screen shot? The new visualization work that we've been doing uses DirectX for hardware accelerated 3D. Are you using Dynamo over remote desktop or with virtualization like VMWare?

— Reply to this email directly or view it on GitHub https://github.com/DynamoDS/Dynamo/issues/4189#issuecomment-91125625.


Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. http://www.avast.com

ikeough commented 9 years ago

@epeter- Can you send us the log for a dynamo session? (/AppData/Roaming/Dynamo/0.8/logs. This has a few log items at the beginning that state the graphics functionality for your system. The behavior you describe happens if hardware acceleration is not available on your system. Assuming that you are using a system built in the last few years, this should not be the case. That's why I ask about remote desktop and VMWare Fusion (or Parallels). These are environments where hardware acceleration is not available. In VMWare and Parallels you can enable it.

Thanks for the feedback!

dbaldacchino commented 9 years ago

Dynamo 0.8.0 (stable release) does not work for me in sandbox/standalone mode in Windows 8.1. @epeter- : are you seeing the same thing? The previous stable build worked for me in sandbox/standalone mode.

epeter- commented 9 years ago

@dave: i am not running dynamo in sandbox mode. sry

Am 09.04.2015 um 20:54 schrieb Dave Baldacchino:

Dynamo 0.8.0 (stable release) does not work for me in sandbox/standalone mode in Windows 8.1. @epeter- https://github.com/epeter- : are you seeing the same thing? The previous stable build worked for me in sandbox/standalone mode.

— Reply to this email directly or view it on GitHub https://github.com/DynamoDS/Dynamo/issues/4189#issuecomment-91326961.


Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. http://www.avast.com

RodRecker commented 9 years ago

The logs will help us get to the bottom of it.

dbaldacchino commented 9 years ago

No logs are being produced when I try and launch sandbox.

@epeter- , could you try launching it out of curiosity to see if it works for you in Windows 8.1? Thanks.

ikeough commented 9 years ago

@dbaldacchino We've just added an additional component to the installer which adds further DirectX support for Dynamo. Can you try a daily build and let us know if things are improved?

dbaldacchino commented 9 years ago

Sure, will do. Thanks Ian!

dbaldacchino commented 9 years ago

No dice Ian, still not launching in Sandbox mode. Tried as administrator and also set compatibility mode to Windows 7 just in case. Also no logs are being written when launching Sandbox 0.8.1. Note that 0.7.5 still launches with no issues on Windows 8.1.

dbaldacchino commented 9 years ago

This build is actually crashing; not running at all.

dynamoerror

Object reference not set to an instance of an object.

at Dynamo.UI.Views.LibrarySearchView.OnTopResultTargetUpdated(Object sender, DataTransferEventArgs e) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.Data.BindingExpression.OnTargetUpdated(DependencyObject d, DependencyProperty dp) 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.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

RodRecker commented 9 years ago

@dbaldacchino If it is not too much hassle, can you try uninstalling Dynamo 0.7.5 and reinstalling 0.8.1 and see if that runs? We have noticed that some users have had trouble getting these two to co-exist.

dbaldacchino commented 9 years ago

Hi Rod, uninstalled all versions, then installed today's build. Still the same problem described above. DynamoSandbox.exe doesn't work either. I used Process Monitor when launching the Sandbox so if you need the captured logs to help troubleshoot, please get in touch and I can send them to you. The last event shown for DynamoSandbox.exe is the following:

Event Class: File System Operation: CloseFile Result: SUCCESS Path: C:\Program Files\Dynamo 0.8\CSharpAnalytics.WinForms.dll TID: 3924 Duration: 0.0000094

Then there are a few of these calls and no more events show up afterwards:

Event Class: File System Operation: CloseFile Result: SUCCESS Path: C:\Windows\Prefetch\DYNAMOSANDBOX.EXE-BF00125F.pf TID: 2844 Duration: 0.0004007

Thanks.

jnealb commented 9 years ago

@dbaldacchino Hi dave, can you please try this:

  1. Navigate to C:\Users\Dave's Account\AppData\Roaming\Analytics
  2. Make a backup of the file in the folder
  3. Delete it from the folder
  4. Load Dynamo 8.1

Thanks, Neal

dbaldacchino commented 9 years ago

Hi Neal,

Same exact crash and dialog as before.

Object reference not set to an instance of an object.

at Dynamo.UI.Views.LibrarySearchView.OnTopResultTargetUpdated(Object sender, DataTransferEventArgs e) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.Data.BindingExpression.OnTargetUpdated(DependencyObject d, DependencyProperty dp) 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.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

ikeough commented 9 years ago

Leaving a couple of notes for myself:

This has to do with sharpdx finding the effects dll in the path: http://sharpdx.org/forum/5-api-usage/1359-direct2d-effects-class-for-win7 http://sharpdx.org/forum/5-api-usage/183-general-sharpdx-direct3d11-effects-x86-dll-required

ikeough commented 9 years ago

@dbaldacchino @epeter- See my update for a related issue in https://github.com/DynamoDS/Dynamo/issues/4211

dbaldacchino commented 9 years ago

Thanks Ian. Renaming the dll worked. It appears the search has improved on Windows 8.1, although the first few letters still lag by quite a bit and then it gets faster. Sandbox still doesn't launch. I'll test again with tomorrow's build, thanks.

dbaldacchino commented 9 years ago

Hi Ian, just installed DynamoInstall0.8.1.20150429T0438.exe but it still has the same problems as described above. Thanks.

dbaldacchino commented 9 years ago

Haven't been able to verify as there were no new builds since the one above. Thanks.

dbaldacchino commented 9 years ago

No improvement in DynamoInstall0.8.1.20150507T0035.exe.

jnealb commented 9 years ago

@dbaldacchino @epeter- Can you please try with DynamoInstall0.8.1.20150513T0845? We think we may have fixed the issue.

dbaldacchino commented 9 years ago

@jnealb Nope sorry :( Please see #4380

jnealb commented 9 years ago

@dbaldacchino Are you getting the error msg or does the app never load?

dbaldacchino commented 9 years ago

Here's the sequence on first run after install (cleaned out folders manually, analytics, etc.):

1a

1b

1c

Here's the sequence on second run:

2a

2b

2c

Here's the sequence on third run:

3a

3b

3c

3d

I see that @ikeough has referenced this (looked it up and came across it): https://github.com/sharpdx/SharpDX/issues/468

jnealb commented 9 years ago

@dbaldacchino @ikeough Thanks Dave, the ball never made it across the net!

dbaldacchino commented 9 years ago

Yeah, but at least it's moved much further than previous builds! Sandbox wouldn't even try launching before. Now here's what I get when launching the add-in inside of Revit 2015:

4a

4b

4c

The add-in button is then greyed out. In previous builds it even crashed Revit, so that's an improvement. I have to close and re-open to try again (same result).

jnealb commented 9 years ago

@dbaldacchino Can you provide the Details?

dbaldacchino commented 9 years ago

Object reference not set to an instance of an object.

at Dynamo.UI.Views.LibrarySearchView.OnTopResultTargetUpdated(Object sender, DataTransferEventArgs e) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.Data.BindingExpression.OnTargetUpdated(DependencyObject d, DependencyProperty dp) 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.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

dbaldacchino commented 9 years ago

Not running in Windows 7 either (both sandbox and add-in).

dbaldacchino commented 9 years ago

Tried the 05/14 build, still no change. Out of curiosity I searched my drive on the Windows 8.1 system for d3dcompiler*.dll and found the following:

"C:\Program Files\Autodesk\DWG TrueView 2015 - English\D3DCompiler_46.dll" "C:\Program Files\Autodesk\Navisworks 2015 64 bit Exporter Plug-ins\d3dcompiler_46.dll" "C:\Program Files\Autodesk\Navisworks Manage 2015\d3dcompiler_46.dll" "C:\Program Files\Autodesk\Navisworks Manage 2015\Loaders\Inv\Inventor Server\Bin\d3dcompiler_46.dll" "C:\Program Files\Autodesk\Navisworks Manage 2015\Loaders\Rx\d3dcompiler_46.dll" "C:\Program Files\Common Files\Autodesk Shared\Navisworks\2015\ActiveX Redistributable\d3dcompiler_46.dll" "C:\Program Files\Autodesk\DWG TrueView 2015 - English\AcWebBrowser\d3dcompiler_46.dll" "C:\Program Files\Autodesk\DWG TrueView 2015 - English\AcWebBrowser\d3dcompiler_43.dll" "C:\Windows\SysWOW64\D3DCompiler_41.dll" "C:\Windows\System32\D3DCompiler_43.dll" "C:\Windows\SysWOW64\D3DCompiler_43.dll" "C:\Program Files (x86)\Google\Chrome\Application\42.0.2311.152\d3dcompiler_47.dll" "C:\Program Files (x86)\Google\Chrome\Application\42.0.2311.135\d3dcompiler_47.dll" "C:\Windows\WinSxS\x86_microsoft-windows-directx-d3dcompiler_31bf3856ad364e35_6.3.9600.17415_none_7e3e79b737706a8a\D3DCompiler_47.dll" "C:\Windows\WinSxS\amd64_microsoft-windows-directx-d3dcompiler_31bf3856ad364e35_6.3.9600.17415_none_da5d153aefcddbc0\D3DCompiler_47.dll" "C:\Users\david.baldacchino\AppData\Roaming\Dropbox\bin\D3DCompiler_43.dll" "C:\Windows\SysWOW64\D3DCompiler_47.dll" "C:\Windows\WinSxS\x86_microsoft-windows-directx-d3dcompiler_31bf3856ad364e35_6.3.9600.17672_none_7dfa9d1d37a3c079\D3DCompiler_47.dll" "C:\Windows\System32\D3DCompiler_47.dll" "C:\Windows\WinSxS\amd64_microsoft-windows-directx-d3dcompiler_31bf3856ad364e35_6.3.9600.17672_none_da1938a0f00131af\D3DCompiler_47.dll" "C:\Windows\WinSxS\x86_microsoft-windows-directx-d3dcompiler_31bf3856ad364e35_6.3.9600.16384_none_7df1dedb37a9fe02\D3DCompiler_47.dll" "C:\Windows\WinSxS\amd64_microsoft-windows-directx-d3dcompiler_31bf3856ad364e35_6.3.9600.16384_none_da107a5ef0076f38\D3DCompiler_47.dll" "C:\Program Files (x86)\Windows Live\Photo Gallery\D3DCOMPILER_46.dll" "C:\Program Files\Autodesk\Revit 2015\d3dcompiler_46.dll" "C:\Program Files\Autodesk\Navisworks Manage 2015\NOW64\d3dcompiler_46.dll"

ikeough commented 9 years ago

@epeter- and @dbaldacchino We believe we've fixed the direct x exceptions with https://github.com/DynamoDS/Dynamo/pull/4498. Can you both please test with the daily builds and confirm?

dbaldacchino commented 9 years ago

Thanks Ian, once I see a new build I'll test and report back.

dbaldacchino commented 9 years ago

Sandbox is running! Upon first launch it stopped running and locked up like usual (feeling of dismay), but upon running a second time, it opened without a hitch. I can confirm it is running in Revit 2015 as well. BTW I like how the axes are colored to help with orienting oneself in the background. Thanks!

RodRecker commented 9 years ago

@dbaldacchino Thank you David for your persistence and patience on this one!

ikeough commented 9 years ago

@dbaldacchino Excellent. If the stall continues on startup, let us know. I'm closing this one for now.