Bug 104 - JOGL reports ARB not available
Summary: JOGL reports ARB not available
Status: VERIFIED WORKSFORME
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All windows
: P3 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2004-08-24 10:21 CEST by Sven Gothel
Modified: 2010-03-24 07:46 CET (History)
0 users

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2010-03-24 07:46:51 CET


---- Reported by bitdragon 2004-08-24 10:21:08 ----

BUG REPORT

JOGL version of August 4th, 2004, does report ARB extensions as unavailable even
if the system has them. Bug does not occur with July Version.

System Information

Processor
Model : 2x Intel(R) Xeon(TM) CPU 2.80GHz
Speed : 2.8GHz
Mainboard
Bus(es) : AGP PCI IMB USB i2c/SMBus
MP Support : 2 CPU(s)
MP APIC : Yes
System BIOS : Phoenix Technologies Ltd. V1.01
Mainboard : Tyan Computer Corporation S2668
Total Memory : 1023MB DDR-SDRAM
Chipset
Model : Tyan Computer E7505 Host Controller
Front Side Bus Speed : 4x 133MHz (532MHz data rate)
Total Memory : 1024MB DDR-SDRAM
Memory Bus Speed : 2x 133MHz (266MHz data rate)
Operating System(s)
Windows System : Microsoft Windows XP Professional Version 5.01.2600  SP1
Graphics Card 
Vendor: Sapphire ATI RADEON 9600 PRO
Memory: 128MB RAM
Driver: Cataylst 04.5 (6.14.10.6664)

BUG INFORMATION 

GL Canvas Creation

	GLCapabilities l_glcaps = new GLCapabilities();
	l_glcaps.setRedBits(8);
	l_glcaps.setGreenBits(8);
	l_glcaps.setBlueBits(8);
	l_glcaps.setAlphaBits(8);
	l_glcaps.setAccumAlphaBits(0);
	l_glcaps.setAccumBlueBits(0);
	l_glcaps.setAccumGreenBits(0);
	l_glcaps.setAccumRedBits(0);
	l_glcaps.setDepthBits(16);
	l_glcaps.setDoubleBuffered(true);
	l_glcaps.setHardwareAccelerated(true);
	l_glcaps.setOffscreenFloatingPointBuffers(false);
	l_glcaps.setOffscreenRenderToTexture(false);
	l_glcaps.setOffscreenRenderToTextureRectangle(false);
	l_glcaps.setStencilBits(0);
	l_glcaps.setStereo(false);
	glcanvas = GLDrawableFactory.getFactory().createGLCanvas(l_glcaps);

Code line: a_gl.glActiveTextureARB(GL.GL_TEXTURE0_ARB);

Exception in thread "Thread-3" net.java.games.jogl.GLException: Method
"glActiveTextureARB" not available
	at
net.java.games.jogl.impl.windows.WindowsGLImpl.glActiveTextureARB(WindowsGLImpl.java:94)
	at ascendancy.core.Engine.display(Engine.java:275)
	at ascendancy.core.Engine.display(Engine.java:455)
	at net.java.games.jogl.impl.GLDrawableHelper.display(GLDrawableHelper.java:74)
	at net.java.games.jogl.GLCanvas$DisplayAction.run(GLCanvas.java:221)
	at net.java.games.jogl.impl.GLContext.invokeGL(GLContext.java:290)
	at net.java.games.jogl.GLCanvas.displayImpl(GLCanvas.java:208)
	at net.java.games.jogl.GLCanvas.display(GLCanvas.java:75)
	at net.java.games.jogl.Animator$1.run(Animator.java:107)
	at java.lang.Thread.run(Thread.java:595)

And as requested: GL_VENDOR=Microsoft Corporation



---- Additional Comments From kbr 2004-08-24 15:05:16 ----

The fact that the GL_VENDOR is being reported as Microsoft Corporation indicates
that software rendering is being used. Instead of specifying all of the
components of the GLCapabilities, please try using the default settings and see
if that changes the behavior.




---- Additional Comments From kbr 2005-01-31 00:58:42 ----

This works for me. Please retest with the forthcoming 1.1 b08 and reopen this
issue or open a new one if problems persist.




--- Bug imported by sgothel@jausoft.com 2010-03-24 07:46 EDT  ---

This bug was previously known as _bug_ 104 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=104