Jump to content
Sign in to follow this  
bluebell2

crashing xp 11

Recommended Posts

In this case, you might just want to copy an existing one into the aircraft folder and add the line. Then after it crashes, review the "my documents\rxpGtnSim.dll.log" file.


Jean-Luc | reality-xp.com
This message from Reality XP is protected by a disclaimer: reality-xp.com/aboutrealityxp/email.html

Let your voice be heard and help us make a difference for you: Vote !
Open up communications with Reality-XP (Microsoft Flight Simulator Forums)

Share this post


Link to post
Share on other sites

my .ini file doesn't have that section you mentioned.  Here's the file:

[GTN]

; comma separated list of gauges
gauges = GTN_750_1

[GTN_750_1]
; comma separated list of render targets.
drawto = WINDOW, PANEL2D
; is the master device if true.
MasterDevice = true
; connects GPS to copilot side if true.
CopilotSide = false
; selects COM/NAV Radios '1' or '2'.
RadiosPair = 1
; uses computer time if true, simulator time otherwise.
ComputerTime = false
; reduce screen update rate by half.
ReduceRate = false
; integral lighting rheostat index (0 to 3) or percent (-100 to 0)
Rheostat.Display = -100
; integral lighting rheostat index (0 to 3) or percent (-100 to 0)
Rheostat.Buttons = -75
; connects GPS to HSI if true.
LinkHsi = true
; connects GPS to HSI course if true.
LinkCrs = true
; connects HSI OBS to GPS if true.
LinkObs = true
; connects GPS to VOR if true.
LinkVor = true
; connects GPS to Autopilot if true.
LinkOto = true
; connects CDI key to NAV/GPS switch if true.
AutoNavGps = true
; selects VLOC NAV '1' or '2'. '0' selects same source as 'RadiosPair'.
AutoNavSource = 0
; enables automatic GPS/VLOC selection.
AutoSelect = true
; connects GPS to Shadin Air Data computer if true.
UseAirData = true
; connects GPS to Shadin Fuel Data computer if true.
UseFuelData = true
; connects GPS to Audio Panel if true.
UseAudioPanel = true
; connects GPS to Transponder if true.
UseTransponder = true
; connects GPS to RYAN 9900BX if true.
UseRyanTcad = true
; sets TCAD sound alerts volume in percent: 0 to 100.
RyanTcadVolume = 50
; sets transponder VFR code (octal default: #1200).
VFRcode = #1200
; sets fuel type: AVGAS,JETA,JETB,DIESEL
FuelType = AVGAS
; sets ownship icon type:
; AUTO,LOW_WING,HIGH_WING,KIT_PLANE,TURBOPROP,TWIN_ENGINE,SINGLE_JET,BUSINESS_JET,2BLADES,3BLADES,4BLADES,ARROW
OwnshipIcon = AUTO
; sets TAWS type: TERR,TAWS_B,TAWS_A
TawsMode = TERR
; sets TAWS surface: HARD,HARD_SOFT,WATER,ANY
TawsSurface = HARD_SOFT
; TAWS minimum runway length (feet)
TawsMinLength = 40
; TAWS approach air speed (knots), -1 (auto detect Vref: 78)
TawsApprSpeed = -1
; TAWS maximum flap extension speed (knots) or -1 (auto detect Vfe: 999)
TawsFlapSpeed = -1
; TAWS maximum gear extension speed (knots) or -1 (auto detect Vle: 0)
TawsGearSpeed = -1
; sets voice type: MALE,FEMALE
VoicePref = MALE
; sets master sound volume in percent: 0 to 100.
MasterVolume = 100
; selects the default database: 0: 'Garmin (North America)', 1: 'Jeppesen (Worldwide)'
NavDbType = 1
; selects the CPU running the trainer process: 1 to 32
; 0: last core, -1: automatic.
CpuAffinity = -1

[GTN_750_1.WINDOW]
; display window if true.
visible = false
; show screen only gauge if true.
nobezel = false
; display type: WINDOW,PANEL2D,PANEL3D
frame.type = WINDOW
; display position and dimension (left,top,width,height)
frame.rect = 1304,1135,616,587
; freeze display position if true.
frame.lock = false
; screen only border size (pixels).
border.size = 0
; screen only border color (#RGB or #RGBA).
border.rgba = #000000
; display window tooltips if true.
tooltips = false

[GTN_750_1.PANEL2D]
; display window if true.
visible = false
; show screen only gauge if true.
nobezel = true
; display type: WINDOW,PANEL2D,PANEL3D
frame.type = PANEL2D
; display position and dimension (left,top,width,height)
frame.rect = 0,0,0,0
; freeze display position if true.
frame.lock = false
; screen only border size (pixels).
border.size = 0
; screen only border color (#RGB or #RGBA).
border.rgba = #000000

 


Evan Purcell

Share this post


Link to post
Share on other sites

And don't forget to manually edit the RealityXP.GTN.ini file with the line marked in bold below:

 

GTN_750_1]

DebugValue = 1
; comma separated list of render targets.
drawto = WINDOW, PANEL2D

.....


Jean-Luc | reality-xp.com
This message from Reality XP is protected by a disclaimer: reality-xp.com/aboutrealityxp/email.html

Let your voice be heard and help us make a difference for you: Vote !
Open up communications with Reality-XP (Microsoft Flight Simulator Forums)

Share this post


Link to post
Share on other sites

Haha, got it.  Sorry, I misunderstood your post about where to edit the file.  I'm starting up the sim now, will post the log file shortly.


Ok, this is strange....

 

When I add the debug line, the sim doesn't crash.  I can load the plane, fly it, use the GTN, no problems at all.  When I remove the debug line, I get a crash every time.  I tried it 4 times, (2 with the debug, and 2 without it).

 

I looked at the debug files that were generated, but they're basically blank.  Just a timestamp, and version 2.3.0.0 of the dll.

 

Thoughts??

  • Upvote 1

Evan Purcell

Share this post


Link to post
Share on other sites

Basically, this line tells your gfx card driver to log any error (hence slower perf potentially). It is only enabled in the trainer process, not the plugin.

 

When enabled, every draw call error is trapped. When an error occurs, our code is notified of the nature of the error, and writes this information to the log file.

 

In your case, this means that your video card driver is not liking something, traps the error silently and doesn't tell us (empty log). This make it hard to debug then because we haven't got any additional information in the log, but apart the fact it will slowdown the trainer gfx a little, there is no harm in having this setting enabled.


Jean-Luc | reality-xp.com
This message from Reality XP is protected by a disclaimer: reality-xp.com/aboutrealityxp/email.html

Let your voice be heard and help us make a difference for you: Vote !
Open up communications with Reality-XP (Microsoft Flight Simulator Forums)

Share this post


Link to post
Share on other sites

I just did the above, included debug in the ini, with the C172. Got a crash but the log simply has the time stamp and version.

Share this post


Link to post
Share on other sites

 

 


When enabled, every draw call error is trapped. When an error occurs, our code is notified of the nature of the error, and writes this information to the log file.
 
In your case, this means that your video card driver is not liking something, traps the error silently and doesn't tell us (empty log)

 

I'm confused.  Are you saying that the error happens all the time, or just when there is no debug line?  If it's all the time, why would the debug line prevent a crash?

 

I'll leave the debug in, and keep flying.  Keeping my fingers crossed that something can be figured out.  Thanks!


Evan Purcell

Share this post


Link to post
Share on other sites

Usually, when an error occurs, the gfx card driver fails and the application with it. When debug is enabled, the application is given a chance to be notified. This is a developer only setting because in order to trap errors, every calls to the gfx card must be intercepted, which makes the gfx card to do things slower.

 

So there is somehow an error with the video card which makes the trainer fails, and when debug is enabled, this error is trapped, while it is supposed to be notifying our application instead.

 

I have no clue for now as to why it is working with debug enabled, but since your report I've been searching! Among the possibilities I see for now:

 

- with debug enabled, the gfx card goes in 'standard' mode, disables fancy user adjusted video card driver settings / over clocking etc...

 

- XP11b9 release notes mention something about Nvidia multi thread driver optimization: it seems you no longer need to disable this and XPlane is managing the video card for you somehow. It could be XP11 adjusts some driver settings to achieve this, which makes other processes fail afterward.

 

Have you adjusted this Nvidia setting? if not would you mind comparing in disabling the Nvidia multi-thread optimizations manually, then removing the DebugValue =1, then compare?


Jean-Luc | reality-xp.com
This message from Reality XP is protected by a disclaimer: reality-xp.com/aboutrealityxp/email.html

Let your voice be heard and help us make a difference for you: Vote !
Open up communications with Reality-XP (Microsoft Flight Simulator Forums)

Share this post


Link to post
Share on other sites

Upgraded my Nvidia drivers a couple days ago and never disabled thread optimization. Just realized in fact so bot sure that's an issue. Threaded Optimization Auto

Share this post


Link to post
Share on other sites

 

 


Just realized in fact so bot sure that's an issue. Threaded Optimization Auto

 

do you mean when you disable Threaded Optimization it works ok (without the DebugValue=1 entry) ?


Jean-Luc | reality-xp.com
This message from Reality XP is protected by a disclaimer: reality-xp.com/aboutrealityxp/email.html

Let your voice be heard and help us make a difference for you: Vote !
Open up communications with Reality-XP (Microsoft Flight Simulator Forums)

Share this post


Link to post
Share on other sites

Threaded optimization is set to automatic. (Default settings). Otherwise, I haven't changed anything in the nvidia control panel.

Share this post


Link to post
Share on other sites

Hi Jean-Luc

 

I had played around with my NVIDIA settings a long time ago, but have since replaced my graphics card.  Now I'm running a GTX1080 using version 378.49 of the NVIDIA driver.  I looked at my NVIDIA settings and don't see anything out of the ordinary.  Threaded optimization has been set to auto.

 

I set threaded optimization to 'OFF' and started XP, using the same .ini file (minus the debug line), that I'd been using.  I still get an instant crash to desktop.

 

I'd be happy to adjust settings to help you troubleshoot.  I don't see an easy way to export my settings, so you can see the whole picture... any ideas?


Evan Purcell

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...