V1.72.1 Slowdown without CPU / graphics card busy?!?

News and discussion of the PC port of Oolite.

Moderators: winston, another_commander

Screet
---- E L I T E ----
---- E L I T E ----
Posts: 1883
Joined: Wed Dec 10, 2008 3:02 am
Location: Bremen, Germany

V1.72.1 Slowdown without CPU / graphics card busy?!?

Post by Screet »

Hi,

maybe I've got too many oxp's running. The game runs fine, even on a single of my four cores. When I run into a system with many things going on, the game often becomes "jumpy" in graphics/controls, as if the whole thing would be paused for up to 500ms.

All four cores enabled, the CPU load is at approx. 30% and the graphics card doesn't even heat up, thus appearing idle, too.

Any suggestions what could cause this and how to speed things up without having to uninstall some oxps?

Screet
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6682
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Can you post a list of the OXPs running? Your log contains the full list near the top.
Screet
---- E L I T E ----
---- E L I T E ----
Posts: 1883
Joined: Wed Dec 10, 2008 3:02 am
Location: Bremen, Germany

Post by Screet »

another_commander wrote:
Can you post a list of the OXPs running? Your log contains the full list near the top.
I'll take the whole log...maybe it helps in case there's something else going on.

Screet

[log.header]: Opening log for Oolite version 1.72.1 (x86-32 test release) under Windows at 2009-01-06 18:13:08 +0000.
4 processors detected.
Note that the contents of the log file can be adjusted by editing logcontrol.plist.

[joystickHandler.init]: Number of joysticks detected: 1
[display.mode.list.native]: Windows native resolution detected: 1280 x 1024
[rendering.opengl.version]: OpenGL renderer version: 2.1.8304 ("2.1.8304 Release")
Vendor: ATI Technologies Inc.
Renderer: ATI Radeon HD 4870 X2
[rendering.opengl.extensions]: OpenGL extensions (105):
GL_AMDX_vertex_shader_tessellator GL_AMD_performance_monitor GL_AMD_texture_texture4 GL_ARB_color_buffer_float GL_ARB_depth_buffer_float GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_instanced GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shader_objects GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_meminfo GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_copy_texture GL_EXT_draw_buffers2 GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texgen_reflection GL_EXT_texture3D GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_EXT_transform_feedback GL_EXT_vertex_array GL_KTX_buffer_region GL_NV_blend_square GL_NV_texgen_reflection GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_WIN_swap_hint WGL_EXT_swap_control
[searchPaths.dumpAll]: ---> OXP search paths:
(oolite.app/Resources, AddOns, "AddOns/aegidian-special.oxp", "AddOns/Amen Bricks Megaships.oxp", AddOns/Anarchies2.0.oxp, AddOns/Anarchies2.1.oxp, "AddOns/Aquatics 1.03.oxp", AddOns/Assassins.oxp, AddOns/att1.oxp, "AddOns/behemoth 2.5.oxp", "AddOns/BehemothSpacewar 1.2.1.oxp", AddOns/buoyRepair1.02.1.oxp, AddOns/Cargo_wrecks_teaser.oxp, AddOns/Commies.oxp, "AddOns/DeepSpacePirates 1.0.2.oxp", AddOns/deposed1.3.3.oxp, "AddOns/Dictators v1.3.oxp", "AddOns/Dredgers 2.2oxp.oxp", "AddOns/Executive Spaceways v2.2.oxp", AddOns/flying_Dutchman.oxp, AddOns/Galactic_Navy.oxp, AddOns/genship.oxp, AddOns/griff_ships_remixed.oxp, AddOns/Hotrods.oxp, AddOns/interstellar_help.oxp, "AddOns/Ionics-1.2.1.oxp", AddOns/isisinterstellar.oxp, AddOns/lovecats.oxp, AddOns/marett_vol1_b.oxp, "AddOns/military Fiasco 2.4.1.oxp", "AddOns/Missile Rack 1.02.oxp", "AddOns/Missiles and Bombs v1.2.oxp", AddOns/murgh_Xships.oxp, AddOns/nuvipers.oxp, AddOns/Ore_processor.oxp, "AddOns/PlanetFall 1.1.oxp", AddOns/RandomHits275.oxp, AddOns/Rock_Hermit_Locator1.3.oxp, "AddOns/Saleza v2.oxp", "AddOns/SecondWave 1.1.oxp", AddOns/sell_equipment.oxp, "AddOns/Status_Quo_Q-bomb.oxp", "AddOns/Target Reticle 1.0.1.oxp", "AddOns/thargoid_wars 4.2.oxp", "AddOns/Thorgorn_Threat 1.2.oxp", AddOns/tianve.oxp, AddOns/transports.oxp, "AddOns/Trident Down v1.1.oxp", "AddOns/UPS-courier v1.5.0.oxp", AddOns/Vector.oxp, "AddOns/Zz-Oo-Haul.oxp", AddOns/Zzzz_Realistic_Shipyards_V3.02b.oxp)
[dataCache.upToDate]: Data cache is up to date.
[script.load.world.listAll]: Loaded 71 world scripts: "Anarchies" 2.1, "assassins", "behemoth" 2.5, "behemoth-spacewar" 1.2.1, "buoyRepair" 1.02.1, "Cargo_test", "chaff_exhausted", "chaff_refill", "chaff_set", "chaff_set_variation", "clipperschedule", "communist_population", "deep_space_dredger" 2.2, "deep_space_pirates" 1.0, "deposed", "dictatorship_population", "dredger_appearance", "ExecutiveFlightSchedule", "Flying Dutchman" 1.4, "frog_show", "generation-ship-script01", "hatchling_show", "hofd", "Interstellar_Action", "interstellar_help" 1.1, "ionics_v_rlf", "military_fiasco" 2.4.1, "missionaries", "Navy_Patrol", "OO-Haul Escort", "oolite-cloaking-device" 1.72.1, "oolite-constrictor-hunt" 1.72.1, "oolite-nova" 1.72.1, "oolite-thargoid-plans" 1.72.1, "oolite-trumbles" 1.72.1, "OreProcessorGems" 1.51, "PlanetFall" 1.1, "Random_Hits", "reticle_target_sensitive" 0.0, "rockHermit_Locator" 1.3, "SalezaPatrol", "seccom_station", "sell_equipment" 1.2, "SIRFYardStation0", "SIRFYardStation1", "SIRFYardStation10", "SIRFYardStation11", "SIRFYardStation12", "SIRFYardStation13", "SIRFYardStation14", "SIRFYardStation2", "SIRFYardStation3", "SIRFYardStation4", "SIRFYardStation5", "SIRFYardStation6", "SIRFYardStation7", "SIRFYardStation8", "SIRFYardStation9", "supercobra_placement", "thargoid_wars", "Thargorn_Witchspace_Battle" 1.2, "Tianve_messaging" 1.0, "TigersTurf" 0.52c, "transportschedule", "trident_down", "ups_container" 1.5.0, "ups_docs" 1.5.0, "ups_parcel" 1.5.0, "ups_slaves" 1.5.0, "ups_sun" 1.5.0, "wedding"
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

You've got two version of Anarchies in there, which won't help ;)

Are there specific times when it happens (e.g. just after launch, or witchspace entry)? For example when the game is busy setting up the system for you to enter?
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6682
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

There is definitely a lot going on in there. Could easily be that your installation is quite heavy. One more question: How many objects and collisions you have when getting the slowdowns? You can see that by pressing Shift+F any time.
Screet
---- E L I T E ----
---- E L I T E ----
Posts: 1883
Joined: Wed Dec 10, 2008 3:02 am
Location: Bremen, Germany

Post by Screet »

Thargoid wrote:
You've got two version of Anarchies in there, which won't help ;)

Are there specific times when it happens (e.g. just after launch, or witchspace entry)? For example when the game is busy setting up the system for you to enter?
IEK! Two...I'm usually adding ".old" to the folder name to disable them and still have the ability of a fallback. Maybe I missed one...

It's especially when I enter systems for a mission and other stuff kicks in at the same time, like hotrods, thargoids, derelicts. The slowdown is during the flight experience, not after entering the system. That can make it quite difficult to shoot.

I'll now move all disabled/old stuff to some other folder...maybe it helps a bit. I guess two anarchies cause some of the trouble, but I did experience it already before updating.

Screet
Screet
---- E L I T E ----
---- E L I T E ----
Posts: 1883
Joined: Wed Dec 10, 2008 3:02 am
Location: Bremen, Germany

Post by Screet »

Concerning the duplicate of anarchies, I fail to understand how it is included. The folder already is named like this: Anarchies2.0.oxp.old

Screet
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

Screet wrote:
Concerning the duplicate of anarchies, I fail to understand how it is included. The folder already is named like this: Anarchies2.0.oxp.old

Screet
Why not make another folder in the Oolite tree (same level as AddOns and oolite.app etc and just move them there, possibly changing Anarchies2.0.oxp to Anarchies2.0.old (for example) for good measure)?

No idea why it's picking it up, perhaps the newer version has gotten a little too clever and helpful? One for the coders anyway.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6682
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Interesting. I cannot get any OXP to load by adding the .old extension after the .oxp one.
Screet
---- E L I T E ----
---- E L I T E ----
Posts: 1883
Joined: Wed Dec 10, 2008 3:02 am
Location: Bremen, Germany

Post by Screet »

Thargoid wrote:
Why not make another folder in the Oolite tree (same level as AddOns and oolite.app etc and just move them there, possibly changing Anarchies2.0.oxp to Anarchies2.0.old (for example) for good measure)?

No idea why it's picking it up, perhaps the newer version has gotten a little too clever and helpful? One for the coders anyway.
I just did that. I also did holt shift while loading, causing the well-known long pause.

Then I did reload the log.

Still it says both anarchies2.0 and anarchies 2.1?!?

Screet
Screet
---- E L I T E ----
---- E L I T E ----
Posts: 1883
Joined: Wed Dec 10, 2008 3:02 am
Location: Bremen, Germany

Post by Screet »

Argh!

Now it's even worse: All textures have been replaced by a dark grey metal that looks as if the ships/stations/cargopods have been shot up.

After all, it's windows. One never knows what's in that 2gb windows-cache which causes the system to report "memory low" as soon as there's only 1.4 gb memory left for the windows cache...

Screet
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

You ever thought of buying a new computer, or at least a new OS? ;)

Sounds like your current one has a case of silicon dementia (or Windows Vista perhaps).
Screet
---- E L I T E ----
---- E L I T E ----
Posts: 1883
Joined: Wed Dec 10, 2008 3:02 am
Location: Bremen, Germany

Post by Screet »

Thargoid wrote:
You ever thought of buying a new computer, or at least a new OS? ;)

Sounds like your current one has a case of silicon dementia (or Windows Vista perhaps).
Maybe. Rebooting did not help, thus I uninstalled the driver and went for the one ASUS is providing, instead of using the ATI one...but ASUS doesn't even provide their own driver, it's just an outdated ATI version. Re-installed the ATI driver I was running...and noticed that all settings for the driver still were as I did set them before.

However, I've got my textures back. Wish I'd know what was causing that problem.

Latest log does, however, list both versions of anarchies. No change there...

Screet
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6682
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Are you absolutely sure it is the latest log you are looking at? Sometimes it is the simplest things that escape us.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

Or perhaps move the entire AddOns directory somewhere else (shift it to your desktop for example) and then do another shift-held restart?

That should make it obvious if something's being cached.

Also do you have multiple copies/versions of Oolite installed and are you changing (and running) the correct one? I've managed that trick before now... :oops:
Post Reply