"Graphics timeout occurred"

270 次查看(过去 30 天)
alpedhuez
alpedhuez 2022-6-20
评论: Trever Smith II 2024-10-24,14:14
I got:
"Warning: Warning: Graphics timeout occurred. To share details of this issue with MathWorks technical support, please include that this is an unresponsive graphics client with your service request. To share details of this issue with MathWorks technical support, please include that this is an unresponsive graphics client with your service request."
What happened?
  4 个评论
Trever Smith II
Trever Smith II 2024-9-24
I get this error quite frequently myself (M1 pro 16gb). I have been dealing with it for the past 2 years and just got the error again after installing 2024b and running some code to make a figure. If I figure something out with my open ticket with Tech Support I will post here.
Trever Smith II
Trever Smith II 2024-10-24,14:14
Hello again as promised, I found that this problem went away on my M1 pro macbook when I started using the 'new desktop beta' in matlab. Here is a set of instructions that I was provided to get the new desktop installed:
  1. Please run your MATLAB Live Script in the New MATLAB Desktop Beta. To install the desktop beta, please click on the "Add-Ons" button in the "Home" toolstrip of your MATLAB application. In the "Add-Ons Explorer", please search for "New Desktopfor MATLAB (Beta)" and click "Install". Alternatively, you can also download the New Desktop for MATLAB (Beta) from the following link:
  1. Do you still observe the "Graphics Timeout Warning" while running your MATLAB Live Script in the New MATLAB Desktop Beta?
  2. Can you observe your Task Manager during the time when MATLAB becomes unresponsive and check if there are peaks in memory usage?
  3. Can you let me know if the issue persists when running the script as an M file instead of a Live Script?
  4. Please also send me the output of info = rendererinfo and info.Details

请先登录,再进行评论。

采纳的回答

Adam Danz
Adam Danz 2022-6-20
Can you reproduce this issue? If so, sharing the steps that reproduce this would be helpful.
Nevertheless, please report this to tech support.
  2 个评论
Justin Bell
Justin Bell 2023-12-20
I constantly get this error as well. It seems fairly trivial to reproduce for me. Run any livescript that draws a plot. Walk away for the night and come back in the morning. Unlock my machine and try to run any livescript that draws a plot.
I have got it at other times, but it seemed in those cases like the memory requirements were overflowing the graphic card. To fix those I either had to filter datasets to reduce the burden or built in a lot of close/clear statements to dump memory when looping.
Adam Danz
Adam Danz 2023-12-20
@Justin Bell, what release of MATLAB are you using?
Also, what's in the live script and the plot? Would this problem happen in a live script file that contains only the following code?
surf(peaks(99))

请先登录,再进行评论。

更多回答(1 个)

Josemaría Núñez de Prado Franco
Warning: Graphics timeout occurred. To share details of this issue with MathWorks technical support, please include that
this is an unresponsive graphics client with your service request.

类别

Help CenterFile Exchange 中查找有关 Graphics Performance 的更多信息

标签

产品


版本

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by