Problems with my first jME program on NetBeans

Hi thank you for your help. I am learning how to use jME framework, I am following this guide http://wiki.netbeans.org/Java3DGamingWithNetBeans. When I run the main program this show a video configurarion window pops up but When I click to the Ok button, I don

Probably a driver issue. Try updating your video card driver.

Hello, I can't sleep jejeje, When the HelloWord Program is running show into Output log this code:


3/12/2009 10:40:32 AM com.jme.app.BaseGame start
INFO: Application started.
13/12/2009 10:40:32 AM com.jme.system.PropertiesGameSettings <init>
INFO: PropertiesGameSettings created
13/12/2009 10:40:32 AM com.jme.system.PropertiesGameSettings load
INFO: Read properties
13/12/2009 10:40:37 AM com.jme.input.joystick.DummyJoystickInput <init>
INFO: Joystick support is disabled
13/12/2009 10:40:37 AM com.jme.system.lwjgl.LWJGLDisplaySystem <init>
INFO: LWJGL Display System created.
13/12/2009 10:40:37 AM com.jme.system.lwjgl.LWJGLDisplaySystem getValidDisplayMode
INFO: Selected DisplayMode: 1280 x 960 x 24 @60Hz
13/12/2009 10:40:37 AM com.jme.system.PropertiesGameSettings save
INFO: Saved properties
13/12/2009 10:40:37 AM com.jme.app.BaseSimpleGame initSystem
INFO: jME version 2.0 Stable (r4093)
13/12/2009 10:40:37 AM com.jme.system.DisplaySystem getDisplaySystem
ADVERTENCIA: SystemProvider already set
13/12/2009 10:40:37 AM com.jme.system.lwjgl.LWJGLDisplaySystem getValidDisplayMode
INFO: Selected DisplayMode: 1280 x 960 x 24 @60Hz
13/12/2009 10:40:38 AM com.jme.renderer.lwjgl.LWJGLRenderer <init>
INFO: LWJGLRenderer created. W: 1.280 H: 960        Version: 2.1.0
13/12/2009 10:40:38 AM com.jme.app.BaseSimpleGame initSystem
INFO: Running on: null
Driver version: null
Mesa Project - Software Rasterizer - 2.1 Mesa 7.6
13/12/2009 10:40:39 AM com.jme.renderer.AbstractCamera <init>
INFO: Camera created.
13/12/2009 10:40:39 AM com.jme.util.lwjgl.LWJGLTimer <init>
INFO: Timer resolution: 1000 ticks per second
13/12/2009 10:40:39 AM com.jme.scene.Node <init>
INFO: Node created.
13/12/2009 10:40:39 AM com.jme.scene.Node <init>
INFO: Node created.
13/12/2009 10:40:39 AM com.jme.scene.Node <init>
INFO: Node created.
13/12/2009 10:40:39 AM com.jme.scene.Node attachChild
INFO: Child "Graph node" attached to this node "Stats node"
13/12/2009 10:40:39 AM com.jme.renderer.lwjgl.LWJGLTextureRenderer <init>
INFO: FBO support detected.
13/12/2009 10:40:39 AM com.jme.renderer.lwjgl.LWJGLTextureRenderer initCamera
INFO: Init RTT camera
13/12/2009 10:40:39 AM com.jme.renderer.AbstractCamera <init>
INFO: Camera created.
13/12/2009 10:40:39 AM com.jme.scene.Node <init>
INFO: Node created.
13/12/2009 10:40:39 AM com.jme.scene.Line <init>
INFO: Line created.
13/12/2009 10:40:39 AM com.jme.renderer.lwjgl.LWJGLTextureRenderer setupTexture
INFO: setup fbo tex with id 2: 1.280,720
13/12/2009 10:40:39 AM com.jme.scene.Node attachChild
INFO: Child "lineGraph" attached to this node "Graph node"
13/12/2009 10:40:39 AM com.jme.scene.Node attachChild
INFO: Child "f4" attached to this node "Graph node"
13/12/2009 10:40:39 AM com.jme.renderer.lwjgl.LWJGLTextureRenderer <init>
INFO: FBO support detected.
13/12/2009 10:40:39 AM com.jme.renderer.lwjgl.LWJGLTextureRenderer initCamera
INFO: Init RTT camera
13/12/2009 10:40:39 AM com.jme.renderer.AbstractCamera <init>
INFO: Camera created.
13/12/2009 10:40:39 AM com.jme.scene.Node <init>
INFO: Node created.
13/12/2009 10:40:39 AM com.jme.renderer.lwjgl.LWJGLTextureRenderer setupTexture
INFO: setup fbo tex with id 3: 1.280,240
13/12/2009 10:40:39 AM com.jme.scene.Node attachChild
INFO: Child "labelGraph" attached to this node "Graph node"
13/12/2009 10:40:39 AM com.jme.scene.Node attachChild
INFO: Child "My box" attached to this node "rootNode"
Java Result: 139
BUILD SUCCESSFUL (total time: 7 seconds)



Into the log I see two code lines

13/12/2009 10:40:38 AM com.jme.app.BaseSimpleGame initSystem
INFO: Running on: null
Driver version: null



Is this my problem??? :?
Other thing is that .os file libs where are go?

I see you are using the Mesa Software Rasterizer and not the DRM (Direct Rendering Manager) with hardware acceleration, this is most likely your problem. I have been using netbeans on Ubuntu and jME and have had no problems, though I am using the hardware accelerated version of Mesa 7.6. I also recommend that you not use the JOGL backend or fullscreen while developing your app. The JOGL backend is not implemented properly and does not recieve any Input from the mouse or keyboard on Linux. So open synaptic and do a search for "libgl mesa" and make sure you have libgl1-mesa-dri, libgl1-mesa-glx, libglu-mesa" installed and not the "libgl*-mesa-swx11" counterparts. Also make sure that you have the "libdrm-<your video card>" installed or that it is supported.

Hi!!! thank you for yous answers,  realpadpple, I have libgl1-mesa-dri, libgl1-mesa-glx, libglu-mesa" installed on my Desktop. I have this Hardware

01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter



I tried with NetBeans and JME from svn. With this way I can see the Monkey face and nothing more.
I will try to use jME on Eclipse, I want to see what happen with Eclipse. If this one will working succesfully I will to try with Netbeasn again.

Thank you.

Hi! I can to configure Eclipse but I have the same problem too.



I need a Powerfull video card?



When I had Installed Windows Xp I can configure DarkSDK and I can test the progrmas samples.



I am working with Java3D at NetBeans, In this configuration I had that move "*.so" files to jre's directory. If I can run Java3D programs, why not can I run jME programs?



I don't know what is the problem. What another thing can I test?

Wow I see this information about the General System Requirements for Applications Built with the jMonkeyEngine on this link

http://www.jmonkeyengine.com/wiki/doku.php/hardware_compatibility_list,

      CPU: 1-2 Ghz ?
      Memory: 1 GB RAM ?
      Graphics card
          o
            NVIDIA GeForce 7600, NVIDIA GeForce 9600, or better
          o
            ATI Radeon X700, ATI Radeon HD 2600, or better



My video card is [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA. In the same Web Page say that my video adapter is very slow to run the jME programs.

I Will to try with the other hardware.  :( :cry:


I'm not familiar with that hardware so it must be pretty old. Even if you have these libs installed they may not be being used by your video card or the kernel. Open a terminal and issue this command to check "lsmod | grep '^drm'" (with out double quotes), and make sure that the third column is a number greater than 0 and that the forth column lists your video driver kernel module name. On a side note I am running jME on an intel integrated graphics card (915GM Express Graphics Controler) under Ubuntu and though all the shader stuff is not supported, I am able to make sure, while developing my game, that it will work on the most common lower powered video cards as well as the highest powered ones to.

Hi,

I was executing "lsmod | grep '^drm'" command but don't see nothing, I run "lsmod" command and this is my Output.

Module                  Size  Used by
nls_iso8859_1           3740  1
nls_cp437               5372  1
vfat                   10716  1
fat                    51452  1 vfat
isofs                  31620  1
udf                    80900  0
crc_itu_t               1852  1 udf
binfmt_misc             8356  1
vboxnetflt             84840  0
vboxnetadp             78344  0
vboxdrv               121160  1 vboxnetflt
iptable_filter          3100  0
ns558                   5404  0
snd_intel8x0           30168  2
snd_ac97_codec        101216  1 snd_intel8x0
ac97_bus                1532  1 snd_ac97_codec
snd_pcm_oss            37920  0
snd_mixer_oss          16028  1 snd_pcm_oss
snd_pcm                75296  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
ppdev                   6688  0
ip_tables              11692  1 iptable_filter
x_tables               16544  1 ip_tables
gameport               11368  2 ns558
snd_seq_dummy           2656  0
parport_pc             31940  1
psmouse                56500  0
serio_raw               5280  0
shpchp                 32272  0
i2c_sis96x              3904  0
snd_seq_oss            28576  0
snd_seq_midi            6432  0
snd_rawmidi            22208  1 snd_seq_midi
snd_seq_midi_event      6940  2 snd_seq_oss,snd_seq_midi
snd_seq                50224  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              22276  2 snd_pcm,snd_seq
snd_seq_device          6920  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    59204  14 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               7264  1 snd
snd_page_alloc          9156  2 snd_intel8x0,snd_pcm
lp                      8964  0
parport                35340  3 ppdev,parport_pc,lp
floppy                 54916  0
sis900                 19932  0
mii                     5212  1 sis900
sis_agp                 6972  1
agpgart                34988  1 sis_agp



I do the same configuration at Windows Xp and was succesfull. The diferences was the Video Adapter.

Is it my SiS Video Adapter unsupported with jME?