Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (498)
Games in Android Showcase (117)
games submitted by our members
Games in WIP (564)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1] 2
  ignore  |  Print  
  Problems running PbufferTest  (Read 4121 times)
0 Members and 1 Guest are viewing this topic.
Offline karatemarkel

Junior Member





« Posted 2004-03-02 17:15:03 »

Heloo Smiley

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 Smiley

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 Smiley

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

Junior Member





« Reply #1 - Posted 2004-03-03 10: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 Smiley

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


Offline princec

JGO Kernel


Medals: 380
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #2 - Posted 2004-03-03 11:44:42 »

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

Cas Smiley

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline karatemarkel

Junior Member





« Reply #3 - Posted 2004-03-03 12:47:55 »

It's the latest 0.8 release.
Offline princec

JGO Kernel


Medals: 380
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #4 - Posted 2004-03-03 13: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 Smiley

Offline zparticle

Senior Member




Thick As A Brick


« Reply #5 - Posted 2004-03-03 14:22:35 »

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

Offline Java Cool Dude

Senior Member




Java forever


« Reply #6 - Posted 2004-03-03 14:49:23 »

I hope I didn't leave it there long enough to have the stuffing spammed outta me Huh
Offline karatemarkel

Junior Member





« Reply #7 - Posted 2004-03-03 15:23:48 »

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 Smiley


I'm not able to get the CVS builds, don't want to complicate things further Smiley

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 Smiley

Offline princec

JGO Kernel


Medals: 380
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #8 - Posted 2004-03-04 07: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 Smiley

Offline karatemarkel

Junior Member





« Reply #9 - Posted 2004-03-04 11:58:20 »

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

Cheers Smiley
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Java Cool Dude

Senior Member




Java forever


« Reply #10 - Posted 2004-03-04 12:34:18 »

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

JGO Kernel


Medals: 380
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #11 - Posted 2004-03-04 12: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 Smiley

Offline Java Cool Dude

Senior Member




Java forever


« Reply #12 - Posted 2004-03-04 12:57:26 »

w00t .
Really I wanna have a taste of GLSL and other goodies that come with LWJGL Grin
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #13 - Posted 2004-03-04 13: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  :-/

Offline Java Cool Dude

Senior Member




Java forever


« Reply #14 - Posted 2004-03-04 13:48:07 »

Can I have a copy sent to my email please Grin
Look into my profile though Smiley
Offline karatemarkel

Junior Member





« Reply #15 - Posted 2004-03-04 13: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 Smiley

But saying that, I'll happily test out the new unofficial release, if only out of curiosity to see what the PbufferTest does  Grin
Offline karatemarkel

Junior Member





« Reply #16 - Posted 2004-03-04 17: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?
Offline Java Cool Dude

Senior Member




Java forever


« Reply #17 - Posted 2004-03-04 18:35:37 »

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

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #18 - Posted 2004-03-04 19:55:32 »

Quote
preview of things to come in 0.9.
bugs included Wink
same content in files - just compressed differently


https://sourceforge.net/project/showfiles.php?group_id=58488&package_id=54362&release_id=221546

Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #19 - Posted 2004-03-04 19:56:19 »

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

Offline Java Cool Dude

Senior Member




Java forever


« Reply #20 - Posted 2004-03-04 20: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)
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #21 - Posted 2004-03-04 20:30:28 »

rogue dll somewhere... run it as specified in tests.txt

Offline Java Cool Dude

Senior Member




Java forever


« Reply #22 - Posted 2004-03-04 20: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?
Offline Java Cool Dude

Senior Member




Java forever


« Reply #23 - Posted 2004-03-04 20:54:23 »

nvm it works
Lemmie put a demo together Wink
Offline Mojomonkey

Senior Member




ooh ooh eee eeee


« Reply #24 - Posted 2004-03-05 00:42:47 »

We got a couple jME demos that uses LWJGL and PBuffer. Check:

http://www.mojomonkeycoding.com/jmedemo.html

they are the last two demos.

Don't send a man to do a monkey's work.
Offline maxcaleb

Senior Newbie




Say car Ramrod!!


« Reply #25 - Posted 2004-03-05 01:18:42 »

Bug in Mouse.java, the absolute y value is clamped to the width of the window instead of the height.
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #26 - Posted 2004-03-05 03:31:48 »

Quote
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!

Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #27 - Posted 2004-03-05 03:32:45 »

Quote
nvm it works

So, what was wrong? (if others are in the same situation...)

Offline karatemarkel

Junior Member





« Reply #28 - Posted 2004-03-05 11: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.
#
Offline princec

JGO Kernel


Medals: 380
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #29 - Posted 2004-03-05 12: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 Wink

Cas Smiley

Pages: [1] 2
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Grunnt (20 views)
2014-09-23 14:38:19

radar3301 (14 views)
2014-09-21 23:33:17

BurntPizza (31 views)
2014-09-21 02:42:18

BurntPizza (22 views)
2014-09-21 01:30:30

moogie (20 views)
2014-09-21 00:26:15

UprightPath (29 views)
2014-09-20 20:14:06

BurntPizza (33 views)
2014-09-19 03:14:18

Dwinin (48 views)
2014-09-12 09:08:26

Norakomi (75 views)
2014-09-10 13:57:51

TehJavaDev (107 views)
2014-09-10 06:39:09
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!