View Issue Details

IDProjectCategoryView StatusLast Update
0004245Spring engineGeneralpublic2014-01-07 14:38
Reporterabma Assigned TojK  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version96.0.1+git 
Target Version97.0 
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.
Attached Files
infolog.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

abma

2014-01-04 16:59

administrator   ~0012584

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

jK

2014-01-05 04:36

developer   ~0012597

Last edited: 2014-01-05 04:36

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.

abma

2014-01-05 05:10

administrator   ~0012600

./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)

abma

2014-01-05 05:20

administrator   ~0012601

Last edited: 2014-01-05 05:20

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.

abma

2014-01-07 09:24

administrator   ~0012635

Last edited: 2014-01-07 09:27

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

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
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
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
2014-01-07 09:27 abma Note Edited: 0012635
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