2025-07-20 19:10 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004245Spring engineGeneralpublic2014-01-07 14:38
Reporterabma 
Assigned TojK 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version96.0.1+git 
Target Version97.0Fixed in Version 
Summary0004245: [SDL2] windowed mode always uses 400x300
Descriptionwindow resolution seems to be always 400x300:

Supported Video modes: 640x480, 640x480, 640x480, 640x480, 720x400, 800x600, 800x600, 800x600, 800x600, 832x624, 1024x768, 1024x768, 1024x768, 1152x864, 1280x960, 1280x1024, 1280x1024, 1440x900, 1600x1200, 1680x1050
[CreateWindow] video mode set to 400x300/24bit (windowed)
SDL version: linked 2.0.0; compiled 2.0.0
GL version: 3.0 Mesa 9.2.1
GL vendor: X.Org
GL renderer: Gallium 0.4 on AMD JUNIPER
GLSL version: 1.30
GLEW version: 1.8.0
Video RAM: unknown
FBO::maxSamples: 8
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: 16384, maximum vec4 varying/attributes: 32/16
    maximum drawbuffers: 8, maximum recommended indices/vertices: 3000/3000
    number of UniformBufferBindings: 24 (64kB)
VSync disabled
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files
  • txt file icon infolog.txt (5,670 bytes) 2014-01-07 09:24 -
    [ParseCmdLine] command-line args: "D:\temp\spring\spring.exe"
    Using configuration source: "D:\temp\spring\springsettings.cfg"
    Using additional configuration source: "D:\Users\abma\Local\springsettings.cfg"
    Using additional configuration source: "C:\Users\abma\Documents\My Games\Spring\springsettings.cfg"
    Available log sections: KeyBindings, AutohostInterface, Net, CSMFGroundTextures, RoamMeshDrawer, BumpWater, DynWater, SkyBox, DecalsDrawerGL4, FarTextureHandler, Model, Piece, ModelDrawer, OBJParser, WorldObjectModelRenderer, Shader, Texture, Font, GroundMoveType, Path, UnitScript, CregSerializer, ArchiveScanner, VFS, Sound, LuaSocket
    Enabled log sections: Sound(LOG_LEVEL_INFO)
    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 96.0.1-116-g79ffa8a develop
    Build date/time: Jan  7 2014 02:19:46
    Build environment: boost-105300, GNU libstdc++ version 20130531
    Compiler: gcc-4.8.1
    OS: Microsoft Windows
    Microsoft Windows 7 Business Edition, 64-bit Service Pack 1 (build 7601)
    AMD Phenom(tm) II X4 945 Processor; 4061MB RAM, 4059MB pagefile
    OS: emulated 32bit mode
    [CMyMath::Init] CPU SSE mask: 888, flags:
    	SSE 1.0:  1,  SSE 2.0:  1
    	SSE 3.0:  1, SSSE 3.0:  0
    	SSE 4.1:  0,  SSE 4.2:  0
    	SSE 4.0A: 1,  SSE 5.0A: 0
    	using streflop SSE FP-math mode, CPU supports SSE instructions
    Supported Video modes: 640x480, 640x480, 640x480, 640x480, 640x480, 640x480, 640x480, 640x480, 640x480, 640x480, 720x480, 720x480, 720x480, 720x480, 720x480, 720x480, 720x480, 720x480, 720x576, 720x576, 720x576, 720x576, 720x576, 720x576, 720x576, 720x576, 800x600, 800x600, 800x600, 800x600, 800x600, 800x600, 800x600, 800x600, 1024x768, 1024x768, 1024x768, 1024x768, 1024x768, 1024x768, 1152x864, 1152x864, 1152x864, 1152x864, 1280x720, 1280x720, 1280x720, 1280x720, 1280x768, 1280x768, 1280x800, 1280x800, 1280x960, 1280x960, 1280x1024, 1280x1024, 1280x1024, 1280x1024, 1360x768, 1360x768, 1360x1024, 1360x1024, 1366x768, 1366x768, 1400x1050, 1400x1050, 1440x900, 1440x900, 1600x900, 1600x900, 1600x1200, 1600x1200, 1680x1050, 1680x1050
    SDL version:  linked 2.0.1; compiled 2.0.1
    GL version:   4.2.11733 Compatibility Profile Context
    GL vendor:    ATI Technologies Inc.
    GL renderer:  ATI Radeon HD 5700 Series
    GLSL version: 4.20
    GLEW version: 1.5.8
    Video RAM:    total 762MB, available 987MB
    GL info:
    	haveARB: 1, haveGLSL: 1, ATI hacks: 1
    	FBO support: 1, NPOT-texture support: 1, 24bit Z-buffer support: 0
    	maximum texture size: 16384, compress MIP-map textures: 0
    	maximum SmoothPointSize: 63, maximum vec4 varying/attributes: 32/29
    	maximum drawbuffers: 8, maximum recommended indices/vertices: 16777215/2147483647
    	number of UniformBufferBindings: 75 (64kB)
    [InitOpenGL] video mode set to 0x0:24bit @60Hz 
    Using VSync
    [WatchDogInstall] Installed (HangTimeout: 10sec)
    [ThreadPool::SetThreadCount][1] #wanted=4 #current=1
    [ThreadPool::SetThreadCount][2] #threads=3
    [DataDirs] Portable Mode!
    Using read-write data directory: D:\temp\spring\
    Using read-only data directory: C:\Users\abma\Documents\My Games\Spring\
    Scanning: C:\Users\abma\Documents\My Games\Spring\maps
    Scanning: C:\Users\abma\Documents\My Games\Spring\games
    Scanning: C:\Users\abma\Documents\My Games\Spring\packages
    Scanning: D:\temp\spring\base
    [f=0000000] Joysticks found: 0
    [f=0000000] Warning: Joystick 0 not found
    [f=0000000] [ThreadPool::SetThreadCount][1] #wanted=3 #current=4
    [f=0000000] [ThreadPool::SetThreadCount][2] #threads=2
    [f=0000000] [Threading] Main thread CPU affinity not set
    [f=0000000] [Initialize] CPU Clock: win32::TimeGetTime
    [f=0000000] [Initialize] CPU Cores: 4
    [f=0000000] [Sound] OpenAL info:
    [f=0000000] [Sound]   Available Devices:
    [f=0000000] [Sound]               DirectSound Software
    [f=0000000] [Sound]   Device:     DirectSound Software
    [f=0000000] [Sound]   Vendor:         OpenAL Community
    [f=0000000] [Sound]   Version:        1.1 ALSOFT 1.11.753
    [f=0000000] [Sound]   Renderer:       OpenAL Soft
    [f=0000000] [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
    [f=0000000] [Sound]   ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_disconnect ALC_EXT_EFX ALC_EXTX_thread_local_context
    [f=0000000] [Sound]   EFX Enabled: yes
    [f=0000000] [Sound]   Max Sounds: 128
    [f=0000000] [ArchiveScanner] Warning: No game selected checksum: not found (0)
    [f=0000000] [ArchiveScanner] Warning: No map selected checksum: not found (0)
    [f=0000000] [InitOpenGL] video mode set to 640x480:24bit @60Hz 
    [f=0000000] User exited
    [f=0000000] [SpringApp::ShutDown][1]
    [f=0000000] [ThreadPool::SetThreadCount][1] #wanted=0 #current=3
    [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] [Sound] [~CSound][1] soundThread=06D33940
    [f=0000000] [Sound] [~CSound][2]
    [f=0000000] [Sound] [~CSound][3]
    [f=0000000] [SpringApp::ShutDown][6]
    [f=0000000] [SpringApp::ShutDown][7]
    [f=0000000] [SpringApp::ShutDown][8]
    [f=0000000] [SpringApp::ShutDown][9]
    [SpringApp::ShutDown][10]
    [SpringApp::ShutDown][11]
    [WatchDog::Uninstall][1] hangDetectorThread=02FCF620
    [WatchDog::Uninstall][2]
    [WatchDog::Uninstall][3]
    [SpringApp::ShutDown][12]
    [SpringApp::Run] exitCode=0
    
    txt file icon infolog.txt (5,670 bytes) 2014-01-07 09:24 +

-Relationships
+Relationships

-Notes

~0012584

abma (administrator)

also /fullscreen ingame seems to change to some weird resultion, its not using native monitor / desktop resolution.

~0012597

jK (developer)

Last edited: 2014-01-05 04:36

View 2 revisions

incorrect
minimum window size is 400x300 and when the window is maximized or in fullscreen the size & pos isn't saved.

Don't know why SDL2 doesn't change to native fullscreen resolution.

~0012600

abma (administrator)

./spring -f

->

[CreateSDLWindow] video mode set to 0x0/24bit

Error: Floating point exception (SIGFPE) in spring 96.0.1-95-g0a63649 develop (Debug)
Error: Stacktrace for Spring 96.0.1-95-g0a63649 develop (Debug):
Error: <0> /lib/x86_64-linux-gnu/libpthread.so.0(+0xfbb0) [0x7fe3ca864bb0]
Error: <1> /home/abma/dev/spring/develop/rts/Rendering/GlobalRendering.cpp:364
Error: <2> /home/abma/dev/spring/develop/rts/Rendering/Env/AdvTreeDrawer.cpp:911
Error: <3> /home/abma/dev/spring/develop/rts/Rendering/Env/AdvTreeDrawer.cpp:931
Error: <4> /home/abma/dev/spring/develop/rts/Rendering/Env/AdvTreeDrawer.cpp:641 (discriminator 1)
Error: <5> /usr/include/c++/4.8/bits/stl_algobase.h:390
Error: <6> /home/abma/dev/spring/develop/rts/Map/SMF/Legacy/LegacyMeshDrawer.cpp:404
Error: <7> /home/abma/dev/spring/develop/rts/Map/SMF/Legacy/LegacyMeshDrawer.cpp:463
Error: <8> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fe3c71d0de5]
Error: <9> ??:?

(debug build)

~0012601

abma (administrator)

Last edited: 2014-01-05 05:20

View 2 revisions

FYI: with current debug(!!!) build i get 60FPS (sync limit) while i get only ~ 50FPS with 96.0 release build

no clue which handbrake was released. could be SDL2, could be utf8.

~0012635

abma (administrator)

Last edited: 2014-01-07 09:27

View 3 revisions

fullscreen-res in unconfigured spring is 640x480 in Spring 96.0.1-116-g79ffa8a develop

+Notes

-Issue History
Date Modified Username Field Change
2014-01-04 16:57 abma New Issue
2014-01-04 16:59 abma Note Added: 0012584
2014-01-05 04:18 abma Summary windowed mode always uses 400x300 => [SDL2] windowed mode always uses 400x300
2014-01-05 04:27 abma Severity major => minor
2014-01-05 04:33 abma Product Version => 96.0.1+git
2014-01-05 04:36 jK Note Added: 0012597
2014-01-05 04:36 jK Note Edited: 0012597 View Revisions
2014-01-05 05:10 abma Note Added: 0012600
2014-01-05 05:20 abma Note Added: 0012601
2014-01-05 05:20 abma Note Edited: 0012601 View Revisions
2014-01-07 09:24 abma File Added: infolog.txt
2014-01-07 09:24 abma Note Added: 0012635
2014-01-07 09:25 abma Note Edited: 0012635 View Revisions
2014-01-07 09:27 abma Note Edited: 0012635 View Revisions
2014-01-07 14:38 jK Changeset attached => spring develop 9919aa6b
2014-01-07 14:38 jK Assigned To => jK
2014-01-07 14:38 jK Status new => resolved
2014-01-07 14:38 jK Resolution open => fixed
+Issue History