High Sierra WindowServer regression: hangs and visual corruption

Originator:hannes.oud.dev
Number:rdar://35122177 Date Originated:23-Oct-2017 12:44 PM
Status:Closed Resolved:Duplicate of 35256413
Product:Mac Product Version:10.13.1 Beta (17B42a)
Classification:Crash/Hang/Data Loss Reproducible:Sometimes
 
Summary:
Summary:
Ever since High Sierra, now on High Sierra 10.13.1 beta 3, I am having immense trouble with retina MacBookPro 15" early 2014 2.8Ghz. Several times a day, but often in conjunction with slightly more graphics intense tasks (Photos, Apple Motion, Xcode+Simulator, External Screen), the WindowServer (?) hangs increasingly until not usable any more. 

I identified following workarounds, that temporarily mitigate the issue, but sometimes only minutes later it starts again:
- detaching or re-attaching external screen
- changing screen resolution
- force quitting window server
- restarting the machine

In the following scenarios I also had visual corruption:
- using Apple Motion
- using apple TV as Airplay Display
- using Xcode

This is critical, I cannot work like this, what should I do?


Steps to Reproduce:
- Work with your mac as always, or
- Start and close apple motion a few times, or
- Browse through large Photos in Photos.app



Expected Results:
Nothing should ever hang, Graphics should not be corrupted.

Actual Results:
At some point, It might start hanging, mouse mostly still moving, sometimes loses frames too. 

Version:
10.13.1 Beta (17B42a)

Notes:
To me this looks like some memory leak in the metal/graphics drivers
I have the impression that 10.13.1 beta 2 was better than 10.13.0 and 10.13.1 beta 3, but not entirely sure.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!