matlab slow start after installing R2017b and configuring opengl

1 回表示 (過去 30 日間)
Carl Hopkins
Carl Hopkins 2018 年 5 月 21 日
回答済み: Guojin Feng 2018 年 10 月 8 日
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 件のコメント
Carl Hopkins
Carl Hopkins 2018 年 5 月 23 日
Does that mean that I should do something else when setting up opengl?
Walter Roberson
Walter Roberson 2018 年 5 月 23 日
You could try
opengl software
and see if that helps.

サインインしてコメントする。

回答 (2 件)

Carl Hopkins
Carl Hopkins 2018 年 5 月 26 日
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 2018 年 10 月 8 日
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.

カテゴリ

Help Center および File ExchangeGraphics Performance についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by