karatemarkel
|
 |
«
Posted
2004-03-02 18:15:03 » |
|
Heloo  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 : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
| 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 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  btw, I ran alien flux with no problems at all.
|
|
|
|
|
karatemarkel
|
 |
«
Reply #1 - Posted
2004-03-03 11:48:41 » |
|
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  If anyone could point me in the right direction that would be a great help, Thanks.
|
|
|
|
|
princec
|
 |
«
Reply #2 - Posted
2004-03-03 12:44:42 » |
|
This is the latest 0.8 release is it, or a CVS build? Cas 
|
|
|
|
Games published by our own members! Check 'em out!
|
|
karatemarkel
|
 |
«
Reply #3 - Posted
2004-03-03 13:47:55 » |
|
It's the latest 0.8 release.
|
|
|
|
|
princec
|
 |
«
Reply #4 - Posted
2004-03-03 14:06:26 » |
|
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 
|
|
|
|
zparticle
|
 |
«
Reply #5 - Posted
2004-03-03 15:22:35 » |
|
keeps web crawlers from finding your email address and spamming you.
|
|
|
|
Java Cool Dude
|
 |
«
Reply #6 - Posted
2004-03-03 15:49:23 » |
|
I hope I didn't leave it there long enough to have the stuffing spammed outta me 
|
|
|
|
|
karatemarkel
|
 |
«
Reply #7 - Posted
2004-03-03 16:23:48 » |
|
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  I'm not able to get the CVS builds, don't want to complicate things further  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 
|
|
|
|
|
princec
|
 |
«
Reply #8 - Posted
2004-03-04 08:49:38 » |
|
LOL.. my email address is on every bloody page in JGO anyway... I'll send it to you in a little bit. Cas 
|
|
|
|
karatemarkel
|
 |
«
Reply #9 - Posted
2004-03-04 12:58:20 » |
|
Thanks Cas, I'll let you know the results as soon as it arrives. Cheers 
|
|
|
|
|
Games published by our own members! Check 'em out!
|
|
Java Cool Dude
|
 |
«
Reply #10 - Posted
2004-03-04 13:34:18 » |
|
Where can I get the latest LWJGL build that supports pBuffers and renderToTexture?
|
|
|
|
|
princec
|
 |
«
Reply #11 - Posted
2004-03-04 13:53:19 » |
|
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 
|
|
|
|
Java Cool Dude
|
 |
«
Reply #12 - Posted
2004-03-04 13:57:26 » |
|
w00t . Really I wanna have a taste of GLSL and other goodies that come with LWJGL 
|
|
|
|
|
Matzon
|
 |
«
Reply #13 - Posted
2004-03-04 14:32:45 » |
|
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 :-/
|
|
|
|
Java Cool Dude
|
 |
«
Reply #14 - Posted
2004-03-04 14:48:07 » |
|
Can I have a copy sent to my email please  Look into my profile though 
|
|
|
|
|
karatemarkel
|
 |
«
Reply #15 - Posted
2004-03-04 14:58:21 » |
|
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  But saying that, I'll happily test out the new unofficial release, if only out of curiosity to see what the PbufferTest does 
|
|
|
|
|
karatemarkel
|
 |
«
Reply #16 - Posted
2004-03-04 18:57:30 » |
|
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 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| 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?
|
|
|
|
|
Java Cool Dude
|
 |
«
Reply #17 - Posted
2004-03-04 19:35:37 » |
|
Can you send me the binaries at abezrati at hotmail dot com?
|
|
|
|
|
|
|
Matzon
|
 |
«
Reply #19 - Posted
2004-03-04 20:56:19 » |
|
I have not been able to verify the build against linux, and mac support is not included
|
|
|
|
Java Cool Dude
|
 |
«
Reply #20 - Posted
2004-03-04 21:02:32 » |
|
Exception in thread "main" java.lang.NoSuchMethodError: org.lwjgl.opengl.Window. create(Ljava/lang/String;IIII)V at org.lwjgl.test.opengl.VBOTest.<clinit>(Unknown Source)
|
|
|
|
|
Matzon
|
 |
«
Reply #21 - Posted
2004-03-04 21:30:28 » |
|
rogue dll somewhere... run it as specified in tests.txt
|
|
|
|
Java Cool Dude
|
 |
«
Reply #22 - Posted
2004-03-04 21:51:16 » |
|
Well the thing is it runs as specified in the test, compiles just fine on my machine, and yet throws that exception when I try to run it as I used to do with 0.8 and previous versions... Any hint?
|
|
|
|
|
Java Cool Dude
|
 |
«
Reply #23 - Posted
2004-03-04 21:54:23 » |
|
nvm it works Lemmie put a demo together 
|
|
|
|
|
|
|
maxcaleb
Senior Newbie 
Say car Ramrod!!
|
 |
«
Reply #25 - Posted
2004-03-05 02:18:42 » |
|
Bug in Mouse.java, the absolute y value is clamped to the width of the window instead of the height.
|
|
|
|
|
Matzon
|
 |
«
Reply #26 - Posted
2004-03-05 04:31:48 » |
|
Bug in Mouse.java, the absolute y value is clamped to the width of the window instead of the height. doh! - fixed in cvs, thanks for reporting!
|
|
|
|
Matzon
|
 |
«
Reply #27 - Posted
2004-03-05 04:32:45 » |
|
nvm it works So, what was wrong? (if others are in the same situation...)
|
|
|
|
karatemarkel
|
 |
«
Reply #28 - Posted
2004-03-05 12:27:40 » |
|
Just tried the sourceforge download version, and I'm still unable to run the PbufferTest. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
| 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=0x695 EDC42 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>(Pbuffer.java:190) at org.lwjgl.test.opengl.PbufferTest.initPbuffer(PbufferTest.java:236) at org.lwjgl.test.opengl.PbufferTest.initialize(PbufferTest.java:110) at org.lwjgl.test.opengl.PbufferTest.execute(PbufferTest.java:85) at org.lwjgl.test.opengl.PbufferTest.main(PbufferTest.java:412)
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 - 0x02CC0000 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 0x02D70000 - 0x02D84000 C:\freeserve\freeserveconnectionkit\Freehook.dll
0x69500000 - 0x69816000 C:\WINDOWS\System32\nvoglnt.dll 0x688F0000 - 0x688F9000 C:\WINDOWS\System32\HID.DLL 0x76670000 - 0x76757000 C:\WINDOWS\System32\SETUPAPI.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 451K [0x10010000, 0x100b0000, 0x104f0000)
eden space 512K, 88% used [0x10010000, 0x10080e98, 0x10090000) from space 64K, 0% used [0x10090000, 0x10090000, 0x100a0000) to space 64K, 0% used [0x100a0000, 0x100a0000, 0x100b0000) tenured generation total 1408K, used 0K [0x104f0000, 0x10650000, 0x14010000) the space 1408K, 0% used [0x104f0000, 0x104f0000, 0x104f0200, 0x10650000) compacting perm gen total 4096K, used 1373K [0x14010000, 0x14410000, 0x1801000 0) the space 4096K, 33% used [0x14010000, 0x14167610, 0x14167800, 0x14410000)
Local Time = Fri Mar 05 14:24:21 2004 Elapsed Time = 0 # # 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) # # An error report file has been saved as hs_err_pid1916.log. # Please refer to the file for further information. # |
|
|
|
|
|
princec
|
 |
«
Reply #29 - Posted
2004-03-05 13:25:49 » |
|
What version of Nvidia's drivers are you using? (Tip: there are Sys functions to get this for you) 1
| 0x02D70000 - 0x02D84000 C:\freeserve\freeserveconnectionkit\Freehook.dll |
Muahhahahahaa! I bet your computer is screwed in all sorts of amusing ways  Cas 
|
|
|
|
|