Filter not compatible with Linux?

I built a version of my game and tested it in Ubuntu. Then, I started toying around with the PSSMRenderer’s Filter. I put the PCF8 as its renderer. However, upon going to test on Ubuntu, the following log appears (upon running from terminal):

[java]

ubuntu@ubuntu:~$ ‘/home/ubuntu/Desktop/MyGame-Linux/MyGame.jar’



(java:6275): Gtk-WARNING **: Unable to locate theme engine in module_path: “pixmap”,



(java:6275): Gtk-WARNING **: Unable to locate theme engine in module_path: “pixmap”,



(java:6275): Gtk-WARNING **: Unable to locate theme engine in module_path: “pixmap”,



(java:6275): Gtk-WARNING **: Unable to locate theme engine in module_path: “pixmap”,

Apr 9, 2012 10:12:37 PM com.jme3.system.JmeDesktopSystem initialize

INFO: Running on jMonkeyEngine 3.0.0 Beta

Apr 9, 2012 10:12:38 PM com.jme3.system.Natives extractNativeLibs

INFO: Extraction Directory: /home/ubuntu

Apr 9, 2012 10:12:38 PM com.jme3.system.lwjgl.LwjglAbstractDisplay run

INFO: Using LWJGL 2.8.2

Apr 9, 2012 10:12:38 PM com.jme3.system.lwjgl.LwjglDisplay createContext

INFO: Selected display mode: 640 x 480 x 0 @0Hz

Apr 9, 2012 10:12:38 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo

INFO: Adapter: null

Apr 9, 2012 10:12:38 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo

INFO: Driver Version: null

Apr 9, 2012 10:12:38 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo

INFO: Vendor: nouveau

Apr 9, 2012 10:12:38 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo

INFO: OpenGL Version: 2.1 Mesa 7.11

Apr 9, 2012 10:12:38 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo

INFO: Renderer: Gallium 0.4 on NV92

Apr 9, 2012 10:12:38 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo

INFO: GLSL Ver: 1.20

Apr 9, 2012 10:12:38 PM com.jme3.system.lwjgl.LwjglTimer <init>

INFO: Timer resolution: 1,000 ticks per second

Apr 9, 2012 10:12:38 PM com.jme3.renderer.lwjgl.LwjglRenderer initialize

INFO: Caps: [FrameBuffer, FrameBufferMRT, FrameBufferMultisample, OpenGL20, OpenGL21, ARBprogram, GLSL100, GLSL110, GLSL120, VertexTextureFetch, FloatColorBuffer, PackedFloatTexture, SharedExponentTexture, PackedFloatColorBuffer, NonPowerOfTwoTextures, MeshInstancing, VertexBufferArray]

Apr 9, 2012 10:12:38 PM com.jme3.asset.AssetConfig loadText

WARNING: Cannot find loader com.jme3.scene.plugins.blender.BlenderModelLoader

Apr 9, 2012 10:12:38 PM com.jme3.asset.DesktopAssetManager <init>

INFO: DesktopAssetManager created.

Apr 9, 2012 10:12:38 PM com.jme3.renderer.Camera <init>

INFO: Camera created (W: 640, H: 480)

Apr 9, 2012 10:12:38 PM com.jme3.renderer.Camera <init>

INFO: Camera created (W: 640, H: 480)

Apr 9, 2012 10:12:38 PM com.jme3.input.lwjgl.LwjglMouseInput initialize

INFO: Mouse created.

Apr 9, 2012 10:12:38 PM com.jme3.input.lwjgl.LwjglKeyInput initialize

INFO: Keyboard created.

Apr 9, 2012 10:12:39 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread

INFO: AudioRenderer supports 64 channels

Apr 9, 2012 10:12:39 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread

INFO: Audio effect extension version: 1.0

Apr 9, 2012 10:12:39 PM com.jme3.audio.lwjgl.LwjglAudioRenderer initInThread

INFO: Audio max auxilary sends: 4

Apr 9, 2012 10:12:39 PM com.jme3.material.MaterialDef <init>

INFO: Loaded material definition: Unshaded

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Gui Node)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Statistics View)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (Statistics View) attached to this node (Gui Node)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Root Node)

Apr 9, 2012 10:12:39 PM com.jme3.scene.Node attachChild

INFO: Child (shootables) attached to this node (Root Node)

Apr 9, 2012 10:12:39 PM com.jme3.material.MaterialDef <init>

INFO: Loaded material definition: Phong Lighting

Apr 9, 2012 10:12:41 PM com.jme3.scene.Node attachChild

INFO: Child (The Ark3-ogremesh) attached to this node (null)

Apr 9, 2012 10:12:41 PM com.jme3.scene.Node attachChild

INFO: Child (Crosshair) attached to this node (Root Node)

Apr 9, 2012 10:12:41 PM com.jme3.scene.Node attachChild

INFO: Child (Cursor) attached to this node (Gui Node)

Apr 9, 2012 10:12:41 PM com.jme3.bullet.PhysicsSpace addCharacter

INFO: Adding character com.bulletphysics.collision.dispatch.PairCachingGhostObject@82d603 to physics space.

Apr 9, 2012 10:12:41 PM com.jme3.material.MaterialDef <init>

INFO: Loaded material definition: Pre Shadow

Apr 9, 2012 10:12:41 PM com.jme3.material.MaterialDef <init>

INFO: Loaded material definition: Post Shadow

Apr 9, 2012 10:12:41 PM com.jme3.material.MaterialDef <init>

INFO: Loaded material definition: Default GUI

Apr 9, 2012 10:12:41 PM com.jme3.renderer.Camera <init>

INFO: Camera created (W: 4,096, H: 4,096)

Apr 9, 2012 10:12:41 PM com.jme3.renderer.Camera <init>

INFO: Camera created (W: 2,048, H: 2,048)

Apr 9, 2012 10:12:41 PM com.jme3.material.MaterialDef <init>

INFO: Loaded material definition: Post Shadow

Apr 9, 2012 10:12:41 PM com.jme3.renderer.Camera <init>

INFO: Camera created (W: 1, H: 1)

Apr 9, 2012 10:12:42 PM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Root Node)

Apr 9, 2012 10:12:42 PM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Apr 9, 2012 10:12:42 PM com.jme3.scene.Node attachChild

INFO: Child (BitmapFont) attached to this node (null)

Apr 9, 2012 10:12:42 PM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Gui Node)

Apr 9, 2012 10:12:42 PM com.jme3.scene.Node attachChild

INFO: Child (null) attached to this node (Gui Node)

Apr 9, 2012 10:12:42 PM com.jme3.material.MaterialDef <init>

INFO: Loaded material definition: Bloom

Apr 9, 2012 10:12:42 PM com.jme3.material.MaterialDef <init>

INFO: Loaded material definition: Bloom

Apr 9, 2012 10:12:42 PM com.jme3.material.MaterialDef <init>

INFO: Loaded material definition: Bloom

Apr 9, 2012 10:12:42 PM com.jme3.material.MaterialDef <init>

INFO: Loaded material definition: Bloom Final

Apr 9, 2012 10:12:42 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation

INFO: Uniform g_WorldViewMatrix is not declared in shader [ShaderSource[name=Common/MatDefs/Shadow/PreShadow.vert, defines, type=Vertex], ShaderSource[name=Common/MatDefs/Shadow/PreShadow.frag, defines, type=Fragment]].

Apr 9, 2012 10:12:42 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation

INFO: Uniform m_ParallaxHeight is not declared in shader [ShaderSource[name=Common/MatDefs/Shadow/PreShadow.vert, defines, type=Vertex], ShaderSource[name=Common/MatDefs/Shadow/PreShadow.frag, defines, type=Fragment]].

Apr 9, 2012 10:12:42 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation

INFO: Uniform m_Shininess is not declared in shader [ShaderSource[name=Common/MatDefs/Shadow/PreShadow.vert, defines, type=Vertex], ShaderSource[name=Common/MatDefs/Shadow/PreShadow.frag, defines, type=Fragment]].

Apr 9, 2012 10:12:42 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation

INFO: Uniform m_GlowMap is not declared in shader [ShaderSource[name=Common/MatDefs/Shadow/PreShadow.vert, defines, type=Vertex], ShaderSource[name=Common/MatDefs/Shadow/PreShadow.frag, defines, type=Fragment]].

Apr 9, 2012 10:12:42 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation

INFO: Uniform m_ParallaxHeight is not declared in shader [ShaderSource[name=Common/MatDefs/Misc/SimpleTextured.vert, defines, type=Vertex], ShaderSource[name=Common/MatDefs/Light/Glow.frag, defines, type=Fragment]].

Apr 9, 2012 10:12:42 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation

INFO: Uniform m_Shininess is not declared in shader [ShaderSource[name=Common/MatDefs/Misc/SimpleTextured.vert, defines, type=Vertex], ShaderSource[name=Common/MatDefs/Light/Glow.frag, defines, type=Fragment]].

Apr 9, 2012 10:12:42 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation

INFO: Uniform m_DiffuseMap is not declared in shader [ShaderSource[name=Common/MatDefs/Misc/SimpleTextured.vert, defines, type=Vertex], ShaderSource[name=Common/MatDefs/Light/Glow.frag, defines, type=Fragment]].

Apr 9, 2012 10:12:42 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation

INFO: Uniform g_CameraPosition is not declared in shader [ShaderSource[name=Common/MatDefs/Light/Lighting.vert, defines, type=Vertex], ShaderSource[name=Common/MatDefs/Light/Lighting.frag, defines, type=Fragment]].

Apr 9, 2012 10:12:42 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation

INFO: Uniform g_WorldMatrix is not declared in shader [ShaderSource[name=Common/MatDefs/Light/Lighting.vert, defines, type=Vertex], ShaderSource[name=Common/MatDefs/Light/Lighting.frag, defines, type=Fragment]].

Apr 9, 2012 10:12:42 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation

INFO: Uniform m_ParallaxHeight is not declared in shader [ShaderSource[name=Common/MatDefs/Light/Lighting.vert, defines, type=Vertex], ShaderSource[name=Common/MatDefs/Light/Lighting.frag, defines, type=Fragment]].

Apr 9, 2012 10:12:42 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation

INFO: Uniform m_GlowMap is not declared in shader [ShaderSource[name=Common/MatDefs/Light/Lighting.vert, defines, type=Vertex], ShaderSource[name=Common/MatDefs/Light/Lighting.frag, defines, type=Fragment]].

Apr 9, 2012 10:12:49 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation

INFO: Uniform m_HardwareShadows is not declared in shader [ShaderSource[name=Common/MatDefs/Shadow/PostShadowPSSM.vert, defines, type=Vertex], ShaderSource[name=Common/MatDefs/Shadow/PostShadowPSSM.frag, defines, type=Fragment]].

Apr 9, 2012 10:12:49 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation

INFO: Uniform m_FilterMode is not declared in shader [ShaderSource[name=Common/MatDefs/Shadow/PostShadowPSSM.vert, defines, type=Vertex], ShaderSource[name=Common/MatDefs/Shadow/PostShadowPSSM.frag, defines, type=Fragment]].

Apr 9, 2012 10:12:49 PM com.jme3.renderer.lwjgl.LwjglRenderer updateUniformLocation

INFO: Uniform m_PCFEdge is not declared in shader [ShaderSource[name=Common/MatDefs/Shadow/PostShadowPSSM.vert, defines, type=Vertex], ShaderSource[name=Common/MatDefs/Shadow/PostShadowPSSM.frag, defines, type=Fragment]].

#

A fatal error has been detected by the Java Runtime Environment:

#

SIGSEGV (0xb) at pc=0x8c538fbb, pid=6275, tid=2358061936

#

JRE version: 6.0_26-b03

Java VM: Java HotSpot™ Server VM (20.1-b02 mixed mode linux-x86 )

Problematic frame:

C [nouveau_dri.so+0x6efbb] __int128+0x250b

#

An error report file with more information is saved as:

/home/ubuntu/hs_err_pid6275.log

#

If you would like to submit a bug report, please visit:

http://java.sun.com/webapps/bugreport/crash.jsp

The crash happened outside the Java Virtual Machine in native code.

See problematic frame for where to report the bug.

#

Aborted (core dumped)

[/java]



I don’t know if it’s the Filter which is causing the problem, but I’d like some help. Thanks.



PS. On Windows, the game runs fine.

You use the MESA driver, isn’t that software only?

If so it will not support the needed techniques probably.

I don’t know what I was using :confused: I was testing my game on Ubuntu by running from a DVD. Could the problem be that I my Ubuntu is not my main OS and thus the graphics drivers are the default ones?



Also, which ‘techniques’ can I use?

Actually, MESA supports many graphics chips for hardware rendering and the latest version has OpenGL 3.0 and GLSL 1.3 (where it can be supported).

It can run software-only as well though, if you want.

If you have a graphics card with available drivers from the manufacturer, you should probably use those instead though, to see if that fixes the problem. I’m not sure if you can install those in a Live CD session, however.

Hm you are right it supports acceleration. As it seems that .so file you use is a beta opensource driver for nvidia gpu’s. I recoomend to test it with their propiary driver instead. (any maybe send the nouveau team a bugreport stating what happend)

http://nouveau.freedesktop.org/wiki/



According to their feature matrix, none card fully supports fragment and vertex shaders without bugs (and many not even at all). So using a Shader based engine with that driver is probably playing Russian roulette with 5 bullets in the revolver. (add a 6th for the not completly supported texture formats)

What is in /home/ubuntu/hs_err_pid6275.log? that’s the log we need to see.

@Empire Phoenix, so I must download Noveau and try with it?



Also, on Ubuntu (permanently installed), would I be able to install Nvidia’s graphics drivers?

@memonick said:
Also, on Ubuntu (permanently installed), would I be able to install Nvidia's graphics drivers?

Yes, I run nVidias driver in debian (and previously in Ubuntu for several years). The installation is a bit involved - not simple click and run (at least not for me). You have to run in text mode, as root, and be comfortable with installing kernel header files, compilers and also editing xorg.conf. But aside from those things it is actually a pretty nice installer.

Ok thanks about that :slight_smile:

Actually, in Ubuntu, you can usually install the manufacturer’s drivers automatically through the additional/proprietary drivers utility in the system settings. Hopefully your card’s drivers would be there.

@memonick said:
@Empire Phoenix, so I must download Noveau and try with it?

Also, on Ubuntu (permanently installed), would I be able to install Nvidia's graphics drivers?


Thats the driver you are currently using its a free version for nvidia cards that has no external dependencies on non opensource software. However it is obviously not that feature rich as the official nvidia driver.

Wait - that’s Mesa?

@Tumaini said:
Actually, in Ubuntu, you can usually install the manufacturer's drivers automatically through the additional/proprietary drivers utility in the system settings. Hopefully your card's drivers would be there.

Oh yeah, forgot about that :) I stand corrected with the "you have to do stuff manually".