Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (289)
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  
  Could not find a valid pixel format ...  (Read 8315 times)
0 Members and 1 Guest are viewing this topic.
Offline rolz

Junior Member




Chief Technopolitan


« Reply #30 - Posted 2006-01-17 08:21:24 »

I happen to have a kind of same problem using AWTGLCanvas on GF2MX cards:

The download link for jar does not work, so i was unable to test your fix, Elias. ;(

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: org.lwjgl.LWJ 
GLException: Could not find a valid pixel format
        at org.lwjgl.opengl.AWTGLCanvas.paint(AWTGLCanvas.java:261)
        at sun.awt.RepaintArea.paintComponent(Unknown Source)
        at sun.awt.RepaintArea.paint(Unknown Source)
        at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
 
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: 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:5
2)
        at org.lwjgl.opengl.Win32AWTGLCanvasPeerInfo.doLockAndInitHandle(Win32AW
TGLCanvasPeerInfo.java:59)
        at org.lwjgl.opengl.PeerInfo.lockAndGetHandle(PeerInfo.java:85)
        at org.lwjgl.opengl.AWTGLCanvas.paint(AWTGLCanvas.java:245)
        ... 11 more

Offline g666

Junior Member





« Reply #31 - Posted 2006-01-17 20:38:08 »

I have gotten pixelformat errors when launching any opengl app when jcreator is running with two windows open for a strange reason. Not that is matters as i now use eclipse.  Smiley

Edit: that game works fine on my card - geforcemx4000

desperately seeking sanity
Offline elias

Senior Member





« Reply #32 - Posted 2006-01-18 12:21:20 »

The fix is in LWJGL 0.99, you can test that instead.

 - elias

Games published by our own members! Check 'em out!
Try the Free Demo of Revenge of the Titans
Offline rolz

Junior Member




Chief Technopolitan


« Reply #33 - Posted 2006-01-20 09:48:51 »

sorry for late reply, that's on 0.99. ;(

What information do you need to verify the issue ?

Offline elias

Senior Member





« Reply #34 - Posted 2006-01-20 10:14:47 »

Are you supplying any particular PixelFormat to the canvas? Does Display.create work?

 - elias

Offline rolz

Junior Member




Chief Technopolitan


« Reply #35 - Posted 2006-01-20 13:23:57 »

Just discovered the problem.
That was actually not on my system, so i could not verify it properly. It appeared that it was GF2MX with default windows drivers ;-/////

Disregard my previous request. Wink

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

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Get high quality music tracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (60 views)
2013-05-17 21:29:12

alaslipknot (69 views)
2013-05-16 21:24:48

gouessej (99 views)
2013-05-16 00:53:38

gouessej (97 views)
2013-05-16 00:17:58

theagentd (107 views)
2013-05-15 15:01:13

theagentd (98 views)
2013-05-15 15:00:54

StreetDoggy (144 views)
2013-05-14 15:56:26

kutucuk (167 views)
2013-05-12 17:10:36

kutucuk (166 views)
2013-05-12 15:36:09

UnluckyDevil (175 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.183 seconds with 21 queries.