Hello Guest

Lwjgl/jvm error

  • 14 Replies
  • 21853 Views
Lwjgl/jvm error
« on: July 08, 2005, 04:59:59 »
Hi all,
I try jme platform game but I have the following Lwjgl error:
(My system: acer1353lm,mobile athlon 2400,512mb,via/sg3 UniChrome IGP with last driver installed)
tanks for any respnse
> An unexpected exception has been detected in native code outside  
> the VM.
> Unexpected Signal : EXCEPTION_PRIV_INSTRUCTION (0xc0000096)  
> occurred at PC=0x849C39
> Function=[Unknown.]
> Library=(N/A)
>
> 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.Win32ContextImplementation.nCreate(Native  
> Method)
>     at org.lwjgl.opengl.Win32ContextImplementation.create
> (Win32ContextImplementation.java:48)
>     at org.lwjgl.opengl.Context.(Context.java:123)
>     - locked  (a org.lwjgl.opengl.Context)
>     at org.lwjgl.opengl.Display.create(Display.java:630)
>     at org.lwjgl.opengl.Display.create(Display.java:607)
>     at org.lwjgl.opengl.Display.create(Display.java:591)
>     at org.lwjgl.examples.spaceinvaders.Game.initialize(Game.java:216)
>     at org.lwjgl.examples.spaceinvaders.Game.(Game.java:179)
>     at org.lwjgl.examples.spaceinvaders.Game.main(Game.java:580)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>     at java.lang.reflect.Method.invoke(Unknown Source)
>     at com.sun.javaws.Launcher.executeApplication(Unknown Source)
>     at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
>     at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
>     at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
>     at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
>     at com.sun.javaws.Launcher.run(Unknown Source)
>     at java.lang.Thread.run(Unknown Source)
>
> Dynamic libraries:
> 0x00400000 - 0x0040B000     C:\Programmi\Java\j2re1.4.2_08\bin
> \javaw.exe
> 0x7C910000 - 0x7C9C6000     C:\WINDOWS\system32\ntdll.dll
> 0x7C800000 - 0x7C8FF000     C:\WINDOWS\system32\kernel32.dll
> 0x77F40000 - 0x77FEB000     C:\WINDOWS\system32\ADVAPI32.dll
> 0x77DA0000 - 0x77E31000     C:\WINDOWS\system32\RPCRT4.dll
> 0x77D10000 - 0x77DA0000     C:\WINDOWS\system32\USER32.dll
> 0x77E40000 - 0x77E86000     C:\WINDOWS\system32\GDI32.dll
> 0x77BE0000 - 0x77C38000     C:\WINDOWS\system32\MSVCRT.dll
> 0x62E40000 - 0x62E49000     C:\WINDOWS\system32\LPK.DLL
> 0x74D20000 - 0x74D8B000     C:\WINDOWS\system32\USP10.dll
> 0x08000000 - 0x08138000     C:\Programmi\Java\j2re1.4.2_08\bin
> \client\jvm.dll
> 0x76B00000 - 0x76B2E000     C:\WINDOWS\system32\WINMM.dll
> 0x10000000 - 0x10007000     C:\Programmi\Java\j2re1.4.2_08\bin\hpi.dll
> 0x00930000 - 0x0093E000     C:\Programmi\Java\j2re1.4.2_08\bin
> \verify.dll
> 0x00940000 - 0x00959000     C:\Programmi\Java\j2re1.4.2_08\bin
> \java.dll
> 0x00960000 - 0x0096E000     C:\Programmi\Java\j2re1.4.2_08\bin\zip.dll
> 0x02D50000 - 0x02E62000     C:\Programmi\Java\j2re1.4.2_08\bin\awt.dll
> 0x72F70000 - 0x72F96000     C:\WINDOWS\system32\WINSPOOL.DRV
> 0x76340000 - 0x7635D000     C:\WINDOWS\system32\IMM32.dll
> 0x774B0000 - 0x775ED000     C:\WINDOWS\system32\ole32.dll
> 0x5B180000 - 0x5B1B8000     C:\WINDOWS\system32\uxtheme.dll
> 0x02ED0000 - 0x02F21000     C:\Programmi\Java\j2re1.4.2_08\bin
> \fontmanager.dll
> 0x736D0000 - 0x73719000     C:\WINDOWS\system32\ddraw.dll
> 0x73B30000 - 0x73B36000     C:\WINDOWS\system32\DCIMAN32.dll
> 0x738B0000 - 0x73980000     C:\WINDOWS\system32\D3DIM700.DLL
> 0x746B0000 - 0x746FB000     C:\WINDOWS\system32\MSCTF.dll
> 0x63000000 - 0x63014000     C:\WINDOWS\system32\SynTPFcs.dll
> 0x77BD0000 - 0x77BD8000     C:\WINDOWS\system32\VERSION.dll
> 0x05630000 - 0x0563C000     C:\Programmi\Java\j2re1.4.2_08\javaws
> \javawspl.dll
> 0x7C9D0000 - 0x7D1EB000     C:\WINDOWS\system32\SHELL32.dll
> 0x77E90000 - 0x77F06000     C:\WINDOWS\system32\SHLWAPI.dll
> 0x770F0000 - 0x7717C000     C:\WINDOWS\system32\OLEAUT32.dll
> 0x773A0000 - 0x774A2000     C:\WINDOWS\WinSxS
> \x86_Microsoft.Windows.Common-
> Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
> 0x5D4D0000 - 0x5D567000     C:\WINDOWS\system32\comctl32.dll
> 0x05870000 - 0x0587F000     C:\Programmi\Java\j2re1.4.2_08\bin\net.dll
> 0x71A30000 - 0x71A47000     C:\WINDOWS\system32\WS2_32.dll
> 0x71A20000 - 0x71A28000     C:\WINDOWS\system32\WS2HELP.dll
> 0x719D0000 - 0x71A10000     C:\WINDOWS\System32\mswsock.dll
> 0x76EE0000 - 0x76F07000     C:\WINDOWS\system32\DNSAPI.dll
> 0x76F70000 - 0x76F78000     C:\WINDOWS\System32\winrnr.dll
> 0x76F20000 - 0x76F4D000     C:\WINDOWS\system32\WLDAP32.dll
> 0x76F80000 - 0x76F86000     C:\WINDOWS\system32\rasadhlp.dll
> 0x66750000 - 0x667A8000     C:\WINDOWS\system32\hnetcfg.dll
> 0x71A10000 - 0x71A18000     C:\WINDOWS\System32\wshtcpip.dll
> 0x05910000 - 0x0594F000     C:\Documents and Settings\toldi\Dati  
> applicazioni\Sun\Java\Deployment\javaws\cache\http\Dlwjgl.org\P80
> \DMjnlp\RNnative_win32.jar\lwjgl.dll
> 0x72210000 - 0x7223B000     C:\WINDOWS\system32\DINPUT.dll
> 0x5F140000 - 0x5F20C000     C:\WINDOWS\system32\OPENGL32.dll
> 0x5C8A0000 - 0x5C8C1000     C:\WINDOWS\system32\GLU32.dll
> 0x69000000 - 0x692BD000     C:\WINDOWS\system32\vticd.dll
> 0x76C50000 - 0x76C78000     C:\WINDOWS\system32\imagehlp.dll
> 0x59E60000 - 0x59F01000     C:\WINDOWS\system32\DBGHELP.dll
> 0x76BB0000 - 0x76BBB000     C:\WINDOWS\system32\PSAPI.DLL
>
> Heap at VM Abort:
> Heap
>  def new generation   total 576K, used 297K [0x10010000,  
> 0x100b0000, 0x104f0000)
>   eden space 512K,  58% used [0x10010000, 0x1005a410, 0x10090000)
>   from space 64K,   0% used [0x100a0000, 0x100a0000, 0x100b0000)
>   to   space 64K,   0% used [0x10090000, 0x10090000, 0x100a0000)
>  tenured generation   total 2048K, used 1226K [0x104f0000,  
> 0x106f0000, 0x14010000)
>    the space 2048K,  59% used [0x104f0000, 0x106229e0, 0x10622a00,  
> 0x106f0000)
>  compacting perm gen  total 6656K, used 6435K [0x14010000,  
> 0x14690000, 0x18010000)
>    the space 6656K,  96% used [0x14010000, 0x14658dd8, 0x14658e00,  
> 0x14690000)
>
> Local Time = Tue Jun 28 06:35:51 2005
> Elapsed Time = 2
> #
> # The exception above was detected in native code outside the VM
> #
> # Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)

*

Offline Matzon

  • *****
  • 2242
Lwjgl/jvm error
« Reply #1 on: July 08, 2005, 05:53:09 »
That looks like some crappy opengl drivers.
Does it run other OpenGL applications at all?
It shouldn't crash out like that however...

Lwjgl/jvm error
« Reply #2 on: July 08, 2005, 06:19:58 »
I run the Silicon Graphics OpenGl example without problem.

Lwjgl/jvm error
« Reply #3 on: July 08, 2005, 06:25:30 »
The same error on asus Piv 3.2Ghz  with graphics card sis m661mx.

*

Offline Matzon

  • *****
  • 2242
Lwjgl/jvm error
« Reply #4 on: July 08, 2005, 08:12:09 »
Quote from: "dapra"
I run the Silicon Graphics OpenGl example without problem.
Does it run fast? might be running in software mode.

Try this program:
http://www.realtech-vr.com/glview/

might tell you something regarding how well opengl is supported.

*

Offline Matzon

  • *****
  • 2242
Lwjgl/jvm error
« Reply #5 on: July 08, 2005, 08:15:03 »
Quote from: "dapra"
The same error on asus Piv 3.2Ghz  with graphics card sis m661mx.

via & sis are about as crappy as graphics cards come. Unfortunately they are often used as cheap alternatives for the real thing :(

whether this is fixable has to do with anyone having access to said cards, and can debug the error in native code...

Lwjgl/jvm error
« Reply #6 on: July 08, 2005, 08:31:25 »
This is the report .
Would should I do now?
Tanks

System Info
Windows XP Home Edition, Service Pack 2 (Build 2600)

Vendor
S3 Graphics
1.2

Renderer
VIA/S3G UniChrome IGP/MMX/SSE

Extensions
GL_ARB_multitexture
GL_ARB_point_parameters
GL_ARB_texture_env_add
GL_ARB_texture_env_combine
GL_ARB_texture_env_dot3
GL_ARB_texture_mirrored_repeat
GL_ARB_transpose_matrix
GL_ARB_window_pos
GL_EXT_abgr
GL_EXT_bgra
GL_EXT_blend_color
GL_EXT_blend_minmax
GL_EXT_blend_subtract
GL_EXT_compiled_vertex_array
GL_EXT_draw_range_elements
GL_EXT_fog_coord
GL_EXT_packed_pixels
GL_EXT_paletted_texture
GL_EXT_rescale_normal
GL_EXT_secondary_color
GL_EXT_separate_specular_color
GL_EXT_stencil_wrap
GL_EXT_texture_env_add
GL_EXT_texture_env_combine
GL_EXT_texture_env_dot3
GL_EXT_texture_lod_bias
GL_EXT_vertex_array
GL_WIN_swap_hint


Core features

v1.1 (100 % - 7/7)
v1.2 (100 % - 8/8)
v1.3 (55 % - 5/9)
v1.4 (46 % - 7/15)
v1.5 (0 % - 0/3)
v2.0 (0 % - 0/8)
\b No ICD registry entry\b0 \line The current OpenGL driver doesn't expose the SOFTWARE/Microsoft/Windows (NT)/CurrentVersion/OpenGLDrivers registry entry. Unable to detect the driver version, driver revision name and filename.
\i Compiled vertex array support\i0 \line This feature improves OpenGL performance by using video memory to cache transformed vertices.
\b No paletted texture support\b0 \line This may cause performance loss in some older applications.
\i Multitexture support\i0 \line This feature accelerates complex rendering such as lightmaps or environment mapping.
\i Secondary color support\i0 \line This feature provides an alternate method of coloring specular highlights on polygons.
\b No S3TC compression support\b0 \line This may cause performance loss in some applications.
\b No texture edge clamp support\b0 \line This feature adds clamping control to edge texel filtering. Some programs may not render textures correctly (black line on borders.)
\b No vertex program support\b0 \line This feature enables vertex programming (equivalent to DX8 Vertex Shader.) Some current or future OpenGL programs may require this feature.
\b No fragment program support\b0 \line This feature enables per pixel programming (equivalent to DX9 Pixel Shader.) Some current or future OpenGL programs may require this feature.
\b Few texture units found\b0 \line This may slow down some applications using fragment programs or extensive texture mapping.
Extension verification:
\b GL_ARB_texture_compression \b0 not in list but has the entry point \b glCompressedTexImage1DARB \b0 \line\b GL_ARB_texture_compression \b0 not in list but has the entry point \b glCompressedTexImage2DARB \b0 \line\b GL_ARB_texture_compression \b0 not in list but has the entry point \b glCompressedTexImage3DARB \b0 \line\b GL_ARB_texture_compression \b0 not in list but has the entry point \b glCompressedTexSubImage1DARB \b0 \line\b GL_ARB_texture_compression \b0 not in list but has the entry point \b glCompressedTexSubImage2DARB \b0 \line\b GL_ARB_texture_compression \b0 not in list but has the entry point \b glCompressedTexSubImage3DARB \b0 \line\b GL_ARB_texture_compression \b0 not in list but has the entry point \b glGetCompressedTexImageARB \b0 \line\b GL_EXT_color_subtable \b0 not in list but has the entry point \b glColorSubTableEXT \b0 \line

Lwjgl/jvm error
« Reply #7 on: July 10, 2005, 12:32:32 »
I'm pretty sure this is a bug.  I get the same thing with LWJGL 0.97 and the S3 Twister K chipset, athough all the JOGL demos work fine.

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0035671c, pid=3780, tid=1584
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_01-b08 mixed mode)
# Problematic frame:
# C  0x0035671c
#

---------------  T H R E A D  ---------------

Current thread (0x003562b8):  JavaThread "main" [_thread_in_native, id=1584]

siginfo: ExceptionCode=0xc0000005, writing address 0xd70106ba

Registers:
EAX=0x100033f0, EBX=0x00010006, ECX=0x10009eb0, EDX=0x100293f8
ESP=0x0006f7c0, EBP=0x00000000, ESI=0x0006f80c, EDI=0xbbc95ed1
EIP=0x0035671c, EFLAGS=0x00210a03

Top of Stack: (sp=0x0006f7c0)
0x0006f7c0:   00000023 0d010880 00000000 100035bc
0x0006f7d0:   00356374 10023df4 0006f838 0d010880
0x0006f7e0:   00000000 00000000 1000852b 10008562
0x0006f7f0:   0006f80c 003562b8 0006f8ac 06d0b1e8
0x0006f800:   06d0b1e0 0aca0000 00a238b4 00adb189
0x0006f810:   00000000 06d0b1e8 6d7d2560 00356738
0x0006f820:   0000002c 00000000 00000000 6d77bd9e
0x0006f830:   00015339 00000000 0000000d 00356710

Instructions: (pc=0x0035671c)
0x0035670c:   18 3d a7 06 78 ae b3 06 58 d3 cf 06 78 ae b3 06
0x0035671c:   c0 a3 b4 06 00 d7 cf 06 e8 a8 ad 02 48 b2 a7 06


Stack: [0x00030000,0x00070000),  sp=0x0006f7c0,  free space=253k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  0x0035671c

[error occurred during error reporting, step 120, id 0xc0000005]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.lwjgl.opengl.Win32ContextImplementation.nCreate(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;+0
j  org.lwjgl.opengl.Win32ContextImplementation.create(Lorg/lwjgl/opengl/PeerInfo;Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;+7
j  org.lwjgl.opengl.Context.<init>(Lorg/lwjgl/opengl/PeerInfo;Lorg/lwjgl/opengl/Context;)V+65
j  org.lwjgl.opengl.Display.create(Lorg/lwjgl/opengl/PixelFormat;Lorg/lwjgl/opengl/Drawable;)V+58
j  org.lwjgl.opengl.Display.create(Lorg/lwjgl/opengl/PixelFormat;)V+2
j  org.jinx.device.RenderWindow.<init>(Lorg/jinx/device/VideoMode;ZZLorg/lwjgl/opengl/PixelFormat;)V+74
j  org.jinx.JinxEngine.createRenderWindow(Lorg/jinx/device/VideoMode;ZZLjava/lang/String;Lorg/lwjgl/opengl/PixelFormat;)Lorg/jinx/device/RenderWindow;+17
j  org.jinx.JinxEngine.createRenderWindow(Lorg/jinx/device/VideoMode;ZZLjava/lang/String;)Lorg/jinx/device/RenderWindow;+13
j  org.jinx.JinxEngine.createRenderWindow(Ljava/lang/String;)Lorg/jinx/device/RenderWindow;+53
j  test.ports.nehe.Lesson1.main([Ljava/lang/String;)V+5
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x00a31858 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3892]
  0x00a304d0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3884]
  0x00a2f800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3872]
  0x00a26b68 JavaThread "Finalizer" daemon [_thread_blocked, id=1148]
  0x00a256d8 JavaThread "Reference Handler" daemon [_thread_blocked, id=3856]
=>0x003562b8 JavaThread "main" [_thread_in_native, id=1584]

Other Threads:
  0x00a22d08 VMThread [id=3852]
  0x00a32a30 WatcherThread [id=3896]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 def new generation   total 576K, used 499K [0x02a70000, 0x02b10000, 0x02f50000)
  eden space 512K,  85% used [0x02a70000, 0x02adcd18, 0x02af0000)
  from space 64K, 100% used [0x02b00000, 0x02b10000, 0x02b10000)
  to   space 64K,   0% used [0x02af0000, 0x02af0000, 0x02b00000)
 tenured generation   total 1408K, used 103K [0x02f50000, 0x030b0000, 0x06a70000)
   the space 1408K,   7% used [0x02f50000, 0x02f69e30, 0x02f6a000, 0x030b0000)
 compacting perm gen  total 8192K, used 2671K [0x06a70000, 0x07270000, 0x0aa70000)
   the space 8192K,  32% used [0x06a70000, 0x06d0bd70, 0x06d0be00, 0x07270000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x0040c000    C:\Program Files\Java\jdk1.5.0_01\bin\javaw.exe
0x7c900000 - 0x7c9b0000    C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f4000    C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000    C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000    C:\WINDOWS\system32\RPCRT4.dll
0x77d40000 - 0x77dd0000    C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f56000    C:\WINDOWS\system32\GDI32.dll
0x77c10000 - 0x77c68000    C:\WINDOWS\system32\MSVCRT.dll
0x6d6b0000 - 0x6d835000    C:\Program Files\Java\jdk1.5.0_01\jre\bin\client\jvm.dll
0x76b40000 - 0x76b6d000    C:\WINDOWS\system32\WINMM.dll
0x6d2f0000 - 0x6d2f8000    C:\Program Files\Java\jdk1.5.0_01\jre\bin\hpi.dll
0x76bf0000 - 0x76bfb000    C:\WINDOWS\system32\PSAPI.DLL
0x6d680000 - 0x6d68c000    C:\Program Files\Java\jdk1.5.0_01\jre\bin\verify.dll
0x6d370000 - 0x6d38d000    C:\Program Files\Java\jdk1.5.0_01\jre\bin\java.dll
0x6d6a0000 - 0x6d6af000    C:\Program Files\Java\jdk1.5.0_01\jre\bin\zip.dll
0x10000000 - 0x1003f000    C:\Documents and Settings\Simon\workspace\Jinx Engine\lwjgl-win32-0.97\native\lwjgl.dll
0x72280000 - 0x722aa000    C:\WINDOWS\system32\DINPUT.dll
0x5ed00000 - 0x5edcc000    C:\WINDOWS\system32\OPENGL32.dll
0x68b20000 - 0x68b40000    C:\WINDOWS\system32\GLU32.dll
0x73760000 - 0x737a9000    C:\WINDOWS\system32\DDRAW.dll
0x73bc0000 - 0x73bc6000    C:\WINDOWS\system32\DCIMAN32.dll
0x77c00000 - 0x77c08000    C:\WINDOWS\system32\VERSION.dll
0x6d530000 - 0x6d543000    C:\Program Files\Java\jdk1.5.0_01\jre\bin\net.dll
0x71ab0000 - 0x71ac7000    C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000    C:\WINDOWS\system32\WS2HELP.dll
0x6d550000 - 0x6d559000    C:\Program Files\Java\jdk1.5.0_01\jre\bin\nio.dll
0x5ad70000 - 0x5ada8000    C:\WINDOWS\system32\uxtheme.dll
0x63000000 - 0x63014000    C:\WINDOWS\system32\SynTPFcs.dll
0x69500000 - 0x695e5000    C:\WINDOWS\system32\nbicdnt.dll

VM Arguments:
jvm_args: -ea -Dorg.lwjgl.util.Debug=true -Djava.library.path=lwjgl-win32-0.97/native
java_command: test.ports.nehe.Lesson1

Environment Variables:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\CA\SHARED~1\SCANEN~1;C:\PROGRA~1\CA\ETRUST~1;JAVA_HOME\bin;2.77288E+219ROOVY_HOME\bin
USERNAME=Simon
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 0, AuthenticAMD


---------------  S Y S T E M  ---------------

OS: Windows XP Build 2600 Service Pack 2

CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse

Memory: 4k page, physical 359920k(94848k free), swap 874712k(670360k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_01-b08) for windows-x86, built on Dec  6 2004 19:51:00 by "java_re" with MS VC++ 6.0

*

Offline elias

  • *****
  • 899
    • http://oddlabs.com
Lwjgl/jvm error
« Reply #8 on: July 10, 2005, 19:30:43 »
It seems like a bug, but since we can't get any further on it without having an S3 machine, we'd need someone with a crashing chipset to narrow down the crashing call in Win32ContextImplementation.nCreate(). Anybody up to it? You'll need to compile the native source from CVS with help from the thread in:

http://lwjgl.org/forum/viewtopic.php?t=555

Then you need to put in printfs or something else to narrow down the offending call.

 - elias

*

Offline elias

  • *****
  • 899
    • http://oddlabs.com
Lwjgl/jvm error
« Reply #9 on: July 10, 2005, 19:40:36 »
And don't be afraid to ask here to get further help in debugging the cause for it. I can take a closer look as soon as I know which call is going wrong.

 - elias

*

Offline kappa

  • *****
  • 1313
Lwjgl/jvm error
« Reply #10 on: July 31, 2005, 16:54:56 »
ok i know lwjgl is having problems with SIS graphic cards i tried it and heres the output i get

Code: [Select]
org.lwjgl.LWJGLException: Could not find a valid pixel format
        at org.lwjgl.opengl.Win32PeerInfo.nChoosePixelFormat(Native Method)
        at org.lwjgl.opengl.Win32PeerInfo.choosePixelFormat(Win32PeerInfo.java:55)
        at org.lwjgl.opengl.Win32DisplayPeerInfo.<init>(Win32DisplayPeerInfo.java:52)
        at org.lwjgl.opengl.Win32Display.createPeerInfo(Win32Display.java:72)
        at org.lwjgl.opengl.Display.create(Display.java:595)
        at org.lwjgl.opengl.Display.create(Display.java:573)
        at org.lwjgl.opengl.Display.create(Display.java:557)
        at org.shooter.space.util.GameWindow.createWindow(GameWindow.java:37)
        at org.shooter.space.util.GameWindow.init(GameWindow.java:73)
        at org.shooter.space.Shooter.<init>(Shooter.java:80)
        at org.shooter.space.Shooter.main(Shooter.java:270)

C:\WINDOWS\Desktop\test>


just thought it might help in finding the problem

*

Offline elias

  • *****
  • 899
    • http://oddlabs.com
Lwjgl/jvm error
« Reply #11 on: July 31, 2005, 22:00:44 »
At least it doesn't crash! Does other OpenGL examples work? If they do, can you tell whether they're accelerated or not?

 - elias

*

Offline elias

  • *****
  • 899
    • http://oddlabs.com
Lwjgl/jvm error
« Reply #12 on: August 08, 2005, 16:12:42 »
I finally got hold of an ancient S3 Savage4 card that exhibited the crash. It turned out to be a trivial bug in lwjgl, which is now fixed and comitted. Please test the updated lwjgl.dll from:

http://odense.kollegienet.dk/~naur/lwjgl.dll

EDIT: You'll need an updated lwjgl.jar too. Get it here:

http://odense.kollegienet.dk/~naur/lwjgl.jar


 - elias

*

Offline Nop

  • *
  • 43
Lwjgl/jvm error
« Reply #13 on: September 15, 2005, 07:46:01 »
Hello!

I have found your post looking for a solution to exactly the same kind of crahs (not on my machine) and grabbed the fixed version.

Since I replaced the libs with the fixed ones, when starting my application I get the error message

Code: [Select]

"The application failed to start because jawt.dll was not found"

Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Documents and Settings\Jane\Desktop\illaclient_081\lwjgl\lwjgl.dll: Can't find dependent libraries
at java.lang.ClassLoader$NativeLibrary.load(Native Method)


Copying the DLL from the Java 1.5 directory into the application's directory lets the application start, but I wonder what the reason for this behaviour is.

Were there additional dependencies introduced with the fix?

I also don't understand why the dll cannot be found even though it is part of the Java distribution.

crash "Could not create pixel format" Mac OS X 10.
« Reply #14 on: September 21, 2006, 06:25:44 »
org.lwjgl.test.WindowCreationTest

lwjgl-1.0beta3
Mac OS X 10.3.9
clamshell iBook G3

below:
a) log
b) gl extensions log

The following keys are available:
ESCAPE:         Exit test
ARROW Keys:     Move window when in non-fullscreen mode
L:              List selectable display modes
0-8:            Selection of display modes
F:              Toggle fullscreen
SHIFT-F:        Toggle fullscreen with Display.destroy()/create() cycle
Found 4 display modes
Problem retrieving mode with 640x480x24@75
Problem retrieving mode with 800x600x24@75
Problem retrieving mode with 1024x768x16@60
Problem retrieving mode with 1024x768x24@75
Problem retrieving mode with 1024x768x32@75
org.lwjgl.LWJGLException: Could not create pixel format
        at org.lwjgl.opengl.MacOSXPeerInfo.nChoosePixelFormat(Native Method)
        at org.lwjgl.opengl.MacOSXPeerInfo.choosePixelFormat(MacOSXPeerInfo.java:55)
        at org.lwjgl.opengl.MacOSXPeerInfo.<init>(MacOSXPeerInfo.java:50)
        at org.lwjgl.opengl.MacOSXCanvasPeerInfo.<init>(MacOSXCanvasPeerInfo.java:49)
        at org.lwjgl.opengl.MacOSXDisplayPeerInfo.<init>(MacOSXDisplayPeerInfo.java:48)
        at org.lwjgl.opengl.MacOSXDisplay.createPeerInfo(MacOSXDisplay.java:218)
        at org.lwjgl.opengl.Display.create(Display.java:681)
        at org.lwjgl.opengl.Display.create(Display.java:657)
        at org.lwjgl.opengl.Display.create(Display.java:641)
        at org.lwjgl.test.WindowCreationTest.initialize(WindowCreationTest.java:92)
        at org.lwjgl.test.WindowCreationTest.main(WindowCreationTest.java:284)System Info
Mac OS X 10.3.9 (7W98)

Vendor
Apple
1.1 APPLE-1.1

Renderer
Generic

Extensions
GL_APPLE_client_storage
GL_APPLE_element_array
GL_APPLE_fence
GL_APPLE_flush_render
GL_APPLE_packed_pixels
GL_APPLE_specular_vector
GL_APPLE_transform_hint
GL_APPLE_vertex_array_object
GL_APPLE_vertex_program_evaluators
GL_APPLE_ycbcr_422
GL_ARB_fragment_shader
GL_ARB_imaging
GL_ARB_multitexture
GL_ARB_shader_objects
GL_ARB_texture_env_add
GL_ARB_texture_env_combine
GL_ARB_texture_env_dot3
GL_ARB_transpose_matrix
GL_ARB_vertex_blend
GL_ARB_vertex_program
GL_ARB_vertex_shader
GL_ARB_window_pos
GL_EXT_abgr
GL_EXT_bgra
GL_EXT_blend_color
GL_EXT_blend_minmax
GL_EXT_blend_subtract
GL_EXT_clip_volume_hint
GL_EXT_draw_range_elements
GL_EXT_fog_coord
GL_EXT_multi_draw_arrays
GL_EXT_rescale_normal
GL_EXT_texture_env_add
GL_EXT_texture_lod_bias
GL_IBM_rasterpos_clip
GL_NV_light_max_exponent
GL_NV_texgen_reflection
GL_SGIS_generate_mipmap
GL_SGIS_texture_edge_clamp


Core features
v1.1 (100 % - 7/7)
v1.2 (62 % - 5/8)
v1.3 (55 % - 5/9)
v1.4 (40 % - 6/15)
v1.5 (0 % - 0/3)
v2.0 (33 % - 3/9)

OpenGL driver version check (Current: 1.1 APPLE-1.1, Latest known: 1.1 APPLE-1.1):
Latest version of display drivers found
According the database, you are running the latest display drivers for your video card.

No compiled vertex array support
This may cause performance loss in some applications.

No paletted texture support
This may cause performance loss in some older applications.

Multitexture support
This feature accelerates complex rendering such as lightmaps or environment mapping.

No secondary color support
Some applications may not render polygon highlights correctly.

No S3TC compression support
This may cause performance loss in some applications.

Texture edge clamp support
This feature improves texturing quality by adding clamping control to edge texel filtering.

Vertex program support
This feature enables a wide variety of effects via flexible vertex programming (equivalent to DX8 Vertex Shader.)

No fragment program support
This feature enables per pixel programming (equivalent to DX9 Pixel Shader.) Some current or future OpenGL programs may require this feature.

No OpenGL Shading Language support
This may break compatibility for applications using per pixel shading.

No Frame buffer object support
This may break compatibility for applications using render to texture functions.

Extension verification:
GL_APPLE_element_array has the entry point glMultiDrawElementArrayAPPLE missing!
GL_APPLE_element_array has the entry point glMultiDrawRangeElementArrayAPPLE missing!
GL_ARB_shading_language_100 was not found, but is available in driver version 1.1 APPLE-1.1