2024-04-23 21:56 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004529Spring engineGeneralpublic2014-09-11 22:42
ReporterJools 
Assigned Toabma 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionno change required 
Product Version97.0.1+git 
Target VersionFixed in Version 
Summary0004529: Spring opens in secondary monitor
DescriptionSpring always opens in secondary monitor, ie one without the taskbar and system tray showing. Only way to get it to the primary monitor is to enable windowed mode while in game, then send that window over to primary monitor, and then re-enable fullscreen mode. This has to be repeated each time the game is started and it breaks some visuals that do not rescale to new resolution.

Other windows programs do not behave this way, they generally remember in which window they opened into last time, or you can make them do that.
Steps To ReproduceStart spring with dual monitors enabled
Additional InformationTested with Spring 97-360.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • txt file icon infolog.txt (5,578 bytes) 2014-09-03 14:41 -
    [ParseCmdLine] command-line args: "U:\bin\Spring\Lab\test\spring_{develop}97.0.1-360-ge3d46de_minimal-portable\spring.exe"
    Using configuration source: "U:\bin\Spring\Data\springsettings.cfg"
    Using additional configuration source: "U:\bin\Spring\Lab\test\spring_{develop}97.0.1-360-ge3d46de_minimal-portable\springsettings.cfg"
    Available log sections: KeyBindings, AutohostInterface, GameServer, Net, CSMFGroundTextures, RoamMeshDrawer, BumpWater, DynWater, SkyBox, DecalsDrawerGL4, FarTextureHandler, Model, Piece, ModelDrawer, OBJParser, WorldObjectModelRenderer, Shader, Texture, Font, CregSerializer, ArchiveScanner, VFS, Sound, LuaSocket, GroundMoveType, Path, UnitScript
    Enabled log sections: Sound(Notice)
    Enable or disable log sections using the LogSections configuration key
      or the SPRING_LOG_SECTIONS environment variable (both comma separated).
      Use "none" to disable the default log sections.
    LogOutput initialized.
    Spring 97.0.1-360-ge3d46de develop
    Build Date & Time: Sep  3 2014 08:38:44
    Build Environment: boost-105500, GNU libstdc++ version 20130531
    Compiler Version:  gcc-4.8.1
    Operating System:  Microsoft Windows
    Microsoft Windows 7 Ultimate Edition, 64-bit Service Pack 1 (build 7601)
    Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz; 4095MB RAM, 9213MB pagefile
    Word Size:         32-bit (emulated)
             CPU Clock: win32::TimeGetTime
    Physical CPU Cores: 1
     Logical CPU Cores: 2
    [CMyMath::Init] CPU SSE mask: 124, flags:
    	SSE 1.0:  1,  SSE 2.0:  1
    	SSE 3.0:  1, SSSE 3.0:  1
    	SSE 4.1:  0,  SSE 4.2:  0
    	SSE 4.0A: 0,  SSE 5.0A: 0
    	using streflop SSE FP-math mode, CPU supports SSE instructions
    Supported Video modes: 640x480, 640x480, 640x480, 640x480, 640x480, 640x480, 720x480, 720x480, 720x480, 720x480, 720x576, 720x576, 720x576, 720x576, 800x600, 800x600, 800x600, 800x600, 1024x768, 1024x768, 1024x768, 1024x768, 1152x864, 1152x864, 1152x864, 1152x864, 1280x720, 1280x720, 1280x720, 1280x720, 1280x720, 1280x720, 1280x768, 1280x768, 1280x768, 1280x768, 1280x800, 1280x800, 1280x800, 1280x800, 1280x960, 1280x960, 1280x960, 1280x960, 1280x1024, 1280x1024, 1280x1024, 1280x1024
    SDL version:  linked 2.0.2; compiled 2.0.2
    GL version:   4.4.0
    GL vendor:    NVIDIA Corporation
    GL renderer:  GeForce GTX 460/PCIe/SSE2
    GLSL version: 4.40 NVIDIA via Cg compiler
    GLEW version: 1.5.8
    Video RAM:    total 1024MB, available 838MB
    FBO::maxSamples: 32
    GL info:
    	haveARB: 1, haveGLSL: 1, ATI hacks: 0
    	FBO support: 1, NPOT-texture support: 1, 24bit Z-buffer support: 1
    	maximum texture size: 16384, compress MIP-map textures: 0
    	maximum SmoothPointSize: 190, maximum vec4 varying/attributes: 31/16
    	maximum drawbuffers: 8, maximum recommended indices/vertices: 1048576/1048576
    	number of UniformBufferBindings: 84 (64kB)
    Using VSync
    [InitOpenGL] video mode set to 1024x768:24bit @60Hz 
    [WatchDogInstall] Installed (HangTimeout: 10sec)
    [ThreadPool::SetThreadCount][1] #wanted=1 #current=1 #max=1
    [ThreadPool::SetThreadCount][2] #threads=0
    [DataDirs] Portable Mode!
    Using read-write data directory: U:\bin\Spring\Data\
    Using read-only data directory: U:\bin\Spring\Lab\test\spring_{develop}97.0.1-360-ge3d46de_minimal-portable\
    Using read-only data directory: U:/bin/Spring/Lab/test/weblobby-1.0-windows\
    Using read-only data directory: U:\bin\github\Ecostats\
    Scanning: U:\bin\Spring\Lab\test\spring_{develop}97.0.1-360-ge3d46de_minimal-portable\base
    Scanning: U:\bin\Spring\Data\maps
    Scanning: U:\bin\Spring\Data\games
    Scanning: U:\bin\Spring\Data\packages
    [f=0000000] Joysticks found: 0
    [f=0000000] [ThreadPool::SetThreadCount][1] #wanted=0 #current=1 #max=1
    [f=0000000] [ThreadPool::SetThreadCount][2] #threads=0
    [f=0000000] [Threading] Main thread CPU affinity mask set: 3
    [f=0000000] [Sound] OpenAL info:
    [f=0000000] [Sound]   Available Devices:
    [f=0000000] [Sound]               Speakers (Realtek High Definition Audio)
    [f=0000000] [Sound]   Device:     OpenAL Soft
    [f=0000000] [Sound]   Vendor:         OpenAL Community
    [f=0000000] [Sound]   Version:        1.1 ALSOFT 1.15.1
    [f=0000000] [Sound]   Renderer:       OpenAL Soft
    [f=0000000] [Sound]   AL Extensions:  AL_EXT_ALAW AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model AL_LOKI_quadriphonic AL_SOFT_buffer_samples AL_SOFT_buffer_sub_data AL_SOFTX_deferred_updates AL_SOFT_direct_channels AL_SOFT_loop_points AL_SOFT_source_latency
    [f=0000000] [Sound]   ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_DEDICATED ALC_EXT_disconnect ALC_EXT_EFX ALC_EXT_thread_local_context ALC_SOFT_loopback
    [f=0000000] [Sound]   EFX Enabled: yes
    [f=0000000] [Sound]   Max Sounds: 128
    [f=0000000] [InitOpenGL] video mode set to 1024x768:24bit @60Hz 
    [f=0000000] [SpringApp::ShutDown][1]
    [f=0000000] [ThreadPool::SetThreadCount][1] #wanted=0 #current=1 #max=1
    [f=0000000] [ThreadPool::SetThreadCount][2] #threads=0
    [f=0000000] [SpringApp::ShutDown][2]
    [f=0000000] [SpringApp::ShutDown][3]
    [f=0000000] [SpringApp::ShutDown][4]
    [f=0000000] [SpringApp::ShutDown][5]
    [f=0000000] [SpringApp::ShutDown][6]
    [f=0000000] [SpringApp::ShutDown][7]
    [LuaSocket] Dumping luasocket rules:
    [LuaSocket] TCP_CONNECT ALLOW * -1
    [LuaSocket] TCP_LISTEN  ALLOW * -1
    [LuaSocket] UDP_LISTEN  ALLOW * -1
    [SpringApp::ShutDown][8]
    [WatchDog::Uninstall][1] hangDetectorThread=0327C778
    [WatchDog::Uninstall][2]
    [WatchDog::Uninstall][3]
    [SpringApp::ShutDown][9]
    [SpringApp::Run] exitCode=0
    
    txt file icon infolog.txt (5,578 bytes) 2014-09-03 14:41 +
  • txt file icon infolog_368.txt (22,702 bytes) 2014-09-08 19:12 -
    [ParseCmdLine] command-line args: "U:\bin\Spring\Lab\test\spring_{develop}97.0.1-368-g4f0a478_minimal-portable\spring.exe"
    Using configuration source: "U:\bin\Spring\Data\springsettings.cfg"
    Using additional configuration source: "U:\bin\Spring\Lab\test\spring_{develop}97.0.1-368-g4f0a478_minimal-portable\springsettings.cfg"
    Available log sections: KeyBindings, AutohostInterface, GameServer, Net, CSMFGroundTextures, RoamMeshDrawer, BumpWater, DynWater, SkyBox, DecalsDrawerGL4, FarTextureHandler, Model, Piece, ModelDrawer, OBJParser, WorldObjectModelRenderer, Shader, Texture, Font, CregSerializer, ArchiveScanner, VFS, Sound, LuaSocket, GroundMoveType, Path, UnitScript
    Enabled log sections: Sound(Notice)
    Enable or disable log sections using the LogSections configuration key
      or the SPRING_LOG_SECTIONS environment variable (both comma separated).
      Use "none" to disable the default log sections.
    LogOutput initialized.
    Spring 97.0.1-368-g4f0a478 develop
    Build Date & Time: Sep  6 2014 03:02:28
    Build Environment: boost-105500, GNU libstdc++ version 20130531
    Compiler Version:  gcc-4.8.1
    Operating System:  Microsoft Windows
    Microsoft Windows 7 Ultimate Edition, 64-bit Service Pack 1 (build 7601)
    Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz; 4095MB RAM, 9213MB pagefile
    Word Size:         32-bit (emulated)
             CPU Clock: win32::TimeGetTime
    Physical CPU Cores: 1
     Logical CPU Cores: 2
    [CMyMath::Init] CPU SSE mask: 124, flags:
    	SSE 1.0:  1,  SSE 2.0:  1
    	SSE 3.0:  1, SSSE 3.0:  1
    	SSE 4.1:  0,  SSE 4.2:  0
    	SSE 4.0A: 0,  SSE 5.0A: 0
    	using streflop SSE FP-math mode, CPU supports SSE instructions
    Supported Video modes on Display 1 x:0 y:0 1280x1024:
    	640x480, 640x480, 640x480, 640x480, 640x480, 640x480, 720x480, 720x480, 720x480, 720x480, 720x576, 720x576, 720x576, 720x576, 800x600, 800x600, 800x600, 800x600, 1024x768, 1024x768, 1024x768, 1024x768, 1152x864, 1152x864, 1152x864, 1152x864, 1280x720, 1280x720, 1280x720, 1280x720, 1280x720, 1280x720, 1280x768, 1280x768, 1280x768, 1280x768, 1280x800, 1280x800, 1280x800, 1280x800, 1280x960, 1280x960, 1280x960, 1280x960, 1280x1024, 1280x1024, 1280x1024, 1280x1024
    Supported Video modes on Display 2 x:1280 y:0 1024x768:
    	1280x720, 1280x720, 1280x720, 1280x720, 1280x720, 1280x720, 1280x768, 1280x768, 1280x768, 1280x768, 1280x800, 1280x800, 1280x800, 1280x800, 1280x960, 1280x960, 1280x960, 1280x960, 1280x1024, 1280x1024, 1280x1024, 1280x1024
    SDL version:  linked 2.0.2; compiled 2.0.2
    GL version:   4.4.0
    GL vendor:    NVIDIA Corporation
    GL renderer:  GeForce GTX 460/PCIe/SSE2
    GLSL version: 4.40 NVIDIA via Cg compiler
    GLEW version: 1.5.8
    Video RAM:    total 1024MB, available 826MB
    FBO::maxSamples: 32
    GL info:
    	haveARB: 1, haveGLSL: 1, ATI hacks: 0
    	FBO support: 1, NPOT-texture support: 1, 24bit Z-buffer support: 1
    	maximum texture size: 16384, compress MIP-map textures: 0
    	maximum SmoothPointSize: 190, maximum vec4 varying/attributes: 31/16
    	maximum drawbuffers: 8, maximum recommended indices/vertices: 1048576/1048576
    	number of UniformBufferBindings: 84 (64kB)
    Using VSync
    [InitOpenGL] video mode set to 1024x768:24bit @60Hz 
    [WatchDogInstall] Installed (HangTimeout: 10sec)
    [ThreadPool::SetThreadCount][1] #wanted=1 #current=1 #max=1
    [ThreadPool::SetThreadCount][2] #threads=0
    [DataDirs] Portable Mode!
    Using read-write data directory: U:\bin\Spring\Data\
    Using read-only data directory: U:\bin\Spring\Lab\test\spring_{develop}97.0.1-368-g4f0a478_minimal-portable\
    Using read-only data directory: U:/bin/Spring/Lab/test/weblobby-1.0-windows\
    Using read-only data directory: U:\bin\github\Ecostats\
    Scanning: U:\bin\Spring\Lab\test\spring_{develop}97.0.1-368-g4f0a478_minimal-portable\base
    Scanning: U:\bin\Spring\Data\maps
    Scanning: U:\bin\Spring\Data\games
    Scanning: U:\bin\Spring\Data\packages
    [f=0000000] Joysticks found: 0
    [f=0000000] [ThreadPool::SetThreadCount][1] #wanted=0 #current=1 #max=1
    [f=0000000] [ThreadPool::SetThreadCount][2] #threads=0
    [f=0000000] [Threading] Main thread CPU affinity mask set: 3
    [f=0000000] [Sound] OpenAL info:
    [f=0000000] [Sound]   Available Devices:
    [f=0000000] [Sound]               Speakers (Realtek High Definition Audio)
    [f=0000000] [Sound]   Device:     OpenAL Soft
    [f=0000000] [Sound]   Vendor:         OpenAL Community
    [f=0000000] [Sound]   Version:        1.1 ALSOFT 1.15.1
    [f=0000000] [Sound]   Renderer:       OpenAL Soft
    [f=0000000] [Sound]   AL Extensions:  AL_EXT_ALAW AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model AL_LOKI_quadriphonic AL_SOFT_buffer_samples AL_SOFT_buffer_sub_data AL_SOFTX_deferred_updates AL_SOFT_direct_channels AL_SOFT_loop_points AL_SOFT_source_latency
    [f=0000000] [Sound]   ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_DEDICATED ALC_EXT_disconnect ALC_EXT_EFX ALC_EXT_thread_local_context ALC_SOFT_loopback
    [f=0000000] [Sound]   EFX Enabled: yes
    [f=0000000] [Sound]   Max Sounds: 128
    [f=0000000] [InitOpenGL] video mode set to 1024x768:24bit @60Hz 
    [f=0000000] Hosting on: localhost:8452
    [f=0000000] Connecting to local server
    [f=0000000] Warning: Opening socket on loopback address. Other users will not be able to connect!
    [f=0000000] Binding UDP socket to IP (v6) ::1 port 8452
    [f=0000000] [UDPListener] successfully bound socket on port 8452
    [f=0000000] PreGame::StartServer: 39 ms
    [f=0000000] Using map: Altair_Crossing-V1
    [f=0000000] Using game: XTA 9.741
    [f=0000000] Using game archive: xta-9.741.sdz
    [f=0000000] Recording demo to: U:\bin\Spring\Data\demos\20140908_201550_Altair_Crossing-V1_97.0.1-368-g4f0a478 develop.sdf
    [f=0000000] PreGame::GameDataReceived: 191 ms
    [f=0000000] [PreGame::UpdateClientNet] user number 0 (team 0, allyteam 0)
    [f=0000000] Warning: MapInfo.lua: Incorrect value "groundShadowDensity=1.950000"! Clamping to 0..1 range!!
    [f=0000000] [LuaIntro] Searching for new Widgets
    [f=0000000] [LuaIntro] Scanning: LuaIntro/addons/
    [f=0000000] [LuaIntro] Scanning: LuaIntro/Widgets/
    [f=0000000] [LuaIntro] Scanning: LuaIntro/systemaddons/
    [f=0000000] [LuaIntro] Scanning: LuaIntro/systemWidgets/
    [f=0000000] [LuaIntro] Scanning: LuaIntro/chili/
    [f=0000000] [LuaIntro] Found new widget "SpringLogo"
    [f=0000000] [LuaIntro] Found new widget "LoadTexture"
    [f=0000000] [LuaIntro] Found new widget "LoadProgress"
    [f=0000000] [LuaIntro] Found new widget "Main"
    [f=0000000] [LuaIntro] Found new widget "Music"
    [f=0000000] [LuaIntro] Loading widgets   <>=vfs  **=raw  ()=unknown
    [f=0000000] [LuaIntro] Loading widget:      LoadProgress           <loadprogress.lua>
    [f=0000000] [LuaIntro] Loading widget:      Main                   <main.lua>
    [f=0000000] [LuaIntro] Loading widget:      Music                  <music.lua>
    [f=0000000] [LuaIntro] Loading widget:      LoadTexture            <bg_texture.lua>
    [f=0000000] [LuaIntro] LuaIntro v1.0 (Lua 5.1)
    [f=0000000] Parsing Map Information
    [f=0000000] Loading SMF
    [f=0000000] Loading Map (25 MB)
    [f=0000000] Loading Radar Icons
    [f=0000000] Loading GameData Definitions
    [f=0000000] Weapons_post: Local sound option detected, moving sounds to customparams
    [f=0000000] No customparams:, earthquake
    [f=0000000] Loading all definitions:  0.728000
    [f=0000000] Game::LoadDefs (GameData): 852 ms
    [f=0000000] Loading Sound Definitions
    [f=0000000] [Sound]  parsed 404 sounds from gamedata/sounds.lua
    [f=0000000] Game::LoadDefs (Sound): 33 ms
    [f=0000000] Creating Smooth Height Mesh
    [f=0000000] SmoothHeightMesh::MakeSmoothMesh: 39 ms
    [f=0000000] Creating QuadField & CEGs
    [f=0000000] [CDamageArrayHandler] number of ArmorDefs: 19
    [f=0000000] Warning: [CDamageArrayHandler] UnitDef "armcom" in ArmorDef "armcom" already belongs to ArmorDef category 1!
    [f=0000000] Warning: [CDamageArrayHandler] UnitDef "corcom" in ArmorDef "corcom" already belongs to ArmorDef category 2!
    [f=0000000] [RegisterAssimpModelFormats] supported Assimp model formats: *.3ds;*.blend;*.dae;*.lwo;
    [f=0000000] Creating Unit Textures
    [f=0000000] Creating Sky
    [f=0000000] Loading Weapon Definitions
    [f=0000000] Warning: WeaponDef (armpossum_weapon) color1 & color2 (= hue & sat) are removed. Use rgbColor instead!
    [f=0000000] Loading Unit Definitions
    [f=0000000] Loading Feature Definitions
    [f=0000000] [IPathManager::GetInstance] using DEFAULT path-manager
    [f=0000000] Initializing Map Features
    [f=0000000] Creating ShadowHandler & DecalHandler
    [f=0000000] Creating GroundDrawer
    [f=0000000] Loading Map Tiles
    [f=0000000] Loading Square Textures
    [f=0000000] CSMFGroundTextures::ConvolveHeightMap: 2 ms
    [f=0000000] Switching to ROAM Mesh Rendering
    [f=0000000] Creating TreeDrawer
    [f=0000000] Creating ProjectileDrawer & UnitDrawer
    [f=0000000] Creating Projectile Textures
    [f=0000000] Warning: [CCEG::Load] EMGFLASH: Unknown tag smoke::sizegrowth
    [f=0000000] Warning: [CCEG::Load] DGUNTRACE: Unknown tag dirt::lifetime
    [f=0000000] Warning: [CCEG::Load] ZIPPERDICKER_EFFECT: Unknown tag heatcloud::color
    [f=0000000] Warning: [CCEG::Load] LIGHTNING_NEW: Unknown tag heatcloud::color
    [f=0000000] Warning: [CCEG::Load] LIGHTNING_NEW: Unknown tag smoke::sizegrowth
    [f=0000000] Warning: [CCEG::Load] PURPLELASER: Unknown tag smoke::sizegrowth
    [f=0000000] Warning: [CCEG::Load] DCAPtrace: Unknown tag dirt::lifetime
    [f=0000000] Warning: [CCEG::Load] FLAMETHROWER: Unknown tag smoke::sizegrowth
    [f=0000000] Warning: [CCEG::Load] BERTHABLAST: Unknown tag dirt::lifetime
    [f=0000000] Warning: [CCEG::Load] BERTHABLAST: Unknown tag heatcloud::colormap
    [f=0000000] Warning: [CCEG::Load] BERTHABLAST: Unknown tag heatcloud::colormap
    [f=0000000] Warning: [CCEG::Load] BERTHABLAST: Unknown tag heatcloud::colormap
    [f=0000000] Warning: [CCEG::Load] BERTHABLAST: Unknown tag heatcloud::colormap
    [f=0000000] Warning: [CCEG::Load] BERTHABLAST: Unknown tag heatcloud::colormap
    [f=0000000] Warning: [CCEG::Load] BERTHABLAST: Unknown tag heatcloud::colormap
    [f=0000000] Warning: [CCEG::Load] BERTHABLAST: Unknown tag heatcloud::colormap
    [f=0000000] Warning: [CCEG::Load] BERTHABLAST: Unknown tag heatcloud::colormap
    [f=0000000] Warning: [CCEG::Load] BERTHABLAST: Unknown tag heatcloud::colormap
    [f=0000000] Warning: [CCEG::Load] BERTHABLAST: Unknown tag heatcloud::colormap
    [f=0000000] Warning: [CCEG::Load] BERTHABLAST: Unknown tag smoke::sizegrowth
    [f=0000000] Creating Water
    [f=0000000] Game::LoadInterface (Camera&Mouse): 133 ms
    [f=0000000] Game::LoadInterface (Console): 1 ms
    [f=0000000] Loading LuaRules
    [f=0000000] gaia_critters.lua: gadget:Initialize() Game.mapName=Altair_Crossing-V1
    [f=0000000] no critter config for this map
    [f=0000000] Loaded SYNCED gadget:  gaia critter units  <gaia_critters.lua>
    [f=0000000] Loaded SYNCED gadget:  game_stats          <gui_endstats.lua>
    [f=0000000] Loaded SYNCED gadget:  CobButton           <unit_cobbutton.lua>
    [f=0000000] Loaded SYNCED gadget:  Team-comends        <game_teamcomends.lua>
    [f=0000000] Loaded SYNCED gadget:  gfx_dynamic_lighting.lua  <gfx_dynamic_lighting.lua>
    [f=0000000] Loaded SYNCED gadget:  Abandoned reveal    <unit_abandoned_reveal.lua>
    [f=0000000] Loaded SYNCED gadget:  AirPlantParents     <unit_air_plants.lua>
    [f=0000000] Loaded SYNCED gadget:  Announce kills      <ui_announce_kills.lua>
    [f=0000000] Loaded SYNCED gadget:  Cloak lose target   <game_cloak_lose_target.lua>
    [f=0000000] Loaded SYNCED gadget:  Cobcallins          <cobcallins.lua>
    [f=0000000] Loaded SYNCED gadget:  Crush ceg           <gfx_crushceg.lua>
    [f=0000000] Loaded SYNCED gadget:  DGun CmdType Fix    <unit_dgun_cmdtype_fix.lua>
    [f=0000000] Loaded SYNCED gadget:  Disable Buildoptions  <unit_disable_buildoptions.lua>
    [f=0000000] Loaded SYNCED gadget:  Dynamic collision volume & Hitsphere Scaledown  <unit_dynamic_collision_volume.lua>
    [f=0000000] Loaded SYNCED gadget:  Energy Conversion   <game_energy_conversion.lua>
    [f=0000000] Loaded SYNCED gadget:  Factory Anti-Stuck  <factory_anti_stuck.lua>
    [f=0000000] Loaded SYNCED gadget:  Fire Rate           <unit_fire_rate.lua>
    [f=0000000] Loaded SYNCED gadget:  Health Upgrade      <unit_health_upgrade.lua>
    [f=0000000] Loaded SYNCED gadget:  I Hate CMD.SET_WANTED_MAX_SPEED  <i_hate_cmd_set_wanted_max_speed.lua>
    [f=0000000] Loaded SYNCED gadget:  Initial Spawn       <game_initial_spawn.lua>
    [f=0000000] Loaded SYNCED gadget:  Jumpjets            <unit_jumpjets.lua>
    [f=0000000] Loaded SYNCED gadget:  Local sounds        <snd_local.lua>
    [f=0000000] Loaded SYNCED gadget:  Lua unit script framework  <unit_script.lua>
    [f=0000000] Loaded SYNCED gadget:  Minelayer Limit     <unit_minelayer_limit.lua>
    [f=0000000] Loaded SYNCED gadget:  Mission Script Engine  <game_mission_script.lua>
    [f=0000000] Loaded SYNCED gadget:  No Land Damage      <unit_no_land_damage.lua>
    [f=0000000] Loaded SYNCED gadget:  No Self Pwn         <unit_noselfpwn.lua>
    [f=0000000] Loaded SYNCED gadget:  NoAirNuke           <exp_no_air_nuke.lua>
    [f=0000000] Loaded SYNCED gadget:  Production Rate     <unit_buildspeed.lua>
    [f=0000000] Loaded SYNCED gadget:  Reclaim flash       <gfx_reclaim_flash.lua>
    [f=0000000] Loaded SYNCED gadget:  Repair Pad          <unit_refuel.lua>
    [f=0000000] Loaded SYNCED gadget:  Spawn               <commoption.lua>
    [f=0000000] Loaded SYNCED gadget:  State Broadcast     <game_statebroadcast.lua>
    [f=0000000] Loaded SYNCED gadget:  Stockpile limit     <unit_stockpile_limit.lua>
    [f=0000000] Loaded SYNCED gadget:  Transporter wrecks  <game_transporterwrecks.lua>
    [f=0000000] Loaded SYNCED gadget:  Unfinished unit orders  <unit_unfinishedorders.lua>
    [f=0000000] Loaded SYNCED gadget:  UnitEStallDisable   <unit_estall_disable.lua>
    [f=0000000] Loaded SYNCED gadget:  UnitMorph           <unit_morph.lua>
    [f=0000000] Loaded SYNCED gadget:  UnitStealth         <unit_stealth.lua>
    [f=0000000] fx_watersplash: lava detected:, false
    [f=0000000] Loaded SYNCED gadget:  Watereffects        <fx_watersplash.lua>
    [f=0000000] Loaded SYNCED gadget:  enablecheats        <dbg_cheats.lua>
    [f=0000000] Loaded SYNCED gadget:  game_zombiemode     <game_zombiemode.lua>
    [f=0000000] Loaded SYNCED gadget:  gui_minimapX        <gui_minimapx.lua>
    [f=0000000] Loaded SYNCED gadget:  lups_wrapper.lua    <lups_wrapper.lua>
    [f=0000000] Loaded SYNCED gadget:  unit_commander_sounds.lua  <unit_commander_sounds.lua>
    [f=0000000] Loaded SYNCED gadget:  unit_crashing_aircraft  <unit_crashing_aircraft.lua>
    [f=0000000] Loaded SYNCED gadget:  Area Attack         <areaattack.lua>
    [f=0000000] Loaded SYNCED gadget:  Cursor handling     <gui_cursorhandling.lua>
    [f=0000000] Loaded SYNCED gadget:  Remove commands     <unit_removecommands.lua>
    [f=0000000] Loaded SYNCED gadget:  Sneer after comnap  <ui_comnapsneer.lua>
    [f=0000000] Loaded SYNCED gadget:  Take Manager        <cmd_idle_players.lua>
    [f=0000000] Loaded SYNCED gadget:  Add commands        <game_addcommand.lua>
    [f=0000000] Loaded SYNCED gadget:  Airstrikes          <gui_airstrike.lua>
    [f=0000000] Loaded SYNCED gadget:  Gameover procedure  <game_gameover.lua>
    [f=0000000] Loaded SYNCED gadget:  Kamikaze            <unit_kamikaze.lua>
    [f=0000000] Loaded SYNCED gadget:  WatchBuilders       <unit_watchbuilders.lua>
    [f=0000000] Loaded SYNCED gadget:  TeamDiedMessages    <gui_teamdiedmessages.lua>
    [f=0000000] Loaded SYNCED gadget:  Game End            <game_end.lua>
    [f=0000000] Loaded SYNCED gadget:  LupsSyncedManager   <lups_manager.lua>
    [f=0000000] Loaded SYNCED gadget:  Mex Upgrader Gadget  <unit_mex_upgrader.lua>
    [f=0000000] Loaded UNSYNCED gadget:  game_stats          <gui_endstats.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Abandoned reveal    <unit_abandoned_reveal.lua>
    [f=0000000] Loaded UNSYNCED gadget:  AirPlantParents     <unit_air_plants.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Announce kills      <ui_announce_kills.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Cloak lose target   <game_cloak_lose_target.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Crush ceg           <gfx_crushceg.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Dynamic collision volume & Hitsphere Scaledown  <unit_dynamic_collision_volume.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Factory Anti-Stuck  <factory_anti_stuck.lua>
    [f=0000000] Loaded UNSYNCED gadget:  I Hate CMD.SET_WANTED_MAX_SPEED  <i_hate_cmd_set_wanted_max_speed.lua>
    [f=0000000] Local sounds: local mode
    [f=0000000] Loaded UNSYNCED gadget:  Local sounds        <snd_local.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Minelayer Limit     <unit_minelayer_limit.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Mission Script Engine  <game_mission_script.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Reclaim flash       <gfx_reclaim_flash.lua>
    [f=0000000] Loaded UNSYNCED gadget:  State Broadcast     <game_statebroadcast.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Stockpile limit     <unit_stockpile_limit.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Transporter wrecks  <game_transporterwrecks.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Unfinished unit orders  <unit_unfinishedorders.lua>
    [f=0000000] Loaded UNSYNCED gadget:  UnitEStallDisable   <unit_estall_disable.lua>
    [f=0000000] Loaded UNSYNCED gadget:  UnitMorph           <unit_morph.lua>
    [f=0000000] Loaded UNSYNCED gadget:  UnitStealth         <unit_stealth.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Watereffects        <fx_watersplash.lua>
    [f=0000000] Loaded UNSYNCED gadget:  enablecheats        <dbg_cheats.lua>
    [f=0000000] Loaded UNSYNCED gadget:  gfx_dynamic_lighting.lua  <gfx_dynamic_lighting.lua>
    [f=0000000] Loaded UNSYNCED gadget:  gui_minimapX        <gui_minimapx.lua>
    [f=0000000] Loaded UNSYNCED gadget:  mo_nowrecks         <mo_nowrecks.lua>
    [f=0000000] Loaded UNSYNCED gadget:  unit_commander_sounds.lua  <unit_commander_sounds.lua>
    [f=0000000] Loaded UNSYNCED gadget:  unit_crashing_aircraft.lua  <unit_crashing_aircraft.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Area Attack         <areaattack.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Cursor handling     <gui_cursorhandling.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Remove commands     <unit_removecommands.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Sneer after comnap  <ui_comnapsneer.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Take Manager        <cmd_idle_players.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Add commands        <game_addcommand.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Airstrikes          <gui_airstrike.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Gameover procedure  <game_gameover.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Kamikaze            <unit_kamikaze.lua>
    [f=0000000] Loaded UNSYNCED gadget:  WatchBuilders       <unit_watchbuilders.lua>
    [f=0000000] Loaded UNSYNCED gadget:  TeamDiedMessages    <gui_teamdiedmessages.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Game End            <game_end.lua>
    [f=0000000] Loaded UNSYNCED gadget:  LupsSyncedManager   <lups_manager.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Mex Upgrader Gadget  <unit_mex_upgrader.lua>
    [f=0000000] Loaded UNSYNCED gadget:  Lups                <lups_wrapper.lua>
    [f=0000000] Loading LuaGaia
    [f=0000000] Loading LuaUI
    [f=0000000] LuaSocketEnabled: yes
    [f=0000000] Using LUAUI_DIRNAME = LuaUI/
    [f=0000000] Reloaded ctrlpanel from file: LuaUI/ctrlpanel.txt
    [f=0000000] LuaUI: bound F11 to the widget selector
    [f=0000000] LuaUI: bound CTRL+F11 to tweak mode
    [f=0000000] Switching to Overhead (TA) style camera
    [f=0000000] [widgets.lua] Error: Failed to load: gui_ally_res.lua  (duplicate name)
    [f=0000000] Reloaded ctrlpanel from file: ctrlpanelImp.txt
    [f=0000000] RelativeMinimap: found ctrlpanelImp.txt and using its config
    [f=0000000] Unit sounds (XTA) loaded. Volumes (battle,ui,[0,200]):, 68, 100
    [f=0000000] LuaUI v0.3
    [f=0000000] [LoadFinalize] finalizing PFS
    [f=0000000] [Path] [PathEstimator::ReadFile] hash=3637295376
    [f=0000000] Reading Estimate PathCosts [8]
    [f=0000000] [Path] [PathEstimator::ReadFile] hash=3637295400
    [f=0000000] Reading Estimate PathCosts [32]
    [f=0000000] [LoadFinalize] finalized PFS (119ms, checksum 1807a8c8)
    [f=0000000] Loading Skirmish AIs
    [f=0000000] Loaded DecalsDrawer: Legacy
    [f=0000000] GameID: 46e40d54ce075c8a0db651f84a63e852
    [f=0000000] Connection attempt from ME
    [f=0000000]  -> Version: 97.0.1-368-g4f0a478 develop
    [f=0000000]  -> Connection established (given id 0)
    [f=0000000] Skirmish AI "Enemy" (ID:0, Short-Name:"NullAI", Version:"0.1") took over control of team 1
    [f=0000000] Player ME finished loading and is now ingame
    [f=0000088] Ecostats: widget now in spectator mode.
    [f=0000096] The enemy forces have been destroyed.
    [f=0000275] User exited
    [f=0000276] [SpringApp::ShutDown][1]
    [f=0000276] [ThreadPool::SetThreadCount][1] #wanted=0 #current=1 #max=1
    [f=0000276] [ThreadPool::SetThreadCount][2] #threads=0
    [f=0000276] [SpringApp::ShutDown][2]
    [f=0000276] [~CGame][1]
    [f=0000276] [~CGame][2]
    [f=0000276] [~CGame][3]
    [f=0000276] [~CGame][4]
    [f=0000276] [~CGame][5]
    [f=0000276] [~CGame][6]
    [f=0000276] Red_UI_Framework>> last processed widget was "Red Tooltip"
    [f=0000276] [~CGame][7]
    [f=0000276] [~CGame][8]
    [f=0000276] [CCollisionHandler] dis-/continuous tests: 0/103131
    [f=0000276] [~CGame][9]
    [f=0000276] [~CGame][10]
    [f=0000276] [~CPathCache(16x16)] cacheHits=0 hitPercentage=0% numHashColls=0 maxCacheSize=0
    [f=0000276] [~CPathCache(16x16)] cacheHits=0 hitPercentage=0% numHashColls=0 maxCacheSize=0
    [f=0000276] [~CPathCache(64x64)] cacheHits=0 hitPercentage=0% numHashColls=0 maxCacheSize=0
    [f=0000276] [~CPathCache(64x64)] cacheHits=0 hitPercentage=0% numHashColls=0 maxCacheSize=0
    [f=0000276] Statistics for RectangleOptimizer: 0%
    [f=0000276] Statistics for RectangleOptimizer: 0%
    [f=0000276] [~CGame][11]
    [f=0000276] [~CGame][12]
    [f=0000276] [~CGame][13]
    [f=0000276] [~CGame][14]
    [f=0000276] [~CGame][15]
    [f=0000276] [~CGame][16]
    [f=0000276] [~CGame][17]
    [f=0000276] [SpringApp::ShutDown][3]
    [f=0000276] Statistics for local connection:
    Received: 1124 bytes
    Sent: 3285 bytes
    
    [f=0000276] Writing demo: U:\bin\Spring\Data\demos\20140908_201550_Altair_Crossing-V1_97.0.1-368-g4f0a478 develop.sdf
    [f=0000276] [SpringApp::ShutDown][4]
    [f=0000276] [SpringApp::ShutDown][5]
    [f=0000276] [SpringApp::ShutDown][6]
    [f=0000276] [SpringApp::ShutDown][7]
    [LuaSocket] Dumping luasocket rules:
    [LuaSocket] TCP_CONNECT ALLOW * -1
    [LuaSocket] TCP_LISTEN  ALLOW * -1
    [LuaSocket] UDP_LISTEN  ALLOW * -1
    [SpringApp::ShutDown][8]
    [WatchDog::Uninstall][1] hangDetectorThread=031FCB80
    [WatchDog::Uninstall][2]
    [WatchDog::Uninstall][3]
    [SpringApp::ShutDown][9]
    [SpringApp::Run] exitCode=0
    
    txt file icon infolog_368.txt (22,702 bytes) 2014-09-08 19:12 +

-Relationships
+Relationships

-Notes

~0013588

Jools (reporter)

Even if this is maybe not directly caused by the spring engine, it is still an issue that in my opinion blocks the new engine release. People would just prefer the older one instead of this issue. And issue doesn't happen in spring 96 because it handles fullscreen differently.

~0013589

Jools (reporter)

See also: http://stackoverflow.com/questions/52755/what-determines-the-monitor-my-app-runs-on

~0013596

abma (administrator)

Last edited: 2014-09-05 01:06

View 4 revisions

does it work with WindowBorderLess=1 ?

http://stackoverflow.com/questions/18728821/multiple-displays-in-sdl2

(=> sounds like a bug in SDL2)

also i don't think that many people have two monitors, but idk. (no major bug because not few people are affected, also you already described a workarround)

~0013597

abma (administrator)

Last edited: 2014-09-05 01:12

View 2 revisions

you can try to set the env var SDL_VIDEO_FULLSCREEN_HEAD=0

from here:
http://stackoverflow.com/questions/19431170/fullscreen-modes-in-ubuntu-sdl-opengl

"Modechanges are eeeeevil, especially in multi-display environments."

you should use WindowBorderLess=1

~0013599

Jools (reporter)

I tried to set WindowBorderLess=1 in settings and the env var SDL_VIDEO_FULLSCREEN_HEAD to 0, but it didn't help. The problem is evident already at the game menu, the picture of the island with palms.

If I move the window to my primary display (with win+shift+left arrow), it will retain the resolution of the secondary display. And when I give spring focus again it will move again to the secondary display.

Something has to tell spring.exe where to open, I wonder if it's a registry value or something. I don't understand so much about SDL, but in SDL 1.2 it always opened where it was run last time.

The obvious workaround is to not extend the display to secondary monitor, but that'a a very convenient thing to do as you can code and reload luaui at the same time without alt-tabbing.

~0013600

abma (administrator)

please run http://springrts.com/dl/buildbot/default/develop/97.0.1-368-g4f0a478/win32/

and paste infolog.txt here again! it contains a bit more info:

https://github.com/spring/spring/commit/a66fada1be3bd805beba3c2d3d4a8920a773e764

with this info you should be able to configure spring that it runs on the second screen:

set XResolution,YResolution,WindowPosX,WindowPosY to the data from the second screen and FullScreen=0, WindowBorderLess=1

~0013622

Jools (reporter)

Here is the infolog from 97-368 build. Spring runs on the display that is 1024*768 (it's a lcd TV) and I want it to run on the monitor with 1280*1024.

I think it identifies the 1024*768 as display 2 and the 1280*1024 as display 1 correctly.

~0013625

abma (administrator)

Last edited: 2014-09-09 01:44

View 2 revisions

to run it on a specific monitor, set:
FullScreen=0
WindowBorderLess=1


and for monitor 1:

XResolution=1280
YResolution=1024
WindowPosX=0
WindowPosY=0

monitor 2:

XResolution=1024
YResolution=768
WindowPosX=1280
WindowPosY=0

please test and report back if this works!

~0013627

Jools (reporter)

I can not set those parameters for monitor 1 and 2 separately, I have only 1 set of those parameters in springsettings.cfg. But if I set WindowPosX=0 then it does open up in monitor 1.

So the way to control window placement is in fact with those parameters, that's the solution to this report.

One thing, although minor, is that the mouse is not grabbed on the border between the two monitors, but it can be achieved by typing /grabinput. Has to be done each time though, although it can probably be made into a widget.

~0013628

Jools (reporter)

But I consider the issue resolved, thank you very much.
+Notes

-Issue History
Date Modified Username Field Change
2014-09-03 14:41 Jools New Issue
2014-09-03 14:41 Jools File Added: infolog.txt
2014-09-03 14:43 Jools Note Added: 0013588
2014-09-03 14:52 Jools Note Added: 0013589
2014-09-05 00:43 abma Note Added: 0013596
2014-09-05 00:44 abma Note Edited: 0013596 View Revisions
2014-09-05 00:46 abma Note Added: 0013597
2014-09-05 00:50 abma Severity major => minor
2014-09-05 00:53 abma Note Edited: 0013596 View Revisions
2014-09-05 01:06 abma Note Edited: 0013596 View Revisions
2014-09-05 01:06 abma Status new => feedback
2014-09-05 01:12 abma Note Edited: 0013597 View Revisions
2014-09-05 17:05 Jools Note Added: 0013599
2014-09-05 17:05 Jools Status feedback => new
2014-09-06 03:12 abma Note Added: 0013600
2014-09-06 03:12 abma Assigned To => abma
2014-09-06 03:12 abma Status new => feedback
2014-09-08 19:12 Jools File Added: infolog_368.txt
2014-09-08 19:14 Jools Note Added: 0013622
2014-09-08 19:14 Jools Status feedback => assigned
2014-09-09 00:02 abma Note Added: 0013625
2014-09-09 01:44 abma Note Edited: 0013625 View Revisions
2014-09-09 03:05 Jools Note Added: 0013627
2014-09-09 03:06 Jools Note Added: 0013628
2014-09-11 22:42 abma Status assigned => resolved
2014-09-11 22:42 abma Resolution open => no change required
+Issue History