Image format 'ABGR8' is unsupported by the video hardware

Hello. I am new here and I am coming back to Java after a few years of programing nothing.



I am introducing myself to jMonkeyEngine and problems have arisen right at the beginning. When running any of the default JME3 projects I get an unhanded exception like this:

[java]com.jme3.app.Application handleError

SEVERE: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]

com.jme3.renderer.RendererException: Image format ‘ABGR8’ is unsupported by the video hardware.

at com.jme3.renderer.lwjgl.TextureUtil.getImageFormatWithError(TextureUtil.java:202)

at com.jme3.renderer.lwjgl.TextureUtil.uploadTexture(TextureUtil.java:213)

at com.jme3.renderer.lwjgl.LwjglRenderer.updateTexImageData(LwjglRenderer.java:1876)

at com.jme3.renderer.lwjgl.LwjglRenderer.setTexture(LwjglRenderer.java:1899)

at com.jme3.material.MatParamTexture.apply(MatParamTexture.java:46)

at com.jme3.material.Material.render(Material.java:1030)

at com.jme3.renderer.RenderManager.renderGeometry(RenderManager.java:525)

at com.jme3.renderer.queue.RenderQueue.renderGeometryList(RenderQueue.java:301)

at com.jme3.renderer.queue.RenderQueue.renderQueue(RenderQueue.java:350)

at com.jme3.renderer.RenderManager.renderViewPortQueues(RenderManager.java:790)

at com.jme3.renderer.RenderManager.flushQueue(RenderManager.java:721)

at com.jme3.renderer.RenderManager.renderViewPort(RenderManager.java:985)

at com.jme3.renderer.RenderManager.render(RenderManager.java:1037)

at com.jme3.app.SimpleApplication.update(SimpleApplication.java:251)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:151)

at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:185)

at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:228)

at java.lang.Thread.run(Thread.java:722)[/java]



Now, my video card is old (from 2008, ATI Mobility Radeon HD 2400) but it supports at least OpenGL 2.0.



I tried googleing it but I got zero results and I can’t see a way to work around it.



Has anyone else ever seen this exception?

Have you tried updating your drivers? This is the first time I am seeing this exception come up on this video card.

1 Like

I can’t believe it was that!



ATI/AMD is no longer providing official drivers for mobile cards. So, relying on my laptop manufacturer I had the latest version (even though they were 3 years old). It was only after a night of scouring the internet, downloading and trial and error that I found some working AND updated Microsoft signed drivers from a shady website. Now everything works!



Should anyone need updated drivers on this video card try here: DriversDat.com or directly from ATI/AMD.

My laptop is a Toshiba A200, but they might work for other models too.



Thank you Momoko_Fan for the tip!

Actually they are not required to support ABGR8 at all, its not a bug from their side. jME3 just uses it internally to speed up loading of PNG images (instead of having to flip the components…)