Game crashes/Fails to launch when set to window mode

Game crashes/Fails to launch when set to window mode

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
Hero_Swe
Posts: 3
Joined: 14 Sep 2008, 00:33

Game crashes/Fails to launch when set to window mode

Post by Hero_Swe »

Ok. so I have an NVIDIA GTX 260, with the latest 258 drivers installed

Spring works fine if I launch it normally, fullscreen. but.

Set it to windowed, and it complains about it missing GL extensions. Here is the full message

Image

Quite odd no?

Infolog.txt from a fullscreen game launch

Code: Select all

LogOutput initialized.
Spring 0.82.3.0 (0.82.3)
Build date/time: Aug 13 2010 20:26:51
Available log subsystems: CollisionVolume, unit, ArchiveScanner, VFS-detail, VFS, Sound
Enabled log subsystems: Sound
Enable or disable log subsystems using the LogSubsystems configuration key
  or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
using configuration source "C:\Users\Hero\AppData\Local\springsettings.cfg"
[CMyMath::Init] CPU SSE mask: 127, flags:
	SSE 1.0:  1,  SSE 2.0:  1
	SSE 3.0:  1, SSSE 3.0:  1
	SSE 4.1:  1,  SSE 4.2:  1
	SSE 4.0A: 0,  SSE 5.0A: 0
	using streflop SSE FP-math mode, CPU supports SSE instructions
OS: Microsoft Windows
Microsoft Windows 7 Home Premium Edition, 64-bit (build 7600)
Intel(R) Core(TM) i7 CPU         860  @ 2.80GHz; 8151MB RAM, 16300MB pagefile
OS: emulated 32bit mode
Using read-write data directory: C:\Program Files (x86)\Spring\
Scanning: C:\Program Files (x86)\Spring\maps
Scanning: C:\Program Files (x86)\Spring\base
Scanning: C:\Program Files (x86)\Spring\mods
Supported Video modes: 1920x1080, 1680x1050, 1600x1024, 1600x900, 1440x900, 1360x768, 1280x1024, 1280x960, 1280x800, 1280x768, 1280x720, 1152x864, 1024x768, 800x600, 720x576, 720x480, 640x480
Video mode set to 1280x1024/32bit
[      0] SDL:  1.2.10
[      0] GL:   3.3.0
[      0] GL:   NVIDIA Corporation
[      0] GL:   GeForce GTX 260/PCI/SSE2
[      0] GLSL: 3.30 NVIDIA via Cg compiler
[      0] GLEW: 1.5.4
[      0] Joysticks found: 0
[      0] Joystick 0 not found
[      0] Loading startscript from: C:\Program Files (x86)\Spring\\script.txt
[      0] Connecting to local server
[      0] Starting GameServer: 28 ms
[      0] Sound: OpenAL info:
[      0] Sound:   Vendor:     OpenAL Community
[      0] Sound:   Version:    1.1 ALSOFT 1.11.753
[      0] Sound:   Renderer:   OpenAL Soft
[      0] Sound:   AL Extensions: AL_EXTX_buffer_sub_data AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_OFFSET AL_EXTX_sample_buffer_object AL_EXT_source_distance_model AL_LOKI_quadriphonic
[      0] Sound:   ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_disconnect ALC_EXT_EFX ALC_EXTX_thread_local_context
[      0] Sound:                   ALC_EXT_EFX found (required for air absorption): yes
[      0] Sound:   Device:     DirectSound Software
[      0] Sound:   Available Devices:  
[      0] Sound:                       DirectSound Software
[      0] Sound: air absorption enabled: 0.1
[      0] Starting demo recording
[      0] Using map FolsomDamDeluxeV3
[      0] Recording demo demos/20100814_052000_FolsomDamDeluxeV3_0.82.3.sdf
[      0] Using mod Balanced Annihilation V7.14
[      0] Using mod archive BA714.sd7
[      0] Loading client data: 65 ms
[      0] User number 0 (team 1, allyteam 0)
[      0] Sound:  parsed 25 sounds from gamedata/sounds.lua
[      0] Loading sounds: 13 ms
[      0] Camera and mouse: 220 ms
[      0] Parsing unit icons
[      0] Loading GameData Definitions
[      0] Loading all definitions:  0.647000
[      0] Loading GameData Definitions: 679 ms
[      0] Parsing Map Information
[      0] Loading SMF
[      0] Loading Map
[      0] Calculating smooth height mesh
[      0] Calculating smooth mesh: 170 ms
[      0] Number of damage types: 40
[      0] Creating unit textures
[      0] Loading weapon definitions
[      0] Loading unit definitions
[      0] Loading feature definitions
[      0] Initializing map features
[      0] Reading estimate path costs
[      0] [CPathManager] pathing data checksum: 50a6ab88
[      0] You are missing the "ARB_shadow_ambient" extension (this will probably make shadows darker than they should be)
[      0] Loading .smt tile-file "maps/FolsomDamDeluxeV3.smt"
[      0] Loading 71680 tiles from file 1/1
[      0] Reading tiles
[      0] Reading tile map
[      0] generating MipMaps: 8 ms
[      0] Generating 3D trees
[      0] Creating Projectile Textures
[      0] Creating sky
[      0] Loading console: 1 ms
[      0] Loading LuaRules
[      0] Loaded gadget:  Precipitation, v0.2  <precipitation_particles.lua>
[      0] Loaded gadget:  No Self-D           <unit_prevent_share_selfd.lua>
[      0] Loaded gadget:  Air Release         <unit_air_release_manager.lua>
[      0] Loaded gadget:  AirPlantParents     <unit_air_plants.lua>
[      0] Loaded gadget:  DirectControl       <unit_direct_control.lua>
[      0] Loaded gadget:  DragonsDisguise     <unit_set_neutral.lua>
[      0] Loaded gadget:  DroppedStartPos     <unit_fix_dropped_startpos.lua>
[      0] Loaded gadget:  FinishedBuilding    <unit_finished_building.lua>
[      0] Loaded gadget:  MissileControl      <unit_missile_delay.lua>
[      0] Loaded gadget:  Napalm              <lups_napalm.lua>
[      0] Loaded gadget:  No Land Damage      <unit_no_land_damage.lua>
[      0] Loaded gadget:  No Self Pwn         <unit_noselfpwn.lua>
[      0] Loaded gadget:  NoCost              <cmd_nocost.lua>
[      0] Loaded gadget:  PassiveBuilders     <unit_passive_builders.lua>
[      0] Loaded gadget:  Prevent Lab Hax     <unit_prevent_lab_hax.lua>
[      0] Loaded gadget:  Prevent Load Hax    <unit_prevent_load_hax.lua>
[      0] Loaded gadget:  Prevent Range Hax   <unit_prevent_range_hax.lua>
[      0] Loaded gadget:  Prevent Strange Orders  <unit_prevent_strange_orders.lua>
[      0] Loaded gadget:  Reclaim Fix         <unit_reclaim_fix.lua>
[      0] Loaded gadget:  ShieldDrain         <unit_shield_watch.lua>
[      0] Loaded gadget:  Shockwaves          <lups_shockwaves.lua>
[      0] Loaded gadget:  Spawn               <init_game_spawn.lua>
[      0] Loaded gadget:  Start Point Remover Gadget  <init_start_point_remover_gadget.lua>
[      0] Loaded gadget:  fx_reclaim_shards   <fx_reclaim_shards.lua>
[      0] Loaded gadget:  lups_wrapper.lua    <lups_wrapper.lua>
[      0] Loaded gadget:  mo_enemywrecks      <mo_enemywrecks.lua>
[      0] Loaded gadget:  mo_noshare          <mo_noshare.lua>
[      0] Loaded gadget:  Area Attack         <areaattack.lua>
[      0] Loaded gadget:  C Is For Control    <comiscontrol.lua>
[      0] Loaded gadget:  Team Com Ends       <teamcomends.lua>
[      0] Loaded gadget:  DualFog             <gui_dualfog_gadget.lua>
[      0] Loaded gadget:  LupsSyncedManager   <lups_manager.lua>
[      0] Loaded gadget:  Mex Upgrader Gadget  <unit_mex_upgrader.lua>
[      0] Loaded gadget:  Precipitation, v0.2  <precipitation_particles.lua>
[      0] Loaded gadget:  Air Release         <unit_air_release_manager.lua>
[      0] Loaded gadget:  AirPlantParents     <unit_air_plants.lua>
[      0] Loaded gadget:  DragonsDisguise     <unit_set_neutral.lua>
[      0] Loaded gadget:  DroppedStartPos     <unit_fix_dropped_startpos.lua>
[      0] Loaded gadget:  FinishedBuilding    <unit_finished_building.lua>
[      0] Loaded gadget:  MissileControl      <unit_missile_delay.lua>
[      0] Loaded gadget:  Napalm              <lups_napalm.lua>
[      0] Loaded gadget:  NoCost              <cmd_nocost.lua>
[      0] Loaded gadget:  PassiveBuilders     <unit_passive_builders.lua>
[      0] Loaded gadget:  Reclaim Fix         <unit_reclaim_fix.lua>
[      0] Loaded gadget:  ShieldDrain         <unit_shield_watch.lua>
[      0] Loaded gadget:  Shockwaves          <lups_shockwaves.lua>
[      0] Loaded gadget:  Start Point Remover Gadget  <init_start_point_remover_gadget.lua>
[      0] Loaded gadget:  fx_reclaim_shards   <fx_reclaim_shards.lua>
[      0] Loaded gadget:  mo_enemywrecks      <mo_enemywrecks.lua>
[      0] Loaded gadget:  mo_greenfields      <mo_greenfields.lua>
[      0] Loaded gadget:  mo_noowner          <mo_noowner.lua>
[      0] Loaded gadget:  mo_noshare          <mo_noshare.lua>
[      0] Loaded gadget:  mo_nowrecks         <mo_nowrecks.lua>
[      0] Loaded gadget:  Area Attack         <areaattack.lua>
[      0] Loaded gadget:  C Is For Control    <comiscontrol.lua>
[      0] Loaded gadget:  DualFog             <gui_dualfog_gadget.lua>
[      0] Loaded gadget:  LupsSyncedManager   <lups_manager.lua>
[      0] Loaded gadget:  Mex Upgrader Gadget  <unit_mex_upgrader.lua>
[      0] Loaded gadget:  Lups                <lups_wrapper.lua>
[      0] Loading LuaGaia
[      0] Loading LuaUI
[      0] Using LUAUI_DIRNAME = LuaUI/
[      0] Reloaded ctrlpanel with: LuaUI/ctrlpanel.txt
[      0] LuaUI: bound F11 to the widget selector
[      0] LuaUI: bound CTRL+F11 to tweak mode
[      0] Loaded widget from mod:   Red_UI_Framework    <red_ui_framework.lua>
[      0] Loaded widget from mod:   BlurApi             <api_gfx_blur.lua>
[      0] Loaded widget from mod:   MexUpg Helper       <helper.lua>
[      0] Loaded widget from mod:   Red Tooltip         <gui_red_tooltip.lua>
[      0] Loaded widget from mod:   HealthBars          <unit_healthbars.lua>
[      0] Loaded widget from mod:   Ally Resource Bars  <gui_ally_res.lua>
[      0] Loaded widget from mod:   AdvPlayersList      <gui_advplayerslist.lua>
[      0] Loaded widget from mod:   BuildETA            <gui_build_eta.lua>
[      0] Loaded widget from mod:   Auto First Build Facing  <autofirstbuildfacing.lua>
[      0] Loaded widget from mod:   Autoquit            <autoquit.lua>
[      0] Loaded widget from mod:   Build Split         <cmd_buildsplit.lua>
[      0] Loaded widget from mod:   ComCounter          <unit_com_counter.lua>
[      0] Loaded widget from mod:   CustomIcons         <unit_customicons.lua>
[      0] Loaded widget from mod:   Ghost Site          <unit_ghostsite.lua>
[      0] Loaded widget from mod:   Defense Range       <gui_defenserange.lua>
[      0] Loaded widget from mod:   Loop Select         <unit_loop_select.lua>
[      0] Loaded widget from mod:   GameTypeInfo        <gui_game_type_info.lua>
[      0] Loaded widget from mod:   MoreSounds          <unit_more_sounds.lua>
[      0] Loaded widget from mod:   Pause Screen        <gui_pausescreen.lua>
[      0] Loaded widget from mod:   Point Tracker       <gui_point_tracker.lua>
[      0] Loaded widget from mod:   ReclaimInfo         <gui_reclaiminfo.lua>
[      0] Loaded widget from mod:   Share Tracker       <unit_share_tracker.lua>
[      0] Loaded widget from mod:   Transporting        <gui_transporting.lua>
[      0] Loaded widget from mod:   XrayHighlight       <gui_xray_highlight.lua>
[      0] Loaded widget from mod:   Red_Drawing         <red_ui_framework_drawing.lua>
[      0] Loaded widget from mod:   Red Build/Order Menu  <gui_red_buildordermenu.lua>
[      0] Loaded widget from mod:   Red Console         <gui_red_console.lua>
[      0] Loaded widget from mod:   Red Resource Bars   <gui_red_resourcebars.lua>
[      0] Loaded widget from mod:   MohoExploiter       <unit_moho_exploiter.lua>
[      0] Loaded widget from mod:   NoDuplicateOrders   <cmd_no_duplicate_orders.lua>
[      0] Loaded widget from mod:   Take Reminder       <gui_take_remind.lua>
[      0] Loaded widget from mod:   Attack AoE          <gui_attack_aoe.lua>
[      0] Loaded widget from mod:   Prospector          <gui_prospector.lua>
[      0] Loaded widget from mod:   Red Minimap         <gui_red_minimap.lua>
[      0] Loaded widget from mod:   BA Waypoint Dragger  <unit_waypoint_dragger_2.lua>
[      0] Loaded widget from mod:   Select n Center!    <gui_center_n_select.lua>
[      0] Loaded widget from mod:   LupsManager         <gfx_lups_manager.lua>
[      0] Loaded widget from mod:   BA_AllyCursors      <gui_ba_ally_cursors.lua>
[      0] Loaded widget from user:  Mouse Buildspacing  <gui_buildspacing.lua>
[      0] Loaded widget from mod:   Lups                <lups_wrapper.lua>
[      0] LolUI is now known as RedUI: if you prefer the old LolUI this can be downloaded to your local widgets
[      0] Loaded widget from mod:   LolUI               <lolui.lua>
[      0] Loaded widget from mod:   CustomFormations2   <unit_customformations2.lua>
[      0] LuaUI v0.3
[      0] Finalizing...
[      0] Connection attempt from invalid
[      0]  -> Version: 0.82.3.0 (0.82.3)
[      0]  -> Connection established (given id 0)
[      0] Player invalid finished loading and is now ingame
[      0] GameID: 720b664cea71bc27ad9c7e9479b8f899
[      0] invalid added point: Start 1
[      0] <SkirmishAI: AAI 0.9 (team 0)>: New map-learning file created
[      0] <SkirmishAI: AAI 0.9 (team 0)>: AAI loaded
[     60] Skirmish AI "Bot1" took over control of team 0
[    251] User exited
[    251] Red_UI_Framework>> last processed widget was "Red Tooltip"
[    251] Red_Drawing>> last processed widget was "Red Tooltip"
[    251] Path cache hits 0 0%
[    251] Path cache hits 0 0%
[    251] Statistics for local connection:
Received: 1461 bytes
Sent: 2672 bytes
infolog from windowed launch

Code: Select all

LogOutput initialized.
Spring 0.82.3.0 (0.82.3)
Build date/time: Aug 13 2010 20:26:51
Available log subsystems: CollisionVolume, unit, ArchiveScanner, VFS-detail, VFS, Sound
Enabled log subsystems: Sound
Enable or disable log subsystems using the LogSubsystems configuration key
  or the SPRING_LOG_SUBSYSTEMS environment variable (both comma separated).
using configuration source "C:\Users\Hero\AppData\Local\springsettings.cfg"
[CMyMath::Init] CPU SSE mask: 127, flags:
	SSE 1.0:  1,  SSE 2.0:  1
	SSE 3.0:  1, SSSE 3.0:  1
	SSE 4.1:  1,  SSE 4.2:  1
	SSE 4.0A: 0,  SSE 5.0A: 0
	using streflop SSE FP-math mode, CPU supports SSE instructions
OS: Microsoft Windows
Microsoft Windows 7 Home Premium Edition, 64-bit (build 7600)
Intel(R) Core(TM) i7 CPU         860  @ 2.80GHz; 8151MB RAM, 16300MB pagefile
OS: emulated 32bit mode
Using read-write data directory: C:\Program Files (x86)\Spring\
Scanning: C:\Program Files (x86)\Spring\maps
Scanning: C:\Program Files (x86)\Spring\base
Scanning: C:\Program Files (x86)\Spring\mods
Supported Video modes: 1920x1080, 1680x1050, 1600x1024, 1600x900, 1440x900, 1360x768, 1280x1024, 1280x960, 1280x800, 1280x768, 1280x720, 1152x864, 1024x768, 800x600, 720x576, 720x480, 640x480
Video mode set to 1280x1024/16bit (windowed)
[      0] SDL:  1.2.10
[      0] GL:   1.1.0
[      0] GL:   Microsoft Corporation
[      0] GL:   GDI Generic
[      0] GLSL: (null)
[      0] GLEW: 1.5.4
[      0] Update graphic drivers Needed OpenGL extension(s) not found:
 GL_ARB_multitexture GL_ARB_texture_env_combine GL_ARB_texture_compression
Update your graphic-card driver!
graphic card:   GDI Generic
OpenGL version: GDI Generic
Hero_Swe
Posts: 3
Joined: 14 Sep 2008, 00:33

Re: Game crashes/Fails to launch when set to window mode

Post by Hero_Swe »

Nevermind. I think I got it working, but. I'm not sure exactly what I did yet, apart from change it from spring.exe to multithreaded exe (which btw. Spring lobby seems not want to keep that exe as the one to use)


Edit: Or change the screen refresh rate from 59 to 60??? I have no idea
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Game crashes/Fails to launch when set to window mode

Post by hoijui »

for the future, use pastebin instead of pasting files as text please.
indeed looks like some special settings you had there (OS or GFX driver vise), disabling the "native" GFX driver for spring.exe in windowed mode, for whatever reason... nothing spring internal for sure.
Post Reply

Return to “Help & Bugs”