New Release D3D9Client Development

orb

New member
News Reporter
Joined
Oct 30, 2009
Messages
14,020
Reaction score
4
Points
0
What do I need to change in the source of RC33 to make the new Orbiter menu appear?

I've rebuilt RC33 from sources to use it in Orbiter 110824, which doesn't support the current build of RC33b, but there are "D3D9ClientSurface::CopyRect() Failed" errors for the menu textures, and menu buttons & part of status text don't appear.
 

Tschachim

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Feb 7, 2008
Messages
300
Reaction score
0
Points
16
Location
nassp.sf.net
Website
nassp.sf.net

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,666
Reaction score
795
Points
128
Here is a new build of the RC33c version for the Orbiter Beta [110824]. My current source codes are badly broken and it will take a few days until I am able to make a new stable build from them.

The new package doesn't overwrite the shaders. Existing shaders will work.

ATTENTION: Do not install this package for Orbiter 2010-P1
 
Last edited:

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,666
Reaction score
795
Points
128
What do I need to change in the source of RC33 to make the new Orbiter menu appear?

I've rebuilt RC33 from sources to use it in Orbiter 110824, which doesn't support the current build of RC33b, but there are "D3D9ClientSurface::CopyRect() Failed" errors for the menu textures, and menu buttons & part of status text don't appear.

The latest stable source codes are in the package above.

I belive this is the code section that was added in the CopyRect() to fix the menu bar problem.
Code:
if (Type==D3D9S_TEXTURE && src->Type==D3D9S_TEXTURE && desc.Pool==D3DPOOL_DEFAULT && src->desc.Pool==D3DPOOL_DEFAULT) {
        ConvertToRenderTargetTexture();
        if (bRestart) { bRestart=false; goto restart_blit; } 
    }


---------- Post added at 17:24 ---------- Previous post was at 17:22 ----------

I'm not sure if it fits your needs, but you can try AQTime: http://smartbear.com/products/development-tools/performance-profiling/features/
There's a 30 days trial version. :)

Thanks, I'll take a look in it.
 

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,666
Reaction score
795
Points
128
Here is a new release for Orbiter Beta [110824]. Do not install in Orbiter 2010-P1.

The surface interface is cleaned up and reorganized. The logic is the same as before.

The blit group function is implemented. Current implementation allows to queue and flush up to 16 rectangles with a single call to directX. This should provide a major performance boost for a color keyed blitting operations. However, for a simple copy blit operations those would be otherwise done with a StretchRect() routine the blit groups has no significant performance improvements.

DirectX accelerated Sketchpad (D3D9Pad) is now used with all render target surfaces. Currently I am not aware of any addons those would use this feature since most add-ons are relying on a pure GDI instead of a Sketchpad. When a D3D9Pad is created for a render target surface, other than the backbuffer, an error message will be written into the Log to inform about the use of the feature.

Following features are not yet implemented:
- Polygons
- Polylines
- Pixel
- Line width, dashed lines

Edit: It should be possible to use the sketchpad between oapiBeginBltGroup() and oapiEndBltGroup() for the same target surface. In that case no additional GPU binding is needed for the sketchpad.


Do not install for the Orbiter 2010-P1.
 
Last edited:

Nistenf

Member
Joined
Sep 30, 2008
Messages
114
Reaction score
0
Points
16
Location
Argentina
I'm getting a CTD. I'm using 2010-P1, clean installation. The CTD happens before the scenario finishes loading (under 'building shader programs, SceneTech.fx'), and here are the logs.
Code:
**** Orbiter.log
Build Aug 30 2010 [v.100830]
Timer precision: 3.83987e-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 110819, API 101016]
D3D9Client: [DirectX 9 Initialized]

**** Creating simulation session
D3D9Client: [3DDevice Initialized]

Code:
(0: 0.00s 1us)(0xC70) ================ clbkInitialise ===============
(1: 0.00s 82us)(0xC70) Orbiter Version = 100830
(2: 0.02s 19742us)(0xC70) Index:0 640 x 480 75Hz (22)
(3: 0.02s 20562us)(0xC70) Index:1 640 x 480 60Hz (22)
(4: 0.02s 21052us)(0xC70) Index:2 640 x 480 59Hz (22)
(5: 0.02s 21971us)(0xC70) Index:3 720 x 480 75Hz (22)
(6: 0.02s 22370us)(0xC70) Index:4 720 x 480 56Hz (22)
(7: 0.02s 22757us)(0xC70) Index:5 720 x 480 60Hz (22)
(8: 0.02s 23144us)(0xC70) Index:6 720 x 576 75Hz (22)
(9: 0.03s 23530us)(0xC70) Index:7 720 x 576 56Hz (22)
(10: 0.03s 23915us)(0xC70) Index:8 720 x 576 60Hz (22)
(11: 0.03s 24307us)(0xC70) Index:9 800 x 600 75Hz (22)
(12: 0.03s 24707us)(0xC70) Index:10 800 x 600 56Hz (22)
(13: 0.03s 25093us)(0xC70) Index:11 800 x 600 60Hz (22)
(14: 0.03s 25535us)(0xC70) Index:12 1024 x 768 75Hz (22)
(15: 0.03s 25930us)(0xC70) Index:13 1024 x 768 60Hz (22)
(16: 0.03s 26319us)(0xC70) Index:14 1280 x 720 60Hz (22)
(17: 0.03s 26707us)(0xC70) Index:15 1280 x 768 60Hz (22)
(18: 0.03s 27095us)(0xC70) Index:16 1360 x 768 60Hz (22)
(19: 3.40s 2us)(0xC70) ================ clbkCreateRenderWindow ===============
(20: 3.40s 44us)(0xC70) ## MeshCatalog Cleared ##
(21: 3.40s 7383us)(0xC70) [VideoConfiguration] Adapter=0, ModeIndex=16
(22: 3.40s 8057us)(0xC70) Adapter = NVIDIA GeForce 8800 GT
(23: 3.41s 9760us)(0xC70) MaxTextureBlendStages..: 8
(24: 3.41s 9797us)(0xC70) MaxTextureWidth........: 8192
(25: 3.41s 9809us)(0xC70) MaxTextureHeight.......: 8192
(26: 3.41s 9819us)(0xC70) MaxPrimitiveCount......: 8388607
(27: 3.41s 9830us)(0xC70) MaxVertexIndex.........: 16777215
(28: 3.41s 9840us)(0xC70) MaxSimultaneousTextures: 8
(29: 3.41s 9851us)(0xC70) MaxStreams.............: 16
(30: 3.41s 9861us)(0xC70) MaxStreamStride........: 255
(31: 3.41s 9871us)(0xC70) MaxVertexBlendMatrices.: 4
(32: 3.41s 9882us)(0xC70) MaxVShaderInstrExecuted: 65535
(33: 3.41s 9892us)(0xC70) MaxPointSize...........: 8192.000000
(34: 3.41s 9904us)(0xC70) VertexShaderVersion....: 0x300
(35: 3.41s 9914us)(0xC70) PixelShaderVersion.....: 0x300
(36: 3.41s 10153us)(0xC70) NumSimultaneousRTs.....: 4
(37: 3.41s 10181us)(0xC70) D3DPTEXTURECAPS_POW2...: 0
(38: 3.41s 10192us)(0xC70) NONPOW2CONDITIONAL.....: 0
(39: 3.42s 26478us)(0xC70) D3DFMT_D32F_LOCKABLE
(40: 3.42s 26584us)(0xC70) D3DFMT_D24S8
(41: 3.42s 26597us)(0xC70) D3DFMT_D24X8
(42: 3.45s 735us)(0xC70) Render Target = 0x40C1EC0
(43: 3.45s 8658us)(0xC70)[ERROR] .\D3D9TextMgr.cpp Line:568 Error:-2147024770 D3DXCreateEffectFromFileA(pDev, name, 0, 0, 0, 0, &FX, &errors)
(44: 3.45s 8684us)(0xC70)[ERROR] Failed to create an Effect (Modules/D3D9Client/CKBlit.fx)
(45: 3.46s 9733us)(0xC70)[ERROR] .\D3D9Pad.cpp Line:485 Error:-2147024770 D3DXCreateEffectFromFileA(pDev, name, 0, 0, 0, 0, &FX, &errors)
(46: 3.46s 9751us)(0xC70)[ERROR] Failed to create an Effect (Modules/D3D9Client/CKBlit.fx)
(47: 3.46s 9799us)(0xC70) [NEW FONT] ( Courier New), Size=16, Weight=400 Pitch&Family=31
(48: 3.46s 17343us)(0xC70) TextMetrics: Ascent = 12
(49: 3.46s 17368us)(0xC70) TextMetrics: Descent = 4
(50: 3.46s 17380us)(0xC70) TextMetrics: Height = 16
(51: 3.46s 17390us)(0xC70) TextMetrics: AvgWidth= 8
(52: 3.46s 17400us)(0xC70) TextMetrics: MaxWidth= 10
(53: 3.49s 43133us)(0xC70) Font and Charter set creation succesfull
(54: 3.58s 130422us)(0xC70)[ERROR] .\D3D9Surface.cpp Line:1547 Error:-2147024770 D3DXCreateEffectFromFileA(pDev, name, 0, 0, 0, 0, &FX, &errors)
(55: 3.58s 130465us)(0xC70)[ERROR] Failed to create an Effect (Modules/D3D9Client/CKBlit.fx)
(56: 3.58s 136223us)(0xC70) Starting to initialize basic a rendering technique...
(57: 3.58s 137380us)(0xC70)[ERROR] .\D3D9Effect.cpp Line:151 Error:-2147024770 D3DXCreateEffectFromFile(pDev, name, 0, 0, 0, 0, &FX, &errors)
(58: 3.58s 137400us)(0xC70)[ERROR] Failed to create an Effect (Modules/D3D9Client/D3D9Client.fx)
(59: 3.58s 137413us)(0xC70) Starting to initialize basic a rendering technique...
(60: 3.58s 138198us)(0xC70)[ERROR] .\D3D9Effect.cpp Line:151 Error:-2147024770 D3DXCreateEffectFromFile(pDev, name, 0, 0, 0, 0, &FX, &errors)
(61: 3.58s 138215us)(0xC70)[ERROR] Failed to create an Effect (Modules/D3D9Client/D3D9Client.fx)
(62: 3.68s 9390us)(0xC70)[ERROR] .\Scene.cpp Line:1215 Error:-2147024770 D3DXCreateEffectFromFile(pDev, name, 0, 0, 0, 0, &FX, &errors)
(63: 3.68s 9420us)(0xC70)[ERROR] Failed to create an Effect (Modules/D3D9Client/SceneTech.fx)

Thanks!
 
Joined
Mar 23, 2008
Messages
165
Reaction score
0
Points
16
I'm getting a CTD. I'm using 2010-P1, clean installation. The CTD happens before the scenario finishes loading (under 'building shader programs, SceneTech.fx'), and here are the logs.


The latest build is for Orbiter 110824. You have 100830.

Here is a new release for Orbiter Beta [110824]. Do not install in Orbiter 2010-P1.
 

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,666
Reaction score
795
Points
128
I'm getting a CTD. I'm using 2010-P1, clean installation. The CTD happens before the scenario finishes loading (under 'building shader programs, SceneTech.fx'), and here are the logs.

Use the RC33 release from the first post of this thread for the Orbiter 2010-P1. The error code in the log indicates "FILE NOT FOUND". So, re-install RC33 and make sure that every existing file is replaced.
 

Nistenf

Member
Joined
Sep 30, 2008
Messages
114
Reaction score
0
Points
16
Location
Argentina
I'm almost certain I was using the file from the first post, but to make sure I made a new orbiter install, downloaded the client from the first post and installed it. I checked and all the files are where they sould be, but I still get the same error. Maybe you mistankenly uploaded the 110824 version to the first post instead of the 100830?

edit: The RC29 from the first post also crashes =(

edit2: updating DirectX 9 worked, I thought that would give me a different error. Thanks for the help!
 
Last edited:

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,666
Reaction score
795
Points
128
D3D9Client for Orbiter Beta

Here is Beta 3 build of the D3D9Client for Orbiter Beta [110824].

The D3D9Pad (i.e. DirectX accelerated SketchPad) is almost completed. It has now all features of the SketchPad except the line width. DirectX doesn't support the line width feature directly so wider lines should be created using a triangles. Implementing that is just a routine work but the efforts are needed elsewhere.

I have added a hack in the D3D9Client so that you should be able to switch between D3D9Pad and GDIPad by pressing [Ctrl+Shift+S]. This should allow easy testing of the MFDs with both implementations. Sofar, Build-in MFDs are running perfectly fine with the D3D9Pad. If you can find problems those aren't related in the line width you can report them here.

[Ctrl+Shift+S] is a three state switch (Default, D3D9Pad, GDIPad).

Current version of the D3D9Client should automatically compile the shaders for the available shader model. No need for separate shader files for 2.0 and 3.0 anymore.

ATTENTION: Do not install this for Orbiter 2010-P1
 
Last edited:
Joined
Mar 23, 2008
Messages
165
Reaction score
0
Points
16
Full-screen mode problem

I have a problem with full-screen mode (no 'full-screen window' checked) with 110824/D3DClientBeta3.

I can run a scenario and quit to launchpad. Next attempt to run any scenario results in CTD with the error:

(459: 33.43s 13796us)(0xAE8)[ERROR] .\D3D9Frame.cpp Line:390 Error:-2005530516 pD3D->CreateDevice( Adapter, D3DDEVTYPE_HAL, hWnd, devBehaviorFlags|D3DCREATE_MULTITHREADED|D3DCREATE_FPU_PRESERVE, &d3dPP, &pd3dDevice)
in the log.

Selecting 'Respawn Orbiter Process' fixes the problem.

Problem does not occur with 'full-screen window' option, or in windowed mode.

Thanks, WE.
 

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,666
Reaction score
795
Points
128
D3D9Client for Orbiter Beta

Ok, Here is a Beta 4 build of the D3D9Client for Orbiter Beta [110824]. I have implemented a statistics and control panel that can be accessed by pressing [Ctrl+Shift+C].

The Statistics & Control Panel shows:
- Available video memory
- Number of valid surface handles (SURFHANDLE)
- Surface type allocation and memory consumption by type.
- Number of surface tiles loaded in video memory. Includes celestial sphere background, cloud layers, planet surface and rings.
- Some rendering statistics.

- Sketchpad fonts will consume video memory about 4-6 MB (not included in statistics at a moment)

Currently there seems to be no memory leaks related to video memory. Available video memory and surface handle counts remains constant. Of course, different view modes and panels have different surface counts and memory usage but when returning back to some specific panel it has the same surface count as before as well as the available video memory.

Currently it's unsure how much video memory is lost due to fragmentation. Allocation of large surfaces such as panel backgrounds could cause problems if more than 3/4 of the video memory is in use. The available video memory in a statistics display also includes a shared memory (AGP). The shared system/video memory is unlikely able to contain render target surfaces like panel backgrounds.

All surface tiles are released during exit. Every surface handle is tracked by the client and all surfaces those aren't released properly are listed in the end of D3D9ClientLog. So far, the only surface I have encontered is a texture that contains the ID signs of stock delta-glider.


ATTENTION: Do not install in Orbiter 2010-P1
 
Last edited:

Star Voyager

Space Shuttle Refugee
Joined
Oct 25, 2008
Messages
1,975
Reaction score
32
Points
48
I've got a problem here. I installed this (http://www.microsoft.com/download/en/details.aspx?id=8109), RC33 from the first page and RC33b. The scenario loads fine, but the simulation never comes up. Here's the log:

Code:
(0: 0.00s 4us)(0x1180) ================ clbkInitialise ===============
(1: 0.00s 312us)(0x1180) Orbiter Version = 100830
(2: 0.04s 36383us)(0x1180) Index:0 320 x 200 70Hz (22)
(3: 0.04s 36858us)(0x1180) Index:1 320 x 240 70Hz (22)
(4: 0.04s 38229us)(0x1180) Index:2 400 x 300 70Hz (22)
(5: 0.04s 39851us)(0x1180) Index:3 512 x 384 70Hz (22)
(6: 0.05s 40614us)(0x1180) Index:4 640 x 400 70Hz (22)
(7: 0.05s 41768us)(0x1180) Index:5 640 x 480 59Hz (22)
(8: 0.05s 42501us)(0x1180) Index:6 640 x 480 60Hz (22)
(9: 0.05s 43164us)(0x1180) Index:7 640 x 480 70Hz (22)
(10: 0.05s 43905us)(0x1180) Index:8 640 x 480 73Hz (22)
(11: 0.05s 44606us)(0x1180) Index:9 640 x 480 75Hz (22)
(12: 0.05s 45419us)(0x1180) Index:10 800 x 600 60Hz (22)
(13: 0.05s 46639us)(0x1180) Index:11 800 x 600 72Hz (22)
(14: 0.05s 47921us)(0x1180) Index:12 800 x 600 75Hz (22)
(15: 0.05s 49519us)(0x1180) Index:13 1024 x 768 60Hz (22)
(16: 0.06s 53775us)(0x1180) Index:14 1024 x 768 70Hz (22)
(17: 0.06s 54509us)(0x1180) Index:15 1024 x 768 75Hz (22)
(18: 0.06s 55208us)(0x1180) Index:16 1152 x 720 60Hz (22)
(19: 0.06s 55925us)(0x1180) Index:17 1152 x 864 60Hz (22)
(20: 0.06s 56604us)(0x1180) Index:18 1152 x 864 75Hz (22)
(21: 0.06s 57286us)(0x1180) Index:19 1280 x 600 60Hz (22)
(22: 0.06s 57969us)(0x1180) Index:20 1280 x 720 60Hz (22)
(23: 0.06s 58707us)(0x1180) Index:21 1280 x 720 75Hz (22)
(24: 0.06s 59432us)(0x1180) Index:22 1280 x 768 60Hz (22)
(25: 0.06s 60177us)(0x1180) Index:23 1280 x 768 75Hz (22)
(26: 0.07s 60902us)(0x1180) Index:24 1280 x 960 60Hz (22)
(27: 0.07s 61549us)(0x1180) Index:25 1280 x 1024 60Hz (22)
(28: 0.07s 62471us)(0x1180) Index:26 1280 x 1024 75Hz (22)
(29: 0.07s 63698us)(0x1180) Index:27 1440 x 900 60Hz (22)
(30: 13.34s 3us)(0x1180) ================ clbkCreateRenderWindow ===============
(31: 13.34s 109us)(0x1180) ## MeshCatalog Cleared ##
(32: 13.34s 8197us)(0x1180) [VideoConfiguration] Adapter=0, ModeIndex=0
(33: 13.34s 8916us)(0x1180) Adapter = Intel(R) 82945G Express Chipset Family
(34: 13.34s 8989us)(0x1180) MaxTextureBlendStages..: 8
(35: 13.34s 9134us)(0x1180) MaxTextureWidth........: 2048
(36: 13.34s 9174us)(0x1180) MaxTextureHeight.......: 2048
(37: 13.34s 9247us)(0x1180) MaxPrimitiveCount......: 65535
(38: 13.34s 9285us)(0x1180) MaxVertexIndex.........: 65534
(39: 13.34s 9316us)(0x1180) MaxSimultaneousTextures: 8
(40: 13.34s 9345us)(0x1180) MaxStreams.............: 16
(41: 13.34s 9373us)(0x1180) MaxStreamStride........: 255
(42: 13.34s 9403us)(0x1180) MaxVertexBlendMatrices.: 0
(43: 13.34s 9432us)(0x1180) MaxVShaderInstrExecuted: 0
(44: 13.34s 9460us)(0x1180) MaxPointSize...........: 256.000000
(45: 13.34s 9493us)(0x1180) VertexShaderVersion....: 0x0
(46: 13.34s 9522us)(0x1180) PixelShaderVersion.....: 0x200
(47: 13.34s 9552us)(0x1180) NumSimultaneousRTs.....: 1
(48: 13.34s 9581us)(0x1180) D3DPTEXTURECAPS_POW2...: 1
(49: 13.34s 9609us)(0x1180) NONPOW2CONDITIONAL.....: 1
(50: 13.35s 15668us)(0x1180)[ERROR] [Insufficient Vertex Shader. Attempting software vertex processing...]
(51: 13.41s 72268us)(0x1180) D3DFMT_D24S8
(52: 13.41s 72974us)(0x1180) D3DFMT_D24X8
(53: 13.44s 6212us)(0x1180) Render Target = 0x3A37640
(54: 13.56s 117139us)(0x1180) eTech = 0xFD5B9BCF
(55: 13.56s 117225us)(0x1180) eDraw = 0xFD5B9B0B
(56: 13.56s 117247us)(0x1180) eLine = 0xFD5B9A47
(57: 13.56s 117267us)(0x1180) eVP = 0xFD5B569B
(58: 13.56s 117287us)(0x1180) eTex0 = 0xFD5B5647
(59: 13.56s 117306us)(0x1180) eColor = 0xFD5B55F3
(60: 13.56s 117325us)(0x1180) eData = 0xFD5B559F
(61: 13.56s 117444us)(0x1180) [NEW FONT] ( Courier New), Size=16, Weight=400 Pitch&Family=31
(62: 13.57s 134853us)(0x1180) TextMetrics: Ascent = 12
(63: 13.57s 134938us)(0x1180) TextMetrics: Descent = 4
(64: 13.57s 134960us)(0x1180) TextMetrics: Height = 16
(65: 13.57s 134980us)(0x1180) TextMetrics: AvgWidth= 8
(66: 13.57s 135000us)(0x1180) TextMetrics: MaxWidth= 10
(67: 13.61s 174033us)(0x1180) Font and Charter set creation succesfull
(68: 13.75s 306844us)(0x1180) Starting to initialize basic a rendering technique...
(69: 15.88s 2440904us)(0x1180) Starting to initialize basic a rendering technique...
(70: 18.42s 35us)(0x1180) [NEW FONT] ( Arial), Size=15, Weight=400 Pitch&Family=31
(71: 18.43s 10776us)(0x1180) TextMetrics: Ascent = 12
(72: 18.43s 10838us)(0x1180) TextMetrics: Descent = 3
(73: 18.43s 10860us)(0x1180) TextMetrics: Height = 15
(74: 18.43s 10879us)(0x1180) TextMetrics: AvgWidth= 5
(75: 18.43s 10899us)(0x1180) TextMetrics: MaxWidth= 32
(76: 18.46s 41357us)(0x1180) Font and Charter set creation succesfull
(77: 18.46s 41462us)(0x1180) [NEW FONT] ( Courier New), Size=18, Weight=400 Pitch&Family=31
(78: 18.47s 53661us)(0x1180) TextMetrics: Ascent = 14
(79: 18.47s 53724us)(0x1180) TextMetrics: Descent = 4
(80: 18.47s 53745us)(0x1180) TextMetrics: Height = 18
(81: 18.47s 53764us)(0x1180) TextMetrics: AvgWidth= 10
(82: 18.47s 53784us)(0x1180) TextMetrics: MaxWidth= 12
(83: 18.50s 82576us)(0x1180) Font and Charter set creation succesfull
(84: 18.50s 82674us)(0x1180) ================ Scene Created ===============
(85: 18.95s 38us)(0x1180) [NEW FONT] ( Courier New), Size=-11, Weight=400 Pitch&Family=31
(86: 18.96s 12278us)(0x1180) TextMetrics: Ascent = 11
(87: 18.96s 12357us)(0x1180) TextMetrics: Descent = 3
(88: 18.96s 12378us)(0x1180) TextMetrics: Height = 14
(89: 18.96s 12398us)(0x1180) TextMetrics: AvgWidth= 7
(90: 18.96s 12417us)(0x1180) TextMetrics: MaxWidth= 8
(91: 18.99s 43829us)(0x1180) Font and Charter set creation succesfull
(92: 18.99s 43927us)(0x1180) [NEW FONT] ( Arial), Size=12, Weight=400 Pitch&Family=31
(93: 19.00s 54257us)(0x1180) TextMetrics: Ascent = 9
(94: 19.00s 54312us)(0x1180) TextMetrics: Descent = 3
(95: 19.00s 54333us)(0x1180) TextMetrics: Height = 12
(96: 19.00s 54353us)(0x1180) TextMetrics: AvgWidth= 4
(97: 19.00s 54372us)(0x1180) TextMetrics: MaxWidth= 24
(98: 19.03s 84913us)(0x1180) Font and Charter set creation succesfull
(99: 19.44s 5407us)(0x1180) Texture 0x3FFC2A0 (VAB_TL1.dds) added in repository
(100: 19.44s 4306us)(0x1180) Texture 0x3FFC388 (VAB_FR01.dds) added in repository
(101: 19.45s 6915us)(0x1180) Texture 0x3FFC470 (VAB_TL2.dds) added in repository
(102: 19.45s 5400us)(0x1180) Texture 0x3FFC558 (VAB_FR02.dds) added in repository
(103: 19.47s 10901us)(0x1180) Texture 0x3FFC640 (VAB_BK01.dds) added in repository
(104: 19.47s 3681us)(0x1180) Texture 0x3FFC728 (LCC_WNDS.dds) added in repository
(105: 19.47s 4238us)(0x1180) Texture 0x3FFC810 (LCC_DRS.dds) added in repository
(106: 19.59s 3989us)(0x1180) Texture 0x3FFC8F8 (TMSO\TMSONY\liberty.dds) added in repository
(107: 19.59s 5037us)(0x1180) Texture 0x3FFC9E0 (TMSO\TMSONY\barrieres.dds) added in repository
(108: 19.75s 3637us)(0x1180) Texture 0x3FFCAC8 (Mati_re5.dds) added in repository
(109: 19.76s 5121us)(0x1180) Texture 0x3FFCBB0 (Mati_re4.dds) added in repository
(110: 19.77s 7648us)(0x1180) Texture 0x3FFCC98 (Mati_r01.dds) added in repository
(111: 19.77s 5118us)(0x1180) Texture 0x3FFCD80 (Mati_r02.dds) added in repository
(112: 19.78s 5831us)(0x1180) Texture 0x3FFCE68 (Mati_r03.dds) added in repository
(113: 19.79s 7154us)(0x1180) Texture 0x3FFCF50 (Metal_Ro.dds) added in repository
(114: 19.79s 5470us)(0x1180) Texture 0x3FFD038 (Mati_re1.dds) added in repository
(115: 19.80s 5335us)(0x1180) Texture 0x3FFD120 (Mati_re6.dds) added in repository
(116: 19.80s 7446us)(0x1180) Texture 0x3FFD208 (Mati_r04.dds) added in repository
(117: 19.81s 5353us)(0x1180) Texture 0x3FFD2F0 (Mati_r05.dds) added in repository
(118: 19.82s 7503us)(0x1180) Texture 0x3FFD3D8 (Water_Po.dds) added in repository
(119: 19.82s 5250us)(0x1180) Texture 0x3FFD4C0 (Mati_r06.dds) added in repository
(120: 19.83s 5826us)(0x1180) Texture 0x3FFD5A8 (Mati_r07.dds) added in repository
(121: 19.84s 15847us)(0x1180) Texture 0x3FFD690 (Concrete.dds) added in repository
(122: 19.85s 5116us)(0x1180) Texture 0x3FFD778 (Mati_r08.dds) added in repository
(123: 19.88s 4997us)(0x1180) Texture 0x3FFD860 (TMSO\TMSONY\wfc.dds) added in repository
(124: 19.89s 5157us)(0x1180) Texture 0x3FFD948 (TMSO\TMSONY\wfcb.dds) added in repository
(125: 19.90s 7976us)(0x1180) Texture 0x3FFDA30 (TMSO\TMSONY\cote.dds) added in repository
(126: 19.91s 6332us)(0x1180) Texture 0x4006E78 (TMSO\TMSONY\immeuble.dds) added in repository
(127: 19.93s 6015us)(0x1180) Texture 0x4006F60 (TMSO\TMSONY\cuatro.dds) added in repository
(128: 19.93s 8000us)(0x1180) Texture 0x4007048 (TMSO\TMSONY\cuatrod.dds) added in repository
(129: 19.95s 6039us)(0x1180) Texture 0x4007130 (TMSO\TMSONY\barriere.dds) added in repository
(130: 21.13s 48636us)(0x1180) Texture 0x4007300 (Contrail1a.dds) added in repository
(131: 21.42s 138714us)(0x1180) Texture 0x40073E8 (DG\DGMK4_4.dds) added in repository
(132: 21.55s 136236us)(0x1180) Texture 0x40074D0 (DG\DGMK4_1.dds) added in repository
(133: 21.71s 152243us)(0x1180) Texture 0x40075B8 (DG\DGMK4_2_ns.dds) added in repository
(134: 21.85s 140740us)(0x1180) Texture 0x40076A0 (DG\DGMK4_3.dds) added in repository
(135: 21.86s 11289us)(0x1180) Texture 0x4007788 (DG\IDPANEL1.dds) added in repository
(136: 21.90s 40326us)(0x1180) Texture 0x4007870 (DG\DGPILOT1.dds) added in repository
(137: 21.94s 37997us)(0x1180) Texture 0x4007958 (DG\PSNGR2.dds) added in repository
(138: 21.97s 38067us)(0x1180) Texture 0x4007A40 (DG\PSNGR1.dds) added in repository
(139: 22.01s 40034us)(0x1180) Texture 0x4007B28 (DG\PSNGR3.dds) added in repository
(140: 22.05s 39022us)(0x1180) Texture 0x4007C10 (DG\PSNGR4.dds) added in repository
(141: 22.36s 154204us)(0x1180) Texture 0x4007CF8 (DG\DGMK4_2.dds) added in repository
(142: 22.40s 6468us)(0x1180) Texture 0x4007DE0 (DG\DGIP_01.dds) added in repository
(143: 22.41s 6719us)(0x1180) Texture 0x4007EC8 (DG\DGIP_04.dds) added in repository
(144: 22.41s 4534us)(0x1180) Texture 0x4007FB0 (DG\DGIP_02.dds) added in repository
(145: 22.41s 4826us)(0x1180) Texture 0x4008098 (DG\DGIP_03.dds) added in repository
(146: 22.42s 6683us)(0x1180) Texture 0x4008180 (DG\DGIP_05.dds) added in repository
(147: 22.43s 8708us)(0x1180) Texture 0x4008268 (DG\DGIP_06.dds) added in repository
(148: 22.44s 9696us)(0x1180) Texture 0x4008350 (DG\DG_VC2.dds) added in repository
(149: 22.45s 8014us)(0x1180) Texture 0x4008438 (DG\DG_VC1.dds) added in repository
(150: 22.46s 10019us)(0x1180) Texture 0x4008520 (DG\DG_VC3.dds) added in repository
(151: 22.52s 61842us)(0x1180) Texture 0x4008608 (DG\dg_instr.dds) added in repository
(152: 22.56s 43us)(0x1180) [NEW FONT] ( Arial), Size=38, Weight=700 Pitch&Family=31
(153: 22.57s 10084us)(0x1180) TextMetrics: Ascent = 31
(154: 22.57s 10156us)(0x1180) TextMetrics: Descent = 7
(155: 22.57s 10179us)(0x1180) TextMetrics: Height = 38
(156: 22.57s 10199us)(0x1180) TextMetrics: AvgWidth= 16
(157: 22.57s 10220us)(0x1180) TextMetrics: MaxWidth= 87
(158: 22.60s 44756us)(0x1180) Font and Charter set creation succesfull
(159: 22.65s 10322us)(0x1180) [NEW FONT] ( Arial), Size=11, Weight=400 Pitch&Family=31
(160: 22.66s 21134us)(0x1180) TextMetrics: Ascent = 8
(161: 22.66s 21200us)(0x1180) TextMetrics: Descent = 2
(162: 22.66s 21222us)(0x1180) TextMetrics: Height = 10
(163: 22.66s 21242us)(0x1180) TextMetrics: AvgWidth= 4
(164: 22.66s 21261us)(0x1180) TextMetrics: MaxWidth= 21
(165: 22.68s 49678us)(0x1180) Font and Charter set creation succesfull
(166: 22.68s 49787us)(0x1180) [NEW FONT] ( Arial), Size=11, Weight=400 Pitch&Family=31
(167: 22.69s 59742us)(0x1180) TextMetrics: Ascent = 8
(168: 22.69s 59798us)(0x1180) TextMetrics: Descent = 3
(169: 22.69s 59819us)(0x1180) TextMetrics: Height = 11
(170: 22.69s 59839us)(0x1180) TextMetrics: AvgWidth= 4
(171: 22.69s 59858us)(0x1180) TextMetrics: MaxWidth= 15
(172: 22.72s 83483us)(0x1180) Font and Charter set creation succesfull
(173: 22.72s 83593us)(0x1180) [NEW FONT] ( Courier New), Size=11, Weight=400 Pitch&Family=31
(174: 22.72s 89620us)(0x1180) TextMetrics: Ascent = 6
(175: 22.72s 89671us)(0x1180) TextMetrics: Descent = 2
(176: 22.72s 89692us)(0x1180) TextMetrics: Height = 8
(177: 22.72s 89712us)(0x1180) TextMetrics: AvgWidth= 5
(178: 22.72s 89731us)(0x1180) TextMetrics: MaxWidth= 6
(179: 22.75s 110980us)(0x1180) Font and Charter set creation succesfull
(180: 22.75s 26us)(0x1180) [NEW FONT] ( Arial), Size=-16, Weight=400 Pitch&Family=31
(181: 22.76s 10497us)(0x1180) TextMetrics: Ascent = 15
(182: 22.76s 10566us)(0x1180) TextMetrics: Descent = 3
(183: 22.76s 10587us)(0x1180) TextMetrics: Height = 18
(184: 22.76s 10607us)(0x1180) TextMetrics: AvgWidth= 7
(185: 22.76s 10626us)(0x1180) TextMetrics: MaxWidth= 43
(186: 22.79s 45315us)(0x1180) Font and Charter set creation succesfull
(187: 22.80s 3us)(0x1180) ================ clbkPostCreation ===============
(188: 22.80s 3us)(0x1180) RegisteringVisual (Sun) hVessel=0x0, hObj=0x1A2D1B8, Vis=0x4028610, Rec=0x3C9BF78, Type=3
(189: 22.80s 23us)(0x1180) RegisteringVisual (Mercury) hVessel=0x0, hObj=0x1E92510, Vis=0x4028708, Rec=0x3C9BFB8, Type=4
(190: 22.85s 46777us)(0x1180) Texture 0x40089A8 (cloud1.dds) added in repository
(191: 22.85s 46840us)(0x1180) RegisteringVisual (Venus) hVessel=0x0, hObj=0x1E64FF0, Vis=0x402C930, Rec=0x3C9BFD8, Type=4
(192: 22.86s 13361us)(0x1180) Texture 0x4008A90 (waves.dds) added in repository
(193: 22.86s 14697us)(0x1180) Reading Tile Data for Earth_tile.bin
(194: 23.66s 766584us)(0x1180) FogParams: alt_ref=4000, dens_0=5e-005, dens_ref=3e-005
(195: 23.66s 766685us)(0x1180) RegisteringVisual (Earth) hVessel=0x0, hObj=0x1E97208, Vis=0x4034CF0, Rec=0x3C9BFF8, Type=4
(196: 23.69s 32261us)(0x1180) Reading Tile Data for Moon_tile.bin
(197: 25.83s 2173007us)(0x1180) RegisteringVisual (Moon) hVessel=0x0, hObj=0xAA9AAF0, Vis=0x40B39A8, Rec=0x3C9C018, Type=4
(198: 25.83s 18us)(0x1180) RegisteringVisual (Mars) hVessel=0x0, hObj=0x1E81138, Vis=0x40A9328, Rec=0x3C9C038, Type=4
(199: 25.92s 50842us)(0x1180) Texture 0x4008B78 (Phobos.dds) added in repository
(200: 25.92s 51457us)(0x1180) RegisteringVisual (Phobos) hVessel=0x0, hObj=0xAB1F7D8, Vis=0x40C0D10, Rec=0x3C9C058, Type=4
(201: 25.98s 51946us)(0x1180) Texture 0x4008C60 (Deimos.dds) added in repository
(202: 25.98s 52591us)(0x1180) RegisteringVisual (Deimos) hVessel=0x0, hObj=0xAB02FB0, Vis=0x40C0E78, Rec=0x3C9C078, Type=4
(203: 25.98s 15us)(0x1180) RegisteringVisual (Jupiter) hVessel=0x0, hObj=0xAAE7BA0, Vis=0x4049B08, Rec=0x3C9C098, Type=4
(204: 25.98s 6us)(0x1180) RegisteringVisual (Io) hVessel=0x0, hObj=0xAAE8288, Vis=0xE399390, Rec=0x3C9C0B8, Type=4
(205: 25.98s 6us)(0x1180) RegisteringVisual (Europa) hVessel=0x0, hObj=0xAB1D5D0, Vis=0xE399710, Rec=0x3C9C0D8, Type=4
(206: 25.98s 6us)(0x1180) RegisteringVisual (Ganymede) hVessel=0x0, hObj=0xAB1BFC0, Vis=0x404A6F0, Rec=0x3C9C0F8, Type=4
(207: 25.98s 6us)(0x1180) RegisteringVisual (Callisto) hVessel=0x0, hObj=0xAB1C6A8, Vis=0x40CC540, Rec=0x3C9C118, Type=4
(208: 25.98s 8us)(0x1180) RegisteringVisual (Saturn) hVessel=0x0, hObj=0xAB49C70, Vis=0x40CCA68, Rec=0x3C9C138, Type=4
(209: 25.98s 7us)(0x1180) RegisteringVisual (Mimas) hVessel=0x0, hObj=0xAB4A358, Vis=0x40CD290, Rec=0x3C9C158, Type=4
(210: 25.98s 12us)(0x1180) RegisteringVisual (Enceladus) hVessel=0x0, hObj=0xAB4AA40, Vis=0x40CD3F8, Rec=0x3C9C178, Type=4
(211: 25.98s 7us)(0x1180) RegisteringVisual (Tethys) hVessel=0x0, hObj=0xAB905A0, Vis=0xE3D62A8, Rec=0x3C9C198, Type=4
(212: 25.98s 7us)(0x1180) RegisteringVisual (Dione) hVessel=0x0, hObj=0xAB64C38, Vis=0xE3D7750, Rec=0x3C9C1B8, Type=4
(213: 25.98s 9us)(0x1180) RegisteringVisual (Rhea) hVessel=0x0, hObj=0xAB65340, Vis=0x40A25D8, Rec=0x3C9C1D8, Type=4
(214: 25.98s 12us)(0x1180) RegisteringVisual (Titan) hVessel=0x0, hObj=0xAB65A48, Vis=0x40A2740, Rec=0x3C9C1F8, Type=4
(215: 25.98s 6us)(0x1180) RegisteringVisual (Hyperion) hVessel=0x0, hObj=0xAB66150, Vis=0x40A28A8, Rec=0x3C9C218, Type=4
(216: 25.98s 7us)(0x1180) RegisteringVisual (Iapetus) hVessel=0x0, hObj=0xAB66858, Vis=0x40A2A10, Rec=0x3C9C238, Type=4
(217: 25.98s 6us)(0x1180) RegisteringVisual (Uranus) hVessel=0x0, hObj=0xAB66F60, Vis=0x40A2B78, Rec=0x3C9C258, Type=4
(218: 25.99s 6us)(0x1180) RegisteringVisual (Miranda) hVessel=0x0, hObj=0xAB67668, Vis=0x40A2CE0, Rec=0x3C9C278, Type=4
(219: 25.99s 5us)(0x1180) RegisteringVisual (Ariel) hVessel=0x0, hObj=0xAB67D70, Vis=0x40A2E48, Rec=0x3C9C298, Type=4
(220: 25.99s 6us)(0x1180) RegisteringVisual (Umbriel) hVessel=0x0, hObj=0xAB68478, Vis=0x40A2FB0, Rec=0x3C9C2B8, Type=4
(221: 25.99s 6us)(0x1180) RegisteringVisual (Titania) hVessel=0x0, hObj=0xAB68B80, Vis=0x40A3118, Rec=0x3C9C2D8, Type=4
(222: 25.99s 6us)(0x1180) RegisteringVisual (Oberon) hVessel=0x0, hObj=0xAB69288, Vis=0x40A3280, Rec=0x3C9C2F8, Type=4
(223: 25.99s 6us)(0x1180) RegisteringVisual (Neptune) hVessel=0x0, hObj=0xAB69990, Vis=0x40A33E8, Rec=0x3C9C318, Type=4
(224: 25.99s 12us)(0x1180) RegisteringVisual (Triton) hVessel=0x0, hObj=0xAB6A098, Vis=0x40A3550, Rec=0x3C9C338, Type=4
(225: 25.99s 5us)(0x1180) RegisteringVisual (Proteus) hVessel=0x0, hObj=0xAB6A7A0, Vis=0x40A36B8, Rec=0x3C9C358, Type=4
(226: 25.99s 5us)(0x1180) RegisteringVisual (Nereid) hVessel=0x0, hObj=0xAB6AEA8, Vis=0x40A3820, Rec=0x3C9C378, Type=4
(227: 25.99s 3us)(0x1180) Vessel(0xABA27E4) DeltaGlider has 2 meshes
(228: 25.99s 1019us)(0x1180) Mesh(0xAAF5D28) Offset = (0, 0, 0)
(229: 25.99s 2186us)(0x1180) Mesh(0xAAF5E40) Offset = (0, 0, 0)
(230: 25.99s 2266us)(0x1180) Vessel(DG2001) Vis=0x40A6450 has 37 animations
(231: 25.99s 2293us)(0x1180) RegisteringVisual (DG2001) hVessel=0xABA27E4, hObj=0xABA19D8, Vis=0x40A6450, Rec=0x3C9C398, Type=10
(232: 25.99s 5us)(0x1180) =============== Loading Completed and Visuals Created ================
(233: 26.00s 34us)(0x1180) New Base Visual(0xE441488) hBase=0x1F45D88, nsbs=0, nsas=0
(234: 26.00s 1960us)(0x1180) New Base Visual(0xE441610) hBase=0x1F460F0, nsbs=0, nsas=1
(235: 29.11s 75460us)(0x1180) New Base Visual(0xE441850) hBase=0x1F46E90, nsbs=0, nsas=6
(236: 29.38s 63069us)(0x1180) Texture 0xE4686D8 (SGM.dds) added in repository
(237: 29.49s 52069us)(0x1180) Texture 0xE4687C0 (SanB.dds) added in repository
(238: 29.73s 58914us)(0x1180) Texture 0xE4688A8 (NWmounts.dds) added in repository
(239: 29.89s 146752us)(0x1180) Texture 0xE468990 (Wmounts.dds) added in repository
(240: 29.92s 175848us)(0x1180) New Base Visual(0xE444B58) hBase=0xAAD9958, nsbs=3, nsas=1
(241: 29.92s 93us)(0x1180) New Base Visual(0xE445390) hBase=0xAADB130, nsbs=1, nsas=0
(242: 29.92s 356us)(0x1180)[ERROR] .\CloudMgr.cpp Line:171 Error:-2005530516 mesh.pTile->DrawSubset(0)
(243: 29.92s 524us)(0x1180)[ERROR] Exception Code=0xC0000005, Address=0x724F9A29
(244: 29.92s 555us)(0x1180)[ERROR] EAX=0x0000000A EBX=0x03B23820 ECX=0x00168142 EDX=0x03A90D80 ESI=0x03A3ABE0 EDI=0x00000000 EBP=0x009FF0AC ESP=0x009FF070 EIP=0x724F9A29
(245: 29.92s 2835us)(0x1180)[ERROR] C:\Windows\system32\d3d9.dll EntryPoint=0x723B36A9, Base=0x72370000, Size=1810432
(246: 29.93s 7270us)(0x1180)[ERROR] Exception in clbkRenderScene()
(247: 29.93s 4011us)(0x1180)[ERROR] !!! Abnormal Program Termination !!!
(248: 29.93s 4091us)(0x1180) --------------ExitModule------------
(249: 29.93s 4687us)(0x1180) Log Closed
 

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,666
Reaction score
795
Points
128
Problems with RMS functions in SSU when using the D3DX9 client.http://www.orbiter-forum.com/showthread.php?p=297545#post297545

I made a modification in the client a while ago that could effect in initial state of an animation or reseting it. Could you test RC29 release from the first post and see if the problem exists in that build. If the problem do exists in RC29 then I would need some instructions on how to reproduce it on my computer so that I can take a closer look into the numbers.

---------- Post added at 21:39 ---------- Previous post was at 21:35 ----------

I've got a problem here. I installed this (http://www.microsoft.com/download/en/details.aspx?id=8109), RC33 from the first page and RC33b. The scenario loads fine, but the simulation never comes up. Here's the log:

Looks like you need to install the ShaderModel2.0 package from the post #744. Extract the content in /Modules/D3D9Client/
 

Donamy

Addon Developer
Addon Developer
Donator
Beta Tester
Joined
Oct 16, 2007
Messages
6,906
Reaction score
201
Points
138
Location
Cape
I made a modification in the client a while ago that could effect in initial state of an animation or reseting it. Could you test RC29 release from the first post and see if the problem exists in that build. If the problem do exists in RC29 then I would need some instructions on how to reproduce it on my computer so that I can take a closer look into the numbers.


Same problem with RC29.
 

Jumper_001

New member
Joined
May 25, 2008
Messages
16
Reaction score
0
Points
0
Location
Mojave, CA
I just tried RC33 on 100830 for the first time and...it's awesome!

I've really struggled with the performance issues in Vista and Windows 7 with the stock built-in DX7 client, mostly because of GDI.... I hope more add-on authors embrace the DX9 client like the XRx series have, because it's a breath of fresh air for using Orbiter on a modern system.

Thanks for all your hard work!
 

Moach

Crazy dude with a rocket
Addon Developer
Joined
Aug 6, 2008
Messages
1,581
Reaction score
62
Points
63
Location
Vancouver, BC
just a quick question...

the displays on my G42-200 vc which use the oapiBlt function aren't working... i mean, they work, as long as it sticks to the sketchpad, but then when i do any blitting (src and tgt are the same surface), it fails silently...


is there some alternative way i should be doing this? i haven't really kept up with details from the past few tens of pages in this thread, so forgive my misinformation :rolleyes:

is oapitBlt getting deprecated? or is it simply not working right now? - and if the former, what should i use for blitting instead?

this is with Orbiter 2010-p1 (not beta) and the RC33 client posted on the first page


all other things work perfectly fine... except blit calls.... i didn't wanna have to code separate routines for the client and inline graphics - any suggestions?
 

jarmonik

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 28, 2008
Messages
2,666
Reaction score
795
Points
128
the displays on my G42-200 vc which use the oapiBlt function aren't working... i mean, they work, as long as it sticks to the sketchpad, but then when i do any blitting (src and tgt are the same surface), it fails silently...

There is nothing wrong in the oapiBlt except that the source and target can't be the same surface. It should be pretty easy to alter the design so that the source and target are different surfaces. Error messages are written into a file D3D9ClientLog.html that's located in /Modules/D3D9Client/
 
Last edited:
Top