WindowServer crashing repeatedly since upgrade to Ventura

Since I upgraded my MacBook Pro (14 inch, 2021, M1 Pro) to Ventura (macOS 13.0 22A380), I repeatedly get logged out of macOS. After logging in I see a crash report for WindowServer.


This happens seemingly at random. Sometimes I can work for hours without a problem and at other times the WindowServer crashes about every two minutes which is severely disrupting and renders the MacBook unusable. As far as I can tell so far, the crashes don't correlate with any particular pattern in user activity or app usage and appear to be completely random.


I am using the MacBook with an external 4K LG display and other users on Reddit report that disconnecting the external display and only using the internal display remedies the crashes. But obviously this cannot be a proper solution.


Is anybody else experiencing this and/or knows about a better workaround then to forgo the use of an external display?

Posted on Oct 28, 2022 4:34 AM

Reply
Question marked as Best reply

Posted on Oct 28, 2022 2:03 PM

My 2020 Macbook Air kept crashing with sudden disconnection when using the USB-C docking station with an external display every so often (like once every 45 minutes to one hour) after I upgraded to Ventura OS. I suspect it may be due to the USB-C privacy protection feature from the new OS. The docking station I use is the Totu USB-C Dock TT-DC002A (https://www.amazon.com/TOTU-Upgraded-Universal-Charging-Extended/dp/B0838WTFD1/ref=sr_1_3_sspa?crid=10T4MHAMHEUDS&keywords=Totu%2BUSB-C%2BDock%2BTT-DC002A&qid=1666989763&qu=eyJxc2MiOiIwLjg3IiwicXNhIjoiMC4wMCIsInFzcCI6IjAuMDAifQ%3D%3D&s=electronics&sprefix=totu%2Busb-c%2Bdock%2Btt-dc002a%2Celectronics%2C890&sr=1-3-spons&th=1). I have tried using two different docking stations of the exact same model and reverted back to the Monterey OS without the disconnection, so I have confirmed the hardware is functional. I appreciate it if someone could have a solution to the issue. Thanks!

96 replies

Dec 7, 2022 3:36 AM in response to mousersvk

mousersvk wrote:
A possible workaround, which has worked for me so far (no crash in 2 weeks):
Enable "Displays have separate Spaces" in System Settings -> Desktop & Dock

Two weeks is quite long, but still, I think you're just lucky. I just checked and "Displays have separate Spaces" is activated on my machine but I still get the crashes regularly if I use more than one display.


For me, there is still only one thing that reliably prevents the crashes: only using one display (either the MacBooks display or the external one, never both at the same time).

Dec 7, 2022 5:04 AM in response to mousersvk

Ah, okay. I just tried it. When this is switched off the displays don't work independently from each other anymore.


I mostly use the apps I work with in full screen mode. Having an app in full screen on the main screen causes the secondary screen to just go black. It seems like in this mode I can't have two separate full screen apps per display or a full screen app on the main display and a separate desktop on the secondary display.


For my way of working that renders the secondary display more or less useless so I think I'm going to stick with just closing the laptop lit and only using the external display.


But if it really works it might be useful for others, so thanks for contributing!

Dec 9, 2022 9:48 AM in response to cfartgroup

Ditto here. MacBook Air 2020 (Intel) with OWC Thunderbolt 3 Dock with HDMI attached monitor. Very frustrating!


I thought about the option of making my MacBook the primary monitor, but that defeats the purpose of connecting my external monitor and expecting everything to switch over to it, so now I'm trying running on the external display with my MacBook closed (also not a very good option, but better than crashing!).


Dec 9, 2022 1:48 PM in response to SidiBombay

Interesting datapoint - I went back to my old two external monitor set up for a work reason. USB C to HDMI. The only thing different is that they are 1080P monitors - 27in. I have been free of crashes since the change back (knocking on wood).


My home and office had been using Samsung UHD widescreen displays and the problem seemed to begin around the time I made that change. I can't say exactly, but that seems right.


I am going to try the MBP at home this weekend on the UHD and leave the dual monitor set up running at the office and see if the problem continues in one location but not the other.


Curious - how many of you with this problem are plugged into 1080P monitors vs something bigger/better?


Dec 11, 2022 5:32 PM in response to reitermoritz

I'm running a 2018 i7 MBP and was experiencing what you're all describing back on Monterey. I was hopeful Ventura (and the recent updates) would clean a bunch of stuff up and the prob would go away, but it hasn't. The crashes really do seem random. Just for clarity, I rarely run apps full screen and sometimes use command-tab to app switch. Neither of those things mentioned in this thread has ever caused a crash here.


I run an ultra-wide external monitor via display port. If I use clamshell mode, it's a crash every time. If I don't, I can sometimes use apps for hours. If I use the MBP without the external monitor, I can sometimes go hours without crashes or, like today, simply opening Photoshop was locking the machine up over and over (Photoshop almost never locks it up) but I was also at a different location (different wifi) than I usually use. I was suspect of the GPU starting to go bad, but PS's compatibility check says mine is OK.


I typically use Brave or Chrome browsers and suspected them for awhile.


I can usually run TONS of memory-intensive graphics/3D/music/video apps at once without crashes. Then something as simple as opening a browser tab may crash the machine.


I used to never manually shut my machine down when finishing with it. I'd just close it to sleep. Now, I manually shut it down every day. It seems to have helped somewhat, though it does a daily crash when booting up. The fans let out a big "breath" and it crashes to a black screen. Starts right up after.


I've browsed hundreds of thread posts from folks who have the same issues and lots of various solutions that I've tried. It's clearly some bug that's made its way from Monterey (or even before) now into Ventura that's causing seeming random crashes having to do with drawing items to the screen. The only real way to know may be to wipe the machine and start it fresh on Big Sur or something. But we all know how much we love doing that.

Dec 15, 2022 12:13 AM in response to reitermoritz

Alright, didn't have any crash yesterday.


I was working the whole day with both the MacBook's display and the external display at the same time. I also didn't pay any attention to avoid any particular behavior that presumably triggers the crashes, like using apps in full screen mode or frequent app switching.


I'd wait a few more days to be sure but it looks like Apple might have actually fixed the problem in macOS 13.1 (at least for my particular setup).

Dec 23, 2022 3:38 PM in response to reitermoritz

I have Ventura 13.1 with Razer Core X (eGPU) with AMD RX6600XT and a Samsung Odyssey G9.

Crashes when the Macbook is idle and turn screen off. When I come back the screen don't come up or the OSX has restarted and when I login there is a crash report from WindoServer process.

The problem started not when I used the eGPU, but when I installed this new monitor (G9)

The previous monitor was an Asus ROG PG348Q 3440x1440 and worked pretty well until I decided to install a KVM switch to use the monitor with my PC.

Because of issues to use the KVM switch with Mac and PC I decided to upgrade to this Samsung that comes with two DisplayPorts. Now Mac and PC works with this monitor. But the crashes started to happen :-(

Mar 8, 2023 10:30 PM in response to reitermoritz

I am using 16-inch, 2019 Macbook Pro, and have the same issue. Graphics: AMD Radeon Pro 5500M 4 GB

Intel UHD Graphics 630 1536 MB, processor: 2.4 GHz 8-Core Intel Core i9.

WHAT HAPPENS

My macbook randomly freezes when I close/open the lid with external monitors connected.

This happened since I was forced to update the system to Ventura 13.1; and it has not been fixed after updating to the latest 13.2.

Panic logs recorded very frequently. Crash report it is related to WindowServer.

DEBUGGING I HAVE DONE

(1) I have two monitors, one uses DisplayPort-TypeC, one uses TypeC-TypeC. Both have the same issue.

(To reproduce it problem, you may need to connect two monitors to the same mac, and then randomly disconnect one monitor. Once you see the crash for one time, you will see it happens again when connecting to just one monitor.)

(2) My personal macbook with older system 10.15.1, does not reproduce this issue.

(3) SMC and NVRAM reset does not resolve the issue. Hard drive repair does not resolve the issue.

(4) I tested a new macbook with 13.2 system, it can reproduce this issue.

The random crashes impact the work efficiency quite a bit.

WindowServer crashing repeatedly since upgrade to Ventura

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.