3D View doesn't work
2.5D CAD CAM emphasis on CAM and toolpaths
Status: Beta
Brought to you by:
burkleymetal
When I go to 3D View, I get an error:
3D viewing requires DirectX; your computer doesn't seem to have it. DirectX is available for free from Microsoft .....
When I go to install the latest version of DirectX from the Microsoft site, it tells me that it's already installed. I have DirectX 11 installed.
I ran the DirectX diag tool (both 32 and 64-bit) and both show no problems found.
I am running Windows 7 Professional, SP1, 64-bit, 8G RAM.
I have tried this with both the 32 and 64 bit version of Techne.
Any advice on how to get the 3D View operational?
Anonymous
The error message is misleading, the message is due to legacy support for XP. What I think is happening is that DirectX 11 is not initializing correctly or there is a feature in your Direct X implementation that is missing. This causes a fallback to look for Direct X 9c which would not be installed on your system by default and when that is not found you get the error.
You are the second person to report a problem with Direct X recently, in their case the system was using integrated graphics. Do you know what graphics hardware you have?
It is possible to install DirectX 9c on your system. I have it on my Windows 7 setup for development purposes. If you are truly desperate you could try an install
http://www.microsoft.com/en-us/download/details.aspx?id=34429
However I don't recommend it as Direct X11 should run everything Direct X9 does so the failure will likely persist.
If you are willing to play debugger, I can create a special Techne that will through messages during the DirectX initialization and we might be able to figure out the problem.
The 3D preview is optional, you can do designs and toolpaths without it.
I ran the install for DirectX 9c and it claimed it completed the install, but DXDiag still shows DirectX 11. I'm running this on an HP Elitebook with Intel intetgrated graphics.
I'm definitely willing to play debugger - so feel free to create a test build for me and I'll report back.
In the meantime, I've been using Techne without 3D view and it's working great for me. Thanks.
John
Same here, both on a windows 8 laptop (HP elitebook with integrated Intel graphics) and a windows 7 desktop, also with integrated Intel graphics.
I think I have a older GeForce laying around. I'll try putting it in the desktop to see if it makes a difference.
Here is a test version, its 64 bit. If someone needs 32 bit I will recompile. Unzip into a temp folder and run from there. This assumes you still have Techne installed, if not you might get warnings about missing files (not sure, didn't verify).
This version will show message boxes when an error is encountered. There are so many areas where the problem might be that I want to get some focus before writing more detailed code. Just tell me any messages that are shown.
I will also upload the test program into the Sandbox file directory. Look for DirectX11TestTechne64.zip
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
On my desktop (windows 7) the error popup just says
DirectX11 missing
But if I run the directX diagnostic tool, it shows (as it did for John)
DirectX Version: DirectX 11
Sorry, that was me in the previous message. I forgot to log in.
In the display tab of the directX diagnostic, it shows this:
DirectX Features
DirectDraw Acceleration: Not Available
Direct3D Acceleration: Enabled
AGP Texture Acceleration: Not Available
Ok, installed a GeForce on the win 7 machine.
With the nvidia drivers, dxdiag shows DirectDraw Acceleration and AGP Texture Acceleration available, and the 3D view works.
I guess the Intel 3D doesn't support the needed features requested by this program.
(either that, or they need to be turned on)
I don't want to assume yet that because a feature is showing Not Available that we know it is the problem with Techne. Those can be very broad categories and it might be possible that its just a subset of functions that are the problems and there could be workarounds.
Yes, I think this was a distraction.
I checked on my EliteBook 840 (with Intel 4400 integrated graphics) and while it shows all features as enabled, techne complains about DirectX11 missing.
I too got the same error when starting the software: DirectX missing. See attachment. The 3D View tab shows the same error.
DXDiag for me on display 1 shows all 3 DirectX Features as being enabled.
Is there anything else I can grab to make it easier for you to troubleshoot?
I am assuming both John and Bruno (without the GEForce installed) are seeing the same messagebox of DirectX11 missing.
I have new test program to try, it is also available in the sandbox file folder. DirectX11TestTechneV2_64.zip. As before it is 64bit.
If you could also do a search on your systems for the following files. These are system files, so they will not be in the Techne directories. Missing does not necessarily mean a problem.
d3d9.dll
d3dx9_43.dll
d3d11.dll
d3dx11_43.dll
dxgi.dll
From c:\Windows:
I'm old Unix/Linux guy, so I can't search without cygwin... :-)
find . -name "d3d*.dll"
./System32/d3d10.dll
./System32/d3d10core.dll
./System32/d3d10level9.dll
./System32/d3d10warp.dll
./System32/d3d10_1.dll
./System32/d3d10_1core.dll
./System32/d3d11.dll
./System32/d3d8thk.dll
./System32/d3d9.dll
./SysWOW64/d3d10.dll
./SysWOW64/d3d10core.dll
./SysWOW64/d3d10level9.dll
./SysWOW64/d3d10warp.dll
./SysWOW64/d3d10_1.dll
./SysWOW64/d3d10_1core.dll
./SysWOW64/d3d11.dll
./SysWOW64/d3d8.dll
./SysWOW64/d3d8thk.dll
./SysWOW64/d3d9.dll
./SysWOW64/d3dim.dll
./SysWOW64/d3dim700.dll
./SysWOW64/d3dramp.dll
./SysWOW64/d3dxof.dll
(edit: Removed the long paths that are too hard to read)
Last edit: Bruno 2015-01-16
On the Elitebook (windows 8.0)
m_hD2DX11Library load failure
Then the DirectX file d3dx11_43.dll is missing, I'll have to go through the code to see which features are provided by this. I did a search regarding this file and "integrated graphics" and this file missing when the GPU is integrated seems to be a common issue.
I am attaching the dll from my Windows 7 install. Try putting it into the same directory as the test version of Techne and see what happens.
You can also try doing a DirectX install
http://www.microsoft.com/en-us/download/details.aspx?id=35
to see if that installs the missing file, but I notice this link says Window 7 in the "systems requirement" area.
With the new program, I get m_hD3DX11 Library load failure.
Regarding the DLLs, I do not have the _43 file of each version, but have the other 3 files in System32 and SysWow64.
If I didn't mention it, I have an HP Elitebook 840 G1.
I dropped it into the same directory and go luck. I also dropped it into the System32 directory and no luck. Then I tried to register it (REGSVR32) and get the attached error.
Typically, that happens when there are other files that are required to register the DLL.
I'll give the reinstall a try.
ok. I reinstalled using the link you provide above and that was the ticket. There are now a bunch of _xx files including the _43 you talked about in my system32 and the 3D View works great. Actually, it's awesome.
If there's ever anything else I can do to help out with testing, etc. don't hesitate to reach out.
Just give the non test version a good workout and see if there are any issues with a complicated design not showing in 3D. Thanks, Joe
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
I updated my DirectX installation (on the Elitebook 840) and now I get this error at startup with the debug version:
"DirectX11 device and swap chain creation fail"
But once I click OK, the program runs as expected.
The weird thing is that now the regular (non debuggable) version of techne doesn't start anymore.
The 3D version of Techne starts and run without issue (besides the ones you'd expect from a pre-alpha :-)
It kinda makes sense. Before you updated DirectX, a major file was missing and so non-debug Techne did not even try and use any DirectX calls. After your update, its loading DirectX and finding a problem. Somehow the debug version doesn't barf cuz of the problem, but the non-debug does. So the update is causing the non-debug to reach different code than before.
Try this tester. It will throw the same error as you reported, but it will then follow with an error code which is what I am after.
I gotta start working on the 3D version again...
Last edit: Joe Burkley 2015-01-16
Error code 80004005
Another test, same as before let me know the error code. When you run the debug code, what happens when you go to the 3D View, it doesn't display does it?
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Just like the non-debuggable version of Techne, this one never starts.
I see a small icon with an exclamation point flash briefly in the toolbar but it goes away too fast for me to see what it is.
The previous debuggable version (the one that gave me the error code) does show the 3d view if I ignore the error.
Try this one
There is a popup window that comes and then goes away so fast that it is a bit hard for me to see what it says. Something like
Tech CAD/CAM is trying to recover your information.
There is a progress bar with (I think) "this could take a few minutes"
All this goes away so fast that the task manager never even shows the process.