CEGUISampleFramework-0.8.exe crashes w/ SpaceBackground.jpg

If you found a bug in our library or on our website, please report it in this section. In this forum you can also make concrete suggestions or feature requests.

Moderators: CEGUI MVP, CEGUI Team

User avatar
georger
Just popping in
Just popping in
Posts: 6
Joined: Thu Aug 15, 2013 13:23

CEGUISampleFramework-0.8.exe crashes w/ SpaceBackground.jpg

Postby georger » Fri Aug 16, 2013 21:07

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

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

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

Postby Ident » Wed Sep 04, 2013 14:33

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?
CrazyEddie: "I don't like GUIs"

User avatar
georger
Just popping in
Just popping in
Posts: 6
Joined: Thu Aug 15, 2013 13:23

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

Postby georger » Wed Sep 04, 2013 15:48

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.

User avatar
Ident
CEGUI Team
Posts: 1998
Joined: Sat Oct 31, 2009 13:57
Location: Austria

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

Postby Ident » Wed Sep 04, 2013 16:37

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
CrazyEddie: "I don't like GUIs"


Return to “Bug Reports, Suggestions, Feature Requests”

Who is online

Users browsing this forum: No registered users and 1 guest