MATLAB is crashing by low-level graphics error

조회 수: 218 (최근 30일)
Irene Belik
Irene Belik 2017년 12월 6일
댓글: Image Analyst 2024년 7월 23일
Hello,
I'm a German student writing my bachelor thesis in Prague.
I've installed the trial version of MATLAB on my Samsung Notebook with a AMD Radeon hd 7600m graphic-card.
The Error is:
Warning: MATLAB previously crashed due to a low-level graphics error. To prevent another crash in this session, MATLAB is using software OpenGL instead of using your graphics hardware. To save this setting for future sessions, use the opengl('save', 'software') command. For more information, see Resolving Low-Level Graphics Issues.
I've Googled so many things and tested everything. You are my last chance to use MATLAB on my Notebook. And I need it really, there is no other possibility other than to buy a new notebook
I would be so thankful if you could help me in this case.
  댓글 수: 2
SALAH alatai
SALAH alatai 2024년 7월 22일
이동: Walter Roberson 2024년 7월 22일
I am using RTX 3050, but I received this message too.
Image Analyst
Image Analyst 2024년 7월 23일
@SALAH alatai, see the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installation,_MATLAB_crashes_or_gives_an_error_message_when_I_try_to_run_MATLAB. If you do exactly what it says to do there, you should be up and running soon.

댓글을 달려면 로그인하십시오.

답변 (5개)

Bob Blaine
Bob Blaine 2017년 12월 18일
Hi Irene,
Since the 2014b release of MATLAB, it relies much more heavily on the graphics hardware of your computer than it did in the past. As a result, the hardware requirements are a little more stringent. If you get this warning, it just means that MATLAB detected that either your graphics card or the driver for it wasn't fully compatible. In that case MATLAB will use it's backup which is a software implementation of the OpenGL. It should continue to produce graphics, but there may be some noticeable differences:
  • It's slower if you are plotting a lot of data
  • There's no graphics smoothing (antialiasing)
  • Markers aren't as pretty
  • Transparency doesn't always produce the correct display.
One thing you might want to do anyway is update your graphics driver. I think the last one for your system was released in 2015 (15.7.1 assuming Windows 10).
Hope that helps.

Dinesh M
Dinesh M 2022년 5월 31일
편집: Dinesh M 2022년 5월 31일
It works on Linux system
On a Linux system, you also can try upgrading the OpenGL driver or starting MATLAB with software OpenGL using this command:
matlab -softwareopengl
  댓글 수: 3
Hamid
Hamid 2024년 3월 7일
I really appreciate your help, Dinesh.
ubaidulla
ubaidulla 2024년 7월 11일
편집: ubaidulla 2024년 7월 11일
It worked for me also with matlab 2019a on ubuntu 22. Thank You

댓글을 달려면 로그인하십시오.


minthon minthon
minthon minthon 2019년 2월 22일
I have similar problems. Tried 'software' and 'hardware' options for opengl, the driver was updated, tried reboot, tests were performed with simplest 5 point plot. It continued crashing for a day, but then got back to normal. Then, again, started crashing after any attempt to launch graphics. Also was crashing immediately with "opengl info".
  댓글 수: 2
minibela
minibela 2020년 4월 2일
did you fix this? because I'm stuck with the same problem and Mathworks can't find the cause or a solution :(
Image Analyst
Image Analyst 2020년 4월 3일
If calling the Mathworks did not give you a solution, I'm surprised. At the very least they'll find a workaround. Try upgrading to release r2020a and see if that fixes it.

댓글을 달려면 로그인하십시오.


Image Analyst
Image Analyst 2017년 12월 6일
Why not just do what it says?
>> opengl('save', 'software')
By the way, that's not a "crash", it's a warning.
  댓글 수: 4
Valeria Leto
Valeria Leto 2021년 8월 23일
@Image Analyst yeah, I did it but I still have problems. I suppose that I have too many data to plot.
Image Analyst
Image Analyst 2021년 8월 23일
If you're still getting crashes even after setting oepngl to software, then call the Mathworks for free tech support. This is only if MATLAB itself crashes, not just if your program throws an error but MATLAB still keeps running.

댓글을 달려면 로그인하십시오.


David Huang
David Huang 2022년 1월 24일
I have same problem. My graphic-card is GTX1650. Is the level of this card too low?
  댓글 수: 3
Bob Blaine
Bob Blaine 2022년 1월 24일
Hi David,
I don't have experience with GTX1650, but I've had MATLAB render on low end Intel graphics, so I suspect that it's fine. Image Analyst is probably right, it's time to call MathWorks. Be sure to have your graphics card, OS and driver version, as I'm guessing that will be important to identify the issue.
Pratiwi Vaherera
Pratiwi Vaherera 2022년 6월 4일
hi i'm a user of intel graphics too. but when i open matlab i see a warning message. and when i try to import my data the matlab system error message appear like this. can you help me how to fix it? thanks!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Graphics Performance에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by