Page 1 of 2

Blank Visualizer Window

Posted: Mon Jan 11, 2021 3:00 am
by deyvidpi
Hello,

The visualizer window is black on Opensim 4.1 and 4.0 on my personnal laptop.
Image

- There is no error message or little red sign on the bottom left
- Restarting doesn't change anything.
- Reinstalling idem.
- It works fine with Opensim 3.3

My environment:
Win 10 Pro, 2004 (which I just force updated)
Lenovo model 4282A82, x64
i7-2720QM CPU @ 2.20GHz
RAM 16 Go
Graphic cards: Intel(R) HD Graphics 3000 + Nvidia Quadro 1000M

Now on the FAQ I see that the most common reason for the OpenSim GUI not being able to launch the visualizer is "No WebGL support: some older machines do not support Hardware Accelerated Graphics rendering used by the new OpenSim Visulization."

Does it seem like it is the problem? I can't get a straight answer whether or not my graphic card supports hardware acceleration. If not, there is just no workaround?

Thank you!

Possibly related issues:

Re: Blank Visualizer Window

Posted: Mon Jan 11, 2021 1:05 pm
by aymanh
Hello,

Thanks for reporting.

If you don't see the error/red error bubble after the first launch (because of a cache that gets built), you can still look for a detailed log file under the folder C:\Users\${user}\AppData\Roaming\.opensim where logs are kept, one folder per version. Your Graphics card is likely powerful enough to support WebGL but there're many players involved (e.g. drivers, are dedicated graphics used or the Intel integrated one?) It's also possible that the issue is somewhere else due to the embedded browser crashing which is more inline with the black window (jxbrowser will appear in the crash call stack). Let us know what you find out and we'll try to help you. The comparison to 3.3 is rather moot since it's quite different technology, but feel free to use version 3.3 for the short term or course work if urgent.

Hope this helps,
-Ayman

Re: Blank Visualizer Window

Posted: Wed Jan 13, 2021 4:23 am
by deyvidpi
Hi, and thank you for your support Ayman!

I'm clearly not good at any of this, so I'm providing as much information as possible.

-----------
If you don't see the error/red error bubble after the first launch (because of a cache that gets built), you can still look for a detailed log file under the folder C:\Users\${user}\AppData\Roaming\.opensim where logs are kept, one folder per version.
Which file should I check for a log?
Capture.PNG
Capture.PNG (14.86 KiB) Viewed 503 times
Capture.PNG
Capture.PNG (40.99 KiB) Viewed 503 times

-----------
Your Graphics card is likely powerful enough to support WebGL but there're many players involved (e.g. drivers, are dedicated graphics used or the Intel integrated one?)
My drivers are up to date.
Under nvidia settings, my prefered GPU is Nvidia processor.
Capture.PNG
Capture.PNG (29.28 KiB) Viewed 503 times
I don't have that switch allowing for hardware accelerated GPU scheduling (despite I upgraded to windows 2004), which may indicate that it's not possible on my computer.
Capture.PNG
Capture.PNG (30.5 KiB) Viewed 503 times

-----------
It's also possible that the issue is somewhere else due to the embedded browser crashing which is more inline with the black window (jxbrowser will appear in the crash call stack).
I was wondering if it could be a jxbrowser issue, but to be honest I'm not sure how to make it sure or how to fix it. I checked this page but it doesn't seem appropriate, and I can't find the file jxbrowser-chromium.dmp they are talking about.
Capture.PNG
Capture.PNG (46.73 KiB) Viewed 503 times
Thanks again for your help!

Re: Blank Visualizer Window

Posted: Wed Jan 13, 2021 12:15 pm
by aymanh
Thank you for sending, typically the log is in var\log\messages.log as a text file.

Best regards,
-Ayman

Re: Blank Visualizer Window

Posted: Fri Jan 15, 2021 2:12 pm
by deyvidpi
Sorry I didn't have access to my personal computer in the last few days, here is the log!

Maybe related: https://github.com/opensim-org/opensim-gui/issues/251
-------------------------------------------------------------------------------
>Log Session: Friday, January 15, 2021 10:09:43 PM CET
>System Info:
Product Version = OpenSim 4.1
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_162; Java HotSpot(TM) 64-Bit Server VM 25.162-b12; Oracle Corporation
Runtime = Java(TM) SE Runtime Environment 1.8.0_162-b12
Java Home = C:\OpenSim 4.1\jdk\jre
System Locale; Encoding = en_FR (opensim); Cp1252
Home Directory = C:\Users\deyvidpi
Current Directory = C:\OpenSim 4.1
User Directory = C:\Users\deyvidpi\AppData\Roaming\.OpenSim\4.1
Cache Directory = C:\Users\deyvidpi\AppData\Roaming\.OpenSim\4.1\var\cache
Installation = C:\OpenSim 4.1\OpenSim
C:\OpenSim 4.1\ide
C:\OpenSim 4.1\platform
Boot & Ext. Classpath = C:\OpenSim 4.1\jdk\jre\lib\resources.jar;C:\OpenSim 4.1\jdk\jre\lib\rt.jar;C:\OpenSim 4.1\jdk\jre\lib\sunrsasign.jar;C:\OpenSim 4.1\jdk\jre\lib\jsse.jar;C:\OpenSim 4.1\jdk\jre\lib\jce.jar;C:\OpenSim 4.1\jdk\jre\lib\charsets.jar;C:\OpenSim 4.1\jdk\jre\lib\jfr.jar;C:\OpenSim 4.1\jdk\jre\classes;C:\OpenSim 4.1\jdk\jre\lib\ext\access-bridge-64.jar;C:\OpenSim 4.1\jdk\jre\lib\ext\cldrdata.jar;C:\OpenSim 4.1\jdk\jre\lib\ext\dnsns.jar;C:\OpenSim 4.1\jdk\jre\lib\ext\jaccess.jar;C:\OpenSim 4.1\jdk\jre\lib\ext\jfxrt.jar;C:\OpenSim 4.1\jdk\jre\lib\ext\localedata.jar;C:\OpenSim 4.1\jdk\jre\lib\ext\nashorn.jar;C:\OpenSim 4.1\jdk\jre\lib\ext\sunec.jar;C:\OpenSim 4.1\jdk\jre\lib\ext\sunjce_provider.jar;C:\OpenSim 4.1\jdk\jre\lib\ext\sunmscapi.jar;C:\OpenSim 4.1\jdk\jre\lib\ext\sunpkcs11.jar;C:\OpenSim 4.1\jdk\jre\lib\ext\zipfs.jar
Application Classpath = C:\OpenSim 4.1\platform\lib\boot.jar;C:\OpenSim 4.1\platform\lib\org-openide-modules.jar;C:\OpenSim 4.1\platform\lib\org-openide-util-lookup.jar;C:\OpenSim 4.1\platform\lib\org-openide-util-ui.jar;C:\OpenSim 4.1\platform\lib\org-openide-util.jar;C:\OpenSim 4.1\platform\lib\locale\boot_ja.jar;C:\OpenSim 4.1\platform\lib\locale\boot_pt_BR.jar;C:\OpenSim 4.1\platform\lib\locale\boot_ru.jar;C:\OpenSim 4.1\platform\lib\locale\boot_zh_CN.jar;C:\OpenSim 4.1\platform\lib\locale\org-openide-modules_ja.jar;C:\OpenSim 4.1\platform\lib\locale\org-openide-modules_pt_BR.jar;C:\OpenSim 4.1\platform\lib\locale\org-openide-modules_ru.jar;C:\OpenSim 4.1\platform\lib\locale\org-openide-modules_zh_CN.jar;C:\OpenSim 4.1\platform\lib\locale\org-openide-util-lookup_ja.jar;C:\OpenSim 4.1\platform\lib\locale\org-openide-util-lookup_pt_BR.jar;C:\OpenSim 4.1\platform\lib\locale\org-openide-util-lookup_ru.jar;C:\OpenSim 4.1\platform\lib\locale\org-openide-util-lookup_zh_CN.jar;C:\OpenSim 4.1\platform\lib\locale\org-openide-util-ui_ja.jar;C:\OpenSim 4.1\platform\lib\locale\org-openide-util-ui_pt_BR.jar;C:\OpenSim 4.1\platform\lib\locale\org-openide-util-ui_ru.jar;C:\OpenSim 4.1\platform\lib\locale\org-openide-util-ui_zh_CN.jar;C:\OpenSim 4.1\platform\lib\locale\org-openide-util_ja.jar;C:\OpenSim 4.1\platform\lib\locale\org-openide-util_pt_BR.jar;C:\OpenSim 4.1\platform\lib\locale\org-openide-util_ru.jar;C:\OpenSim 4.1\platform\lib\locale\org-openide-util_zh_CN.jar
Startup Classpath = C:\OpenSim 4.1\platform\core\asm-all-5.0.1.jar;C:\OpenSim 4.1\platform\core\core-base.jar;C:\OpenSim 4.1\platform\core\core.jar;C:\OpenSim 4.1\platform\core\org-netbeans-libs-asm.jar;C:\OpenSim 4.1\platform\core\org-openide-filesystems-compat8.jar;C:\OpenSim 4.1\platform\core\org-openide-filesystems.jar;C:\OpenSim 4.1\platform\core\locale\core-base_ja.jar;C:\OpenSim 4.1\platform\core\locale\core-base_pt_BR.jar;C:\OpenSim 4.1\platform\core\locale\core-base_ru.jar;C:\OpenSim 4.1\platform\core\locale\core-base_zh_CN.jar;C:\OpenSim 4.1\platform\core\locale\core_ja.jar;C:\OpenSim 4.1\platform\core\locale\core_pt_BR.jar;C:\OpenSim 4.1\platform\core\locale\core_ru.jar;C:\OpenSim 4.1\platform\core\locale\core_zh_CN.jar;C:\OpenSim 4.1\platform\core\locale\org-netbeans-libs-asm_ja.jar;C:\OpenSim 4.1\platform\core\locale\org-netbeans-libs-asm_pt_BR.jar;C:\OpenSim 4.1\platform\core\locale\org-netbeans-libs-asm_ru.jar;C:\OpenSim 4.1\platform\core\locale\org-netbeans-libs-asm_zh_CN.jar;C:\OpenSim 4.1\platform\core\locale\org-openide-filesystems-compat8_ja.jar;C:\OpenSim 4.1\platform\core\locale\org-openide-filesystems-compat8_pt_BR.jar;C:\OpenSim 4.1\platform\core\locale\org-openide-filesystems-compat8_ru.jar;C:\OpenSim 4.1\platform\core\locale\org-openide-filesystems-compat8_zh_CN.jar;C:\OpenSim 4.1\platform\core\locale\org-openide-filesystems_ja.jar;C:\OpenSim 4.1\platform\core\locale\org-openide-filesystems_pt_BR.jar;C:\OpenSim 4.1\platform\core\locale\org-openide-filesystems_ru.jar;C:\OpenSim 4.1\platform\core\locale\org-openide-filesystems_zh_CN.jar;C:\OpenSim 4.1\OpenSim\core\locale\core_opensim.jar
-------------------------------------------------------------------------------
WARNING [org.netbeans.core.modules]: the modules [org.opensim.console, org.opensim.coordinateviewer, org.opensim.helputils, org.opensim.logger, org.opensim.plotter, org.opensim.tracking, org.opensim.utils, org.opensim.view] use org.jdesktop.layout which is deprecated: Use javax.swing.GroupLayout instead. (In form editor: select Form ... in Inspector; change Layout Generation Style to Standard Java 6 code.)
WARNING [org.netbeans.core.modules]: the modules [org.opensim.utils, org.opensim.view] use org.openide.options which is deprecated: Use org.openide.util.NbPreferences instead.
WARNING [java.util.prefs]: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:
org.openide.util.lookup [8.33.1 201609300101]
org.openide.util [9.7.1 201609300101]
org.openide.util.ui [9.6.1 201609300101]
org.openide.modules [7.48.1 201609300101]
org.netbeans.api.progress/1 [1.47.1 201609300101]
org.netbeans.api.annotations.common/1 [1.27.1 201609300101]
org.openide.filesystems [9.10.1 201609300101]
org.openide.awt [7.67.1 201609300101]
org.netbeans.api.progress.nb [1.47.1 201609300101]
org.openide.dialogs [7.42.1 201609300101]
org.openide.nodes [7.45.1 201609300101]
org.openide.windows [6.75.1 201609300101]
org.netbeans.swing.tabcontrol [1.56.1 201609300101]
org.netbeans.swing.outline [1.34.1 201609300101]
org.openide.explorer [6.62.1 201609300101]
org.netbeans.modules.editor.mimelookup/1 [1.40.1 201609300101]
org.openide.text [6.67.1 201609300101]
org.openide.actions [6.39.1 201609300101]
org.netbeans.api.progress.compat8 [1.47.1 201609300101]
org.netbeans.modules.queries/1 [1.43.1 201609300101]
org.netbeans.api.templates [1.7.1 201609300101]
org.apache.xmlgraphics.ps [1.0 200206]
org.jfree [1.0 200206]
org.jfree.data [1.0 200206]
org.netbeans.spi.quicksearch [1.27.1 201609300101]
org.netbeans.libs.asm [5.3.1 201609300101]
org.netbeans.bootstrap/1 [2.76.1 201609300101]
org.netbeans.core.startup.base [1.62.1.1 1 201609300101]
org.netbeans.core.startup/1 [1.62.1.1 201609300101]
org.openide.filesystems.nb [9.9.1 201609300101]
org.openide.loaders [7.66.1 201609300101]
org.netbeans.modules.javahelp/1 [2.41.1 201609300101]
org.netbeans.libs.json_simple/1 [0.12.1 201609300101]
org.opensim.modeling [3.1 200206]
org.jdesktop.layout/1 [1.33.1 201609300101]
org.netbeans.swing.plaf [1.41.1 201609300101]
org.netbeans.modules.keyring [1.24.1 201609300101]
org.netbeans.api.intent [1.2.1 201609300101]
org.netbeans.api.io [1.3.1 201609300101]
org.openide.io [1.49.1 201609300101]
org.netbeans.modules.sampler [1.14.1 201609300101]
org.netbeans.core/2 [3.51.1 201609300101]
org.netbeans.modules.options.api/1 [1.45.1 201609300101]
org.opensim.logger [1.0 200206]
org.openide.filesystems.compat8 [9.9.1 201609300101]
org.openide.options [6.37.1 201609300101]
org.opensim.utils [1.0 200206]
org.eclipse.jetty [1.0 200206]
org.opensim.view [3.204 200206]
org.netbeans.modules.autoupdate.services [1.52.1 201609300101]
org.opensim.updater [1.0 200206]
org.netbeans.modules.settings/1 [1.49.1 201609300101]
org.netbeans.core.windows/2 [2.81.1 201609300101]
org.opensim.plotter [1.0 200206]
org.opensim.tracking [3.207 200206]
org.opensim.javabrowser [1.0 200206]
org.opensim.helputils [1.0 200206]
org.netbeans.api.visual [2.47.1 201609300101]
org.opensim.graphlEditor [1.0 200206]
org.opensim.coordinateviewer [1.0 200206]
org.opensim.console [3.209 200206]
org.apache.xml.resolver [1.31.1.12 12 201609300101]
org.netbeans.modules.editor.util/1 [1.64.1 201609300101]
org.netbeans.modules.editor.document [1.9.1.3 3 201609300101]
org.netbeans.api.xml/1 [1.44.1 201609300101]
org.netbeans.modules.xml.catalog/2 [3.3.1.4 4 201609300101]
org.netbeans.modules.xml.catalog.ui [2.3.1.4 201609300101]
org.netbeans.modules.sendopts/2 [2.35.1 201609300101]
org.netbeans.modules.utilities/1 [1.61.1 201609300101]
org.netbeans.modules.templates/1 [1.7.1 201609300101]
org.netbeans.modules.progress.ui [1.33.1 201609300101]
org.netbeans.modules.print [7.26.1 201609300101]
org.netbeans.modules.options.keymap [1.37.1 201609300101]
org.netbeans.libs.jna/1 [1.44.1 201609300101]
org.netbeans.modules.masterfs/2 [2.55.1.2 2 201609300101]
org.netbeans.modules.masterfs.windows [1.16.1 201609300101]
org.netbeans.modules.masterfs.ui [2.3.1.2 201609300101]
org.netbeans.modules.masterfs.nio2 [1.15.1 201609300101]
org.netbeans.modules.keyring.fallback [1.8.1 201609300101]
org.netbeans.modules.keyring.impl [1.24.1 201609300101]
org.netbeans.modules.favorites/1 [1.46.1 201609300101]
org.netbeans.modules.editor.mimelookup.impl/1 [1.32.1 201609300101]
org.netbeans.modules.autoupdate.cli [1.13.1 201609300101]
org.netbeans.core.ui/1 [1.45.1 201609300101]
org.netbeans.libs.osgi [1.21.1 201609300101]
org.netbeans.libs.felix [2.15.1 201609300101]
org.netbeans.modules.autoupdate.ui [1.45.1 201609300101]
org.netbeans.modules.core.kit [1.30.1 201609300101]
org.netbeans.libs.jna.platform/1 [1.14.1 201609300101]
org.netbeans.core.output2/1 [1.41.1 201609300101]
org.netbeans.core.network [1.10.1 201609300101]
org.netbeans.core.netigso [1.31.1 201609300101]
org.netbeans.core.nativeaccess/1 [1.31.1 201609300101]
org.netbeans.core.multitabs/1 [1.12.1.1 1 201609300101]
org.netbeans.core.io.ui/1 [1.30.1 201609300101]
WARNING [org.netbeans.modules.openide.filesystems.declmime.MIMEResolverImpl]: Ineffective registration of resolver Services/MIMEResolver/OsimModelResolver.xml use @MIMEResolver.Registration! See bug #191777.
WARNING [org.netbeans.modules.openide.filesystems.declmime.MIMEResolverImpl]: Ineffective registration of resolver Services/MIMEResolver/OsimMotResolver.xml use @MIMEResolver.Registration! See bug #191777.
WARNING [org.netbeans.modules.openide.filesystems.declmime.MIMEResolverImpl]: Ineffective registration of resolver Services/MIMEResolver/OsimStoResolver.xml use @MIMEResolver.Registration! See bug #191777.
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy resolver: Windows
INFO [org.netbeans.core.network.proxy.windows.WindowsNetworkProxy]: Windows system proxy resolver: auto detect
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy reloading succeeded.
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy - mode: direct
INFO [org.netbeans.core.network.proxy.NetworkProxyReloader]: System network proxy: fell to default (correct if direct mode went before)
INFO [org.netbeans.ui.metrics.laf]: USG_LOOK_AND_FEEL
WARNING [org.netbeans.TopSecurityManager]: use of system property netbeans.user has been obsoleted in favor of InstalledFileLocator/Places at org.eclipse.jetty.util.log.Log$1.run(Log.java:116)
2021-01-15 22:09:46.237:INFO::Thread-6: Logging initialized @3581ms
2021-01-15 22:09:46.356:INFO:oejs.Server:Thread-6: jetty-9.3.z-SNAPSHOT
2021-01-15 22:09:46.376:INFO:oejsh.ContextHandler:Thread-6: Started o.e.j.s.ServletContextHandler@3ae233c6{/,file:///C:/OpenSim%204.1/OpenSim/,AVAILABLE}
2021-01-15 22:09:46.533:INFO:oejs.ServerConnector:Thread-6: Started ServerConnector@3b7a3342{HTTP/1.1,[http/1.1]}{0.0.0.0:8002}
2021-01-15 22:09:46.534:INFO:oejs.Server:Thread-6: Started @3881ms
Diagnostic information
Input arguments:
-Xms24m
-Xmx1024m
-Dsun.java2d.ddoffscreen=false
-Dsun.java2d.gdiblit=false
-Dsun.java2d.noddraw=true
-Duser.language=en
-Dopensim.buildnumber=4.1
-XX:MaxPermSize=384m
-Dnetbeans.user.dir=C:\OpenSim 4.1
-Djdk.home=jdk
-splash:C:\Users\deyvidpi\AppData\Roaming\.OpenSim\4.1\var\cache\splash.png
-Djdk.launcher.addexports.0=java.desktop/sun.awt=ALL-UNNAMED
-Djdk.launcher.addexports.1=java.base/jdk.internal.jrtfs=ALL-UNNAMED
-Djdk.launcher.addexports.2=java.desktop/java.awt.peer=ALL-UNNAMED
-Djdk.launcher.addexports.3=java.desktop/com.sun.beans.editors=ALL-UNNAMED
-Djdk.launcher.addexports.3=java.desktop/sun.awt.im=ALL-UNNAMED
-Djdk.launcher.addexports.4=java.desktop/com.sun.java.swing.plaf.windows=ALL-UNNAMED
-Djdk.launcher.addexports.5=java.management/sun.management=ALL-UNNAMED
-Dnetbeans.home=C:\OpenSim 4.1\platform
-Dnetbeans.user=C:\Users\deyvidpi\AppData\Roaming\.OpenSim\4.1
-Dnetbeans.default_userdir_root=
-XX:+HeapDumpOnOutOfMemoryError
-XX:HeapDumpPath=C:\Users\deyvidpi\AppData\Roaming\.OpenSim\4.1\var\log\heapdump.hprof
-Dsun.awt.keepWorkingSetOnMinimize=true
-Dnetbeans.dirs=C:\OpenSim 4.1\OpenSim;C:\OpenSim 4.1\ide
exit
Compiler: HotSpot 64-Bit Tiered Compilers
Heap memory usage: initial 24.0MB maximum 910.5MB
Non heap memory usage: initial 2.4MB maximum -1b
Garbage collector: PS Scavenge (Collections=17 Total time spent=0s)
Garbage collector: PS MarkSweep (Collections=3 Total time spent=0s)
Classes: loaded=8444 total loaded=8453 unloaded 9
INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 16,944,181,248
INFO [null]: Total physical memory 16,944,181,248
WARNING [org.openide.filesystems.Ordering]: Not all children in Menu/Window/ marked with the position attribute: [org-netbeans-core-windows-actions-GlobalPropertiesAction.shadow, org-opensim-console-ScriptingShellTopComponent.shadow, org-opensim-coordinateviewer-CoordinateViewerAction.shadow, org-opensim-graphlEditor-topologyEditorTopComponent.shadow, org-opensim-javabrowser-jxBrowserTopComponent.shadow, org-opensim-logger-LoggerAction.shadow], but some are: [org-opensim-view-ExplorerAction.instance, ConfigureWindow, Separator4.instance]
WARNING [org.openide.filesystems.Ordering]: Found same position 500 for both Menu/Help/Separator1.instance and Menu/Help/org-opensim-plotter-separatorBefore.instance

Re: Blank Visualizer Window

Posted: Thu Jan 21, 2021 3:26 pm
by deyvidpi
I know I shouldn't do it too often, but here is a little UP ;)

Re: Blank Visualizer Window

Posted: Fri Jan 22, 2021 1:57 am
by idhamari
I had a similar problem when building from source. Usually, I had to install/update one or both of these tools: JxBrowser and threejs !

Re: Blank Visualizer Window

Posted: Fri Jan 22, 2021 5:24 am
by deyvidpi
Thanks for your answer, I didn't build it from source though.
But maybe it's worth the try. In that case, do you mean I should first build jxBrowser and threejs; and then build Opensim?

Re: Blank Visualizer Window

Posted: Sun Jan 24, 2021 12:19 pm
by idhamari
Probably, I don't use the release version. In your case hat I would do is remove everything, restart, redownload then re-install. Also try different versions to isolate the problem.

Good luck!

Re: Blank Visualizer Window

Posted: Wed Jan 27, 2021 10:27 am
by deyvidpi
I already tried this, it happens for both 4.0 and 4.1, and is probably due to a problem in jxBrowser. No idea what this problem is, if I'm the only one facing it, not how to solve it though :cry: