Page 1 of 1

CEGUISampleFramework-0.8.exe crashes w/ SpaceBackground.jpg

Posted: Fri Aug 16, 2013 21:07
by georger
Hi,
I just compiled CEGUI 0.8.2 and got the following error when I tried to run CEGUISampleFramework-0.8.exe:

Code: Select all

C:\MinGW\libs\cegui-0.8.2\bin>CEGUISampleFramework-0.8.exe
CEGUI::RendererException in function 'void CEGUI::OpenGLTexture::setTextureSize_impl(const Sizef&)' (C:\MinGW\libs\cegui-0.8.2-src-Release\cegui\src\RendererModules\OpenGL\Texture.cpp:305) : size too big


My CEGUI.log is at the end of this message.

I looked at the datafiles\imagesets\SpaceBackground.jpg file and it's large, 4268 x 2400 pixels. I then tried resizing it to just 50% of its original size, 2134 x 1200, and ran CEGUISampleFramework-0.8.exe. And it worked.

This was on a Windows Vista x64 SP2 machine. My old laptop running Windows XP 32-bit SP2 gets a blue screen and a reboot when I try to run the same program, but I think it has more to do with buggy video drivers than with anything else, because the 0.7.9 samples run just fine on it.

Here's the relevant excerpt of CEGUI.log BEFORE I resized datafiles\imagesets\SpaceBackground.jpg:

Code: Select all

16/08/2013 17:56:52 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
16/08/2013 17:56:52 (Std)    +                     Crazy Eddie's GUI System - Event log                    +
16/08/2013 17:56:52 (Std)    +                          (http://www.cegui.org.uk/)                         +
16/08/2013 17:56:52 (Std)    +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

16/08/2013 17:56:52 (Std)    CEGUI::Logger singleton created. (0210E320)
16/08/2013 17:56:52 (Std)    
16/08/2013 17:56:52 (Std)    ********************************************************************************
16/08/2013 17:56:52 (Std)    * Important:                                                                   *
16/08/2013 17:56:52 (Std)    *     To get support at the CEGUI forums, you must post _at least_ the section *
16/08/2013 17:56:52 (Std)    *     of this log file indicated below.  Failure to do this will result in no  *
16/08/2013 17:56:52 (Std)    *     support being given; please do not waste our time.                       *
16/08/2013 17:56:52 (Std)    ********************************************************************************
16/08/2013 17:56:52 (Std)    ********************************************************************************
16/08/2013 17:56:52 (Std)    * -------- START OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM       -------- *
16/08/2013 17:56:52 (Std)    ********************************************************************************
16/08/2013 17:56:52 (Std)    ---- Version: 0.8.2 (Build: Aug 16 2013 Microsoft Windows g++ 4.6.2 32 bit) ----
16/08/2013 17:56:52 (Std)    ---- Renderer module is: CEGUI::OpenGLRenderer - Official OpenGL based 2nd generation renderer module.  TextureTarget support enabled via FBO extension. ----
16/08/2013 17:56:52 (Std)    ---- XML Parser module is: CEGUI::ExpatParser - Official expat based parser module for CEGUI ----
16/08/2013 17:56:52 (Std)    ---- Image Codec module is: SILLYImageCodec - Official SILLY based image codec ----
16/08/2013 17:56:52 (Std)    ---- Scripting module is: None ----
16/08/2013 17:56:52 (Std)    ********************************************************************************
16/08/2013 17:56:52 (Std)    * -------- END OF ESSENTIAL SECTION TO BE POSTED ON THE FORUM         -------- *
16/08/2013 17:56:52 (Std)    ********************************************************************************

...

16/08/2013 17:56:53 (Std)    Creating falagard mapping for type 'OgreTray/BG' using base type 'DefaultWindow', window renderer 'Core/Default' Look'N'Feel 'OgreTray/BGTest' and RenderEffect ''. (0027B388)
16/08/2013 17:56:53 (Std)    ---- Returning existing instance of Font named 'DejaVuSans-12'.
16/08/2013 17:56:53 (Error)   CEGUI::RendererException in function 'void CEGUI::OpenGLTexture::setTextureSize_impl(const Sizef&)' (C:\MinGW\libs\cegui-0.8.2-src-Release\cegui\src\RendererModules\OpenGL\Texture.cpp:305) : size too big
16/08/2013 17:56:55 (Std)    [ImageManager] Deleted image: cegui_logo
16/08/2013 17:56:55 (Std)    ---- Begining CEGUI System destruction ----
16/08/2013 17:56:55 (Std)    [OpenGLRenderer] Destroyed texture: _ogl_tt_tex_5

...

16/08/2013 17:56:55 (Std)    CEGUI::System singleton destroyed. (0210DE48)
16/08/2013 17:56:55 (Std)    ---- CEGUI System destruction completed ----
16/08/2013 17:56:55 (Std)    CEGUI::Logger singleton destroyed. (0210E320)


Regards,

Georger

Re: CEGUISampleFramework-0.8.exe crashes w/ SpaceBackground.

Posted: Wed Sep 04, 2013 14:33
by Ident
it says "size too big", which means your GPU does not support it. The size is not extremely large though, it should be supported by old GPUs as well, may I ask which one you have?

Re: CEGUISampleFramework-0.8.exe crashes w/ SpaceBackground.

Posted: Wed Sep 04, 2013 15:48
by georger
Ident wrote:it says "size too big", which means your GPU does not support it. The size is not extremely large though, it should be supported by old GPUs as well, may I ask which one you have?

GeForce 7950 GT with 512 MB of RAM.

Re: CEGUISampleFramework-0.8.exe crashes w/ SpaceBackground.

Posted: Wed Sep 04, 2013 16:37
by Ident
the maximum for that is 4096x4096

i downsized the image a bit so it will stay below that size, the change was applied to all branches in the repo