Login  Register

Re: Texture Issue Again :(

Posted by Haroogan on Mar 13, 2011; 5:01pm
URL: https://forum.jogamp.org/Texture-Issue-Again-tp2646111p2673148.html

Exception in thread "AWT-EventQueue-0" javax.media.opengl.GLException: Thread[AWT-EventQueue-0,6,main] glGetError() returned the following error codes after a call to glTexImage2D(<int> 0xDE1, <int> 0x0, <int> 0x1908, <int> 0x1001, <int> 0x1001, <int> 0x0, <int> 0x1908, <int> 0x1401, <java.nio.Buffer>): GL_OUT_OF_MEMORY ( 1285 0x505)

Just was trying to glTexImage2D 2 4097x4097 textures. The first one was uploaded to GPU successfully, but the 2nd one throws above exception. This means I can never have 2 textures of that size on GPU. Moreover, somehow 8193x8193 - is loaded to GPU without any problems - but it's size is 2 times more than 2 textures of 4097x4097 are. This proves that I have enough memory (but I think we don't really need to prove it with Radeon HD 5870? :)).

Guys you really have to fix it, I can't work like that :)

Right now, I'm going to refresh drivers - shall see how it goes then...

Reinstalling drivers didn't help - this is JOGL...