please help me
i use windows 8 32bit
1GB- ATI Mobility Radeon HD 5000 series graphics card (updated)
4gb ram
@rakesh8015 said: "Failed to create display LGJWL exception: Pixel format not accelerated" I am getting this error after running the program please help me i use windows 8 32bit 1GB- ATI Mobility Radeon HD 5000 series graphics card (updated) 4gb ram
@nehon said: http://www.mikeash.com/getting_answers.htmlI don't understand how that link helps me...can you elaborate?
read it , ask a real question, describe your issue thoroughly, and you might get some help
And don’t bump…
i am sorry…i am new to jmonkey sdk…i started today itself and when i tried to run the “basicgame” project which is already availbale i got the error "Failed to create display LGJWL exception: Pixel format not accelerated”…thanks in advance
Sounds like you are using a lap top, which might have an Intel card also (dual graphics card). So maybe the lap top selects the wrong card and tries to use Intel. See if there is any control panel where you can force the lap top to use the ATI card, I don’t use windows so I can’t help you there, try :google:
I tried all the ways I could …like disabling the graphics driver , reinstalling the graphics drivers etc…none of them seems to work
@rakesh8015 said: i am sorry..i am new to jmonkey sdk...i started today itself and when i tried to run the "basicgame" project which is already availbale i got the error "Failed to create display LGJWL exception: Pixel format not accelerated”...thanks in advance
What display settings did you use?
Please post the console log from the SDK showing the driver version, settings, etc. from when you ran it.
this is the code…
package mygame;
import com.jme3.app.SimpleApplication;
import com.jme3.material.Material;
import com.jme3.math.ColorRGBA;
import com.jme3.renderer.RenderManager;
import com.jme3.scene.Geometry;
import com.jme3.scene.shape.Box;
/**
-
test
-
@author normenhansen
*/
public class Main extends SimpleApplication {public static void main(String[] args) {
Main app = new Main();
app.start();
}@Override
public void simpleInitApp() {
Box b = new Box(1, 1, 1);
Geometry geom = new Geometry(“Box”, b);Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); mat.setColor("Color", ColorRGBA.Blue); geom.setMaterial(mat); rootNode.attachChild(geom);
}
@Override
public void simpleUpdate(float tpf) {
//TODO: add update code
}@Override
public void simpleRender(RenderManager rm) {
//TODO: add render code
}
}
@pspeed said: What display settings did you use?Please post the console log from the SDK showing the driver version, settings, etc. from when you ran it.
this is something i am seeing in the errors
Sep 17, 2014 6:14:44 PM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.0.10
Sep 17, 2014 6:14:44 PM com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory: C:\Users\rakesh-pc\Documents\BasicGame1
Sep 17, 2014 6:14:45 PM com.jme3.app.Application handleError
SEVERE: Failed to create display
org.lwjgl.LWJGLException: Pixel format not accelerated
at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method)
at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52)
at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:244)
at org.lwjgl.opengl.Display.createWindow(Display.java:306)
at org.lwjgl.opengl.Display.create(Display.java:848)
at org.lwjgl.opengl.Display.create(Display.java:757)
at com.jme3.system.lwjgl.LwjglDisplay.createContext(LwjglDisplay.java:140)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:113)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:207)
at java.lang.Thread.run(Thread.java:744)
Sep 17, 2014 6:14:45 PM com.jme3.system.lwjgl.LwjglAbstractDisplay run
SEVERE: Display initialization failed. Cannot continue.
BUILD SUCCESSFUL (total time: 6 seconds)
Can you try this tool and see if it is able to detect OpenGL?
@Momoko_Fan said: Can you try this tool and see if it is able to detect OpenGL?
“openGl version 1.1”
@rakesh8015 said:![]()
“openGl version 1.1”
OpenGL 2 is kind of required. I mean, you can force JME to fallback to OpenGL 1 but it’s ugly and will be disappointing.
@pspeed said: OpenGL 2 is kind of required. I mean, you can force JME to fallback to OpenGL 1 but it's ugly and will be disappointing.
Thanks for the info… But how do I get version 2?
Windows + Driver fail.
@rakesh8015 said: Thanks for the info... But how do I get version 2?
Windows 8 seems to follow the same path as previous versions of Windows did: Only DirectX is available by default, OpenGL support requires a driver provided by the vendor to be downloaded and installed.
So, looks like you have to download the drivers for your AMD card …
As the troubleshooting doc says, which is right there —>