Problem Orbitersound incompatability with Europa? Only certain vessels...

Belisarius

Obsessed with reality. Why?
Addon Developer
Joined
Apr 3, 2008
Messages
979
Reaction score
1
Points
0
Location
Barcelona, Spain
Hi all....

I've got a weird bug to report, it's been driving me crazy and taking up 80% of my orbiter time of late... Maybe some of you codeheads could help, or at least suggest what's up.

I noticed a number of CTDs and failure to launch scenarios associated with Europa. So I started to investigate. I tried various vessels on and around Europa and various modules activated.

So the problem occurs only with certain vessels such as Arrow-UCGO and only when Orbitersound module is activated.

Example scenario

Code:
BEGIN_DESC
test for europa/sound bug
END_DESC

BEGIN_ENVIRONMENT
  System Sol
  Date MJD 91995.2553617553
END_ENVIRONMENT

BEGIN_FOCUS
  Ship Arrow
END_FOCUS

BEGIN_CAMERA
  TARGET Arrow
  MODE Extern
  POS 4.28 80.11 22.10
  TRACKMODE GlobalFrame
  FOV 44.18
END_CAMERA

BEGIN_HUD
  TYPE Surface
END_HUD

BEGIN_SHIPS
Arrow:UCGO\Vessels\UCGOArrowFreighter
  STATUS Landed Europa
  POS 62.3499990 68.4559982
  HEADING 180.44
  AFCMODE 7
  PRPLEVEL 0:1.000000
  IDS 0:320 100
  NAVFREQ 0 0
  XPDR 300
  O2_RESERVE 99.45
  SAVEVAR00 0§0,1§0.00,2§1,3§1.00,4§0,5§0.00,6§0,7§1,8§0.00,9§1,10§0.00,11§0.00,12§0,13§0,14§0,15§0.00,16§0,17§0,18§3,19§1,20§4,21§0,22§1,
  UMMUCREW Capt-Peter_Falcon-41-65-74
  UMMUCREW Eng-Fanny_Gorgeous-27-67-55
  UMMUCREW Doc-George_HealGood-15-70-45
  UMMUCREW -Albert_Jr_Falcon-15-70-45
  UCGO @@0,1,0,0,@@1,1,0,0,@@2,1,0,0,@@3,1,0,0,@@4,1,0,0,@@5,1,0,0,@@6,1,0,0,@@7,1,0,0,
  UCGO @@8,1,0,0,@@9,1,0,0,@@10,1,0,0,@@11,1,0,0,@@12,1,0,0,@@13,1,0,0,@@14,1,0,0,
  UCGO @@15,1,0,0,@@16,1,0,0,@@17,1,0,0,@@18,1,0,0,@@19,1,0,0,@@20,1,0,0,@@21,1,0,0,
  UCGO @@22,1,0,0,@@23,1,0,0,@@24,1,0,0,@@25,1,0,0,@@26,1,0,0,@@27,1,0,0,@@28,1,0,0,
  UCGO @@29,1,0,0,@@30,1,0,0,@@31,1,0,0,@@32,1,0,0,@@33,1,0,0,@@34,1,0,0,@@35,1,0,0,
  UCGO @@36,1,0,0,@@37,1,0,0,@@38,1,0,0,@@39,1,0,0,
END
END_SHIPS

When I run this without Orbitersound, it works fine. This is the log:

Code:
**** Orbiter.log
Build Aug 30 2010 [v.100830]
Timer precision: 2.79365e-007 sec
Found 0 joystick(s)
Devices enumerated: 4
Devices accepted: 3
==> RGB Emulation
==> Direct3D HAL
==> Direct3D HAL (Mobile Intel(R) 945GM Express Chipset Family)
Module AtlantisConfig.dll .... [Build 100830, API 100830]
Module AtmConfig.dll ......... [Build 100830, API 100830]
Module DGConfigurator.dll .... [Build 100830, API 100830]
Module ScnEditor.dll ......... [Build 100830, API 100830]
Module InterMFD55.dll ........ [Build 100826, API 100704]
---------------------------------------------------------------
>>> 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 OrbiterSound.dll ...... [Build ******, API 060425]

**** Creating simulation session
DirectDraw interface OK
Direct3D interface OK
Graphics: Viewport: Fullscreen 1280 x 800 x 32
Graphics: Hardware T&L capability: No
Graphics: Z-buffer depth: 32 bit
Graphics: Stencil buffer depth: 8 bit
Graphics: Active lights supported: -1
Loading 8816 records from star database
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-008, Terms 1710/1710
Module Earth.dll ............. [Build 100830, API 100830]
Module EarthAtmJ71G.dll ...... [Build 100830, API 100830]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
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 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 UCGOArrow.dll ......... [Build ******, API 060425]
Finished initialising status
Finished initialising camera
Finished initialising panels
Finished setting up render state

Note that THIS SETUP WORKS OK. It seems to load Orbitersound but the module is not activated. I don't understand why it loads, though with the module disactivated it works fine.

OK, now when I activate Orbitersound, the scenario fails to load and freezes on the splashscreen.
Here's the log this time:
Code:
**** Orbiter.log
Build Aug 30 2010 [v.100830]
Timer precision: 2.79365e-007 sec
Found 0 joystick(s)
Devices enumerated: 4
Devices accepted: 3
==> RGB Emulation
==> Direct3D HAL
==> Direct3D HAL (Mobile Intel(R) 945GM Express Chipset Family)
Module AtlantisConfig.dll .... [Build 100830, API 100830]
Module AtmConfig.dll ......... [Build 100830, API 100830]
Module DGConfigurator.dll .... [Build 100830, API 100830]
Module ScnEditor.dll ......... [Build 100830, API 100830]
Module InterMFD55.dll ........ [Build 100826, API 100704]
---------------------------------------------------------------
>>> 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 OrbiterSound.dll ...... [Build ******, API 060425]

**** Creating simulation session
DirectDraw interface OK
Direct3D interface OK
Graphics: Viewport: Fullscreen 1280 x 800 x 32
Graphics: Hardware T&L capability: No
Graphics: Z-buffer depth: 32 bit
Graphics: Stencil buffer depth: 8 bit
Graphics: Active lights supported: -1
Loading 8816 records from star database
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-008, Terms 1710/1710
Module Earth.dll ............. [Build 100830, API 100830]
Module EarthAtmJ71G.dll ...... [Build 100830, API 100830]
VSOP87(B) Earth: Precision 1e-008, Terms 2564/2564
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 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 UCGOArrow.dll ......... [Build ******, API 060425]
Finished initialising status
Finished initialising camera
Finished initialising panels

I can't see any difference between the log when it loads and when it doesn't load. But I know that Orbitersound has something to do with the problem. I get the same effect with a Longshot, but not with XR vessels or ShuttleA-UCGO.

My conclusion: something weird and mysterious is going on here. Perhaps Orbitersound hates Europa. Perhaps Europa hates Orbitersound. And they both hate Arrow-UCGO, Longshot and other ships.

I hope one of you clever people can suggest an answer.

Meanwhile I'm praying to the Almighty Probe for intervention :hailprobe:
 

orb

New member
News Reporter
Joined
Oct 30, 2009
Messages
14,020
Reaction score
4
Points
0
Note that THIS SETUP WORKS OK. It seems to load Orbitersound but the module is not activated. I don't understand why it loads, though with the module disactivated it works fine.
While I cannot check the other things related to your report right now, I can answer you why it's in the Orbiter.log. You opened Orbiter Launchpad with OrbiterSound activated, deactivated it and run a scenario without closing the launchpad (or activated it and deactivated before you launched a scenario). Plug-in modules are being loaded already in the Launchpad, and the first part of log until "Creating simulation session" is saved while you're still in the Launchpad. There won't be OrbiterSound module logged, when you deactivate it, close the Launchpad, and then rerun the Orbiter again, without clicking on that module to activate it (and next to deactivate).
 

Belisarius

Obsessed with reality. Why?
Addon Developer
Joined
Apr 3, 2008
Messages
979
Reaction score
1
Points
0
Location
Barcelona, Spain
Thanks for that information, that solves a mini-enigma, but I still don't get why the Orbitersound crashes some ships only on Europa (that I've noticed so far).
 

Rtyh-12

New member
Joined
Sep 12, 2010
Messages
918
Reaction score
0
Points
0
Location
Kraken Mare
I sometimes had wierd problems with ships like those on planets far away. They seem to have disappeared though. I have absolutely no idea, software can get weird sometimes you know!:)

Anyway, wierd problems tend to disappear by themselves at my Orbiter, without me having to do anything other than actually play Orbiter. As I said before, software can get weird!
 

Izack

Non sequitur
Addon Developer
Joined
Feb 4, 2010
Messages
6,665
Reaction score
13
Points
113
Location
The Wilderness, N.B.
All these worlds are yours except Europa... :shifty:

More seriously, have you tried running the scenario with the same configuration twice or more in a row? Some problems only seem to appear every other time Orbiter runs.
 

orb

New member
News Reporter
Joined
Oct 30, 2009
Messages
14,020
Reaction score
4
Points
0
Some problems only seem to appear every other time Orbiter runs.
But only when Orbiter shutdown option is set to deallocate memory and display launchpad dialog, which is default, by the way.
 

Belisarius

Obsessed with reality. Why?
Addon Developer
Joined
Apr 3, 2008
Messages
979
Reaction score
1
Points
0
Location
Barcelona, Spain
All these worlds are yours except Europa... :shifty:

More seriously, have you tried running the scenario with the same configuration twice or more in a row? Some problems only seem to appear every other time Orbiter runs.

Like the Space Odyssey 2010 reference. Yeah, I already changed the shutdown options to "respawn" and that seems to solve the "every-other-time" bug.

This one is completely different. It's every time with these three conditions: 1) Arrow/and others 2) Europa (maybe others?) as ref planet and 3) Orbitersound running.

Very true Ryan that weird stuff happens and the problems sometimes fix themselves. That is the zen approach but I'm a worrier.

Anyone tried replicating my scenario? No addons required, except Arrow-UCGO
 

jgrillo2002

Conservative Pioneer
Addon Developer
Joined
Mar 17, 2008
Messages
755
Reaction score
17
Points
33
Location
New York State
Did you notice something wrong with the active lights? It is at -1. Also T&L is not active according to the log. Can you tell me what graphics card do you have on the computer that you are using? There are also some oddities from what I'm looking at .
 

orb

New member
News Reporter
Joined
Oct 30, 2009
Messages
14,020
Reaction score
4
Points
0
Did you notice something wrong with the active lights? It is at -1. Also T&L is not active according to the log. Can you tell me what graphics card do you have on the computer that you are using? There are also some oddities from what I'm looking at .
You can check in the log that there's "Mobile Intel(R) 945GM Express Chipset Family". It's a known issue, that can be overridden either by additional entry in Orbiter.cfg, or by using newer Orbiter beta versions. Intel Mobile cards don't support hardware Transform & Lighting.
 

Belisarius

Obsessed with reality. Why?
Addon Developer
Joined
Apr 3, 2008
Messages
979
Reaction score
1
Points
0
Location
Barcelona, Spain
Thanks for the tips, chaps - I'm fairly sure it's a hardware compatability issue. I'll check the configs you mentioned right away.
 
Top