matlab slow start after installing R2017b and configuring opengl

1 view (last 30 days)
Hello. Several months ago, after upgrading from R2014a to to R2017b, I discovered that my complex graphics had poor resolution. I was informed about the changes in the graphics language and ran the opengl utility to configure the graphics options for hardware support. After doing that, I noticed that matlab started slowly, sometimes taking 2 minutes or more. I could not find a solution to the slow starts anywhere. Then, recently, after a matlab crash, matlab started very quickly, but I saw a warning that the graphics language had been updated in R2014b, and that I should configure opengl. Now, having specified opengl options for full hardware support, I find that it again starts slowly, as before. Am I doing something wrong with the configuration of my graphics language options? Below, I enclose the opengl.data results:
Version: '3.1.0 - Build 9.17.10.4229'
Vendor: 'Intel'
Renderer: 'Intel(R) HD Graphics 3000'
RendererDriverVersion: '9.17.10.4229'
RendererDriverReleaseDate: 26-May-2015
MaxTextureSize: 8192
Visual: 'Visual 0x06, (RGBA 32 bits (8 8 8 8), Z depth 16 bits, Hardware acceleration, Double buffer, Antialias 4 samples)'
Software: 0
HardwareSupportLevel: 'full'
SupportsGraphicsSmoothing: 1
SupportsDepthPeelTransparency: 0
SupportsAlignVertexCenters: 0
Extensions: {129×1 cell}
MaxFrameBufferSize: 4096
My computer is Lenovo T420s, with Windows 7.
Thank you for your advice and assistance.
Carl H
  3 Comments
Carl Hopkins
Carl Hopkins on 23 May 2018
Does that mean that I should do something else when setting up opengl?

Sign in to comment.

Answers (2)

Carl Hopkins
Carl Hopkins on 26 May 2018
When I tried the opengl software option, the graphics reverted to poor resolution highly pixelated with jagged edges. However, it did start more quickly. If this is a trade off between slow start and poor resolution, I guess I am stuck for now with the slow start. Curious. I am now running opengl hardwarebasic.

Guojin Feng
Guojin Feng on 8 Oct 2018
Thanks for posting the question here. I have encountered the same issue as you. After searching a while, I found the reason. It looks Matlab has selected the integrated GPU card for rendering OpenGL, not the dedicated GPU card. This can be changed through Nvidia Control panel, which allows the user to select GPU for specific programs. Hope this helps someone have the same issue.

Categories

Find more on Graphics Performance in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!