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

Safari doesn't clear buffer, while chrome does. #12598

Closed
3 of 12 tasks
roelvanhintum opened this issue Nov 7, 2017 · 12 comments
Closed
3 of 12 tasks

Safari doesn't clear buffer, while chrome does. #12598

roelvanhintum opened this issue Nov 7, 2017 · 12 comments

Comments

@roelvanhintum
Copy link

roelvanhintum commented Nov 7, 2017

Rendering in Safari doesn't clear the frame for each render, causing clutter.
Some more testing revealed that it's just on macs with the "Intel Iris Pro 1536 MB".

You can edit for small-test.
https://jsfiddle.net/z0zd711z/

Three.js version
  • r88
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
  • Safari (really just on MacOS, iOS is fine)
OS
  • All of them
  • Windows
  • macOS
  • Linux
  • Android
  • iOS
Hardware Requirements (graphics card, VR Device, ...)

Graphics: Intel Iris Pro 1536 MB

screen shot 2017-11-07 at 11 12 27

@Mugen87
Copy link
Collaborator

Mugen87 commented Nov 7, 2017

Are you on the newest OS X version? AFIAK, on Mac OS graphics driver are automatically upgraded by upgrading to a newer version of the operating system.

Independently, i'm not sure if the three.js issue section is the right place for this bug. This seems to be a driver related/OS specific problem. You should submit a bug report to Apple: https://developer.apple.com/bug-reporting/

@roelvanhintum
Copy link
Author

Yes, i'm runnig High Sierra (10.13 (17A405)).

The weird thing is that some examples are running normal. I just couldn't find why.

@Mugen87
Copy link
Collaborator

Mugen87 commented Nov 7, 2017

🤔

@Mugen87
Copy link
Collaborator

Mugen87 commented Nov 7, 2017

I'm also on High Sierra (10.13.1) and can't reproduce with Safari (11.0.1). However, i have an AMD GPU.

@mrdoob
Copy link
Owner

mrdoob commented Nov 8, 2017

/ping @grorg @kenrussell

@roelvanhintum
Copy link
Author

@Mugen87 I did test this on other macs and it's just the ones with a "Intel Iris Pro 1536 MB", so far. One of the machines is a iMac (21.5-inch, Late 2013).

@johanhenrikssn
Copy link

Can confirm this on High Sierra (10.13.1) with Safari (11.0.1) with Intel Iris Pro 1536 MB. I have a MacBook Pro (Retina, 15-inch, Late 2013) with a discrete graphics card in it as well (NVIDIA GT 750M), and when manually switching between both of them, its only occurring when on Intel Iris Pro.

@oleksmarkh
Copy link

oleksmarkh commented Nov 20, 2017

Can also confirm for the following configuration:

  • MacBook Pro (Retina, 13-inch, Early 2015)
  • Intel Iris Graphics 6100 1536 MB
  • macOS High Sierra v10.13.1
  • Safari v11.0.1 (13604.3.5)

Occurred after updating to High Sierra.
Only happens when renderer has antialias set to false.

@kenrussell
Copy link

Whatever the bug was, Apple seems to have fixed it in 10.13.2. Your fiddle works correctly in the 10.13.2 beta.

You might want to sign up for Apple's beta program so you can try early-access OS releases and report bugs earlier. It seems that several graphics driver bugs were introduced in 10.13 and we're still working on getting to the bottom of all of them. Happy to help highlight bugs to Apple. Reduced test cases are especially appreciated.

@grorg
Copy link
Contributor

grorg commented Nov 28, 2017

We got similar reports about this. I'm not sure what went wrong - I don't think it was a WebKit issue because I tried various versions of Safari on this exact hardware and didn't see an issue. I'm glad to hear it has been resolved.

@filidutten
Copy link

filidutten commented Nov 30, 2017

Can confirm that this is located to Safari 11.0.1 on High Sierra, works fine on Safari 11.0.1 on Sierra. However it's not resolved and haven't found a work-around for it

@roelvanhintum
Copy link
Author

Solved it for now with @AkeluX 's suggestion of adding a transparent plane behind the scene.
NASAWorldWind/WebWorldWind#379 (comment)

example: https://jsfiddle.net/z0zd711z/3/

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

8 participants