Turning off browse resolution maxs out laptop specs

Hey devs,

I am after some information around useBrowserRecommendedResolution.

When I set the `useBrowserRecommendedResolution=true` (default) value on a lower res monitor and then `useBrowserRecommendedResolution=false` on my low res monitor I get the following usage is similar.

However, when I do the same thing but on my laptop screen this is what I get

`useBrowserRecommendedResolution=true`

`useBrowserRecommendedResolution=false`you can see the dramatic increase

Is this intended? and is there anywhere I can find some more information on this.

Since I don’t know what monitor and laptop screen you use, I can only guess that it has something to do with devicePixelRatio. Have a look at this: Setting depthTestAgainstTerrain=false and viewer.resolutionScale=window.devicePixelRatio; can lead to severe performance issues · Issue #12392 · CesiumGS/cesium · GitHub

There are quite a few pretty low-level technical aspects to consider, and some variety in the setups that are required for investigating or even reproducing that particular issue. The main workaround in the issue that anneg linked to seems to be to set
viewer.scene.msaaSamples = 1;
after creating the viewer, so that might be a quick thing to try out. If that doesn’t help, someone will have to zoom closer into that.

Setting the msaaSamples to 1 fixed my gpu maxing out and the temp of laptop to chill

Thanks!!