OK, I found some time due to bad weather...

Qt5.1 comes only preconfigured in OpenGL configuration. Apparently Qt devs
have changed their minds about the importance of ANGLE on Windows given
current mainstream hardware (not caring for computers of 2011). Either
build 5.1 from sources or wait for 5.2 scheduled for November. I
downgraded to Qt5.0 (offline windows installer,
qt-windows-opensource-5.0.2-mingw47_32-x86-offline.exe) and tried my luck
up to the point where it again compiles&links successfully. After patching
the CMakeList.txt to find and link libEGL and libGLESv2 and adding some
diagnostics to StelPainter, I am stuck again. Now the version returned is
QFlags(0x800), i.e. OpenGLES 2.0. OK, this means ANGLE.

My CMakeList patch is very dirty and depends on the installed Qt system,
so I should rather not commit it. Qt forum indicates a solution is in the
works for Qt5.2.

Logs attached. The shader linker fails with "warning X3206: implicit
truncation of vector type." If I start Stellarium configured in fullscreen
mode, there is no window, but the process is visible in the task bar. If I
configure it non-fullscreen, there is a definite program crash and clearer
diagnostics, indicating that this shader code currently makes trouble with
ANGLE. I may look into it a bit more, but am no expert both in GLSL and
cmake files.

Kind regards,
Georg


On Sa, 21.09.2013, 11:17, Georg Zotti wrote:
> Hi again!
>
> a simple line
> qWarning() << OpenGLVersionsflags: " << QGLFormat::openGLVersionFlags();
>
> just before main.cpp:line 321 (mainWin.init(confSettings);)
>
> delivers "QFlags(0x1|0x2|0x4|0x8)" on the Atom. This indicates only its
> native OpenGL1.4 support, i.e. the ANGLE-based GLES2 support that should
> be available with Qt5 is not found, or maybe it has to be requested
> somehow at init time. While Qt5.0 was introduced and announced with this
> support, I don't know about where it is or to make sure it exists after
> installing Qt5.1. ... Argl, Qt5.1 apparently has to be built from sources
> for this!?
>
> Sorry I have likely no more time this weekend for this :-(.
>
> Best regards,
> Georg
>
>
>
> On Sa, 21.09.2013, 10:22, Georg Zotti wrote:
>> Hi!
>>
>> Almost all is OK on my high-end system.  On my travel-friendly Atom
>> netbook (win7/starter, OpenGL1.4, hoping for workaround by ANGLE-based
>> GL-ES2), it compiles and launches "somewhat", but it immediately dies
>> without any window or crash notice. According to log, there are no
>> errors,
>> it finds&loads stars and NGC.
>> The logfile ends at "Use vertex shader for atmospheric rendering."
>> I wanted to look into re-adding the OpenGL startup diagnostics. The fact
>> that it started at least to this point should mean that the GLES support
>> is available, but maybe some init return values have to be checked?
>> Plugins which call OpenGL natively (Oculars, satellites,
>> telescopecontrol)
>> cannot be linked, this code should be changed into Qt drawing functions.
>>
>> So if we definitely go forward into Qt5 and leave Qt4, I don't oppose a
>> merge.
>>
>> Kind regards,
>> Georg
>>
>> On Sa, 21.09.2013, 10:02, Fabien Chéreau wrote:
>>> Hi guys,
>>> it seems that most of the issues of the simplegles-qml branch are now
>>> fixed. What about doing the real merge to trunk? We can then continue
>>> working on it directly from trunk.
>>> Fabien
>>>
>
>
>
> ------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
> SharePoint
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
> includes
> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
> http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
> _______________________________________________
> Stellarium-pubdevel mailing list
> Stellarium-pubdevel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel
>


-- 
Dipl.-Ing. Dr Georg Zotti
Ludwig Boltzmann Institute for
  Archaeological Prospection and Virtual Archaeology (LBI ArchPro)
Hohe Warte 38
A-1190 Wien
2013-09-22T11:48:39
Windows 7
Compiled using MinGW GCC 4.7.2
Qt runtime version: 5.0.2
Qt compilation version: 5.0.2
Addressing mode: 32-bit
Total memory: 2038 MB (unreliable)
Total virtual memory: 2047 MB (unreliable)
Physical memory in use: 53%
Processor speed: 1662 MHz
Processor name: Intel(R) Atom(TM) CPU N450   @ 1.66GHz
Processor speed: 1662 MHz
Processor name: Intel(R) Atom(TM) CPU N450   @ 1.66GHz
C:\Qt\Stel_BZR\simplegles-qml\builds\qt5\src\stellarium.exe 
 ------------------------------------------------------- 
[ This is Stellarium 0.13.0 - http://www.stellarium.org ] 
[ Copyright (C) 2000-2013 Fabien Chereau et al          ] 
 ------------------------------------------------------- 
Writing log file to: "C:\Users\gzotti\AppData\Roaming\Stellarium\log.txt" 
File search paths: 
  0 .  "C:\Users\gzotti\AppData\Roaming\Stellarium" 
  1 .  "." 
Attempting to use an existing older config file. 
Config file is:  "C:\Users\gzotti\AppData\Roaming\Stellarium\config.ini" 
OpenGLVersionflags:  QFlags(0x800) 
Cache directory is:  
"C:\Users\gzotti\AppData\Local\stellarium\stellarium\cache" 
Sky language is  "de" 
Application language is  "de" 
Loading Solar System data ... 
Loading star data ... 
"Loading ".\stars\default\stars_0_0v0_3.cat": 0_0v0_2; 4963" 
"Loading ".\stars\default\stars_1_0v0_3.cat": 1_0v0_2; 21598" 
"Loading ".\stars\default\stars_2_0v0_3.cat": 2_0v0_2; 150090" 
"Loading ".\stars\default\stars_3_1v0_2.cat": 3_1v0_1; 423540" 
Finished loading star catalogue data, max_geodesic_level:  3 
navigation/preset_sky_time is a double - treating as jday: 2.45151e+06 
Loaded 10051 NGC records 
Loading NGC name data ... 
Loaded 412 / 412 NGC name records successfully 
Use vertex shader for atmosphere rendering. 
Loading star names from ".\skycultures\western\star_names.fab" 
Loaded 236 / 236 common star names 
Loading star names from ".\stars\default\name.fab" 
Loaded 4358 / 4358 scientific star names 
Loading variable stars from ".\stars\default\gcvs_hip_part.dat" 
Loaded 6886 / 6886 variable stars 
Loaded 88 / 88 constellation records successfully for culture "western" 
Loaded 85 / 85 constellation art records successfully for culture "western" 
Loaded 89 / 89 constellation names 
Loading constellation boundary data ...  
Loaded 782 constellation boundary segments 
QOpenGLShader::link: "(37,11): warning X3206: implicit truncation of vector type

" 
StelPainter: Warnings while linking texturesShaderProgram:  "(37,11): warning 
X3206: implicit truncation of vector type

" 
QOpenGLShader::link: "(39,11): warning X3206: implicit truncation of vector type

" 
StelPainter: Warnings while linking texturesColorShaderProgram:  "(39,11): 
warning X3206: implicit truncation of vector type

" 
Creating GUI ... 
Loading shortcuts... 
Can't find plugin with id "AngleMeasure" 
Can't find plugin with id "CompassMarks" 
Can't find plugin with id "Exoplanets" 
Can't find plugin with id "Observability" 
Can't find plugin with id "Oculars" 
Can't find plugin with id "Pulsars" 
Can't find plugin with id "Quasars" 
Can't find plugin with id "RendererStatistics" 
Can't find plugin with id "Satellites" 
Can't find plugin with id "Supernovae" 
Can't find plugin with id "TelescopeControl" 
Can't find plugin with id "AngleMeasure" 
Can't find plugin with id "CompassMarks" 
Can't find plugin with id "Exoplanets" 
Can't find plugin with id "Observability" 
Can't find plugin with id "Oculars" 
Can't find plugin with id "Pulsars" 
Can't find plugin with id "Quasars" 
Can't find plugin with id "Satellites" 
Can't find plugin with id "Supernovae" 
Can't find plugin with id "TelescopeControl" 
setGeometry: Unable to set geometry 0x0+511+299 on 'MainviewWindow'. Resulting 
geometry:  104x0+511+299 (frame: 4, 23, 4, 4).
QGLShader::link: "(45,20): warning X3206: implicit truncation of vector type

" 
Invalid openGL operation. It is likely that you used openGL calls without 
having a valid instance of StelPainter
QWidget::repaint: Recursive repaint detected
QPainter::begin: A paint device can only be painted by one painter at a time.
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::worldTransform: Painter not active
QPainter::setWorldTransform: Painter not active
QPainter::setOpacity: Painter not active
QPainter::setWorldTransform: Painter not active
QPainter::setOpacity: Painter not active
QPainter::beginNativePainting: Painter not active
ASSERT: "drawState == 0" in file 
C:\Qt\Stel_BZR\simplegles-qml\src\core\StelApp.cpp, line 539
2013-09-22T12:27:22
Windows 7
Compiled using MinGW GCC 4.7.2
Qt runtime version: 5.0.2
Qt compilation version: 5.0.2
Addressing mode: 32-bit
Total memory: 2038 MB (unreliable)
Total virtual memory: 2047 MB (unreliable)
Physical memory in use: 55%
Processor speed: 1662 MHz
Processor name: Intel(R) Atom(TM) CPU N450   @ 1.66GHz
Processor speed: 1662 MHz
Processor name: Intel(R) Atom(TM) CPU N450   @ 1.66GHz
C:\Qt\Stel_BZR\simplegles-qml\builds\qt5\src\stellarium.exe 
 ------------------------------------------------------- 
[ This is Stellarium 0.13.0 - http://www.stellarium.org ] 
[ Copyright (C) 2000-2013 Fabien Chereau et al          ] 
 ------------------------------------------------------- 
Writing log file to: "C:\Users\gzotti\AppData\Roaming\Stellarium\log.txt" 
File search paths: 
  0 .  "C:\Users\gzotti\AppData\Roaming\Stellarium" 
  1 .  "." 
Attempting to use an existing older config file. 
Config file is:  "C:\Users\gzotti\AppData\Roaming\Stellarium\config.ini" 
OpenGLVersionflags:  QFlags(0x800) 
Cache directory is:  
"C:\Users\gzotti\AppData\Local\stellarium\stellarium\cache" 
Sky language is  "de" 
Application language is  "de" 
Loading Solar System data ... 
Loading star data ... 
"Loading ".\stars\default\stars_0_0v0_3.cat": 0_0v0_2; 4963" 
"Loading ".\stars\default\stars_1_0v0_3.cat": 1_0v0_2; 21598" 
"Loading ".\stars\default\stars_2_0v0_3.cat": 2_0v0_2; 150090" 
"Loading ".\stars\default\stars_3_1v0_2.cat": 3_1v0_1; 423540" 
Finished loading star catalogue data, max_geodesic_level:  3 
navigation/preset_sky_time is a double - treating as jday: 2.45151e+06 
Loaded 10051 NGC records 
Loading NGC name data ... 
Loaded 412 / 412 NGC name records successfully 
Use vertex shader for atmosphere rendering. 
Loading star names from ".\skycultures\western\star_names.fab" 
Loaded 236 / 236 common star names 
Loading star names from ".\stars\default\name.fab" 
Loaded 4358 / 4358 scientific star names 
Loading variable stars from ".\stars\default\gcvs_hip_part.dat" 
Loaded 6886 / 6886 variable stars 
Loaded 88 / 88 constellation records successfully for culture "western" 
Loaded 85 / 85 constellation art records successfully for culture "western" 
Loaded 89 / 89 constellation names 
Loading constellation boundary data ...  
Loaded 782 constellation boundary segments 
QOpenGLShader::link: "(37,11): warning X3206: implicit truncation of vector type

" 
StelPainter: Warnings while linking texturesShaderProgram:  "(37,11): warning 
X3206: implicit truncation of vector type

" 
QOpenGLShader::link: "(39,11): warning X3206: implicit truncation of vector type

" 
StelPainter: Warnings while linking texturesColorShaderProgram:  "(39,11): 
warning X3206: implicit truncation of vector type

" 
Creating GUI ... 
Loading shortcuts... 
Can't find plugin with id "AngleMeasure" 
Can't find plugin with id "CompassMarks" 
Can't find plugin with id "Exoplanets" 
Can't find plugin with id "Observability" 
Can't find plugin with id "Oculars" 
Can't find plugin with id "Pulsars" 
Can't find plugin with id "Quasars" 
Can't find plugin with id "RendererStatistics" 
Can't find plugin with id "Satellites" 
Can't find plugin with id "Supernovae" 
Can't find plugin with id "TelescopeControl" 
Can't find plugin with id "AngleMeasure" 
Can't find plugin with id "CompassMarks" 
Can't find plugin with id "Exoplanets" 
Can't find plugin with id "Observability" 
Can't find plugin with id "Oculars" 
Can't find plugin with id "Pulsars" 
Can't find plugin with id "Quasars" 
Can't find plugin with id "Satellites" 
Can't find plugin with id "Supernovae" 
Can't find plugin with id "TelescopeControl" 
Downloaded 0 files (0 kbytes) in a session of 111.108 sec (average of 0 kB/s + 
0 files from cache (0 kB)). 
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
_______________________________________________
Stellarium-pubdevel mailing list
Stellarium-pubdevel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel

Reply via email to