glCompressedTexImage2D and NPOT textures

Hello,
I´m trying to upload a precompressed mipmap chain (loaded from a .dds file) using glCompressedTexImage2D(). Unfortunately I´m getting a GL_INVALID_OPERATION already at mipmap level 0. The card (GF7900) supports NPOT textures, so I supposed it should “just work”.

Am I doing something wrong or is the hardware not supporting NPOT-DXTn-compressed textures?

I imagine the NPOT textures still have to be multiples of 4 for DXT compression to work at all.

Originally posted by sqrt[-1]:
I imagine the NPOT textures still have to be multiples of 4 for DXT compression to work at all.
As far as I know, there have never been any size requirements by the format itself. I mean, 2x2 and 1x1 textures are possible, and these dimensions are not multiples of four. The compression works in blocks of 4x4, but that doesn’t mean the image itself must be a multiple of 4.

edit: Well, check out issue 10 .