Project D3D11Client Development

Glider

Addon Developer
Addon Developer
Joined
Apr 12, 2008
Messages
226
Reaction score
0
Points
16
Location
Saint-Petersburg
Hi, it is commendable a group is working on a DirectX 11 client.

I've done a clean install of Orbiter and used the 319192b7a89f version of the d3d11 client.

Orbiterng.exe loads, but crashes on launch scenario or video tab selection, it may sound a silly question, and I apologise, but what have I done wrong? Thanks for your time.

Code:
**** Orbiter.log
[B]Build Aug 30 2010 [v.100830][/B]
Timer precision: 3.60741e-007 sec
Found 1 joystick(s)
Module AtlantisConfig.dll .... [Build 100830, API 100830]
Module AtmConfig.dll ......... [Build 100830, API 100830]
Module DGConfigurator.dll .... [Build 100830, API 100830]
[B]Module D3D11Client.dll ....... [Build 120207, API 111105][/B]
Error loading module Modules\Plugin\D3D11Client.dll (code 998)

You're trying to use a client dll compiled for 111105 beta with 100830 Orbiter. Client compiled for 111105 beta doesn't work with 100830 orbiter. it works only with 111105 beta. You need to install the client to 111105 beta or use 100830 version of the client with 100830 orbiter.
 

Robrutus

New member
Joined
May 16, 2010
Messages
3
Reaction score
0
Points
0
Thanks for your reply, I'll give it a whirl.

Have you got a link for the latest client for 100830 version of orbiter. I may also try the latest beta.
 

Face

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 18, 2008
Messages
4,403
Reaction score
581
Points
153
Location
Vienna
Thanks for your reply, I'll give it a whirl.

Have you got a link for the latest client for 100830 version of orbiter. I may also try the latest beta.

I have backported an earlier version of asmi's and Glider's master to O2010P1 here. You can check what version I'm talking about by examining the graph here. As you can see there, it is already 16 days old, so it may not reflect the current state of the client. For that you'd have to use Orbiter beta.

regards,
Face
 

edsupagood

Addon Developer
Addon Developer
Joined
Oct 26, 2010
Messages
135
Reaction score
0
Points
16
I have an nVidia 9500 GT, when I enable the the client in the modules tab everything works fine. When I click on the video tab though, I get an "obiter.exe has stopped working" error. I have also tried to just enable the client and launch a scenario, with out first going into video tab and everything seems to be working properly.
 

asmi

Addon Developer
Addon Developer
Joined
Jan 9, 2012
Messages
350
Reaction score
0
Points
0
Location
Ontario
I have an nVidia 9500 GT, when I enable the the client in the modules tab everything works fine. When I click on the video tab though, I get an "obiter.exe has stopped working" error. I have also tried to just enable the client and launch a scenario, with out first going into video tab and everything seems to be working properly.

Thank you for the bug report, this one seems to be a root cause for a bunch of CTDs in video tab. It's now fixed - so please download latest version and try again - it should work now. If it doesn't - please let us know here so we could keep looking into it.
 

edsupagood

Addon Developer
Addon Developer
Joined
Oct 26, 2010
Messages
135
Reaction score
0
Points
16
Ok it seems the bug has fixed, everything is working fine.
 

RacerX

Donator
Donator
Joined
Jan 3, 2012
Messages
303
Reaction score
9
Points
18
Location
in a field
Ok I am confused! Is the asmi and glider repositories the same graphics client? I noticed both repositories are 46.6mb download. Are they working on the same client with different repositories or are they separate DX11 clients all together working towards the same goal?
 

asmi

Addon Developer
Addon Developer
Joined
Jan 9, 2012
Messages
350
Reaction score
0
Points
0
Location
Ontario
Ok I am confused! Is the asmi and glider repositories the same graphics client? I noticed both repositories are 46.6mb download. Are they working on the same client with different repositories or are they separate DX11 clients all together working towards the same goal?

Yes, we both are committing to my repository.
 

Face

Well-known member
Orbiter Contributor
Addon Developer
Beta Tester
Joined
Mar 18, 2008
Messages
4,403
Reaction score
581
Points
153
Location
Vienna
Ok I am confused! Is the asmi and glider repositories the same graphics client? I noticed both repositories are 46.6mb download. Are they working on the same client with different repositories or are they separate DX11 clients all together working towards the same goal?

AFAIK, there are only 2 repos right now: asmi's and mine. If I'm not mistaken, Glider has no repo. Both repos can contain additional branches, but we both work towards the same goal. Asmi is the leading developer right now, with his repo showing his latest work. Additionally, Glider (aka pkon@BB?) seems to push directly to asmi's repo. I am just following them (pulling their changes in), and maintain the O2010P1 backport, which you do not see in asmi's clone at the moment.

As for the download size: keep in mind that what Bitbucket shows you is the size of the complete repository, not only one version of it. The tip of the D3D11Client branch in asmi's repo is approx. 4MB download.

regards,
Face
 

Astronut25

New member
Joined
Nov 17, 2009
Messages
102
Reaction score
0
Points
0
Location
Out there
Can you please post some examples of mods that have stopped working?

Hmm. What version are you using? Are you using the latest version from my source control? I remember this issue, I've fixed it quite some time ago - at least I thought so...

Sorry about the delay, I've been gone for quite a while.


Every version after the 20th of January (from the link on the first page) have been crashing with various mods,

the first 5 are:

Outer Planets (with a few texture changes)
Kourou CSG (ELA & ELS) & Hi-res Guyana
Plesetsk Cosmodrome texture
Vandenberg AFB (not sure which one)
UCGO 2 (never worked)

there are definitely more, I just havent identified which ones yet.


also, are surface bases not finished yet? The objects are white and the tiles are pink.
Surface Base.jpg
 
Last edited:

Jarod

Member
Joined
Dec 13, 2011
Messages
169
Reaction score
0
Points
16
I followed "D3D11Client download and installation instructions" on a vanilla beta orbiter.
I activated D3D11Client in modules, set windowed to 1280*720, but when I run a scenario I have a "orbiter.exe has stopped working" error.
Orbiter.log is not helpful.
Code:
**** Orbiter.log
Build Nov  5 2011 [v.111105]
Timer precision: 4.46219e-007 sec
Found 0 joystick(s)
Module AtlantisConfig.dll .... [Build 111105, API 111105]
Module AtmConfig.dll ......... [Build 111105, API 111105]
Module DGConfigurator.dll .... [Build 111105, API 111105]
Module D3D11Client.dll ....... [Build 120215, API 111105]

**** Creating simulation session
I have a geforce gt520m with 285.62 drivers, windows7, I installed the DirectX 11 June 2010 update.
 

asmi

Addon Developer
Addon Developer
Joined
Jan 9, 2012
Messages
350
Reaction score
0
Points
0
Location
Ontario
I followed "D3D11Client download and installation instructions" on a vanilla beta orbiter.
I activated D3D11Client in modules, set windowed to 1280*720, but when I run a scenario I have a "orbiter.exe has stopped working" error.
Orbiter.log is not helpful.
Code:
**** Orbiter.log
Build Nov  5 2011 [v.111105]
Timer precision: 4.46219e-007 sec
Found 0 joystick(s)
Module AtlantisConfig.dll .... [Build 111105, API 111105]
Module AtmConfig.dll ......... [Build 111105, API 111105]
Module DGConfigurator.dll .... [Build 111105, API 111105]
Module D3D11Client.dll ....... [Build 120215, API 111105]

**** Creating simulation session
I have a geforce gt520m with 285.62 drivers, windows7, I installed the DirectX 11 June 2010 update.
Thank you for the report. The way it looks is as if something is wrong with Orbiter itself, to check that please run exactly same scenario under default orbiter's client (orbiter.exe) and verify that it works as it should. Please try that and tell here if it works or not.

---------- Post added at 20:43 ---------- Previous post was at 20:37 ----------

Sorry about the delay, I've been gone for quite a while.
That's OK, I'm on vacation now so I got only very little spare time anyways :)

Every version after the 20th of January (from the link on the first page) have been crashing with various mods,

the first 5 are:

Outer Planets (with a few texture changes)
Kourou CSG (ELA & ELS) & Hi-res Guyana
Plesetsk Cosmodrome texture
Vandenberg AFB (not sure which one)
UCGO 2 (never worked)

there are definitely more, I just havent identified which ones yet.
Hmm, I can confirm that UCGO 2 is working just fine as I've got it installed on my installation as well and no issues were found so far with it. As for the rest - it's a big equation with many variables so there is no way to solve it without getting rid of those "unknowns". What I would suggest is create a fresh clean installation of Orbiter beta + D3D11Client, and then start adding addons one by one each time checking if it works or not. This way we can at least figure out which one is causing a problem.

also, are surface bases not finished yet? The objects are white and the tiles are pink.
View attachment 9282
They should work, but this part is better be directed to Glider as it's his area of responsibility.
 
Last edited:

luki1997a

Active member
Joined
Dec 9, 2010
Messages
314
Reaction score
0
Points
31
Location
Biłgoraj
asmi, the problem is not with Orbiter or scenario, but with d3d11 client itself. I tried running the same scenarios with older versions of the client and it worked fine, but they're not working with the newest version.

For me, loading scenario freezes at loading some moon textures(tiles of armstrong base) and "Program is not responding" :(
 

asmi

Addon Developer
Addon Developer
Joined
Jan 9, 2012
Messages
350
Reaction score
0
Points
0
Location
Ontario
asmi, the problem is not with Orbiter or scenario, but with d3d11 client itself. I tried running the same scenarios with older versions of the client and it worked fine, but they're not working with the newest version.

For me, loading scenario freezes at loading some moon textures(tiles of armstrong base) and "Program is not responding" :(
I assume you've downloaded a latest version from here: https://bitbucket.org/asmi/ovp If so, please post here an exact list of addons that you've got, so I could install them and check what's going on.
 
Last edited:

Jarod

Member
Joined
Dec 13, 2011
Messages
169
Reaction score
0
Points
16
Thank you for the report. The way it looks is as if something is wrong with Orbiter itself, to check that please run exactly same scenario under default orbiter's client (orbiter.exe) and verify that it works as it should. Please try that and tell here if it works or not.

I tried, it works fine with orbiter.exe
Code:
**** Orbiter.log
Build Nov  5 2011 [v.111105]
Timer precision: 4.46215e-007 sec
Found 0 joystick(s)
Devices enumerated: 6
Devices accepted: 5
[ ] RGB Emulation (SW)
[ ] Direct3D HAL (HW)
[x] Direct3D T&L HAL (HW)
[ ] Direct3D HAL (Intel(R) HD Graphics Family) (HW)
[x] Direct3D T&L HAL (Intel(R) HD Graphics Family) (HW)
Module AtlantisConfig.dll .... [Build 111105, API 111105]
Module AtmConfig.dll ......... [Build 111105, API 111105]
Module DGConfigurator.dll .... [Build 111105, API 111105]

**** Creating simulation session
DirectDraw interface OK
Direct3D interface OK
Graphics: Viewport: Window 1274 x 692 x 32
Graphics: Hardware T&L capability: Yes
Graphics: Z-buffer depth: 32 bit
Graphics: Active lights supported: 8
Loading 15382 records from star database
Module Sun.dll ............... [Build 111105, API 111105]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
Module Mercury.dll ........... [Build 111105, API 111105]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
Module Venus.dll ............. [Build 111105, API 111105]
Module VenusAtm2006.dll ...... [Build 111105, API 111105]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
Module Earth.dll ............. [Build 111105, API 111105]
Module EarthAtmJ71G.dll ...... [Build 111105, API 111105]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
Module Moon.dll .............. [Build 111105, API 111105]
ELP82: Precision 1e-005, Terms 116/829
Module Mars.dll .............. [Build 111105, API 111105]
Module MarsAtm2006.dll ....... [Build 111105, API 111105]
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 111105, API 111105]
Module Jupiter.dll ........... [Build 111105, API 111105]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
Module Io.dll ................ [Build 111105, API 111105]
Module Europa.dll ............ [Build 111105, API 111105]
Module Ganymede.dll .......... [Build 111105, API 111105]
Module Callisto.dll .......... [Build 111105, API 111105]
Module Satsat.dll ............ [Build 100215, API 100212]
Module Saturn.dll ............ [Build 111105, API 111105]
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 111105, API 111105]
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 111105, API 111105]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
Finished initialising world
Module Atlantis.dll .......... [Build 111105, API 111105]
Finished initialising status
Finished initialising camera
Finished initialising panels
Finished setting up render state
**** Closing simulation session

Oh by the way :lol: , as you can see in the log, it says : Intel(R) HD Graphics Family
this is the part integrated in the sandy bridge intel core i5. (looks like it is a Intel HD 3000)
Every game I have says that I have that but once the game is started the nvidia card is doing the job.
http://www.nvidia.com/object/optimus_technology.html
I have no problem running the D3D9client.
 

luki1997a

Active member
Joined
Dec 9, 2010
Messages
314
Reaction score
0
Points
31
Location
Biłgoraj
I assume you've downloaded a latest version from here: https://bitbucket.org/asmi/ovp If so, please post here an exact list of addons that you've got, so I could install them and check what's going on.

:facepalm:
Sorry, I've installed it for clean install of Orbiter Beta, and it's working fine. I think, that for me the cause is one of add-ons(but everything works fine with other clients:blink:), probably the Armstrong Base.

And of course, I've Orbiter Beta with D3D11Client not working. BTW it's some kind of bug report :)

:hailprobe:
 

Astronut25

New member
Joined
Nov 17, 2009
Messages
102
Reaction score
0
Points
0
Location
Out there
Bug List

While bug-hunting, I've encountered a couple things that might be of interest.
Code:
[I];Non-Directory Base Bug ([planet name].cfg)[/I]
; === Surface Bases ===
; place additional bases or
; base directories in this list
BEGIN_SURFBASE
DIR Earth\Base
[B]EDW: -117.92 +34.892      ;these cause "white screen"[/B]
[B]KSC: -80.675 +28.5208     ;default client uses them same as the files in DIR[/B]
[B]VBG: -120.5694  +34.7345  ;[/B]
[B]ZZA: -1.0467 +41.6683     ;[/B]
END_SURFBASE
 
[I];Base Mesh Bug ([base name].cfg)[/I]
MESH
[B]FILE JSvC\commdish ; Typo/missing file in mesh items causes CTD, default client just ignores and continues[/B]
 POS -620 18 1190
 SCALE .25 .25 .25
 OWNMATERIAL
END
MESH
 FILE JSC\commdish
 POS -720 18 1190
 SCALE .25 .25 .25
 OWNMATERIAL
END

I forgot to show the Orbiter.log file earlier when I was asking about the add-on white-screening, so here it is.
Code:
**** Orbiter.log
Build Nov  5 2011 [v.111105]
Timer precision: 4e-008 sec
Found 0 joystick(s)
Module AtlantisConfig.dll .... [Build 111105, API 111105]
Module AtmConfig.dll ......... [Build 111105, API 111105]
Module DGConfigurator.dll .... [Build 111105, API 111105]
Module EnergyConfigurator.dll  [Build ******, API 060425]
Module D3D11Client.dll ....... [Build 120215, API 111105]
**** Creating simulation session
Module Sun.dll ............... [Build 111105, API 111105]
VSOP87(E) Sun: Precision 1e-006, Terms 554/6634
Module Mercury.dll ........... [Build 111105, API 111105]
VSOP87(B) Mercury: Precision 1e-005, Terms 167/7123
Module Venus.dll ............. [Build 111105, API 111105]
Module VenusAtm2006.dll ...... [Build 111105, API 111105]
VSOP87(B) Venus: Precision 1e-005, Terms 79/1710
Module Earth.dll ............. [Build 111105, API 111105]
Module EarthAtm2006.dll ...... [Build 111105, API 111105]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
============================ ERROR: ===========================
Mesh not found: .\Meshes\STSws.msh
[LoadMesh | .\Mesh.cpp | 1211]
===============================================================
BaseObject: Parse error 1
Module Moon.dll .............. [Build 111105, API 111105]
ELP82: Precision 1e-005, Terms 116/829
Module Mars.dll .............. [Build 111105, API 111105]
Module MarsAtm2006.dll ....... [Build 111105, API 111105]
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 111105, API 111105]
Module Jupiter.dll ........... [Build 111105, API 111105]
VSOP87(B) Jupiter: Precision 1e-006, Terms 1624/3625
Module Io.dll ................ [Build 111105, API 111105]
Module Europa.dll ............ [Build 111105, API 111105]
Module Ganymede.dll .......... [Build 111105, API 111105]
Module Callisto.dll .......... [Build 111105, API 111105]
Module Satsat.dll ............ [Build ******, API 061227]
Module Saturn.dll ............ [Build 111105, API 111105]
VSOP87(B) Saturn: Precision 1e-006, Terms 2904/6365
Module Uranus.dll ............ [Build 111105, API 111105]
VSOP87(B) Uranus: Precision 1e-006, Terms 1827/5269
Module Neptune.dll ........... [Build 111105, API 111105]
VSOP87(B) Neptune: Precision 1e-006, Terms 391/2024
Finished initialising world
Module DeltaGlider.dll ....... [Build 111105, API 111105]
Module LuaInline.dll ......... [Build 111105, API 111105]
Module Atlantis.dll .......... [Build 111105, API 111105]
Module UCGOShuttleA.dll ...... [Build ******, API 060425]
Finished initialising status
Finished initialising camera
Finished initialising panels
Finished setting up render state
 
[White Screen/"Not Responding"]

it looks like it thinks it loaded correctly
 

Astronut25

New member
Joined
Nov 17, 2009
Messages
102
Reaction score
0
Points
0
Location
Out there
The Outer Planets adds a bunch of bases by the "non-directory" method
http://www.orbithangar.com/search_quick.php?text=outer+planets&submit.x=0&submit.y=0

for the "Base Mesh Bug"
I think the CSG addons have some
http://www.orbithangar.com/search_quick.php?text=csg&submit.x=0&submit.y=0

and I've noticed that the JSC Rocket Park has trouble if a typo is added
http://www.orbithangar.com/download.php?ID=815

I've just checked some other bases (Canaveral, Ascension, White_Sands) but they didn't cause a crash if there was a typo added.
 
Last edited:

Jarod

Member
Joined
Dec 13, 2011
Messages
169
Reaction score
0
Points
16
Just a little update : I'm doing fine ... :rofl:
More seriously, Nvidia released new drivers and now the D3D11 client works just fine on my config, changelog mentions Optimus so I think that was the problem.
 
Top