![]() |
![]() |
#31 |
Addon Developer
![]() |
![]()
Try this Xyon.
D3D9Client.zip |
![]() |
![]() |
![]() |
#32 |
Beta Tester
![]() ![]() |
![]() Quote:
|
![]() |
![]() |
Thanked by: |
![]() |
#33 |
Puts the Fun in Dysfunctional
![]() ![]() ![]() ![]() |
![]() Quote:
|
![]() |
![]() |
![]() |
#34 |
Beta Tester
![]() ![]() |
![]()
I have implemented the video tab but it didn't have any effect in the problem with Phobos. It would appear that the "DG Mk4 in Orbit" scenario seems to "crash" in a phobos.dll and "Atlantis cockpit" scenario is "crashing" in a saturn.dll.
---------- Post added 13-10-10 at 00:07 ---------- Previous post was 12-10-10 at 16:58 ---------- This is geting more and more complicated... I placed a wrapper dll between the Orbiter and the Phobos as well as Mars for reference. The parameters passed from the orbiter to the Phobos.dll are the same for both clients D3D7 and D3D9Clients. Of course, some handles are different but they both look good. But anyway the problem is isolated to clbkFastEphemeris() which is called but will never return. ![]() Code:
Module Mars.dll .............. [Build 101012, API 100830] -- MARS module wrapper loaded -- Module xMars.dll ............. [Build 100830, API 100830] InitModule(HINSTANCE hModule=0x3C70000) InitInstance(OBJHANDLE hBody=0x791FB58) WrapperPlanet(CELBODY pPlanet=0x7920240) clbkInit(FILEHANDLE cfg=0x9FEE70)... Module MarsAtm2006.dll ....... [Build 100830, API 100830] VSOP87(B) Mars: Precision 1e-005, Terms 405/6400 ...return bEphemeris() called clbkFastEphemeris(double simt=0, int req=15, double ptr ret=0x4DBDE0)... ...return(int 12) Module Phobos.dll ............ [Build 101012, API 100830] -- PHOBOS module wrapper loaded -- Module xPhobos.dll ........... [Build ******, API 060425] InitModule(HINSTANCE hModule=0x7B30000) InitInstance(OBJHANDLE hBody=0x7918B50) WrapperPlanet(CELBODY pPlanet=0x2155C10) clbkInit(FILEHANDLE cfg=0x9FEC30)... ...return bEphemeris() called clbkFastEphemeris(double simt=0, int req=15, double ptr ret=0x4DBDE0)... ---------- Post added at 00:14 ---------- Previous post was at 00:07 ---------- I thought that writing a graphics client would have been easier task. |
![]() |
![]() |
Thanked by: |
![]() |
#35 |
Addon Developer
![]() |
![]()
I'm trying to fix it, but still no results. As I mentioned earlier, we should write completely new client. Much faster than working out this error.
|
![]() |
![]() |
![]() |
#36 |
Beta Tester
![]() ![]() |
![]() Quote:
The problem is that I have no means to debug the problem where it manifests it self. The Phobos.dll has been successfully used with the Orbiter very long time, therefore, it's unreasonable to expect that the Phobos.dll and many other modules would have a fundamental bug of somekind. A Buffer overflow in D3D9Client is unlikely the reason because the Orbiter have not yet loaded the Phobos.dll when the Client runs the splash screen and loads a few textures. There is no client code executed between loading the Phobos.dll and getting stuck in a loop. This is the most frustrating bug I have ever encountered. ---------- Post added at 18:50 ---------- Previous post was at 17:10 ---------- I'll try to continue a development without Phobos and Saturn system. Removing them allows to pass the bug or what ever it is. There is nothing I can do about it. But nobody's going to use the client if it won't work with those modules so the problem must be solved. I'll leave the debugging of the Orbiter itself for Martin. |
![]() |
![]() |
![]() |
#37 |
Orbinaut
|
![]()
I'm no programmer and have little understanding of the issues discussed, so feel free to shoot me down, but discussion of phobos.dll in relation to graphics clients reminds me of a bug I posted in the D3D7 client http://orbiter-forum.com/project.php?issueid=129. Martin explained at the time that
Quote:
I wondered if the issue is related? |
![]() |
![]() |
![]() |
#38 |
Beta Tester
![]() ![]() |
![]()
I made some progress with the Client. The 2D panel cockpit and the glass cockbit is online and working. But there is a terrible performance impact during MFD update. There is still a lot of work with it. There are also problems with the Orbiter like DeltaGlider falling down from an orbit.
Installation note: Place the MeshTech.fx in the Orbiter's root folder. Installation note: Remove Phobos and Saturn system from the Sol.cfg Installation note: Software Vertex processing must be unchecked from Video Tab Last edited by jarmonik; 09-20-2012 at 09:41 PM. |
![]() |
![]() |
Thanked by: |
![]() |
#39 |
Beta Tester
![]() ![]() |
![]()
Also note that Phobos and Saturn system must be removed from Sol.cfg take a backup before editing it.
|
![]() |
![]() |
![]() |
#40 |
Puts the Fun in Dysfunctional
![]() ![]() ![]() ![]() |
![]()
Same again; Error loading module Modules\Plugin\D3D9Client.dll (code 14001)
Would this be because I don't have the DX9 SDK perhaps? |
![]() |
![]() |
![]() |
#42 |
Addon Developer
![]() |
![]()
Here you are Xyon.
D3D9Client.zip |
![]() |
![]() |
Thanked by: |
![]() |
#43 |
Puts the Fun in Dysfunctional
![]() ![]() ![]() ![]() |
![]()
Possibly. I have a lot of VC++2008 runtimes, though probably not the ones I need.
---------- Post added at 23:39 ---------- Previous post was at 23:36 ---------- Quote:
Code:
**** Orbiter.log Build Aug 30 2010 [v.100830] Timer precision: 3.39777e-007 sec Found 0 joystick(s) Module AtlantisConfig.dll .... [Build 100830, API 100830] Module AtmConfig.dll ......... [Build 100830, API 100830] Module DGConfigurator.dll .... [Build 100830, API 100830] Module D3D9Client.dll ........ [Build 101016, API 100830] **** Creating simulation session |
![]() |
![]() |
![]() |
#44 |
Beta Tester
![]() ![]() |
![]() Quote:
I am really worried about how the Orbiter behaves under D3D9Client. Something is badly wrong. Last edited by jarmonik; 10-30-2010 at 07:43 PM. |
![]() |
![]() |
Thanked by: |
![]() |
#45 |
Puts the Fun in Dysfunctional
![]() ![]() ![]() ![]() |
![]() |
![]() |
![]() |
![]() |
|
Tags |
d3d9client, graphicsclient |
Thread Tools | |
|
|
Quick Links | Need Help? |