TransWikia.com

Mathematica GPU occupancy is too high when the current page has high quality images

Mathematica Asked by shrocat on January 28, 2021

When Mathematica’s current page contains a high-quality picture, the GPU occupancy rate will increase and the current page delay of Mathematica will increase( the software is slow to respond to my operation.). When I slide the mouse wheel down and turn to the page which does not contain high-quality pictures, and there is no delay of the software, the GPU utilization rate is reduced.

If my current page contains a high-quality graphic like the following code, the GPU utilization rate will become very high:

Eo[x_?NumericQ, z_?NumericQ] = If[15 >= x >= -15 && x <= -z, 1, 0];
DensityPlot[Eo[x, z], {z, -100., 100.}, {x, -100., 100.}, 
 ColorFunction -> "SunsetColors", PlotLegends -> Automatic, 
 Frame -> True, PlotPoints -> 200, Axes -> True, AxesOrigin -> {0, 0},
  AxesLabel -> Automatic]

This problem just appeared today and I have never met this problem before. I want to know if I accidentally set an option wrong? Is there any way to solve this problem?
When Mathematica is used to display high-quality graphics, is it normal to increase the utilization rate of GPU to 70% ?
I try to resetting my Mathematica like this:How do I fix common problems by resetting Mathematica to its default configuration?, but it didn’t work.
By the way, when I reopen a Mathematica project file, the original In[]and Out[] numbers are all gone, it told me In[3] is a previous session, like this:
enter image description here
This my GPU utilization rate screenshots, mathematica doesn’t do anything except show me a picture that I’ve already computed.
enter image description here

One Answer

I think I've found the solution, it might be Nvidia drivers' incompatibility. My driver was automatically updated to version 461.09 yesterday and I reduced it to version 456.71 which published on 2020/10/07, and GPU occupancy reduced to about 15%. My CPU is Core i7-9700 , my GPU is GTX1650s, and my version is 12.1.1 for Microsoft Windows (64-bit).

Despite the reduced GPU occupancy, Mathematica still suffers some delay (like game action delay ) when displaying high-quality images on the current page. Compared to the 15% GPU occupancy of the page showing high-quality images, the page there are no high-quality images which has GPU occupancy about 1%, and CPU occupancy becomes less too. I don't think the images I'm showing should have such a delay, at least for GTX1650s there shouldn't be a delay for such an image I think. Does anyone else have a significant delay in Mathematica when displaying high quality images?

But this is only a temporary solution after all, and I'm not sure if the driver conflict is specific to my computer only or if it's a general phenomenon. If this is a general phenomenon, it need to be required an official solution by the developer.

Answered by shrocat on January 28, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP