Image format 'DXT1' is unsupported by the video hardware.
Closed this issue · 8 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. when executing openwar.main, the program throws video format not supported
exception
What is the expected output? What do you see instead?
Game start
What version of the product are you using? On what operating system?
trunk
Please provide any additional information below.
com.jme3.renderer.RendererException: Image format 'DXT1' is unsupported by the
video hardware.
at com.jme3.renderer.lwjgl.TextureUtil.checkFormatSupported(TextureUtil.java:91)
at com.jme3.renderer.lwjgl.TextureUtil.uploadTexture(TextureUtil.java:175)
at com.jme3.renderer.lwjgl.LwjglRenderer.updateTexImageData(LwjglRenderer.java:1879)
at com.jme3.renderer.lwjgl.LwjglRenderer.setTexture(LwjglRenderer.java:1901)
at com.jme3.material.MatParamTexture.apply(MatParamTexture.java:46)
at com.jme3.material.Material.render(Material.java:991)
at com.jme3.renderer.RenderManager.renderGeometry(RenderManager.java:649)
at com.jme3.post.FilterPostProcessor.renderProcessing(FilterPostProcessor.java:192)
at com.jme3.post.FilterPostProcessor.renderFilterChain(FilterPostProcessor.java:271)
at com.jme3.post.FilterPostProcessor.postFrame(FilterPostProcessor.java:284)
at com.jme3.renderer.RenderManager.renderViewPort(RenderManager.java:1122)
at com.jme3.renderer.RenderManager.render(RenderManager.java:1160)
at openwar.Main.update(Main.java:268)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:149)
at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:178)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:223)
at java.lang.Thread.run(Thread.java:722)
Original issue reported on code.google.com by freeonfa...@gmail.com
on 17 Dec 2011 at 5:27
GoogleCodeExporter commented
Since we use JME3 for all things related to textures, this problem cannot be
fixed.
Original comment by wadim.kehl@googlemail.com
on 18 Dec 2011 at 5:23
- Changed state: WontFix
- Added labels: ****
- Removed labels: ****
GoogleCodeExporter commented
Can you explain a bit more detail (what cause this happned)? Or is there any
way to avoid this error happened? It is understood that it might not be the
code problem of open war, but that would be good if some clues can be revealed;
so newbie like me can get around this issue.
Thanks.
Original comment by freeonfa...@gmail.com
on 18 Dec 2011 at 6:32
- Added labels: ****
- Removed labels: ****
GoogleCodeExporter commented
What is your graphics card? Can it handle OpenGL 2?
Hmm, I need to know where the error actually occurs. Did you start the program
out of JMP? Edit the config.xml in the root so that it says "devMode=true" and
give me the output of the whole log...
Original comment by wadim.kehl@googlemail.com
on 18 Dec 2011 at 8:53
- Added labels: ****
- Removed labels: ****
GoogleCodeExporter commented
Original comment by wadim.kehl@googlemail.com
on 18 Dec 2011 at 8:58
- Changed state: Accepted
- Added labels: ****
- Removed labels: ****
GoogleCodeExporter commented
I think I find out the root cause. My graphic card driver is broken (It's
intel/nvidia hybrid card). Once the graphic card driver is installed correctly,
this issue (Image format 'DXT1' is unsupported by the video hardware) would go
away.
Thanks for help.
Original comment by freeonfa...@gmail.com
on 20 Dec 2011 at 8:58
- Added labels: ****
- Removed labels: ****
GoogleCodeExporter commented
Hello, someone pointed out this issue in JME3's forum, so I thought i would
link the answer about it.
here is the post :
http://jmonkeyengine.org/groups/beta-1-game-contest/forum/topic/wippirate-hell/?
topic_page=4&num=15#post-156656
Nehon
Original comment by remy.bou...@gmail.com
on 29 Dec 2011 at 1:53
- Added labels: ****
- Removed labels: ****
GoogleCodeExporter commented
That's useful. Perhaps adding this to FAQ would help other users as well. My
graphic card is hybrid and previously I was under the impression that the
driver was installed correctly. After some other issues raised then I
understand it may be the system uses Intel one instead of Nvidia's.
Thanks again for help.
Original comment by freeonfa...@gmail.com
on 29 Dec 2011 at 3:05
- Added labels: ****
- Removed labels: ****
GoogleCodeExporter commented
Original comment by wadim.kehl@googlemail.com
on 28 Feb 2012 at 1:17
- Changed state: Fixed
- Added labels: ****
- Removed labels: ****