LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: Orangy Tang on June 05, 2007, 13:17:06

Title: No valid pixel format?
Post by: Orangy Tang on June 05, 2007, 13:17:06
I'm getting an exception while creating a display on one person's machine:
"org.lwjgl.LWJGLException: Could not find a valid pixel format"
( full exception here: http://mishu.eu.org/paste/view.php?id=3464 )

This occurs with both the no-arg .create() and with a pixel format (set to all zero). The graphics card is a GFFX 5200.

I'm not entirely sure what the problem could be. As far as I know it can do other 3d apps ok, and I don't see how i could make my requested display any simpler. Could someone fill me in as to why this could be happening, and possible fixes? Cheers.
Title: Re: No valid pixel format?
Post by: Matzon on June 05, 2007, 13:42:45
I assume you have run other OpenGL apps?
Title: Re: No valid pixel format?
Post by: Orangy Tang on June 06, 2007, 16:07:23
The basic NeHe spinning cube works, so I assume theres GL drivers installed (although I admit of knowing no good way to test that, especially when you only deal with someone via email).

Annoyingly the space invaders app from the lwjgl demos section doesn't work, and apparently doesn't give any kind of error dialog.

Any suggestions of things to try? ???
Title: Re: No valid pixel format?
Post by: Schnitter on July 08, 2007, 12:51:19
Do you use Windows Vista?
Since I installed it, i get the same error.
The same after reboot.
Title: Re: No valid pixel format?
Post by: Matzon on July 08, 2007, 13:12:13
run some more of the examples and demos from the command line - throw in a -Dorg.lwjgl.util.Debug=true for more output
Title: Re: No valid pixel format?
Post by: Schnitter on July 08, 2007, 17:43:46
Ok. I installed the latest graphic drivers - and it works :)