No Shaders on ATI X1400 mobile?

i recently bought myself a new notebook (Dell Inspiron 6400) which includes a Ati (whatever) X1400 mobile



[ i’m running gentoo linux with the newest sun-jdk(1.5.0_08-r3) ]



so i downloaded and compiled jme and had a look at those beautiful water demos (which ran at 1fps on my old pc) … but instead of nice reflec- and refractions i was looking at some moving triangles with a water map on them …





quack4 is running fine with all effects turned on (ok … low fps but it works)



so … does lwjgl don’t work? … guess not as wurmonline is working fine

does jme not support ati cards? possible

are the water tests messed up? … as the motion blur effect test isn’t working either … i don’t think so



any ideas anyone? Flo



[edit] TestBloom is running terrible slow (1fps)

TestSketch isn’t showing anything (just white)

TestMotionBlur creates those blurs but paints them in ‘bricks’ and is terrible slow too

Both your card and jME should support this. Many Ati users here (hi!). LWJGL is also not a problem. Which brings us to Ati+Linux+drivers…



Can you try the bumpmapping (with shaders) demo? Maybe it's a GLSL problem… and maybe that can be fixed with different drivers.

definitely sounds like a linux issue…

which one would that be?

jmetest.effects.TestBumpMapping runs fine

the bumpmapped wall demo from from the webstart thing too (although thats another jme build)

That would suggest you can run 1.0 shaders but not 2.0.

Yep… though these are very basic shaders…



If you can find any other programs that use GLSL that DO work on your machine, maybe there's something else going wrong… but shaders do seem to work, just not the 2 GLSL ones you tried (there's 2 more GLSL ones you could try, sketch and bloom).



What drivers are you using?

output from my http://rafb.net/paste/results/gkSudS60.html



as i added to my original post sketch and bloom don't work either



under gentoo they are called ati-drivers 8.30.3-r1

Looks like you should support it.  Can you run the water test and paste the entire console contents here?

sure …


Composing Test list...
Searching for Demo classes in "jmetest".
Nov 10, 2006 3:30:14 PM com.jme.scene.Node <init>
INFO: Node created.
Nov 10, 2006 3:30:15 PM com.jme.scene.Node <init>
INFO: Node created.
Nov 10, 2006 3:30:25 PM com.jme.app.BaseGame start
INFO: Application started.
Nov 10, 2006 3:30:25 PM com.jme.system.PropertiesIO <init>
INFO: PropertiesIO created
Nov 10, 2006 3:30:25 PM com.jme.system.PropertiesIO load
INFO: Read properties
Nov 10, 2006 3:30:28 PM com.jme.input.joystick.DummyJoystickInput <init>
INFO: Joystick support is disabled
Nov 10, 2006 3:30:28 PM com.jme.system.lwjgl.LWJGLDisplaySystem <init>
INFO: LWJGL Display System created.
Nov 10, 2006 3:30:28 PM com.jme.system.PropertiesIO save
INFO: Saved properties
Nov 10, 2006 3:30:28 PM com.jme.app.BaseSimpleGame initSystem
INFO: jME version 0.11 beta
Nov 10, 2006 3:30:28 PM com.jme.app.BaseSimpleGame initSystem
INFO: Running on: null
Driver version: null
Nov 10, 2006 3:30:28 PM com.jme.renderer.lwjgl.LWJGLRenderer <init>
INFO: LWJGLRenderer created. W:  1024H: 768
Nov 10, 2006 3:30:29 PM com.jme.renderer.AbstractCamera <init>
INFO: Camera created.
Nov 10, 2006 3:30:29 PM com.jme.util.lwjgl.LWJGLTimer <init>
INFO: Timer resolution: 1000 ticks per second
Nov 10, 2006 3:30:29 PM com.jme.scene.Node <init>
INFO: Node created.
Nov 10, 2006 3:30:29 PM com.jme.scene.Node <init>
INFO: Node created.
Nov 10, 2006 3:30:29 PM com.jme.scene.Node attachChild
INFO: Child (FPS label) attached to this node (FPS node)
Nov 10, 2006 3:30:29 PM com.jme.scene.Node attachChild
INFO: Child (Text) attached to this node (FPS node)
Nov 10, 2006 3:30:29 PM com.jme.scene.Node attachChild
INFO: Child (Text) attached to this node (FPS node)
Nov 10, 2006 3:30:29 PM com.jme.scene.Node <init>
INFO: Node created.
Nov 10, 2006 3:30:29 PM com.jme.scene.Node <init>
INFO: Node created.
Nov 10, 2006 3:30:29 PM com.jme.scene.Node attachChild
INFO: Child (north) attached to this node (skybox)
Nov 10, 2006 3:30:29 PM com.jme.scene.Node attachChild
INFO: Child (south) attached to this node (skybox)
Nov 10, 2006 3:30:29 PM com.jme.scene.Node attachChild
INFO: Child (east) attached to this node (skybox)
Nov 10, 2006 3:30:29 PM com.jme.scene.Node attachChild
INFO: Child (west) attached to this node (skybox)
Nov 10, 2006 3:30:29 PM com.jme.scene.Node attachChild
INFO: Child (up) attached to this node (skybox)
Nov 10, 2006 3:30:29 PM com.jme.scene.Node attachChild
INFO: Child (down) attached to this node (skybox)
Nov 10, 2006 3:30:29 PM com.jme.scene.Node attachChild
INFO: Child (skybox) attached to this node (reflectNode)
Nov 10, 2006 3:30:29 PM com.jme.scene.Node <init>
INFO: Node created.
Nov 10, 2006 3:30:30 PM com.jme.scene.Node attachChild
INFO: Child (Torus) attached to this node (objects)
Nov 10, 2006 3:30:30 PM com.jme.scene.Node attachChild
INFO: Child (box1) attached to this node (objects)
Nov 10, 2006 3:30:30 PM com.jme.scene.Node attachChild
INFO: Child (box2) attached to this node (objects)
Nov 10, 2006 3:30:30 PM com.jme.scene.Node attachChild
INFO: Child (box3) attached to this node (objects)
Nov 10, 2006 3:30:30 PM com.jme.scene.Node attachChild
INFO: Child (box4) attached to this node (objects)
Nov 10, 2006 3:30:30 PM com.jme.scene.Node attachChild
INFO: Child (box5) attached to this node (objects)
Nov 10, 2006 3:30:30 PM com.jme.scene.Node attachChild
INFO: Child (objects) attached to this node (reflectNode)
Nov 10, 2006 3:30:30 PM com.jme.scene.Node attachChild
INFO: Child (reflectNode) attached to this node (rootNode)
Nov 10, 2006 3:30:30 PM com.jme.scene.Node attachChild
INFO: Child (ProjectedGrid) attached to this node (rootNode)
Nov 10, 2006 3:30:30 PM com.jme.scene.Node <init>
INFO: Node created.
Nov 10, 2006 3:30:30 PM com.jme.scene.Node attachChild
INFO: Child (reflectionQuad) attached to this node (quadNode)
Nov 10, 2006 3:30:30 PM com.jme.scene.Node attachChild
INFO: Child (quadNode) attached to this node (rootNode)
Nov 10, 2006 3:30:30 PM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Attempted to apply texture with size that is not power of 2: 640 x 480
Nov 10, 2006 3:30:30 PM com.jme.scene.state.lwjgl.LWJGLTextureState load
WARNING: Rescaling image to 512 x 512 !!!
Nov 10, 2006 3:30:40 PM com.jme.app.BaseSimpleGame cleanup
INFO: Cleaning up resources.
Nov 10, 2006 3:30:40 PM com.jme.app.BaseGame start
INFO: Application ending.

anotherthing that just came to my mind … doesn't quake4 use those 'higher' shaders? or does it scale down to 'lower' shaders?

Hmm, don't see any warnings in your console output.  What does the sketch demo look like on your machine?

most of the time it looks like this:



(notice that this is no plain white… there are some sort of ‘worms’ on it (?) … i can see them on my tft screen when i’m looking on it from above )





if i  turn the camera it looks like this sometimes:







[edit] i’d guess “gl_arb_shading_language_100” would suggest my card (and opengl implementation) is capable of handling 1.0 shaders? (and as there is no extension with a 200 i’m not capable of handling 2.0 shaders?)

just ran wurmonline (http://wurmonline.com) which is using lwjgl too … and i got a gloom effect there … :confused:

Your card is capable of handeling every shader there is (except DX10, which is kind of irrelevant under linux). It's indeed a matter of what the Ati driver you're using under linux is capable of for your card. Not LWJGL, and not jME, I'm afraid.



Maybe one day they'll release a better driver. Them being bought by AMD should give you at least a little bit of hope there…