New Release D3D9Client Development

Here is a new debug build. Looks like the vital information usually written in red was missing from that build. Those numbers aren't much use if they are from a release build.

So, if you could reproduce the CTD once more with this build. I'll only need the information written in red in the end of the log.

If it gives you some other kind of dialog then could you take a screen shot from it.
 
Last edited:
Ok, with the latest debug build. The CTD experience is the same as the release.

This is the dialog that shows up after closing Orbiter. Note, it doesnt seem to have any sort of ill side-effects. By that I mean, I can close Orbiter, and then load the Current Situation scenario with no issues.

picture.php


and here is the D3D9 client log:
Code:
(1887: 280.14s 28038us)(0x620)[ERROR] Orbiter Version 100830
(1888: 280.14s 28150us)(0x620)[ERROR] D3D9Client Build [Sep 7 2012]
(1889: 280.14s 28235us)(0x620)[ERROR] Exception Code=0xC0000005, Address=0x063522C2
(1890: 280.14s 28296us)(0x620)[ERROR] EAX=0x19046FC0 EBX=0x00000000 ECX=0xD4B12D24 EDX=0x193C0E10 ESI=0x009FF084 EDI=0x00000001 EBP=0x009FF07C ESP=0x009FF078 EIP=0x063522C2
(1891: 280.14s 29393us)(0x620)[ERROR] D:\ORBITER\Modules\Plugin\D3D9Client.dll EntryPoint=0x063C7F20, Base=0x06320000, Size=2326528
(1892: 280.15s 34829us)(0x620)[ERROR] Exception in gc->UnregisterVisObject(pv->vobj->GetObject())
(1893: 301.40s 21289298us)(0x620) --------------ExitModule------------
(1894: 301.40s 21289325us)(0x620)[ERROR] !!! Abnormal Program Termination !!!
(1895: 301.41s 21292282us)(0x620) Log Closed
 
I think I found it. It would seem that there was a visual handle left behind in debug controls after deleting the focus visual. Which resulted a CTD during shutdown.

Here is a new package for testing. Could you confirm that the problem has been fixed. If not then I'll need the red lines again, could be a different issue.
 

Attachments

Last edited:
Hi jarmonik,

just in case you have nothing else to do ;) here's another small problem I've come across.

When you start the scenario below in Orbiter with inline graphic-client, the Carina is positioned at the end of the RMS of STS-101.
But in Orbiter_ng (D3D9Client, and D3D7Client ass well I think[1]) it isn't!
When you open the RMS control (Ctrl-Space) and just move any of the RMS axes (e.g. wrist) the Cariana "jumps" to the end of the RMS, where it should be in the first place.

Code:
BEGIN_DESC
Contains the latest simulation state.
END_DESC

BEGIN_ENVIRONMENT
  System Sol
  Date MJD 51982.9803208160
END_ENVIRONMENT

BEGIN_FOCUS
  Ship STS-101
END_FOCUS

BEGIN_CAMERA
  TARGET STS-101
  MODE Extern
  POS 1.85 38.74 -154.02
  TRACKMODE GlobalFrame
  FOV 50.00
END_CAMERA

BEGIN_HUD
  TYPE Docking
  NAV 0
END_HUD

BEGIN_MFD Left
  TYPE Docking
  NAV 0
END_MFD

BEGIN_SHIPS
STS-101:Atlantis
  STATUS Orbiting Earth
  RPOS -1485081.059 -226229.331 6463909.908
  RVEL -7327.2387 -1918.1222 -1695.9808
  AROT -71.419 67.536 16.740
  RCSMODE 2
  AFCMODE 7
  PRPLEVEL 0:0.976376
  NAVFREQ 0 0
  CONFIGURATION 3
  GEAR 0 0.0000
  ARM_STATUS 0.5321 0.3038 0.0000 0.6861 0.5000 0.5000
  SAT_OFS_X 0.000000
  SAT_OFS_Y 0.000000
  SAT_OFS_Z 0.000000
  CARGO_STATIC_MESH Carina_cradle
  CARGO_STATIC_OFS 0.000000 -1.650000 0.050000
  CARGODOOR 1 1.0000
END
Carina:Carina
  STATUS Orbiting Earth
  RPOS -1485079.693 -226228.375 6463924.748
  RVEL -7327.2387 -1918.1222 -1695.9808
  AROT -52.374 77.770 -144.926
  ATTACHED 1:1,STS-101
  AFCMODE 7
  NAVFREQ 130 130
END
END_SHIPS

BEGIN_ExtMFD
END

I think that the inline Orbiter calls some animation-init or grapple-init code after all objects / vessels have been created.
Unfortunately I have not been able to fix this by myself, cause I am not that deep into that parts of the D3d9Client code as you are.

Thank you in advance,
Kuddel
[1] I'll check with D3D7Client again to be sure.

Edit: I've attached the scenario for convenience
 

Attachments

Last edited:
When you start the scenario below in Orbiter with inline graphic-client, the Carina is positioned at the end of the RMS of STS-101.
But in Orbiter_ng (D3D9Client, and D3D7Client ass well I think[1]) it isn't!
When you open the RMS control (Ctrl-Space) and just move any of the RMS axes (e.g. wrist) the Cariana "jumps" to the end of the RMS, where it should be in the first place.

That sounds familiar. This was fixed a long ago but the old bug could have returned after finding a work-a-round for DGIV antenna and SF door animations.

This line was added to the code to fix the issue with RMS:
Code:
UpdateAnimations(); // Must update immediately to prevent RMS grapple target displacement

However, I am not able to reproduce the problem with the scenario you posted. So, could you double check that the problem do exist in your computer. Also, is anyone else able to reproduce the problem.

I suppose, it might have something to do with vessel initialization/creation order. I'll see the Carina to appear in the end of the RMS after the shuttle it-self. But if the carina is created first and the shuttle afterwards ? Hmmm ?

---------- Post added at 12:52 ---------- Previous post was at 12:45 ----------

I have never created a vessel nor animation for the orbiter so I am not very familiar with animations.

How is the carina placed into the RMS anyway ?

---------- Post added at 13:08 ---------- Previous post was at 12:52 ----------

Could you apply this change and see if it helps.

Code:
double Scene::GetObjectAppRad(OBJHANDLE hObj) const
{
    VECTOR3 pos,cam;
    oapiGetGlobalPos(hObj, &pos);

    oapiCameraGlobalPos(&cam);

    double rad = oapiGetSize (hObj);
    double dst = dist (pos, cam);
    return (rad*double(viewH))/(dst*tan(oapiCameraAperture()));
}


---------- Post added at 13:40 ---------- Previous post was at 13:08 ----------

How does this section appear in your log.

(261: 11.34s 2us)(0xB08) Vessel(0x90B02F4) Atlantis has 4 meshes
(262: 11.34s 205us)(0xB08) Mesh(0x907BB98) Offset = (0, 0, 0)
(263: 11.35s 584us)(0xB08) Mesh(0x8F93070) Offset = (0, 0, 0)
(264: 11.35s 1351us)(0xB08) Mesh(0x907BBD0) Offset = (0, 0, 0)
(265: 11.35s 2521us)(0xB08) Mesh(0x907BDC8) Offset = (0, -1.65, 0.05)
(266: 11.35s 2578us)(0xB08) Vessel(STS-101) Vis=0xBA79A48 has 26 animations
(267: 11.35s 2614us)(0xB08) RegisteringVisual (STS-101) hVessel=0x90B02F4, hObj=0x9034DF8, Vis=0xBA79A48, Rec=0x3ED4C10, Type=10
(268: 11.35s 1us)(0xB08) Vessel(0x9038BE8) Carina has 1 meshes
(269: 11.35s 289us)(0xB08) Mesh(0x907BDC8) Offset = (0, 0, 0)
(270: 11.35s 317us)(0xB08) Vessel(Carina) Vis=0xBA873D8 has no animations
(271: 11.35s 334us)(0xB08) RegisteringVisual (Carina) hVessel=0x9038BE8, hObj=0x9035C00, Vis=0xBA873D8, Rec=0x3ED4C50, Type=10
(272: 11.35s 353us)(0xB08) =============== Loading Completed and Visuals Created ================
 
Hi jarmonik,

That sounds familiar. This was fixed a long ago but the old bug could have returned after finding a work-a-round for DGIV antenna and SF door animations.

This line was added to the code to fix the issue with RMS:
Code:
UpdateAnimations(); // Must update immediately to prevent RMS grapple target displacement
Yes I've found those changes, too.


However, I am not able to reproduce the problem with the scenario you posted. So, could you double check that the problem do exist in your computer. Also, is anyone else able to reproduce the problem.
That's strange although it might be a problem on my side. Let's wait if anyone else can reproduce it.


I suppose, it might have something to do with vessel initialization/creation order. I'll see the Carina to appear in the end of the RMS after the shuttle it-self. But if the carina is created first and the shuttle afterwards ? Hmmm ?
On my machine it doesn't make any difference in what order the vessels appear in the scenario, sorry.

How does this section appear in your log.

(261: 11.34s 2us)(0xB08) Vessel(0x90B02F4) Atlantis has 4 meshes
(262: 11.34s 205us)(0xB08) Mesh(0x907BB98) Offset = (0, 0, 0)
(263: 11.35s 584us)(0xB08) Mesh(0x8F93070) Offset = (0, 0, 0)
(264: 11.35s 1351us)(0xB08) Mesh(0x907BBD0) Offset = (0, 0, 0)
(265: 11.35s 2521us)(0xB08) Mesh(0x907BDC8) Offset = (0, -1.65, 0.05)
(266: 11.35s 2578us)(0xB08) Vessel(STS-101) Vis=0xBA79A48 has 26 animations
(267: 11.35s 2614us)(0xB08) RegisteringVisual (STS-101) hVessel=0x90B02F4, hObj=0x9034DF8, Vis=0xBA79A48, Rec=0x3ED4C10, Type=10
(268: 11.35s 1us)(0xB08) Vessel(0x9038BE8) Carina has 1 meshes
(269: 11.35s 289us)(0xB08) Mesh(0x907BDC8) Offset = (0, 0, 0)
(270: 11.35s 317us)(0xB08) Vessel(Carina) Vis=0xBA873D8 has no animations
(271: 11.35s 334us)(0xB08) RegisteringVisual (Carina) hVessel=0x9038BE8, hObj=0x9035C00, Vis=0xBA873D8, Rec=0x3ED4C50, Type=10
(272: 11.35s 353us)(0xB08) =============== Loading Completed and Visuals Created ================
Exactly the same here. Atlantis with 26 animations, Carina with none. The order is also equal here.

I'll try applying your patch later on and report any findings then.

Kuddel

--- Edit: ---
Hi again! I've run all over my tests again and I can say that this problem only occures if I start that scenario in "paused state".
So, when I start Orbiter with "Start paused" option enabled and then un-pause it, the Carina is not re placed.
However when I start without the pause option, the carina 'jumps' to the end of the RMS!
So maybe this is only worth a note at "known issues" ;)
I will try your patch anyway, maybe it does change anything.

--- Edit2: ---
As expected, the patch doesn't change anything. It definitely has to do with the "Start paused" option.
 
Last edited:
Hi again! I've run all over my tests again and I can say that this problem only occures if I start that scenario in "paused state".

Yes, Looks like I can reproduce the issue when using Start Paused. That could be tricky one to fix.

Thanks
 
Hi! I have a long time problem with Throton's Proton add-on and the D3D9 client. Only one of the scenarios, the triple-GLONASS launch one with the Proton-M, crashes. It works in the default O2010-P1. All the other scenarios work, as well as this one if I remove one of the Uragan spacecraft from the payloads.

Scenario:
Code:
BEGIN_DESC

END_DESC

BEGIN_ENVIRONMENT
  System Sol
  Date MJD 54825.444792
END_ENVIRONMENT

BEGIN_FOCUS
  Ship P2
END_FOCUS

BEGIN_CAMERA
  TARGET P2
  MODE Extern
  POS 8.64 81.36 -3.29
  TRACKMODE Ground Earth
  GROUNDLOCATION 62.984641 46.071149 1.00
  FOV 45.00
END_CAMERA

BEGIN_HUD
  TYPE Surface
END_HUD

BEGIN_MFD Left
  TYPE Surface
  SPDMODE 1
END_MFD

BEGIN_MFD Right
  TYPE Orbit
  PROJ Ship
  FRAME Equator
  ALT
  REF Earth
END_MFD


BEGIN_SHIPS
UraganM1:Proton_LV\Uragan-M
  STATUS Landed Earth
  PRPLEVEL 0:1.000 1:1.000
END
UraganM2:Proton_LV\Uragan-M
  STATUS Landed Earth
  PRPLEVEL 0:1.000 1:1.000
END
UraganM3:Proton_LV\Uragan-M
  STATUS Landed Earth
  PRPLEVEL 0:1.000 1:1.000
END
Fairing1:Proton_LV/fairing
  STATUS Landed Earth
  PRPLEVEL 0:1.000
  MASS 650
  MESHNAME Proton_LV\DM_SPLF
END
Fairing2:Proton_LV/fairing
  STATUS Landed Earth
  PRPLEVEL 0:1.000
  MASS 650
  MESHNAME Proton_LV\DM_SPLF
END
DM2:Proton_LV/DM
  STATUS Landed Earth
  PRPLEVEL 0:1.000 1:1.000
  ADAPTER_MESHNAME Proton_LV\DM_int
  PAYLOAD1 UraganM1
  PREF1 -0.877 0 0.3
  PROT1 -1 0 0
  PAYLOAD2 UraganM2
  PREF2 -0.92 -0.02 0.3
  PROT2 0.5 0.86602 0
  PAYLOAD3 UraganM3
  PREF3 -0.92 0.02 0.3
  PROT3 0.5 -0.86602 0
END
P3:Proton_LV/P3
  STATUS Landed Earth
  PRPLEVEL 0:1.000 1:1.000
  GUIDANCE
  TRAJECTORY Config\Vessels\Proton_LV\ASAT.txt
  TYPE 3
  PAYLOAD DM2
  PREF 0 0 2.5
  FAIRING1 Fairing1
  FREF1 0 -1.997 0.55
  FAIRING2 Fairing2
  FREF2 0 -1.997 0.55
  FROT2 -1 0 0 
END
Skirt:Proton_LV/Skirt
  STATUS Landed Earth
  TYPE 1
END
P2:Proton_LV/P2
  STATUS Landed Earth
  PRPLEVEL 0:1.000 1:1.000
  GUIDANCE
  TRAJECTORY Config\Vessels\Proton_LV\ASAT.txt
  TYPE 1
  DATA 1 1
  PAYLOAD P3
  SKIRT Skirt
  FOCUS 1
END
P1:Proton_LV/P1
  STATUS Landed Earth
  POS 63.0423200 46.0353000
  HEADING 0.00
  ATTACHED 0:0,LC81
  PRPLEVEL 0:1.000
  NAVFREQ 0 0
  GUIDANCE
  TRAJECTORY Config\Vessels\Proton_LV\ASAT.txt
  TYPE 1
  PAYLOAD P2
  INCLINATION 64.8
END
LC81:Proton_LV\LC81
  STATUS Landed Earth
  POS 62.984781 46.070889
  HEADING 214.83
  PRPLEVEL 0:1.000
  NAVFREQ 0 0
END
kmlWriter:Proton_LV/kmlWriter
  STATUS Landed Earth
END
END_SHIPS

BEGIN_ExtMFD
END

Orbiter.log:
Code:
**** Orbiter.log
Build Aug 30 2010 [v.100830]
Timer precision: 4.66608e-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 EnergyConfigurator.dll  [Build ******, API 060425]
Module ProjectOutpostsConfig.dll  [Build 120604, API 100830]
Module Meshdebug.dll ......... [Build 100830, API 100830]
Module CustomMFD.dll ......... [Build 100830, API 100830]
Module transx.dll ............ [Build 100824, API 100823]
Module LuaConsole.dll ........ [Build 100830, API 100830]
Module ScriptMFD.dll ......... [Build 100830, API 100830]
Module ExtMFD.dll ............ [Build 100830, API 100830]
Module Framerate.dll ......... [Build 100830, API 100830]
Module ScnEditor.dll ......... [Build 100830, API 100830]
Module BurnTimeCalculator.dll  [Build 110301, API 100830]
---------------------------------------------------------------
>>> WARNING: Obsolete API function used: oapiRegisterMFDMode
At least one active module is accessing an obsolete interface function.
Addons which rely on obsolete functions may not be compatible with
future versions of Orbiter.
---------------------------------------------------------------
Module CSSC_Spawner.dll ...... [Build 120331, API 100830]
Module LuaMFD.dll ............ [Build 100830, API 100830]
Module OrbiterSound.dll ...... [Build ******, API 060425]
Module GPCMFD.dll ............ [Build 111222, API 100830]
Module ScreenCapture.dll ..... [Build ******, API 060425]
Module STSGuidanceMFD.dll .... [Build 120225, API 100830]
Module AutoFCS-STS.dll ....... [Build ******, API 050206]
Module AutoFCS.dll ........... [Build ******, API 050206]
Module D3D9ClientDebug.dll ... [Build 120227, API 100830]
D3D9Client: [DirectX 9 Initialized]

**** Creating simulation session
D3D9Client: Sytem has XNA math support
D3D9Client: [3DDevice Initialized]
D3D9Client: [Compiling Effects for Shader Model 3.0]
D3D9Client: [Loading Stars]
D3D9Client: [Loading Constellations]
D3D9Client: [D3D9Client Initialized]
.\D3D9Surface.cpp Line:1158 Error:-2005529767 D3DXGetImageInfoFromFile(cpath, &info)
Loading a large surface Handle=0x2E77798 (3435973836,3435973836)
Texture ASVI\LuciProssimit?.dds failed to load
.\D3D9Surface.cpp Line:1158 Error:-2005529767 D3DXGetImageInfoFromFile(cpath, &info)
Loading a large surface Handle=0x2E77798 (3435973836,3435973836)
Texture ASVI\LuciProssimit?_n.dds failed to load
Module Sun.dll ............... [Build 100830, API 100830]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
Module Mercury.dll ........... [Build 100830, API 100830]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
Module Venus.dll ............. [Build 100830, API 100830]
Module VenusAtm2006.dll ...... [Build 100830, API 100830]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
Module Earth.dll ............. [Build 100830, API 100830]
Module EarthAtmJ71G.dll ...... [Build 100830, API 100830]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
BaseObject: Parse error
Module Moon.dll .............. [Build 100830, API 100830]
ELP82: Precision 1e-005, Terms 116/829
Module Mars.dll .............. [Build 100830, API 100830]
Module MarsAtm2006.dll ....... [Build 100830, API 100830]
VSOP87(B) Mars: Precision 1e-005, Terms 405/6400
Module Phobos.dll ............ [Build ******, API 060425]
Module Deimos.dll ............ [Build ******, API 060425]
Module Galsat.dll ............ [Build 100217, API 100215]
Module Jupiter.dll ........... [Build 100830, API 100830]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
Module Io.dll ................ [Build 100217, API 100215]
Module Europa.dll ............ [Build 100217, API 100215]
Module Ganymede.dll .......... [Build 100217, API 100215]
Module Callisto.dll .......... [Build 100217, API 100215]
Module Satsat.dll ............ [Build 100215, API 100212]
Module Saturn.dll ............ [Build 100830, API 100830]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
Module Mimas.dll ............. [Build 100215, API 100212]
SATSAT Mimas: Terms 113
Module Enceladus.dll ......... [Build 100215, API 100212]
SATSAT Enceladus: Terms 33
Module Tethys.dll ............ [Build 100215, API 100212]
SATSAT Tethys: Terms 101
Module Dione.dll ............. [Build 100215, API 100212]
SATSAT Dione: Terms 59
Module Rhea.dll .............. [Build 100215, API 100212]
SATSAT Rhea: Terms 68
Module Titan.dll ............. [Build 100215, API 100212]
SATSAT Titan: Terms 100
Module Iapetus.dll ........... [Build 100215, API 100212]
SATSAT Iapetus: Terms 605
Module Uranus.dll ............ [Build 100830, API 100830]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
Module Miranda.dll ........... [Build ******, API 060425]
Module Ariel.dll ............. [Build ******, API 060425]
Module Umbriel.dll ........... [Build ******, API 060425]
Module Titania.dll ........... [Build ******, API 060425]
Module Oberon.dll ............ [Build ******, API 060425]
Module Neptune.dll ........... [Build 100830, API 100830]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
Finished initialising world
Module Uragan-M.dll .......... [Build 100901, API 100830]
Module Fairing.dll ........... [Build 100901, API 100830]

D3D9Client log:
Code:
(0: 0.00s 3us)(0x2038) ================ clbkInitialise ===============
(1: 0.00s 168us)(0x2038) Orbiter Version = 100830
(2: 0.02s 17033us)(0x2038) Index:0 640 x 480 60Hz (22)
(3: 0.02s 17492us)(0x2038) Index:1 800 x 600 60Hz (22)
(4: 0.02s 18267us)(0x2038) Index:2 1024 x 768 60Hz (22)
(5: 0.02s 19539us)(0x2038) Index:3 1280 x 720 60Hz (22)
(6: 0.02s 21584us)(0x2038) Index:4 1280 x 768 60Hz (22)
(7: 0.02s 22333us)(0x2038) Index:5 1360 x 768 60Hz (22)
(8: 0.03s 23002us)(0x2038) Index:6 1366 x 768 60Hz (22)
(9: 13.70s 4us)(0x2038) ================ clbkCreateRenderWindow ===============
(10: 13.71s 13163us)(0x2038) [VideoConfiguration] Adapter=0, ModeIndex=4294967295
(11: 13.71s 13485us)(0x2038) Adapter = NVIDIA GeForce G210M 
(12: 13.71s 15029us)(0x2038) MaxTextureBlendStages..: 8
(13: 13.71s 15111us)(0x2038) MaxTextureWidth........: 8192
(14: 13.71s 15145us)(0x2038) MaxTextureHeight.......: 8192
(15: 13.71s 15176us)(0x2038) MaxPrimitiveCount......: 8388607
(16: 13.71s 15209us)(0x2038) MaxVertexIndex.........: 16777215
(17: 13.71s 15240us)(0x2038) MaxAnisotropy..........: 16
(18: 13.71s 15272us)(0x2038) MaxSimultaneousTextures: 8
(19: 13.71s 15304us)(0x2038) MaxStreams.............: 16
(20: 13.71s 15336us)(0x2038) MaxStreamStride........: 255
(21: 13.71s 15367us)(0x2038) MaxVertexBlendMatrices.: 4
(22: 13.71s 15398us)(0x2038) MaxVShaderInstrExecuted: 65535
(23: 13.71s 15432us)(0x2038) MaxPointSize...........: 8192.000000
(24: 13.71s 15467us)(0x2038) VertexShaderVersion....: 0x300
(25: 13.71s 15498us)(0x2038) PixelShaderVersion.....: 0x300
(26: 13.71s 15530us)(0x2038) NumSimultaneousRTs.....: 4
(27: 13.71s 15561us)(0x2038) D3DPTEXTURECAPS_POW2...: 0
(28: 13.71s 15593us)(0x2038) NONPOW2CONDITIONAL.....: 0
(29: 13.71s 15624us)(0x2038) VertexDeclCaps.........: 0x30F
(30: 13.71s 15656us)(0x2038) DevCaps................: 0x1BBEF0
(31: 13.71s 15688us)(0x2038) DevCaps2...............: 0x51
(32: 13.71s 15719us)(0x2038) XNA Math Support.......: Yes
(33: 13.71s 16517us)(0x2038) D3DFMT_D32F_LOCKABLE
(34: 13.71s 16583us)(0x2038) D3DFMT_D24S8
(35: 13.71s 16657us)(0x2038) D3DFMT_D24X8
(36: 13.75s 55127us)(0x2038) Available Texture Memory = 1721 MB
(37: 13.76s 587us)(0x2038) ----- Initialize D3D9ClientSurface Tech -----
(38: 13.86s 104817us)(0x2038) Render Target = 0x339D1C0
(39: 14.07s 313159us)(0x2038) [NEW FONT] ( Courier New), Size=20, Weight=400 Pitch&Family=31
(40: 14.07s 317695us)(0x2038) TextMetrics: Ascent = 15
(41: 14.07s 317777us)(0x2038) TextMetrics: Descent = 5
(42: 14.07s 317811us)(0x2038) TextMetrics: Height = 20
(43: 14.07s 317844us)(0x2038) TextMetrics: AvgWidth = 10
(44: 14.07s 317876us)(0x2038) TextMetrics: MaxWidth = 13
(45: 14.11s 359275us)(0x2038) Font Video Memory Usage = 256 kb
(46: 14.12s 360079us)(0x2038) Font and Charter set creation succesfull
(47: 14.53s 415435us)(0x2038) Starting to initialize basic a rendering technique...
(48: 14.53s 415527us)(0x2038) [Compiling Effects for Shader Model 3.0]
(49: 17.49s 55us)(0x2038) [NEW FONT] ( Arial), Size=15, Weight=400 Pitch&Family=31
(50: 17.50s 4695us)(0x2038) TextMetrics: Ascent = 12
(51: 17.50s 4779us)(0x2038) TextMetrics: Descent = 3
(52: 17.50s 4813us)(0x2038) TextMetrics: Height = 15
(53: 17.50s 4845us)(0x2038) TextMetrics: AvgWidth = 5
(54: 17.50s 4877us)(0x2038) TextMetrics: MaxWidth = 32
(55: 17.55s 51422us)(0x2038) Font Video Memory Usage = 256 kb
(56: 17.55s 51798us)(0x2038) Font and Charter set creation succesfull
(57: 17.55s 51890us)(0x2038) [NEW FONT] ( Fixed), Size=18, Weight=400 Pitch&Family=31
(58: 17.55s 57904us)(0x2038) TextMetrics: Ascent = 14
(59: 17.55s 57993us)(0x2038) TextMetrics: Descent = 4
(60: 17.55s 58027us)(0x2038) TextMetrics: Height = 18
(61: 17.55s 58059us)(0x2038) TextMetrics: AvgWidth = 10
(62: 17.55s 58090us)(0x2038) TextMetrics: MaxWidth = 12
(63: 17.61s 111002us)(0x2038) Font Video Memory Usage = 256 kb
(64: 17.61s 111278us)(0x2038) Font and Charter set creation succesfull
(65: 17.61s 111350us)(0x2038) ================ Scene Created ===============
(66: 22.02s 19358us)(0x2038)[ERROR] .\D3D9Surface.cpp Line:1158 Error:-2005529767 D3DXGetImageInfoFromFile(cpath, &info)
(67: 22.02s 20090us)(0x2038)[ERROR] Loading a large surface Handle=0x2E77798 (3435973836,3435973836)
(68: 22.02s 21293us)(0x2038)[ERROR] Texture ASVI\LuciProssimit?.dds failed to load
(69: 22.04s 16492us)(0x2038)[ERROR] .\D3D9Surface.cpp Line:1158 Error:-2005529767 D3DXGetImageInfoFromFile(cpath, &info)
(70: 22.04s 17120us)(0x2038)[ERROR] Loading a large surface Handle=0x2E77798 (3435973836,3435973836)
(71: 22.04s 17902us)(0x2038)[ERROR] Texture ASVI\LuciProssimit?_n.dds failed to load
(72: 24.16s 47us)(0x2038) [NEW FONT] ( Courier New), Size=-14, Weight=400 Pitch&Family=31
(73: 24.16s 4737us)(0x2038) TextMetrics: Ascent = 13
(74: 24.16s 4845us)(0x2038) TextMetrics: Descent = 4
(75: 24.16s 4880us)(0x2038) TextMetrics: Height = 17
(76: 24.16s 4912us)(0x2038) TextMetrics: AvgWidth = 8
(77: 24.16s 4944us)(0x2038) TextMetrics: MaxWidth = 10
(78: 24.21s 54266us)(0x2038) Font Video Memory Usage = 256 kb
(79: 24.21s 54554us)(0x2038) Font and Charter set creation succesfull
(80: 24.21s 54642us)(0x2038) [NEW FONT] ( Arial), Size=14, Weight=400 Pitch&Family=31
(81: 24.22s 58397us)(0x2038) TextMetrics: Ascent = 11
(82: 24.22s 58473us)(0x2038) TextMetrics: Descent = 3
(83: 24.22s 58507us)(0x2038) TextMetrics: Height = 14
(84: 24.22s 58539us)(0x2038) TextMetrics: AvgWidth = 5
(85: 24.22s 58571us)(0x2038) TextMetrics: MaxWidth = 29
(86: 24.26s 97266us)(0x2038) Font Video Memory Usage = 256 kb
(87: 24.26s 97540us)(0x2038) Font and Charter set creation succesfull
(88: 24.64s 14279us)(0x2038) Texture 0x2E7CB98 (AIAtex/airport_uv.dds) added in repository
(89: 24.66s 12647us)(0x2038) Texture 0x2E7CC98 (AIAtex/wall_logo.dds) added in repository
(90: 24.68s 20474us)(0x2038) Texture 0x2E7CD98 (AIAtex/hangarstex.dds) added in repository
(91: 24.70s 15275us)(0x2038) Texture 0x2E7CE98 (AIAtex/Airport_uv.dds) added in repository
(92: 24.81s 16466us)(0x2038) Texture 0x2E7CF98 (AIAtex/AIA_company.dds) added in repository
(93: 24.97s 14127us)(0x2038) Texture 0x2E7D098 (AIAtex/Altea_company.dds) added in repository
(94: 25.00s 16224us)(0x2038) Texture 0x2E7D198 (AIAtex/ForRent/co_logo3.dds) added in repository
(95: 25.02s 21901us)(0x2038) Texture 0x2E7D298 (AIAtex/ForRent/your_company3.dds) added in repository
(96: 25.06s 15113us)(0x2038) Texture 0x2E85F98 (AIAtex/ForRent/co_logo2.dds) added in repository
(97: 25.07s 15726us)(0x2038) Texture 0x2E86098 (AIAtex/ForRent/your_company2.dds) added in repository
(98: 25.10s 18502us)(0x2038) Texture 0x2E86198 (AIAtex/ForRent/co_logo1.dds) added in repository
(99: 25.13s 25350us)(0x2038) Texture 0x2E86298 (AIAtex/ForRent/your_company1.dds) added in repository
(100: 25.71s 19596us)(0x2038) Texture 0x2E86398 (AIAtex/VAB_uv.dds) added in repository
(101: 25.75s 13038us)(0x2038) Texture 0x2E86498 (AIAtex/GPLP_uv.dds) added in repository
(102: 25.89s 16125us)(0x2038) Texture 0x2E86598 (AIAtex/mountainuv.dds) added in repository
(103: 25.91s 13308us)(0x2038) Texture 0x2E86698 (AIAtex/crater5uv.dds) added in repository
(104: 25.93s 17278us)(0x2038) Texture 0x2E86798 (AIAtex/crater4uv.dds) added in repository
(105: 25.94s 12274us)(0x2038) Texture 0x2E86898 (AIAtex/crater3uv.dds) added in repository
(106: 25.96s 15161us)(0x2038) Texture 0x2E86998 (AIAtex/hill_plainuv.dds) added in repository
(107: 25.97s 16895us)(0x2038) Texture 0x2E86A98 (AIAtex/hill_80uv.dds) added in repository
(108: 25.99s 11671us)(0x2038) Texture 0x2E86B98 (AIAtex/hill_228uv.dds) added in repository
(109: 26.13s 10222us)(0x2038) Texture 0x2E86C98 (VAB_TL1.dds) added in repository
(110: 26.15s 12047us)(0x2038) Texture 0x2E86D98 (VAB_FR01.dds) added in repository
(111: 26.16s 16417us)(0x2038) Texture 0x2E86E98 (VAB_TL2.dds) added in repository
(112: 26.18s 13752us)(0x2038) Texture 0x2E86F98 (VAB_FR02.dds) added in repository
(113: 26.20s 20533us)(0x2038) Texture 0x2E87098 (VAB_BK01.dds) added in repository
(114: 26.21s 10405us)(0x2038) Texture 0x2E87198 (LCC_WNDS.dds) added in repository
(115: 26.23s 18987us)(0x2038) Texture 0x2E87298 (LCC_DRS.dds) added in repository
(116: 26.25s 16377us)(0x2038) Texture 0x2E87398 (opf_tex.dds) added in repository
(117: 26.29s 12980us)(0x2038) Texture 0x2E87498 (STS-MDD_Tex.dds) added in repository
(118: 26.70s 16784us)(0x2038) Texture 0x2E87598 (cssc/button01.dds) added in repository
(119: 26.71s 14254us)(0x2038) Texture 0x2E87698 (cssc/button02.dds) added in repository
(120: 26.72s 10326us)(0x2038) Texture 0x2E87798 (cssc/button03.dds) added in repository
(121: 26.74s 15871us)(0x2038) Texture 0x2E87898 (cssc/button04.dds) added in repository
(122: 26.76s 14703us)(0x2038) Texture 0x2E87998 (cssc/opf1-grey-concrete.dds) added in repository
(123: 26.79s 26700us)(0x2038) Texture 0x2E87A98 (cssc/logo.dds) added in repository
(124: 26.81s 15688us)(0x2038) Texture 0x2E87B98 (cssc/hab-iw01.dds) added in repository
(125: 26.82s 7154us)(0x2038) Texture 0x2E87C98 (cssc/j-chim.dds) added in repository
(126: 26.84s 21866us)(0x2038) Texture 0x2E87D98 (cssc/TW-TOP.dds) added in repository
(127: 26.96s 34716us)(0x2038) Texture 0x2E87E98 (cssc/tower01.dds) added in repository
(128: 26.97s 10229us)(0x2038) Texture 0x2E87F98 (cssc/tdoor01.dds) added in repository
(129: 26.98s 11618us)(0x2038) Texture 0x2E88098 (cssc/troof01.dds) added in repository
(130: 27.13s 15490us)(0x2038) Texture 0x2E88198 (cssc/pad-paveway.dds) added in repository
(131: 27.15s 23233us)(0x2038) Texture 0x2E88298 (cssc/padbase-01.dds) added in repository
(132: 27.17s 14405us)(0x2038) Texture 0x2E88398 (cssc/railbase-01.dds) added in repository
(133: 27.41s 22053us)(0x2038) Texture 0x2E88498 (cssc/railbase-hab.dds) added in repository
(134: 27.45s 8546us)(0x2038) Texture 0x2E88598 (cssc/crane01.dds) added in repository
(135: 27.46s 11068us)(0x2038) Texture 0x2E88698 (cssc/crane03.dds) added in repository
(136: 27.49s 29402us)(0x2038) Texture 0x2E88798 (cssc/crane02.dds) added in repository
(137: 27.50s 9911us)(0x2038) Texture 0x2E88898 (cssc/opf1-red-grid.dds) added in repository
(138: 27.52s 15719us)(0x2038) Texture 0x2E88998 (cssc/hab-door01.dds) added in repository
(139: 27.54s 22278us)(0x2038) Texture 0x2E88A98 (cssc/hab-ow01.dds) added in repository
(140: 27.59s 43563us)(0x2038) Texture 0x2E88B98 (cssc/opf1-roof.dds) added in repository
(141: 27.63s 29376us)(0x2038) Texture 0x2E88C98 (cssc/hab-base01.dds) added in repository
(142: 27.72s 33335us)(0x2038) Texture 0x2E88D98 (cssc/opf1-inner-wall.dds) added in repository
(143: 27.73s 13957us)(0x2038) Texture 0x2E88E98 (cssc/opf1-stripes.dds) added in repository
(144: 27.76s 27954us)(0x2038) Texture 0x2E88F98 (cssc/opf1-outwall.dds) added in repository
(145: 27.85s 19433us)(0x2038) Texture 0x2E89098 (cssc/pad-tank01.dds) added in repository
(146: 27.94s 66616us)(0x2038) Texture 0x2E89198 (cssc/opf1-floor.dds) added in repository
(147: 27.96s 10324us)(0x2038) Texture 0x2E89298 (cssc/PADBASE.dds) added in repository
(148: 27.97s 13452us)(0x2038) Texture 0x2E89398 (cssc/ROAD1.dds) added in repository
(149: 28.06s 11749us)(0x2038) Texture 0x2E89498 (cssc/Hangarmetal.dds) added in repository
(150: 28.21s 59405us)(0x2038) Texture 0x2E89598 (cssc/vab-side.dds) added in repository
(151: 28.25s 44448us)(0x2038) Texture 0x2E89698 (cssc/vab-front.dds) added in repository
(152: 28.30s 48350us)(0x2038) Texture 0x2E89798 (cssc/vab-main.dds) added in repository
(153: 28.37s 14617us)(0x2038) Texture 0x2E89898 (cssc/wall01.dds) added in repository
(154: 28.44s 60831us)(0x2038) Texture 0x2E89998 (cssc/pad-concrete.dds) added in repository
(155: 28.50s 66962us)(0x2038) Texture 0x2E89A98 (cssc/pad-concrete2.dds) added in repository
(156: 28.54s 38498us)(0x2038) Texture 0x2E89B98 (cssc/pad-concrete3.dds) added in repository
(157: 28.57s 13366us)(0x2038) Texture 0x2E89C98 (cssc/padbase.dds) added in repository
(158: 28.69s 115509us)(0x2038) Texture 0x2E89D98 (cssc/pad-roads.dds) added in repository
(159: 28.70s 10973us)(0x2038) Texture 0x2E8C2E0 (cssc/crawlerway.dds) added in repository
(160: 29.09s 14131us)(0x2038) Texture 0x2E8C3E0 (cssc/fence.dds) added in repository
(161: 29.51s 25628us)(0x2038) Texture 0x2E8C4E0 (cssc/beacon-base.dds) added in repository
(162: 30.29s 12733us)(0x2038) Texture 0x2E8C5E0 (TW-TOP.dds) added in repository
(163: 30.42s 33334us)(0x2038) Texture 0x2E8C6E0 (J-ANTENA.dds) added in repository
(164: 30.46s 12500us)(0x2038) Texture 0x2E8C7E0 (WOO.dds) added in repository
(165: 30.50s 7700us)(0x2038) Texture 0x2E8C8E0 (J-VAB-S.dds) added in repository
(166: 30.53s 35817us)(0x2038) Texture 0x2E8C9E0 (J-C-WAY.dds) added in repository
(167: 30.62s 14456us)(0x2038) Texture 0x2E8CAE0 (J-VAB-R.dds) added in repository
(168: 30.66s 14946us)(0x2038) Texture 0x2E8CBE0 (J-VAB-D.dds) added in repository
(169: 30.72s 15625us)(0x2038) Texture 0x2E8CCE0 (J-HQSIDE.dds) added in repository
(170: 30.73s 16653us)(0x2038) Texture 0x2E8CDE0 (J-HQTOP.dds) added in repository
(171: 30.77s 15594us)(0x2038) Texture 0x2E8CEE0 (j-radome.dds) added in repository
(172: 30.78s 17201us)(0x2038) Texture 0x2E8CFE0 (TW-SIDE.dds) added in repository
(173: 30.88s 15916us)(0x2038) Texture 0x2E8D0E0 (j-chim.dds) added in repository
(174: 31.17s 6882us)(0x2038) Texture 0x2E8D1E0 (JSLC.dds) added in repository
(175: 31.85s 136690us)(0x2038) Texture 0x2E8D2E0 (YoshinobuLCpad.dds) added in repository
(176: 32.14s 9584us)(0x2038) Texture 0x2E8D3E0 (UMmu\BaseMoonExt.dds) added in repository
(177: 32.15s 12535us)(0x2038) Texture 0x2E8D4E0 (UMmu\BaseMoonRoof.dds) added in repository
(178: 32.17s 23289us)(0x2038) Texture 0x2E8D5E0 (UMmu\BaseMoonFloor.dds) added in repository
(179: 32.18s 11896us)(0x2038) Texture 0x2E8D6E0 (UMmu\BaseMoonSide.dds) added in repository
(180: 32.67s 9039us)(0x2038) Texture 0x2E8D7E0 (Proton_LV\UDMH2.dds) added in repository
(181: 32.69s 16922us)(0x2038) Texture 0x2E8D8E0 (Proton_LV\ION.dds) added in repository
(182: 32.75s 57us)(0x2038) [NEW FONT] ( Arial), Size=-20, Weight=400 Pitch&Family=31
(183: 32.76s 4472us)(0x2038) TextMetrics: Ascent = 19
(184: 32.76s 4561us)(0x2038) TextMetrics: Descent = 4
(185: 32.76s 4595us)(0x2038) TextMetrics: Height = 23
(186: 32.76s 4627us)(0x2038) TextMetrics: AvgWidth = 9
(187: 32.76s 4666us)(0x2038) TextMetrics: MaxWidth = 53
(188: 32.81s 58249us)(0x2038) Font Video Memory Usage = 256 kb
(189: 32.81s 58514us)(0x2038) Font and Charter set creation succesfull
(190: 32.81s 58597us)(0x2038) [NEW FONT] ( Arial), Size=-10, Weight=400 Pitch&Family=31
(191: 32.81s 63076us)(0x2038) TextMetrics: Ascent = 10
(192: 32.81s 63202us)(0x2038) TextMetrics: Descent = 3
(193: 32.81s 63237us)(0x2038) TextMetrics: Height = 13
(194: 32.81s 63269us)(0x2038) TextMetrics: AvgWidth = 4
(195: 32.81s 63328us)(0x2038) TextMetrics: MaxWidth = 27
(196: 32.85s 100493us)(0x2038) Font Video Memory Usage = 128 kb
(197: 32.85s 100837us)(0x2038) Font and Charter set creation succesfull

GPS
 
Thanks, I'll take a look into the scenario.

---------- Post added at 12:10 ---------- Previous post was at 11:57 ----------

The above scenario will startup fine here. However, the Orbiter won't shutdown well, but that's not a client issue.

What version of client you have ? Could you install R3 and then the debug package that's located a post 1623.

---------- Post added at 12:15 ---------- Previous post was at 12:10 ----------

(66: 22.02s 19358us)(0x2038)[ERROR] .\D3D9Surface.cpp Line:1158 Error:-2005529767 D3DXGetImageInfoFromFile(cpath, &info)
(67: 22.02s 20090us)(0x2038)[ERROR] Loading a large surface Handle=0x2E77798 (3435973836,3435973836)
(68: 22.02s 21293us)(0x2038)[ERROR] Texture ASVI\LuciProssimit?.dds failed to load
(69: 22.04s 16492us)(0x2038)[ERROR] .\D3D9Surface.cpp Line:1158 Error:-2005529767 D3DXGetImageInfoFromFile(cpath, &info)
(70: 22.04s 17120us)(0x2038)[ERROR] Loading a large surface Handle=0x2E77798 (3435973836,3435973836)
(71: 22.04s 17902us)(0x2038)[ERROR] Texture ASVI\LuciProssimit?_n.dds failed to load

Look at these errors, it looks like your Orbiter installation might be corrupt.
 
Thanks, I'll take a look into the scenario.

---------- Post added at 12:10 ---------- Previous post was at 11:57 ----------

The above scenario will startup fine here. However, the Orbiter won't shutdown well, but that's not a client issue.

What version of client you have ? Could you install R3 and then the debug package that's located a post 1623.

---------- Post added at 12:15 ---------- Previous post was at 12:10 ----------

(66: 22.02s 19358us)(0x2038)[ERROR] .\D3D9Surface.cpp Line:1158 Error:-2005529767 D3DXGetImageInfoFromFile(cpath, &info)
(67: 22.02s 20090us)(0x2038)[ERROR] Loading a large surface Handle=0x2E77798 (3435973836,3435973836)
(68: 22.02s 21293us)(0x2038)[ERROR] Texture ASVI\LuciProssimit?.dds failed to load
(69: 22.04s 16492us)(0x2038)[ERROR] .\D3D9Surface.cpp Line:1158 Error:-2005529767 D3DXGetImageInfoFromFile(cpath, &info)
(70: 22.04s 17120us)(0x2038)[ERROR] Loading a large surface Handle=0x2E77798 (3435973836,3435973836)
(71: 22.04s 17902us)(0x2038)[ERROR] Texture ASVI\LuciProssimit?_n.dds failed to load

Look at these errors, it looks like your Orbiter installation might be corrupt.

I'm using R3. Tried re-installing the Proton add-on, but still crashing in both the client and debug mode.

The errors are related to the Italian ASVI base, in which the "?" is the Italian "a - dot". Since my computer has a Chinese OS, it automatically changes the text format into other texts, thus they can't load. However I have already renamed both files and the config file, but they still can't load. Anyway this has nothing to do with the Proton problem.

GPS
 
I already informed the ASVI base creator at FOI about this cross-platform compatibility issue.

I've suggested to rename all the file involving a vowel with an accent.
[ame="http://en.wikipedia.org/wiki/Diacritic"]Diacritic - Wikipedia, the free encyclopedia[/ame]

Post here (italian)
http://orbiteritalia.forumotion.com/t975p585-sede-asvi#29966
 
Last edited:
I'm using R3. Tried re-installing the Proton add-on, but still crashing in both the client and debug mode.

The errors are related to the Italian ASVI base, in which the "?" is the Italian "a - dot". Since my computer has a Chinese OS, it automatically changes the text format into other texts, thus they can't load. However I have already renamed both files and the config file, but they still can't load. Anyway this has nothing to do with the Proton problem.

GPS

Hmm..... it's now working again...... :shrug:
 
D3D9Client R4

Here is R4 for testing.

- Shutdown related CTD should be fixed
- RMS grapple target displacement issue under "Start Paused" should be fixed.
- Some memory leaks are fixed
 

Attachments

Seems like the debug controls doesn't work any more. Tried the wheel pan/tilt mode with no success. I also tried the various other options with no success.
 
Hi,
- RMS grapple target displacement issue under "Start Paused" should be fixed.
I can confirm that! :thumbup: Nice!

Seems like the debug controls doesn't work any more.
I can confirm that, too. :cry: None of them seem to work.

/Kuddel

P.S.: Is there a reason why OGCI.cpp & OGCI.h were missing in the last package? Without 'em I am not able to compile. But that's easy to fix, I have 'em still in my repository ;)
 
Last edited:
Seems like the debug controls doesn't work any more. Tried the wheel pan/tilt mode with no success. I also tried the various other options with no success.

Hmmm, that's strange. It works well here. Sounds like the visual isn't assigned for the debug controls. Does the name of the visual appear ? Have you tried to change camera focus while the dialog is open ?
Can you chack that you have only one client active from Orbiter_NG.cfg


---------- Post added at 12:47 ---------- Previous post was at 12:43 ----------

P.S.: Is there a reason why OGCI.cpp & OGCI.h were missing in the last package? Without 'em I am not able to compile. But that's easy to fix, I have 'em still in my repository ;)

Work in progress. You don't need them to build the client anyway. You can exclude them from the build.
 
Last edited:
Hmmm, that's strange. It works well here. Sounds like the visual isn't assigned for the debug controls.
In the Window message handler (WndProcWrp in DebugControls.cpp)
it exits 'cause vObj isn't set.
Code:
//...
    case WM_COMMAND:

        if (LOWORD(wParam)==IDCANCEL) {             
            oapiCloseDialog(hWnd);
            hDlg = NULL;
            vObj = NULL;
            return TRUE;
        }

        if (!vObj) break; [COLOR=Red]// <= vObj isn't set ![/COLOR]

        switch (LOWORD(wParam)) {
//...
Should it be set in InitDialog? But here it exits as vObj is not (yet) set, I think:
Code:
void InitDialog()
{
    char lbl[256];

    if (!vObj) return; 
// ...
I'll look into that a little more later. This is just my quick first investigation.

/Kuddel

--- Edit: ----

I think I found the problem: You've put vObj under DebugControls namespace. But the Functions InitDialog, WndProcWrp etc. are not beeing called out of that scope.
When you change those expressions from [vObj] to [DebugControls::vObj] or you declare [vObject *vObj = NULL;] outside the DebugControls namespace it works better. ;)
 
Last edited:
I think I found the problem: You've put vObj under DebugControls namespace. But the Functions InitDialog, WndProcWrp etc. are not beeing called out of that scope.
When you change those expressions from [vObj] to [DebugControls::vObj] or you declare [vObject *vObj = NULL;] outside the DebugControls namespace it works better. ;)

Sorry, now I don't understand.
 
Back
Top