MATLAB is crashing by low-level graphics error

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 Comments

I am using RTX 3050, but I received this message too.

Sign in to comment.

Answers (5)

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 on 31 May 2022
Edited: Dinesh M on 31 May 2022
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 Comments

This works. Thanks!
I really appreciate your help, Dinesh.
It worked for me also with matlab 2019a on ubuntu 22. Thank You

Sign in to comment.

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 Comments

did you fix this? because I'm stuck with the same problem and Mathworks can't find the cause or a solution :(
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.

Sign in to comment.

Why not just do what it says?
>> opengl('save', 'software')
By the way, that's not a "crash", it's a warning.

4 Comments

@Image Analyst should I write it at the beginning of the code that gave me the problem?
@Valeria Leto, I think you just have to do it once in the command window and it applies to all scripts and all sessions of MATLAB from then on.
@Image Analyst yeah, I did it but I still have problems. I suppose that I have too many data to plot.
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.

Sign in to comment.

I have same problem. My graphic-card is GTX1650. Is the level of this card too low?

3 Comments

I'm sure you read my comment. And I'm assuming you switched to OpenGL and it's still crashing. So what did the Mathworks say when you called them? We won't know - we're just volunteers but they have access to the actual developers.
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.
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!

Sign in to comment.

Categories

Find more on Graphics Performance in Help Center and File Exchange

Products

Asked:

on 6 Dec 2017

Commented:

on 23 Jul 2024

Community Treasure Hunt

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

Start Hunting!