Problems running PbufferTest

Heloo :slight_smile:

Bear with me on this as I’m new to lwjgl and I’ve never used opengl before.
I downloaded lwjgl and placed the jar and .dll’s in my jre/lib/ext folder (I’m not sure if the .dlls go here but it seems to work). I then tried to run the opengl test class’s from the test.jar, Game and FullScreenWindowedTest both ran fine, but when I tried to run the PbufferTest this happened :


C:\blah >java org.lwjgl.test.opengl.PbufferTest

Change between fullscreen and windowed mode, by pressing F and W respectively
Move quad using arrowkeys, and change rotation using +/-
Pbuffer support detected

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x695EDC42
Function=[Unknown.]
Library=C:\WINDOWS\System32\nvoglnt.dll

NOTE: We are unable to locate the function name symbol for the error
      just occurred. Please refer to release documentation for possible
      reason and solutions.


Current Java thread:
      at org.lwjgl.opengl.Pbuffer.nCreate(Native Method)
      at org.lwjgl.opengl.Pbuffer.<init>(Unknown Source)
      at org.lwjgl.test.opengl.PbufferTest.initPbuffer(Unknown Source)
      at org.lwjgl.test.opengl.PbufferTest.initialize(Unknown Source)
      at org.lwjgl.test.opengl.PbufferTest.execute(Unknown Source)
      at org.lwjgl.test.opengl.PbufferTest.main(Unknown Source)

Dynamic libraries:
0x00400000 - 0x00406000       C:\j2sdk1.4.2_01\bin\java.exe
0x77F50000 - 0x77FF7000       C:\WINDOWS\System32\ntdll.dll
0x77E60000 - 0x77F46000       C:\WINDOWS\system32\kernel32.dll
0x77DD0000 - 0x77E5D000       C:\WINDOWS\system32\ADVAPI32.dll
0x78000000 - 0x7807E000       C:\WINDOWS\system32\RPCRT4.dll
0x77C10000 - 0x77C63000       C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08136000       C:\j2sdk1.4.2_01\jre\bin\client\jvm.dll
0x77D40000 - 0x77DCC000       C:\WINDOWS\system32\USER32.dll
0x77C70000 - 0x77CB0000       C:\WINDOWS\system32\GDI32.dll
0x76B40000 - 0x76B6C000       C:\WINDOWS\System32\WINMM.dll
0x10000000 - 0x10007000       C:\j2sdk1.4.2_01\jre\bin\hpi.dll
0x00390000 - 0x0039E000       C:\j2sdk1.4.2_01\jre\bin\verify.dll
0x003A0000 - 0x003B8000       C:\j2sdk1.4.2_01\jre\bin\java.dll
0x003C0000 - 0x003CD000       C:\j2sdk1.4.2_01\jre\bin\zip.dll
0x02C60000 - 0x02CA4000       C:\j2sdk1.4.2_01\jre\lib\ext\lwjgl.dll
0x72280000 - 0x722A8000       C:\WINDOWS\System32\DINPUT.dll
0x5ED00000 - 0x5EDC6000       C:\WINDOWS\System32\OPENGL32.dll
0x68B20000 - 0x68B3E000       C:\WINDOWS\System32\GLU32.dll
0x51000000 - 0x51047000       C:\WINDOWS\System32\DDRAW.dll
0x73BC0000 - 0x73BC6000       C:\WINDOWS\System32\DCIMAN32.dll
0x77C00000 - 0x77C07000       C:\WINDOWS\system32\VERSION.dll
0x5AD70000 - 0x5ADA4000       C:\WINDOWS\System32\uxtheme.dll
0x74720000 - 0x74764000       C:\WINDOWS\System32\MSCTF.dll
0x02D60000 - 0x02D74000       C:\freeserve\freeserveconnectionkit\Freehook.dll
0x688F0000 - 0x688F9000       C:\WINDOWS\System32\HID.DLL
0x76670000 - 0x76757000       C:\WINDOWS\System32\SETUPAPI.DLL
0x69500000 - 0x69816000       C:\WINDOWS\System32\nvoglnt.dll
0x76C90000 - 0x76CB2000       C:\WINDOWS\system32\imagehlp.dll
0x6D510000 - 0x6D58D000       C:\WINDOWS\system32\DBGHELP.dll
0x76BF0000 - 0x76BFB000       C:\WINDOWS\System32\PSAPI.DLL

Heap at VM Abort:
Heap
 def new generation   total 576K, used 516K [0x10010000, 0x100b0000, 0x104f0000)
  eden space 512K,  88% used [0x10010000, 0x100811b0, 0x10090000)
  from space 64K, 100% used [0x100a0000, 0x100b0000, 0x100b0000)
  to   space 64K,   0% used [0x10090000, 0x10090000, 0x100a0000)
 tenured generation   total 1408K, used 82K [0x104f0000, 0x10650000, 0x14010000)
   the space 1408K,   5% used [0x104f0000, 0x10504b80, 0x10504c00, 0x10650000)
 compacting perm gen  total 4096K, used 1556K [0x14010000, 0x14410000, 0x18010000)
   the space 4096K,  37% used [0x14010000, 0x141951b0, 0x14195200, 0x14410000)

Local Time = Tue Mar 02 19:52:08 2004
Elapsed Time = 1
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_01-b06 mixed mode)
#

The Grass, VBOTest and VBOIndexTest also didn’t run but they just complained that my computer was crap and didn’t spit out errors :slight_smile:

I’m running winXP with a GeForce 4Ti 4400(dodgy unbranded card, that I think I’ll soon replace), hope this helps.

Right then off to download the redbook :slight_smile:

btw, I ran alien flux with no problems at all.

No one got any ideas why this problem arises then?

Sorry if it’s one of those really annoying questions that pops up every day or two but I looked through the threads before I posted and couldn’t find any similar problems reported.

I assume the Pbuffer test should work on my computer (the words ‘Pbuffer support detected’ sort of give it away:) ), maybe I assume too much :slight_smile:

If anyone could point me in the right direction that would be a great help,
Thanks.

This is the latest 0.8 release is it, or a CVS build?

Cas :slight_smile:

It’s the latest 0.8 release.

Hm. This might well be fixed already in CVS. Are you able to grab it from CVS and build? (I can send you the dll + jar from work if you’re quick replying - mail me on caspian dot prince at consiliumcpm dot com)

Cas :slight_smile:

keeps web crawlers from finding your email address and spamming you.

I hope I didn’t leave it there long enough to have the stuffing spammed outta me ???

[quote]Hm. This might well be fixed already in CVS. Are you able to grab it from CVS and build? (I can send you the dll + jar from work if you’re quick replying - mail me on caspian dot prince at consiliumcpm dot com)

Cas :slight_smile:
[/quote]
I’m not able to get the CVS builds, don’t want to complicate things further :slight_smile:

I take it it’s too late to mail you now, if you get some free time you could send it to my hot mail account karatemarc at hotmail dot com, or if you like I could mail you tomorrow around 1-2pm GMT, whichever is more convenient for you.

Cheers :slight_smile:

LOL… my email address is on every bloody page in JGO anyway…

I’ll send it to you in a little bit.

Cas :slight_smile:

Thanks Cas, I’ll let you know the results as soon as it arrives.

Cheers :slight_smile:

Where can I get the latest LWJGL build that supports pBuffers and renderToTexture?

Agh! Now everyone wants one. OK, I will talk to Matzon tonight and see if he will do a quickie 0.89 release tonight.

Cas :slight_smile:

w00t .
Really I wanna have a taste of GLSL and other goodies that come with LWJGL ;D

sure, but I am leaning towards an unofficial release, that won’t be published… I am not entirely sure what the state of oal/ogg vorbis is in right now, and I need to check that before 0.9, but I dont have time for this now :-/

Can I have a copy sent to my email please ;D
Look into my profile though :slight_smile:

Ahh, I wasn’t aware this problem was already known, and it’s not as if I’ll be using this feature anyway, as I said I’m a complete noob to opengl, but the red book is on its way and I’ve had more luck with lwjgl than I have with jogl so I think I’ll be using lwjgl to get my feet wet :slight_smile:

But saying that, I’ll happily test out the new unofficial release, if only out of curiosity to see what the PbufferTest does ;D

Ok, just got the new version cheers. I placed the .dll and jar file in the ext dir. Tried to run Pbuffer test first nothing much happened, and no error log was created, I then tried Game and pretty much the same thing happened, the below text is copied from the command line


C:\blah>java org.lwjgl.test.opengl.PbufferTest
Change between fullscreen and windowed mode, by pressing F and W respectively
Move quad using arrowkeys, and change rotation using +/-
Exception in thread "main" java.lang.NoSuchMethodError: org.lwjgl.opengl.Window.
create(Ljava/lang/String;IIIIIIII)V
        at org.lwjgl.test.opengl.PbufferTest.initialize(Unknown Source)
        at org.lwjgl.test.opengl.PbufferTest.execute(Unknown Source)
        at org.lwjgl.test.opengl.PbufferTest.main(Unknown Source)

C:\blah>java org.lwjgl.test.opengl.Game
Setting display mode to 640 x 480 x 16 @75Hz
Created display.
Exception in thread "main" java.lang.NoSuchMethodError: org.lwjgl.opengl.Window.
create(Ljava/lang/String;IIII)V
        at org.lwjgl.test.opengl.Game.<clinit>(Unknown Source)

Do I need the 1.5 beta to get this to work, as at the moment I’m using 1.4.2_01?

Can you send me the binaries at abezrati at hotmail dot com?

[quote]preview of things to come in 0.9.
bugs included :wink:
same content in files - just compressed differently
[/quote]
https://sourceforge.net/project/showfiles.php?group_id=58488&package_id=54362&release_id=221546

I have not been able to verify the build against linux, and mac support is not included