"Graphics timeout occurred"

264 vues (au cours des 30 derniers jours)
alpedhuez
alpedhuez le 20 Juin 2022
Commenté : Trever Smith II le 24 Oct 2024
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 commentaires
Trever Smith II
Trever Smith II le 24 Sep 2024
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 le 24 Oct 2024
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

Connectez-vous pour commenter.

Réponse acceptée

Adam Danz
Adam Danz le 20 Juin 2022
Can you reproduce this issue? If so, sharing the steps that reproduce this would be helpful.
Nevertheless, please report this to tech support.
  2 commentaires
Justin Bell
Justin Bell le 20 Déc 2023
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 le 20 Déc 2023
@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))

Connectez-vous pour commenter.

Plus de réponses (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.
  1 commentaire
Steven Lord
Steven Lord le 26 Mar 2023
Please do as @Adam Danz suggested and report this to Technical Support.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Graphics Performance dans Help Center et File Exchange

Tags

Produits


Version

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by