Creating figures in MATLAB makes display unstable

Hello,
My work laptop was changed to a Lenovo Thinkpad, where I have R2021b installed in Windows 10. Whenever I generate figures (especially in fullscreen or when more than one is created) the screen starts updating (flashing in black) and everything becomes somewhat unstable (imagine when you remove one of your screens in a multiple-screen setup and all windows are updated and shift places).
I gather this should be some issue with the graphics card, but when I run 'bench' everything seems ok (other than the laptop not meeting the stored benchmark for the same CPU). Is there anything I could do to solve this?
Thanks in advance!
edit: I have checked my drivers for any necessary updates, to no avail.

 Accepted Answer

Hi,
Issues pertaining to latency in rendering graphical objects are common and the recommended approach to help curb this would be to re analyze your graphical hardware for updates or select a custom rendered implementation for your system.
The Command,
info = rendererinfo(gca)
can help check your rendered implementation, moreover any error messages encountered would help give more details about your system graphics.
You could also refer to additional information that might be of help from our documentation page https://www.mathworks.com/help/matlab/creating_plots/resolving-low-level-graphics-issues.html

7 Comments

Thanks for the support!
When checking renderer info, no error messages appear.
info =
GraphicsRenderer: 'OpenGL Hardware'
Vendor: 'NVIDIA Corporation'
Version: '4.6.0 NVIDIA 513.29'
RendererDevice: 'Quadro P520/PCIe/SSE2'
Details: [1×1 struct]
info.Details =
RendererDriverVersion: '30.0.15.1329'
RendererDriverReleaseDate: '2022-6-22'
HardwareSupportLevel: 'Full'
SupportsDepthPeelTransparency: 1
SupportsAlignVertexCenters: 1
SupportsGraphicsSmoothing: 1
MaxTextureSize: 32768
MaxFrameBufferSize: 32768
But I tried changing the renderer to OpenGL software (instead of the hardware accelerated version that I was using) and it seems to have resolved the issue (at least in the first couple of times I tried creating figures). Do you think there's something more to it, or I should just stick with the software version?
driver 517.40 was released a few weeks ago. You appear to be using a 2019 driver.
My first thought (on 13 Oct) was to update to the newest driver, however OP said that was checked and was using the latest driver.
By that, I thought that some version of ‘Check for updates’ returned ‘Your drivers are up to date’. That approach should have downloaded the latest driver, however apparently OP did something different.
So I deleted my answer since I got the impression that it hadn’t solved the problem.
Hmmm, I did check for updates both through windows update and the device manager and nothing came up (thank you Star Strider for that suggestion). I'll make sure that the Nvidia one is updated and try hardware acceleration again.
Did updating the driver help?
It's seems to be less prevalent, but the sudden refreshing behaviour is still there.
I don't know if it is relevant or not, but I'm using two external monitors (and the laptop screen is turned off).
Thanks for asking and helping, though!
NVidia has the GeForce Experience app that I recommend using for several reasons, one being that it will notify driver updates.

Sign in to comment.

More Answers (0)

Categories

Find more on Graphics Performance in Help Center and File Exchange

Products

Release

R2021b

Asked:

on 13 Oct 2022

Commented:

on 21 Oct 2022

Community Treasure Hunt

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

Start Hunting!