figures suddenly very slow
조회 수: 100 (최근 30일)
이전 댓글 표시
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
Walter Roberson
2021년 10월 28일
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.
채택된 답변
Jason Doyle
2021년 10월 28일
편집: Jason Doyle
2021년 10월 30일
댓글 수: 3
Walter Roberson
2021년 10월 29일
편집: Walter Roberson
2021년 10월 30일
Walter Roberson
2021년 10월 29일
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.
추가 답변 (2개)
Ali Özgür Argunsah
2023년 8월 18일
If the "Parallel Pool" is running, it takes longer to make figures.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!