Mythruna

General Category => Tech Support => Topic started by: jacob94 on January 11, 2013, 11:36:58 AM



Title: Problem entering game
Post by: jacob94 on January 11, 2013, 11:36:58 AM
I can enter game but when I click singleplayer to create the map i get error

Code:
Uncaught exception from thread:Thread[LWJGL Renderer Thread,5,main]
com.jme3.renderer.RendererException: Shader link failure, shader:Shader[language=GLSL100, numSources=2, numUniforms=19, shaderSources=[ShaderSource[name=MatDefs/MyLighting2.vert, defines, type=Vertex], ShaderSource[name=MatDefs/MyLighting2.frag, defines, type=Fragment]]] info:Fragment shader(s) failed to link,  vertex shader(s) linked.
 
at com.jme3.renderer.lwjgl.LwjglRenderer.updateShaderData(LwjglRenderer.java:1087)
at com.jme3.renderer.lwjgl.LwjglRenderer.setShader(LwjglRenderer.java:1122)
at com.jme3.material.Material.renderMultipassLighting(Material.java:799)
at com.jme3.material.Material.render(Material.java:1028)
at com.jme3.renderer.RenderManager.renderGeometry(RenderManager.java:658)
at com.jme3.renderer.queue.RenderQueue.renderGeometryList(RenderQueue.java:299)
at com.jme3.renderer.queue.RenderQueue.renderQueue(RenderQueue.java:351)
at com.jme3.renderer.RenderManager.renderViewPortQueues(RenderManager.java:894)
at com.jme3.renderer.RenderManager.flushQueue(RenderManager.java:850)
at com.jme3.renderer.RenderManager.renderViewPort(RenderManager.java:1130)
at com.jme3.renderer.RenderManager.render(RenderManager.java:1173)
at com.jme3.app.SimpleApplication.update(SimpleApplication.java:254)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:149)
at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:182)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:223)
at java.lang.Thread.run(Unknown Source)

Build version:20120627

Memory usage:
Working memory: 55% (43296128/77459456)  VM Max: 8% (43296128/518979584)

Rendering caps:
    FrameBuffer
    FrameBufferMRT
    FrameBufferMultisample
    OpenGL20
    OpenGL21
    ARBprogram
    GLSL100
    GLSL110
    GLSL120
    FloatTexture
    NonPowerOfTwoTextures
    VertexBufferArray

Statistics:
  Vertices = 0
  Triangles = 0
  Uniforms = 0
  Objects = 0
  Shaders (S) = 0
  Shaders (F) = 0
  Shaders (M) = 7
  Textures (S) = 1
  Textures (F) = 1
  Textures (M) = 20
  FrameBuffers (S) = 1
  FrameBuffers (F) = 1
  FrameBuffers (M) = 4
Application settings:
UseInput = true
AudioRenderer = LWJGL
Height = 480
Renderer = LWJGL-OpenGL2
BitsPerPixel = 32
Fullscreen = true
StencilBits = 0
DepthBits = 24
VSync = true
Frequency = 60
Width = 640
Samples = 0
DisableJoysticks = true
FrameRate = -1

Display adapter information:
Adapter:ati2dvag
Driver Version:6.14.10.6925
Vendor:ATI Technologies Inc.
Version:2.1.8545 Release
Renderer:ATI Radeon 9550 / X1050 Series
GLSL Ver:1.20


What is the problem ?


Title: Re: Problem entering game
Post by: pspeed on January 11, 2013, 12:11:03 PM
Sorry you are having problems running the game.

Even though you didn't include the information from the error log, I can guess that you are running an ATI card of some kind.  Unfortunately there seems to be a problem with this particular set of cards when running Mythruna.  Worse yet, the ATI driver writers did not see fit to give a proper error so it is nearly impossible for me to track down without actually having one of the cards in my possession.

You can try making sure your drivers are the latest but I don't know if anyone has actually been able to get past this issue.


Title: Re: Problem entering game
Post by: jacob94 on January 11, 2013, 12:35:02 PM
If i change the card to an nvidia , that will fix the problem ?


Title: Re: Problem entering game
Post by: pspeed on January 11, 2013, 12:38:21 PM
If i change the card to an nvidia , that will fix the problem ?

Most newer ATI cards seem to work, also.  It's just a particular level of ATI card that fails with this particular error.

But yeah, nvidia cards are more likely to work in general and they seem to have better drivers overall.  If you have a specific one in mind then you can check here because in another thread we're trying to put together a compatibility list.


Title: Re: Problem entering game
Post by: jacob94 on January 11, 2013, 12:42:12 PM
Code:
Uncaught exception from thread:Thread[LWJGL Renderer Thread,5,main]
com.jme3.renderer.RendererException: non-power-of-2 framebuffer textures are not supported by the video hardware
at com.jme3.renderer.lwjgl.LwjglRenderer.updateTexImageData(LwjglRenderer.java:1830)
at com.jme3.renderer.lwjgl.LwjglRenderer.updateRenderTexture(LwjglRenderer.java:1398)
at com.jme3.renderer.lwjgl.LwjglRenderer.updateFrameBufferAttachment(LwjglRenderer.java:1421)
at com.jme3.renderer.lwjgl.LwjglRenderer.updateFrameBuffer(LwjglRenderer.java:1452)
at com.jme3.renderer.lwjgl.LwjglRenderer.setFrameBuffer(LwjglRenderer.java:1539)
at com.jme3.renderer.RenderManager.renderViewPort(RenderManager.java:1108)
at com.jme3.renderer.RenderManager.render(RenderManager.java:1173)
at com.jme3.app.SimpleApplication.update(SimpleApplication.java:254)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:149)
at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:182)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:223)
at java.lang.Thread.run(Unknown Source)

Build version:20120627

Memory usage:
Working memory: 71% (13723384/19156992)  VM Max: 2% (13723384/518979584)

Rendering caps:
    FrameBuffer
    OpenGL20
    ARBprogram
    GLSL100
    GLSL110

Statistics:
  Vertices = 0
  Triangles = 0
  Uniforms = 0
  Objects = 0
  Shaders (S) = 0
  Shaders (F) = 0
  Shaders (M) = 0
  Textures (S) = 1
  Textures (F) = 1
  Textures (M) = 1
  FrameBuffers (S) = 0
  FrameBuffers (F) = 0
  FrameBuffers (M) = 1
Application settings:
UseInput = true
AudioRenderer = LWJGL
Height = 480
Renderer = LWJGL-OpenGL2
BitsPerPixel = 32
Fullscreen = true
StencilBits = 0
DepthBits = 24
VSync = true
Frequency = 60
Width = 640
Samples = 0
DisableJoysticks = true
FrameRate = -1

Display adapter information:
Adapter:nv4_disp
Driver Version:6.14.10.9371
Vendor:NVIDIA Corporation
Version:2.0.3
Renderer:GeForce FX 5200/AGP/SSE/3DNOW!
GLSL Ver:1.10 NVIDIA via Cg 1.3 compiler


I guess I just have bad luck , this time it doesn't even enter the game


Title: Re: Problem entering game
Post by: pspeed on January 11, 2013, 12:52:50 PM
Code:
Uncaught exception from thread:Thread[LWJGL Renderer Thread,5,main]
com.jme3.renderer.RendererException: non-power-of-2 framebuffer textures are not supported by the video hardware
at com.jme3.renderer.lwjgl.LwjglRenderer.updateTexImageData(LwjglRenderer.java:1830)
at com.jme3.renderer.lwjgl.LwjglRenderer.updateRenderTexture(LwjglRenderer.java:1398)
at com.jme3.renderer.lwjgl.LwjglRenderer.updateFrameBufferAttachment(LwjglRenderer.java:1421)
at com.jme3.renderer.lwjgl.LwjglRenderer.updateFrameBuffer(LwjglRenderer.java:1452)
at com.jme3.renderer.lwjgl.LwjglRenderer.setFrameBuffer(LwjglRenderer.java:1539)
at com.jme3.renderer.RenderManager.renderViewPort(RenderManager.java:1108)
at com.jme3.renderer.RenderManager.render(RenderManager.java:1173)
at com.jme3.app.SimpleApplication.update(SimpleApplication.java:254)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:149)
at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:182)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:223)
at java.lang.Thread.run(Unknown Source)

Build version:20120627

Memory usage:
Working memory: 71% (13723384/19156992)  VM Max: 2% (13723384/518979584)

Rendering caps:
    FrameBuffer
    OpenGL20
    ARBprogram
    GLSL100
    GLSL110

Statistics:
  Vertices = 0
  Triangles = 0
  Uniforms = 0
  Objects = 0
  Shaders (S) = 0
  Shaders (F) = 0
  Shaders (M) = 0
  Textures (S) = 1
  Textures (F) = 1
  Textures (M) = 1
  FrameBuffers (S) = 0
  FrameBuffers (F) = 0
  FrameBuffers (M) = 1
Application settings:
UseInput = true
AudioRenderer = LWJGL
Height = 480
Renderer = LWJGL-OpenGL2
BitsPerPixel = 32
Fullscreen = true
StencilBits = 0
DepthBits = 24
VSync = true
Frequency = 60
Width = 640
Samples = 0
DisableJoysticks = true
FrameRate = -1

Display adapter information:
Adapter:nv4_disp
Driver Version:6.14.10.9371
Vendor:NVIDIA Corporation
Version:2.0.3
Renderer:GeForce FX 5200/AGP/SSE/3DNOW!
GLSL Ver:1.10 NVIDIA via Cg 1.3 compiler


I guess I just have bad luck , this time it doesn't even enter the game

Yeah, that's a really old card.  Even aside from the non-power-of-two textures issue... the next thing you would have hit is that the OpenGL and GLSL versions are very old.  Mythruna needs at least GLSL 1.2.

You could try updating the driver but I think even if it works then it will probably be slow.  I have an old 6200 here that was nearly unplayable when I tried it.  Stuff like that will eventually get better... assuming the version issues get resolved.


Title: Re: Problem entering game
Post by: G1ZMO on January 13, 2013, 11:14:11 AM
Updated compatibility list here: http://mythruna.com/forum/index.php?topic=1183.new#new