figures suddenly very slow
100 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jason Doyle
le 28 Oct 2021
Réponse apportée : Ali Özgür Argunsah
le 18 Août 2023
Suddenly, it takes ~15 seconds to render even one point in a figure. There was some update to the machine over the weekend and I also recently installed 2021a. I'd try 2017 again, but 2017 says my license is no good now.
>> memory
Maximum possible array: 50646 MB (5.311e+10 bytes) *
Memory available for all arrays: 50646 MB (5.311e+10 bytes) *
Memory used by MATLAB: 2315 MB (2.427e+09 bytes)
Physical Memory (RAM): 32520 MB (3.410e+10 bytes)
>> tic; plot(1); toc
Elapsed time is 0.016784 seconds.
This opens a figure right away. However, the console is unresponsive and the plot doesn't show data for another 15 seconds
If I run it again and re use the figure it is fast.
So I tried running 'bench' and it crashes the matlab console all together. But not always.
>> bench
Exception in thread "AWT-EventQueue-0": java.lang.RuntimeException: Waited 5000ms for: <19db8c0b, 532b36d3>[count 2 [ add. 0, orig 2], qsz 0, owner <Startup Class Loader>, add.owner Startup Class Loader-SharedResourceRunner] - <AWT-EventQueue-0>
at jogamp.common.util.locks.RecursiveLockImpl01Unfairish.lock(RecursiveLockImpl01Unfairish.java:198)
at com.jogamp.opengl.GLProfile.initSingleton(GLProfile.java:199)
at com.jogamp.opengl.GLProfile.getDefaultDevice(GLProfile.java:2003)
at com.jogamp.opengl.GLCapabilities.<init>(GLCapabilities.java:84)
at com.mathworks.hg.peer.GLCanvasPeerFactory.getCaps(GLCanvasPeerFactory.java:22)
at com.mathworks.hg.peer.GLCanvasPeerFactory.createHGCanvasPeerWithComponent(GLCanvasPeerFactory.java:88)
at com.mathworks.hg.peer.GraphicsPeerWithComponent.createJOGLCanvas(GraphicsPeerWithComponent.java:19)
at com.mathworks.hg.peer.GraphicsPeer.doCreateCanvas(GraphicsPeer.java:119)
at com.mathworks.hg.peer.GraphicsPeer.access$100(GraphicsPeer.java:16)
at com.mathworks.hg.peer.GraphicsPeer$1.run(GraphicsPeer.java:174)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Exception in thread "AWT-EventQueue-0": java.lang.RuntimeException: Waited 5000ms
How can I debug this? Is it a Java version problem? Is it a Nvidia driver problem? Opengl? And I don't have admin rights on my machine so some of my options are limited. Doing a re-install or moving to 2021b is a big hassle for me.
2 commentaires
Walter Roberson
le 28 Oct 2021
I would first tend to suspect a graphics driver problem. Not necessarily NVIDIA as maybe you have more than one graphics card; use opengl info to see what it thinks about your graphics cards.
My suspicion after that would be the possibility that a different JAVA version got linked in.
Réponse acceptée
Jason Doyle
le 28 Oct 2021
Modifié(e) : Jason Doyle
le 30 Oct 2021
3 commentaires
Walter Roberson
le 29 Oct 2021
Modifié(e) : Walter Roberson
le 30 Oct 2021
Walter Roberson
le 29 Oct 2021
The abbreviation I was looking for is TCC vs WDDM. In TCC mode remote rendering is supported, but not opengl, so this must be something different than what I linked to above about OpenGL.
I am not able to find documentation to confirm that the t1000 supports TCC. It "should" since it is quadro, but...
I do find that a utility program named GPU-Z is able to print out information about tcc support. I have not used GPU-Z but I have used CPU-Z and it is a useful program.
Plus de réponses (2)
Ali Özgür Argunsah
le 18 Août 2023
If the "Parallel Pool" is running, it takes longer to make figures.
0 commentaires
Voir également
Catégories
En savoir plus sur Startup and Shutdown dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!