Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (526)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (593)
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 9683 times)
0 Members and 1 Guest are viewing this topic.
Offline rolz

Junior Devvie




Chief Technopolitan


« Reply #30 - Posted 2006-01-17 07: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 Devvie





« Reply #31 - Posted 2006-01-17 19: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 Devvie





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

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

 - elias

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

Junior Devvie




Chief Technopolitan


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

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

What information do you need to verify the issue ?

Offline elias

Senior Devvie





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

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

 - elias

Offline rolz

Junior Devvie




Chief Technopolitan


« Reply #35 - Posted 2006-01-20 12: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.

 

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

The first screenshot will be displayed as a thumbnail.

toopeicgaming1999 (71 views)
2014-11-26 15:22:04

toopeicgaming1999 (60 views)
2014-11-26 15:20:36

toopeicgaming1999 (14 views)
2014-11-26 15:20:08

SHC (27 views)
2014-11-25 12:00:59

SHC (25 views)
2014-11-25 11:53:45

Norakomi (31 views)
2014-11-25 11:26:43

Gibbo3771 (25 views)
2014-11-24 19:59:16

trollwarrior1 (38 views)
2014-11-22 12:13:56

xFryIx (77 views)
2014-11-13 12:34:49

digdugdiggy (55 views)
2014-11-12 21:11:50
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

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