Appendix G: The Log File Explained

log.txt for X-Plane 8.60 Beta-1 X-Plane build 86000 compiled on Nov 29 2006 11:23:04 This log file is generated automatically by Laminar Research applications and contains diagnostics about your graphics hardware, installation, and any error conditions. If you need to contact tech support or file a bug, please send us this file. NOTE: this file is rewritten every time you start ANY of your X-System applications.

This preamble is written by all the apps. Among other things, it gives you the exact app name and the date it was built, so you can be SURE the user is using the same build you are.

Mac OS X 10.4.8 CPU type: 1765095478 (Pentium) CPU speed (mhz): 2160Bus speed (mhz): 664RAM (MB): 2048

System info - varies by machine. Here we have the OS version. This is a "Pentium" Mac so we know it's a new Intel Mac. CPU is 2.16 GHz. Bus speed is 664 MHz - that's not usually important. I have 2 GB of RAM.

X-System folder=/code/design++/ case sensitive=0

Install location of my x-system folder...also my file system is NOT case sensitive.

CPU count = 2

This is a dual-processor machine.

AGL_RGBA        :1 AGL_DOUBLEBUFFER :1 AGL_RED_SIZE    :8 AGL_GREEN_SIZE  :8 AGL_BLUE_SIZE   :8 AGL_ALPHA_SIZE  :8 AGL_DEPTH_SIZE  :32

Mac specific - this tells us their screen resolution - 32-bit color. This is usually not important.

OpenGL Situation : OpenGL Vendor   :ATI Technologies Inc. OpenGL Render    :ATI Radeon X1600 OpenGL Engine OpenGL Version  :2.0 ATI-1.4.40

This is the most important stuff: the OpenGL vendor, renderer, and version. The renderer will give you a hint about what card they have, but doesn't tell you exactly. For example, a 6800GT and 6800 will both be listed as a "6800." But this info will tell you GENERALLY what kind of card they have, which is what matters, because cards come in families!

The OpenGL version is not quite the same as the driver version, but old drivers have old OpenGL versions, so from this we can tell if they have old drivers.

OpenGL Extensions:GL_ARB_transpose_matrix GL_ARB_vertex_program GL_ARB_vertex_blend GL_ARB_window_pos GL_ARB_shader_objects GL_ARB_vertex_shader GL_EXT_multi_draw_arrays GL_EXT_clip_volume_hint GL_EXT_rescale_normal GL_EXT_draw_range_elements GL_EXT_fog_coord GL_APPLE_client_storage GL_APPLE_specular_vector GL_APPLE_transform_hint GL_APPLE_packed_pixels GL_APPLE_fence GL_APPLE_vertex_array_object GL_APPLE_vertex_program_evaluators GL_APPLE_element_array GL_APPLE_flush_render GL_NV_texgen_reflection GL_NV_light_max_exponent GL_IBM_rasterpos_clip GL_SGIS_generate_mipmap GL_ARB_shading_language_100 GL_ARB_imaging GL_ARB_point_parameters GL_ARB_texture_env_crossbar GL_ARB_texture_border_clamp GL_ARB_multitexture GL_ARB_texture_env_add GL_ARB_texture_cube_map GL_ARB_texture_env_dot3 GL_ARB_multisample GL_ARB_texture_env_combine GL_ARB_texture_compression GL_ARB_texture_mirrored_repeat GL_ARB_shadow GL_ARB_depth_texture GL_ARB_shadow_ambient GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_occlusion_query GL_ARB_point_sprite GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ARB_pixel_buffer_object GL_ARB_draw_buffers GL_ARB_shader_texture_lod GL_EXT_compiled_vertex_array GL_EXT_framebuffer_object GL_EXT_texture_rectangle GL_ARB_texture_rectangle GL_EXT_texture_env_add GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_texture_lod_bias GL_EXT_abgr GL_EXT_bgra GL_EXT_stencil_wrap GL_EXT_texture_filter_anisotropic GL_EXT_separate_specular_color GL_EXT_secondary_color GL_EXT_blend_func_separate GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_blend_equation_separate GL_EXT_texture_mirror_clamp GL_EXT_packed_depth_stencil GL_EXT_gpu_program_parameters GL_APPLE_flush_buffer_range GL_APPLE_ycbcr_422 GL_APPLE_vertex_array_range GL_APPLE_texture_range GL_APPLE_float_pixels GL_ATI_texture_float GL_ARB_texture_float GL_APPLE_pixel_buffer GL_NV_blend_square GL_NV_fog_distance GL_ATI_texture_mirror_once GL_ATI_text_fragment_shader GL_ATI_blend_equation_separate GL_ATI_blend_weighted_minmax GL_ATI_texture_env_combine3 GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGI_color_matrix

This huge list is all the "opengl tricks" the card supports - Austin and I print this so that we can see what the card does for debugging - you guys won't need this.

tex_clamp_avail=1 add_env_avail =1 combine_avail =1 dis_fog_avail =1 tex_comp_avail =1 vbo_avail     =1 vprog_avail   =1 (256) fprog_avail   =1 (1024/512/512/4) automini_avail =1 aniso_avail   =1 fsaa_avail    =1 sprites_avail =1 depth_tex_avail=1 occlude_avail =1 shad_objs_avail=1 vshader_avail =1 (16/4096/32/16/0/4096) fshader_avail =1 (4096) glsl_avail    =1 (1.10) framebuf_avail =1 max tex units   :8 (16/8) max iso filtering:16.000000 max texture size :4096 max point size  :64.000000

More OpenGL diagnostics...generally only needed by Austin and me, but sometimes we can tell you how to detect bugs. Each of these "flags" will be 0 if we don't find the driver has a trick, or 1 if it does. For example, my card DOES support GLSL (GLSL_avail = 1). That means I have pixel shaders both on my card and drivers that understand them. So you can tell if a user is getting pixel shaders this way.

Also, if we detect a card with a bug, you may see some warning messages like "not using XXX for Intel graphics card" or something.

lowest free text index=82

Austin noting to himself the next "slot" for internationalized strings - ignore it!

WARNING: command sim/autopilot/airspeed in keys file unknown. WARNING: the binding T/SHIFT+CTRL is bound to two commands: sim/operation/ground_speed_change and sim/engines/ignition_down_5

Warning from the keyboard shortcuts file -- on this machine, I have a key bound to an unknown command and two mappings for shift-ctrl-T. Ooops!

OpenAL version  : 1.1 OpenAL hardware : OpenAL extensions: ALC_EXT_CAPTURE ALC_ENUMERATION_EXT ALC_EXT_MAC_OSX ALC_EXT_ASA

Mac and Linux: sound info...usually this can be ignored! We don't seem to have a lot of sound bugs on Mac, and on Linux if sound drivers are bad, the sim won't launch.

Trying to find CFM at: Macintosh HD:code:design++:Resources:plugins:XPLM.shlb failed CFM - frag load failed.

This means that old OS 9 plugin can't load. This happens on any Intel Mac, which can't support Mac OS-9 style plugins.

Fetching for Macintosh HD:code:design++:Resources:plugins Loaded: Macintosh HD:code:design++:Resources:plugins:PluginAdminMac.xpl. Loaded: Macintosh HD:code:design++:Resources:plugins:DataRefEditorMac.xpl. dlerror:dlopen(/code/design++/Resources/plugins/PluginAdminLin.xpl, 9): no suitable image found. Did find: /code/design++/Resources/plugins/PluginAdminLin.xpl: unknown file type, first eight bytes: 0x7F 0x45 0x4C 0x46 0x01 0x01 0x01 0x00 Failed: Macintosh HD:code:design++:Resources:plugins:PluginAdminLin.xpl. (This file is missing, not a DLL or could not be loaded due to another missing DLL.) dlerror:dlopen(/code/design++/Resources/plugins/PluginAdminWin.xpl, 9): no suitable image found. Did find: /code/design++/Resources/plugins/PluginAdminWin.xpl: unknown file type, first eight bytes: 0x4D 0x5A 0x90 0x00 0x03 0x00 0x00 0x00 Failed: Macintosh HD:code:design++:Resources:plugins:PluginAdminWin.xpl. (This file is missing, not a DLL or could not be loaded due to another missing DLL.) dlerror:dlsym(0x910f9a0, XPluginReceiveMessage): symbol not found Loaded: Macintosh HD:code:design++:Resources:plugins:Position.xpl. Loaded: Macintosh HD:code:design++:Resources:plugins:PrivateCommands.xpl. Loaded: Macintosh HD:code:design++:Resources:plugins:XPushBack.xpl. Found stats plugin: 2 Found remote plugin: 4

Plugin discovery - each plugin is loaded...if it fails, the error message is here. If it does load, plugins may insert their own message and warnings. From this section you can figure out (1) what plugins the user has and (2) are they working?

For example in this case, PluginAdminLin.xpl didn't launch - it's not a real Mac plugin. (That's because it's for Linux)

If a user has problems and a lot of plugins, ask them to try again without the plugins...perhaps it's not our bug!

I found the following scenery packages (prioritized in this order): 0 Custom Scenery/a ksbd ground overlay/ 1 Custom Scenery/a_fac_test/ 2 Custom Scenery/beaches/ 3 Custom Scenery/EDDT light/ 4 Custom Scenery/EDTC/ 5 Custom Scenery/forests/ 6 Custom Scenery/KLIO Pursuit Field/ 7 Custom Scenery/KSBD Demo Area/ 8 Custom Scenery/Loire&LFOQ_FS2XP/ 9 Custom Scenery/LSMD/ 10 Custom Scenery/MakeItSo/ 11 Custom Scenery/PARIS_Base/ 12 Custom Scenery/roads/ 13 Custom Scenery/Test1000m/ 14 Custom Scenery/toulous/ 15 Custom Scenery/us patch/ 16 Custom Scenery/whacko_german_apt/ 17 Resources/default scenery/700 roads/ 18 Resources/default scenery/800 objects/ 19 Resources/default scenery/800 roads/ 20 Resources/default scenery/820 beaches/ 21 Resources/default scenery/820 roads/ 22 Resources/default scenery/820 us objects/ 23 Resources/default scenery/820 us objects placeholder/ 24 Resources/default scenery/820 world objects/ 25 Resources/default scenery/820 world objects placeholder/ 26 Resources/default scenery/820 world terrain/ 27 Resources/default scenery/CVS.sandboxinfo/ 28 Resources/default scenery/DSF 820 Earth Europe/ 29 Resources/default scenery/DSF 820 Earth US/ 30 Resources/default scenery/sim objects/ 31 Resources/default scenery/x-plane terrain/

Scenery package list! This is all of the scenery we found, first ones listed are highest priority. if a user has a crash and custom scenery, ask them to remove it.

BUT if the custom scenery causes the crash AND the custom scenery USED to work, please make sure to get a bug report to ME!!!!!!!!!!

WARNING: Runway must have a 3-letter name, but we have Zx at College Park WARNING: Runway has a bad number string Zx at College Park We found a duplicate runway 36/18 vs. 18/36 at airport 30F We found a duplicate runway 36/18 vs. 18/36 at airport 30F WARNING: Runway has a bad suffix 05u at Lelystad We found a duplicate runway 05u/23 vs. 05/23 at airport EHLE We found a duplicate runway 14/32 vs. 32/14 at airport 4B2 We found a duplicate runway 14/32 vs. 32/14 at airport 4B2 We found a duplicate runway 18/36 vs. 36/18 at airport 6IL9 We found a duplicate runway 18/36 vs. 36/18 at airport 6IL9

Warnings about apt.dat file...with 20,000 entries there are still some screwed up ones. :-( Robin tries to fix these things.

Starting scenery shift at 0 DSF rotate time: 7 for 0 DSFs. DSF load time: 365428 for file Resources/default scenery/DSF 820 Earth US/Earth nav data:+30-120/+32-119.dsf DSF load time: 741874 for file Resources/default scenery/DSF 820 Earth US/Earth nav data:+30-120/+32-118.dsf DSF load time: 949741 for file Resources/default scenery/DSF 820 Earth US/Earth nav data:+30-120/+32-117.dsf DSF load time: 741496 for file Resources/default scenery/DSF 820 Earth US/Earth nav data:+30-120/+33-119.dsf DSF load time: 1766254 for file Resources/default scenery/DSF 820 Earth US/Earth nav data:+30-120/+33-118.dsf DSF load time: 1441793 for file Resources/default scenery/DSF 820 Earth US/Earth nav data:+30-120/+33-117.dsf Preload time: 12134629. Preload time: 719346. Preload time: 207516. Preload time: 126272.

Whenever we load scenery, some logging info goes out. In this way we can see what scenery they were last viewing and where they were flying.

Clean exit from threads.

If they exit the sim, this message is printed at the log. If you don't see this, it means one of two things:

(1) the user crashed. (2) the user emailed you the log file before quitting!!