Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebGL rendering issue when minimizing and maximizing Chrome Version 62.0.3202.62 (Official Build) (64-bit) #5920

Closed
jschwepp opened this issue Oct 20, 2017 · 13 comments

Comments

@jschwepp
Copy link

When minimizing and maximizing the browser window WebGL crashes.

chrome_2017-10-20_15-11-43
chrome_2017-10-20_15-12-23

@hpinkos
Copy link
Contributor

hpinkos commented Oct 20, 2017

Hi @jschwepp. I just updated Chrome and was unable to reproduce this.
What OS are you using?
Try clearing your cache/cookies to see if that fixed the problem. Thanks!

@jschwepp
Copy link
Author

This is on Windows 10 Enterprise version 1607 OS Build 14393.1715. Already tried clearing cache and cookies. Happening to multiple users. Though, they do share the same laptop model which is a Lenovo P50. I will test on a different computer when I have the chance.

@hpinkos
Copy link
Contributor

hpinkos commented Oct 20, 2017

Do you know what graphics card is on that laptop?

@hpinkos
Copy link
Contributor

hpinkos commented Oct 20, 2017

@jschwepp also, please go to http://webglreport.com/ from that laptop and let us know what you see on that page. Thanks!

@jschwepp
Copy link
Author

Video card is a Nvidia Quadro M2000M. Users were having no problems with Cesium before the latest Chrome update.

image
image

@hpinkos
Copy link
Contributor

hpinkos commented Oct 23, 2017

@pjcozzi @bagnell any ideas here?

@mramato
Copy link
Contributor

mramato commented Oct 23, 2017

This is most likely a cut-and-dry missing check for 0 width or height in GlobeDepth.update

@mramato
Copy link
Contributor

mramato commented Oct 25, 2017

I randomly ran into this today, but can't consistently reproduce it. Marking it for next release (I'll take a look before the end of the week).

@Doomelf
Copy link

Doomelf commented Oct 31, 2017

@jschwepp I found a workaround on the internet that fixed it for me. Go to Settings -> Advanced Settings and disable "Use hardware acceleration when available".

If this is not enough to fix the issue go to your Internet Settings -> Advanced -> Accelerated Graphics section and check "Use software rendering instead of GPU rendering".

@mramato
Copy link
Contributor

mramato commented Oct 31, 2017

@Doomelf, disabling hardware acceleration is definitely not a recommended solution for this. It will ruin Cesium performance (and performance on many other websites as well). It does help narrow this down to a possible driver bug.

@jschwepp can you find out the nvidia driver version and date that you are using? It looks like the latest for that card is fairly recent. If you go to chrome://gpu/ and search for Driver vendor you should find the relevant info.

Quadro cards actually have two drivers available (users choose which one they want):

"Enterprise" driver
http://www.nvidia.com/download/driverResults.aspx/125782/en-us

"New feature" driver
http://www.nvidia.com/download/driverResults.aspx/123914/en-us

I recommend the second one for Cesium.

@mramato
Copy link
Contributor

mramato commented Nov 1, 2017

I took another look at this and can't reproduce it on Windows (have seen it once on a questionable Linux driver). I'll keep an eye out while we do release testing, but I don't think it needs to hold anything up.

@jschwepp
Copy link
Author

It looks like this was due to a bug in Chrome. As of 62.0.3202.94 (Official Build) (64-bit), I am no longer seeing this problem.

This is the particular commit that addressed the issue:
https://chromium.googlesource.com/chromium/src/+/6c8832c6e3861b4070f864d923c2880e4d65d7c8

@hpinkos
Copy link
Contributor

hpinkos commented Nov 20, 2017

Thanks for the update @jschwepp! Glad the problem is fixed

@hpinkos hpinkos closed this as completed Nov 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants