Slow surface and object highlighting

  • 14 August 2020
  • 5 replies
  • 99 views

Userlevel 3
Badge

Has anybody else noticed that it takes a long time for a 3D Layout (sequential or NSC) or Shaded Model to update and highlight a selected surface or object in orange?


I've been noticing this in several recent releases of OpticStudio, including the latest (20.2.2 Professional, Perpetual license, not subscription).  It is having an impact on my editing wondering whether what I am doing is taking effect.


Older versions seemed to very quickly/immediately highlight the selected surface or object in layout windows as soon as editing began on a different line in the Sequential Lens Data Editor or Non-Sequential Components Editor.  Now sometimes it is reasonably quick (<1 s), but often takes several, even >10 seconds.  And I have a fast i7 gaming computer with super graphics. (not used by OpticStudio?)


I've tried changing default 'Update: Editors Only' to all the other choices, and even unchecking and checking 'Fast Ray Trace (Slow Update)' in all of my NSC Object Properties (there were just a few) in a Non-Sequential model.  Makes no difference.


-- Greg


P.S. Speaking of slow UI, these Forum web pages take FOREVER to load, with a spinning wheel of dots running for tens of seconds, sometimes minutes.  Is it at your end?  I don't think it's my computer.


5 replies

Userlevel 7
Badge +3

Hey Greg, surface and object highlighting works fine for me in the 3D and Shaded views. I can't notice any difference in speed for normal. The first port of call in any problem like this is always your video driver. Also, most gaming vards let you adjust settings ona per-application basis. I've never noticed any difference using this, but it's possible that there's a setting somewhere causing a problem.


On the forum, I agree, it can take an ages of the earth to show the list of topics.


 


- mark

Userlevel 3
Badge

Thanks for the comment, Mark.


Hmm, all I can say is that I have an NVIDIA GeForce RTX 2060 GPU on my (Lenovo) Legion Y540-17IRH gaming laptop (less than a year old) with an Intel Core i7 9th Gen CPU.


The NVIDIA display control panel works, but doesn't offer any different settings for different apps.  I am at a loss as to where to look further.


My understanding is that OpticStudio does not actually use the GPU for any raytracing calculations. (This should be on the wish list!!! imagine how much faster NSC raytracing could be...).  I would think that the GPU might be used for these 3D and Shaded views, though...and for graphics windows showing results!


-- Greg

Userlevel 7
Badge +3

Raytracing doesn't really get a lot of benefit from GPUs in our tests as there's too much memory to move around. However, the layouts and analysis drawings do, and they are rendered on the GPU. I have a Lenovo laptop too, less powerful graphics card than yours, and all is fine for me.


Don Dickinson @ Zemax may know more, but to me it sounds like something isn't right on your machine. I'd try reinstalling OS, and then -gulp- doing a restore of the operating system. Good luck!

Userlevel 6
Badge +2

Hi guys!

 

Greg - this sounds like a graphics driver-related issue to me. In situations like this, the first thing I would suggest is to make sure each of your graphics cards are up-to-date. As your laptop is less than a year old, they probably already have very recent drivers on them.

 

 

Next, you can try to update some of the graphics-related settings in OpticStudio. We have a list of the different settings to modify in the Knowledgebase article https://support.zemax.com/hc/en-us/articles/1500005576622-What-to-do-if-the-graphics-windows-in-OpticStudio-are-black-or-blank. In particular, it would be a good idea to work through fixes #2, 3, and 4. 

 

 

Try out those suggestions and let me know if that helps!

 

 

Best,

 

 

Allie

 

Userlevel 3
Badge

I didn't at the time, but wanted to update the community that in August I *did* succeed in speeding up my graphics...it was a graphics setting.  I proved this and fixed it as follows:

 

Graphics Settings in Windows 10 Settings has a 'Graphics performance preference' and I set specific preference of 'High performance' for Zemax OpticStudio.  That alone did not seem to help.

 

 

I could incriminate graphics settings as follows:

 

 

Lenovo Legion gaming laptop came with a gaming-oriented control panel called Lenovo Vantage.

 

 

'With Vantage Edge, your settings will be automatically tuned based on usage. Maximum performance when gaming, longer battery life when you're not.

 

 

'Hybrid Mode

Disable advanced GPU settings when not gaming to boost battery performance'

 

 

When I did this (and restarted computer), Display and Video settings were missing from NVIDIA Control Panel, but 'Manage 3D settings' was still there.

OpticStudio highlighting was faster (only 1-2 seconds when changing objects in NSC Editor), so this improvement by 'disabling advanced GPU settings' suggested that the slow response was indeed caused by a graphics setting.

 

 

But staying in 'Hybrid Mode' is not for me...it even disabled adjusting the display brightness down and up (Fn-F5 and Fn-F6)!

 

I *did* find the KnowledgeBase articles helpful, especiallyhttps://support.zemax.com/hc/en-us/articles/1500005489421-Setting-OpticStudio-to-use-an-advanced-graphics-card by Erin Elliott and Don Dickinson.
 

My NVIDIA Control Panel doesn't look exactly like the one discussed in that article (it's a newer version than in the KB article); specifically, only one graphics card (the NVIDIA) is shown in Device Manager, and there is no choice of another 'preferred graphics processor' offered.

 

 

But I now see Global Settings and Program Settings (perhaps similar to the more-distilled/automated profile in Windows 10 Graphics Settings?).  

 

 

*****

 

 

Setting Zemax OpticStudio to High Performance was not sufficient.  I think that I finally fixed it when I also set the ***second program*** 'zemaxgraphicsinfo.exe'  to High Performance in the Windows 'Graphics settings,' too. (see below):

 

 

201123-104713-graphics20settings20screen20shot.jpg

 

 

*****

 

 

Now the refresh of the NSC 3D Layout when another object is selected is only 1-2 seconds; not instantaneous, but as good as it was in 'Hybrid Mode.'

 

 

-- Greg

 

Reply