Game Development Community

Radeon 9200 series : TGEA compatible

by golgauth · in Hardware Issues · 02/01/2009 (9:56 am) · 3 replies

Hello,

I'm trying to run (after compiling in debug mode) the default project generated with TGEA 1.8 SDK.

At runtime, I get this :
"GFont::addBitmap - cannot added characters to non-greyscale textures!"

Is my card too old (with directx 9c) ? Is there anything I could do to get TGEA working ? Is this an hardware issue ? ...

Well, thanks for helping.

Gauthier

About the author

Recent Threads


#1
02/01/2009 (10:03 am)
Did it run fine before you compiled it? Just a thought:)
#2
02/01/2009 (10:55 am)
Hello

Thanks for your fast reply.

I just tryied running a new project (without a compilation) and I get the same issue : the gui runs well but without the fonts, and crash when I press the Play Game button.

I tryied to run the ForgeDemo and it runs, but not fonts again even it doesn't crash...
And it's very slow... May be my card is too old for this, may be there is some parameters to change to get this work better. (I tryied using OpenGL in the prefs.cs but it crashes directly).

Any other idea ?

Thanks for your time

Gauthier
#3
02/01/2009 (11:03 am)
And I've been in theengine\source\gfx\gFont.cpp file and seen this :

AssertFatal(bmp->getFormat() == GFXFormatA8, "GFont::addBitmap - cannot added characters to non-greyscale textures!");

GFXFormatA8 corresponds to this :

enum GFXFormat
{
// when adding formats make sure to place
// them in the correct group!
//
// if displacing the first entry in the group
// make sure to update the GFXFormat_xBIT entries!
//
GFXFormat_FIRST = 0,

// 8 bit texture formats...
GFXFormatA8 = 0,// first in group...
GFXFormatL8,

// 16 bit texture formats...
GFXFormatR5G6B5,// first in group...
GFXFormatR5G5B5A1,
GFXFormatR5G5B5X1,
GFXFormatL16,
GFXFormatR16F,
GFXFormatD16,

// 24 bit texture formats...
GFXFormatR8G8B8,// first in group...

// 32 bit texture formats...
GFXFormatR8G8B8A8,// first in group...
GFXFormatR8G8B8X8,
GFXFormatR8G8B8X8_LE,
GFXFormatR16G16,
GFXFormatR16G16F,
GFXFormatR10G10B10A2,
GFXFormatD32,
GFXFormatD24X8,
GFXFormatD24S8,

// 64 bit texture formats...
GFXFormatR16G16B16A16,// first in group...
GFXFormatR16G16B16A16F,

// 128 bit texture formats...
GFXFormatR32G32B32A32F,// first in group...

// unknown size...
GFXFormatDXT1,// first in group...
GFXFormatDXT2,
GFXFormatDXT3,
GFXFormatDXT4,
GFXFormatDXT5,

GFXFormat_COUNT,

GFXFormat_8BIT = GFXFormatA8,
GFXFormat_16BIT = GFXFormatR5G6B5,
GFXFormat_24BIT = GFXFormatR8G8B8,
GFXFormat_32BIT = GFXFormatR8G8B8A8,
GFXFormat_64BIT = GFXFormatR16G16B16A16,
GFXFormat_128BIT = GFXFormatR32G32B32A32F,
GFXFormat_UNKNOWNSIZE = GFXFormatDXT1,
};

Something seems to go wrong with 8bits textures...