Error with Jaamsim

806 views
Skip to first unread message

vaibhav chauhan

unread,
Sep 8, 2021, 7:51:47 AM9/8/21
to Jaamsim Users Discussion Group
Hi,
I need some help with running Jaamsim on my laptop. Actually when I open Jaamsim, it does not display any gridlines, the entire window that we make our model on is not visible in my case. I redownloaded the software but it still does not work. Is it because I have Ryzen (AMD) processor instead of intel? or I am doing something wrong. I am attaching the picture of the window that opens up when I open Jaamsim.
Please have a look at the picture. I would really appreciate it if someone could help me with the issue.
Regards
Vaibhav
jaamsim issue.PNG

Harvey Harrison

unread,
Sep 8, 2021, 12:22:43 PM9/8/21
to vaibhav chauhan, Jaamsim Users Discussion Group
Open the Tools-> Log Viewer menu item, does the log viewer show any errors?

Harvey

--
You received this message because you are subscribed to the Google Groups "Jaamsim Users Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jaamsim-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/jaamsim-users/44696762-d326-4fec-9d35-8fd2c79e367dn%40googlegroups.com.

vaibhav chauhan

unread,
Sep 8, 2021, 12:34:43 PM9/8/21
to Harvey Harrison, Jaamsim Users Discussion Group
Thanks for the reply Harvey. I am sharing a picture of the log viewer, please have a look at it.
Vaibhav
2.PNG

Sascha Uhlmann

unread,
Sep 8, 2021, 1:42:31 PM9/8/21
to vaibhav chauhan, Harvey Harrison, Jaamsim Users Discussion Group
Hi, I have the same issue running the jar file on linux.

Br
Sascha

sawo...@gmail.com

unread,
Sep 14, 2021, 11:44:41 AM9/14/21
to Jaamsim Users Discussion Group
From my experience, this phenomenon is either a graphics card issue or an anti-virus issue.  Try downloading the latest drivers for your graphics card.  Or try disabling the anti-virus software for a quick test.  Note, disabling the anti-virus sometimes takes several minutes to take effect.

Hope this helps,
Stephen

Harry King

unread,
Oct 5, 2021, 6:55:47 PM10/5/21
to Jaamsim Users Discussion Group
Vaibhav and Sascha,

Release 2021-05 includes some new debugging information for graphics system errors that will help us to figure out what is going on. Please try this release on your computer and post the contents of the Log Viewer (Tools > Log Viewer).

Harry

uhlman...@googlemail.com

unread,
Oct 6, 2021, 9:39:25 AM10/6/21
to Jaamsim Users Discussion Group

Hello,

with the new version, the toolbar works.
Below is the report of the log viewer:

Loading Simulation Environment ... 
Simulation Environment Loaded
View window requested: View1
Found OpenGL version: 4.3 (Core profile, arb, compat[ES2, ES3, ES31, ES32], FBO, hardware) - 4.3 (Core Profile) Mesa 19.2.8
Found GLSL: #version 430 core

OpenGL Major: 4 Minor: 3 IsCore:true
Renderer initialized
Renderer loop started
RenderManager loop started
View window created: View1
View window displayed: View1

I started the app with the following code you proposed:
java -jar JaamSim2021-04.jar -sg

Without the sg code, the app (version 5) doesn't start anymore.
I get the following error:
The 3D graphics system has encountered a fatal error:

Shader failed: MESH_BATCH Program link failure: 
error: Too many fragment shader texture samplers

I  use the following java version: openjdk version "11.0.12" 2021-07-20

Thank you for your support

Br
Sascha

uhlman...@googlemail.com

unread,
Oct 6, 2021, 9:44:19 AM10/6/21
to Jaamsim Users Discussion Group
Hello,

as I closed the app I got the following message in the terminal:
java -jar JaamSim2021-05.jar -sg









X11Util.Display: Shutdown (JVM shutdown: true, open (no close attempt): 4/4, reusable (open, marked uncloseable): 0, pending (open in creation order): 4)
X11Util: Open X11 Display Connections: 4
X11Util: Open[0]: NamedX11Display[:0, 0x5c86f63f1d20, refCount 1, unCloseable false]
X11Util: Open[1]: NamedX11Display[:0, 0x7c6114152c50, refCount 1, unCloseable false]
X11Util: Open[2]: NamedX11Display[:0, 0x7c6110001be0, refCount 1, unCloseable false]
X11Util: Open[3]: NamedX11Display[:0, 0x7c6110021260, refCount 1, unCloseable false]

Br
Sascha

uhlman...@googlemail.com

unread,
Oct 6, 2021, 9:48:30 AM10/6/21
to Jaamsim Users Discussion Group
Hi,

I tried it again and after closing, I got that report:
java -jar JaamSim2021-05.jar -sg
Thread[RenderThread-Display-.x11_:0-1-EDT-1,5,main]: Warning: Default-EDT about (2) to stop, task executed. Remaining tasks: 1 - Thread[RenderThread-Display-.x11_:0-1-EDT-1,5,main]
java.lang.ThreadDeath
        at java.base/java.lang.Thread.stop(Thread.java:937)
        at com.jogamp.newt.opengl.GLWindow$GLLifecycleHook$1.run(GLWindow.java:747)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at com.jogamp.newt.opengl.GLWindow$GLLifecycleHook.shutdownRenderingAction(GLWindow.java:742)
        at jogamp.newt.WindowImpl.shutdown(WindowImpl.java:656)
        at jogamp.newt.WindowImpl.shutdownAll(WindowImpl.java:124)
        at jogamp.newt.DisplayImpl$1.run(DisplayImpl.java:76)
        at com.jogamp.nativewindow.NativeWindowFactory.shutdown(NativeWindowFactory.java:342)
        at com.jogamp.nativewindow.NativeWindowFactory$1$1.run(NativeWindowFactory.java:247)
        at java.base/java.lang.Thread.run(Thread.java:829)

java.lang.ThreadDeath
        at java.base/java.lang.Thread.stop(Thread.java:937)
        at com.jogamp.newt.opengl.GLWindow$GLLifecycleHook$1.run(GLWindow.java:747)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at com.jogamp.newt.opengl.GLWindow$GLLifecycleHook.shutdownRenderingAction(GLWindow.java:742)
        at jogamp.newt.WindowImpl.shutdown(WindowImpl.java:656)
        at jogamp.newt.WindowImpl.shutdownAll(WindowImpl.java:124)
        at jogamp.newt.DisplayImpl$1.run(DisplayImpl.java:76)
        at com.jogamp.nativewindow.NativeWindowFactory.shutdown(NativeWindowFactory.java:342)
        at com.jogamp.nativewindow.NativeWindowFactory$1$1.run(NativeWindowFactory.java:247)
        at java.base/java.lang.Thread.run(Thread.java:829)

X11Util.Display: Shutdown (JVM shutdown: true, open (no close attempt): 3/3, reusable (open, marked uncloseable): 0, pending (open in creation order): 3)
X11Util: Open X11 Display Connections: 3
X11Util: Open[0]: NamedX11Display[:0, 0x7c4f740b79c0, refCount 1, unCloseable false]
X11Util: Open[1]: NamedX11Display[:0, 0x7c4f9019d690, refCount 1, unCloseable false]
X11Util: Open[2]: NamedX11Display[:0, 0x7c4f980238f0, refCount 1, unCloseable false]

Br
Sascha

Harry King

unread,
Oct 6, 2021, 10:13:03 AM10/6/21
to Jaamsim Users Discussion Group
Hi Sascha,

Thank you for trying release 2021-05.

The 'ThreadDeath' and 'X11Util' error messages on closing the software are normal and do not do any harm. They are an artifact from the OpenGL software we are using.

Do you still have problems with drag-and-drop and the menus with the new version? I don't think there is anything in release 2021-05 that would fix those problems.

What version of Linux are you using?

Harry

Tim Fry

unread,
Oct 9, 2021, 5:36:27 PM10/9/21
to Jaamsim Users Discussion Group
All,

I have tried JaamSim2021-05.jar, JaamSim2021-05.exe and JaamSim2021-05_x86.exe from command line, with and without the -sg. 
I have tried JaamSim2021-05.exe and JaamSim2021-05_x86.exe by double clicking on the file in the Windows Explorer window.

Both the 64-bit version and the jar version launch, but the View1 is missing, just as several above have described.  Only the x86 32-bit version launches and successfully displays the View1 window.

I'm running a month-old Dell Precision7550 with Windows 10.

Tim

Harry King

unread,
Oct 9, 2021, 5:52:09 PM10/9/21
to Jaamsim Users Discussion Group
Tim,

What versions of the Java JDK (or JRE) are you running? Note that there are separate versions for 32-bit and 64-bit. Probably that is the reason why only the x86 version of JaamSim launches correctly, i.e. you have the right version of the 32-bit JDK and the wrong version of the 64-bit JDK. In both cases, you should install version 8 (LTS) of the JDK.

Harry

Tim Fry

unread,
Oct 9, 2021, 5:54:26 PM10/9/21
to Jaamsim Users Discussion Group
C:\Users\tjf25>java -version
java version "17" 2021-09-14 LTS
Java(TM) SE Runtime Environment (build 17+35-LTS-2724)
Java HotSpot(TM) 64-Bit Server VM (build 17+35-LTS-2724, mixed mode, sharing)

Harry King

unread,
Oct 9, 2021, 5:57:36 PM10/9/21
to Jaamsim Users Discussion Group
Tim,

Okay, that is what I thought. Installing version 8 (LTS) should solve the problem for 64-bit JaamSim.

Harry

Tim Fry

unread,
Oct 9, 2021, 5:58:40 PM10/9/21
to Jaamsim Users Discussion Group
Thank you Harry.

Tim Fry

unread,
Oct 9, 2021, 6:08:30 PM10/9/21
to Jaamsim Users Discussion Group
That fixed it.  Thanks again Harry.

federico agustin cuneo paterlino

unread,
Sep 17, 2023, 12:35:52 PM9/17/23
to JaamSim Users Discussion Group
Hi,
I`m having the same issue as Vaibhav that when I open Jaamsim, it does not display any gridlines, the entire window that we make our model on is not visible. 
I tried reinstalling, and updating graphs drivers and also Java latest JDK but still I can`t see view 1 screen.
Any idea what I am doing wrong? I am attaching the picture of the window that opens up when I open Jaamsim.
Below is log viewer comments:

Operating System: Windows 10 (version: 10.0)
Java: Eclipse Adoptium (version: 17.0.8.1)
Software: JaamSim (version: 2023-06)


Loading Simulation Environment ...
Simulation Environment Loaded
View window requested: View1
Renderer encountered a fatal error:
com.jogamp.opengl.GLException: Profile GL2GL3 is not available on null, but: []
at com.jogamp.opengl.GLProfile.get(GLProfile.java:1012)
at com.jogamp.opengl.GLProfile.get(GLProfile.java:1025)
at com.jaamsim.render.Renderer.mainRenderLoop(Renderer.java:210)
at com.jaamsim.render.Renderer.access$000(Renderer.java:91)
at com.jaamsim.render.Renderer$1.run(Renderer.java:197)
at java.base/java.lang.Thread.run(Thread.java:833)

Renderer loop started
Renderer failed with error: Profile GL2GL3 is not available on null, but: []

I would really appreciate it if someone could help me with the issue.
Regards

Federico
errro graph.JPG

Harry King

unread,
Sep 17, 2023, 2:09:16 PM9/17/23
to JaamSim Users Discussion Group
Federico,

This error could happen if you launch JaamSim under Java 17 using the .jar file instead of the .exe file. If this is the case, download JaamSim2023-06.exe and try that version.

Harry

Cúneo Paterlino Federico

unread,
Sep 17, 2023, 4:51:58 PM9/17/23
to Harry King, JaamSim Users Discussion Group
May thanks Harry for your prompt response.
I tried launching JaamSim2023-06.exe but some error pop´s up.

image.png


--
You received this message because you are subscribed to the Google Groups "JaamSim Users Discussion Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to jaamsim-user...@googlegroups.com.


--
------------------------------------------------------------
Federico Cúneo Paterlino


Harry King

unread,
Sep 17, 2023, 5:31:54 PM9/17/23
to JaamSim Users Discussion Group
Try installing version 8 (LTS) version of Adoptium Java instead of 17. This is the version of Java under which JaamSim is developed.

Also, send me a screenshot for the Settings > About display for your computer. It is possible that there is something weird about your computer that prevents JaamSim from running correctly.

Harry

Cúneo Paterlino Federico

unread,
Sep 18, 2023, 12:44:11 PM9/18/23
to Harry King, JaamSim Users Discussion Group
Hello Harry, sorry but the same error keeps popping up, don´t really know what I'm doing wrong.


image.png

image.png

Cúneo Paterlino Federico

unread,
Sep 18, 2023, 12:46:41 PM9/18/23
to Harry King, JaamSim Users Discussion Group
Graphs drivers were already updated too.
image.png

Harry King

unread,
Sep 18, 2023, 12:58:55 PM9/18/23
to JaamSim Users Discussion Group
Check the Nvidia control panel to see whether the laptop uses the Nvidia chip or the CPU's integrated graphics processor for JaamSim. Usually, the setting defaults to the CPU's processor to reduce power consumption. If this is the case, then changing the setting to use the Nvidia processor might fix the problem. If you are already using the Nvidia processor, try changing the setting to the CPU's processor. Check whether the driver for the integrated graphics processor needs updating.

Also, please provide a screenshot of your Setting > About screen so that I can see the details about the CPU for your computer.

Harry

Harvey Harrison

unread,
Sep 18, 2023, 1:12:01 PM9/18/23
to Cúneo Paterlino Federico, Harry King, JaamSim Users Discussion Group
Can you please try the version here, this vaguely looks like a bug
that might have been fixed in an updated version of jogl, I've rebuilt
the exe here for you to try:

https://github.com/jaamsim/jaamsim/releases/tag/v2023-06-jogl25

Harvey

On Mon, Sep 18, 2023 at 9:46 AM Cúneo Paterlino Federico
<cune...@gmail.com> wrote:
>
> Graphs drivers were already updated too.
>
>
> El lun, 18 sept 2023 a las 11:43, Cúneo Paterlino Federico (<cune...@gmail.com>) escribió:
>>
>> Hello Harry, sorry but the same error keeps popping up, don´t really know what I'm doing wrong.
>>
>>
>>
>>
>>
>>
>> El dom, 17 sept 2023 a las 16:31, Harry King (<d.harr...@gmail.com>) escribió:
>>>
>>> Try installing version 8 (LTS) version of Adoptium Java instead of 17. This is the version of Java under which JaamSim is developed.
>>>
>>> Also, send me a screenshot for the Settings > About display for your computer. It is possible that there is something weird about your computer that prevents JaamSim from running correctly.
>>>
>>> Harry
>>>
>>> On Sunday, September 17, 2023 at 1:51:58 PM UTC-7 cune...@gmail.com wrote:
>>>>
>>>> May thanks Harry for your prompt response.
>>>> I tried launching JaamSim2023-06.exe but some error pop´s up.
>>>>
>>>>
>>>>
>>>>
> To view this discussion on the web, visit https://groups.google.com/d/msgid/jaamsim-users/CANrkLNVJtJ-AQnue1jbVBJYLAeuFjetWhcP%2BvzysejL97ffCmA%40mail.gmail.com.

Harry King

unread,
Sep 21, 2023, 12:45:35 PM9/21/23
to JaamSim Users Discussion Group
The Nvidia Control Panel image that you emailed us shows that JaamSim uses the global configuration. Please check whether the global configuration uses the Nvidia processor or the integrated graphics processor. Once you have done that, change the global configuration to use the opposite choice and try JaamSim again. I suspect that the integrated graphics processor is the one that is malfunctioning, and that JaamSim will work correctly once you switch to the Nvidia processor.

Harry

László Kecskés

unread,
Aug 9, 2024, 10:31:14 AM8/9/24
to JaamSim Users Discussion Group
Hi,
I have a similar error on my workstation. After starting JaamSim all windows are opened except the main workspace window, after few seconds crash.
I have tried with java version 8, 17, 21. All behaviors are the same. Checked to start with integrated graphic chip and nvidia. Nothing changed. I'm totally stucked.
It's an Ubuntu 22.04 OS with Nvidia RTX4070, with Ryzen5 CPU. My laptop with same OS with RTX4060 and i9 CPU works without problem. The Nvidia driver is 550 on both computer.
I assume a package missing somewhere but not able to find it.

Laszlo
hs_err_pid5262.log

László Kecskés

unread,
Aug 10, 2024, 1:07:30 PM8/10/24
to JaamSim Users Discussion Group
I have small update of debugging.
Reinstalling the OS not help.
I have connected one monitor to the integrated video card and changed in BIOS as primary video output. The second monitor stayed with Nvidia.
The JaamSim has started and run without issue, but this status caused some problem in video performance and sometimes hanging when moving windows between monitors.
When changed BIOS and connect back both monitor to Nvidia card, the JaamSim issue has came back.

László Kecskés

unread,
Aug 23, 2024, 7:11:44 AM8/23/24
to JaamSim Users Discussion Group
I have made a test with version 2024-06.
The crashing still exists with X11 window manager.
JaamSim starts with Wayland but get error "Exception in thread "AWT-EventQueue-0" com.jaamsim.input.InputErrorException: Expected an integer between 1 and 8192, received: 0". This error got with X11, too.
hs_err_pid22988.log
Reply all
Reply to author
Forward
0 new messages