Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

osx_user

macrumors newbie
Original poster
Dec 20, 2020
27
16
First of all, greetings to everyone. I have an external monitor via usb-c and I have the problem that blurry and confusing lines appear on the screen.

I have found a method whereby I have full native resolution and everything works fine. The process is volatile and needs to be done on every reboot. I do not guarantee that it will work for everyone.

The method is the following:

1 - Connect the mac to the screen. Now you see the strange lines on the external screen
2 - Open the system monitor and close the "WindowsServer" process - Force close the process if necessary


The process will restart itself. If everything has gone well for you, now you can use Ventura without problems.

If when you connect the mac to the external display, the two screens appear with blurred lines. Then you will have to make a script to kill the WindowsServer process.

The key to this method is to kill the WindowsServer process when the mac is connected to the external display. So that when the process starts again, it does so while the external screen is connected.

No need to boot into safe mode

I do not know if I explain myself very well



With this problem sometimes the external display fails and sometimes both displays fail, the external display and the mac display.

In the event that all the screens fail when you connect the mac to the external screen. You need a command with a timer to kill the "WindowsServer" process when the mac is connected to the external display.


So in case all screens are blurry do this:

Run this command and type your password:
sudo sleep 20 ; sudo kill -9 $(pgrep WindowServer)

Immediately then connect the mac to the external display and wait 20 seconds for the command to execute.

The command will execute in 20 seconds.
 
Last edited:
I’m not sure I fully understand the last part but it works now finally again 🙏🏽 Just the sizes of everything are different now on the samsung g9 neo. But at least it works & I can work again efficiently. thank you so much!!
 
I’m not sure I fully understand the last part but it works now finally again 🙏🏽 Just the sizes of everything are different now on the samsung g9 neo. But at least it works & I can work again efficiently. thank you so much!!
I'm glad it works for you. you should be able to set the correct resolution from settings now.

please tell me what you don't understand, the final command or the final explanation. I am using the google translator and the translation may not be very good. Thanks
 
So in case all screens are blurry do this:

Run this command and type your password:
sudo sleep 20 ; sudo kill -9 $(pgrep WindowServer)
Brilliant. Thank you so much for this fix! My DELL U4021QW is work ... at least until the next reboot. At lest the montor keeps working after wakeup from sleep mode.
 
Hi OSX_User, I have a Dell 49 and it was not working with Verntura. Actually, both, the main display, and the external display get distorted, so I tried inputing sudo sleep 20 ; sudo kill -9 $(pgrep WindowServer), which works up until when I try to enter my password into under my user name. As soon as I enter my password, I get the spinning wheel of death. It just keeps spinning after I enter my passwords. Both monitors work, but I'm stuck on the page where I have to answer my password. Please assist. Thank you so much in advance.
 
Hi OSX_User, I have a Dell 49 and it was not working with Verntura. Actually, both, the main display, and the external display get distorted, so I tried inputing sudo sleep 20 ; sudo kill -9 $(pgrep WindowServer), which works up until when I try to enter my password into under my user name. As soon as I enter my password, I get the spinning wheel of death. It just keeps spinning after I enter my passwords. Both monitors work, but I'm stuck on the page where I have to answer my password. Please assist. Thank you so much in advance.
First of all I have to say that I am using Google translate. If you don't understand me well, let me know.

Hello Menashe, I am sorry that the method does not work for you. There are many variables in this process that can cause it to fail.

I have a MacBook connected with a USB-C -> DisplayPort dongle. This method has worked for me on both DisplayPort and HDMI.

I also have to say that this method is very precarious and does not have to work for everyone. I'm sorry it doesn't work for you.

But I'm curious to know exactly what's wrong with you. Could you give me more details? I don't understand what you mean when you say you have to put your password under your username. Do you mean the login screen? Or do you mean the window asks for a password within macOS?

I'll explain, this method is based on the concept of restarting the "WindowsServer" process when the Mac is connected to the external display.
That command is designed to be entered BEFORE you connect your mac to the external display. Then it will ask you for password. Type your password BEFORE connecting your mac to the external display. So press enter BEFORE connecting your mac to the external display. Now connect your mac to the external display, it will start a countdown of 20 seconds when this countdown ends the command will close the "WindowServer" process. Then macOS restarts the process automatically.


I recommend that you reset the NVRAM :)
 
Last edited:
However, macOS Ventura has a lot of bugs. It is incredible that Apple has not fixed this terrible error detected in the betas. Right now even Apple employees who have their external displays connected via USB-C will have the same problems and hopefully in 13.1 this will be fixed.
 
However, macOS Ventura has a lot of bugs. It is incredible that Apple has not fixed this terrible error detected in the betas. Right now even Apple employees who have their external displays connected via USB-C will have the same problems and hopefully in 13.1 this will be fixed.
I'm on 13.1 beta 1. No fix yet. USB C To C nothing is even detected and USB C to HDMI is unstable with display flicker and glitches signal is in and out. Only way I can connect my M1 mini is HDMI.
 
Thanks! This worked for my Dell 49 Ultrawide U4919DW.
The steps are a bit unclear, here is a TL;DR:
  1. Disconnect external monitor
  2. Run the command in the terminal: sudo sleep 20; sudo kill -9 $(pgrep WindowServer)
  3. Enter the admin user password and press enter
  4. Connect external monitor before 20 seconds had passed
  5. After 20 seconds, you will need to log in to macOS again, but this time your monitor should work
 
Hi, After the upgrade to Ventura OS, I was not able to connect to my Samsung odyssey g9 monitor through USB-C. It was working fine before the update. After the update, was facing blurred lines on the external monitor and sometimes on the main display as well. The external monitor was working well in the safe mode though. I removed all the login items in the normal mode and restarted; now only the external monitor had blurred lines.

Followed your steps and all is good now. Thanks :) Just one doubt, did you repeat this step again after the shut-down, or it's a one-time thing? Yet to shut down and check :)

Thanks @osx_user & @casraf :)
 
Thanks, great work around! only issue I noticed with this work around is that the usb devices that I have plugged into the monitor (keyboard and mouse) will not work...
 
I don't know why, I did these steps, but then my Mac keeps asking for my user password on the login screen, and then just starts spinning, endlessly. I even turned off the password request so that it automatically logs me in, but it does not, and makes me enter the password again, which then causes the wheel to endlessly spin. Please assist.
  1. Disconnect external monitor
  2. Run the command in the terminal: sudo sleep 20; sudo kill -9 $(pgrep WindowServer)
  3. Enter the admin user password and press enter
  4. Connect external monitor before 20 seconds had passed
  5. After 20 seconds, you will need to log in to macOS again, but this time your monitor should work
 
  • Like
Reactions: osx_user
I don't know why, I did these steps, but then my Mac keeps asking for my user password on the login screen, and then just starts spinning, endlessly. I even turned off the password request so that it automatically logs me in, but it does not, and makes me enter the password again, which then causes the wheel to endlessly spin. Please assist.
  1. Disconnect external monitor
  2. Run the command in the terminal: sudo sleep 20; sudo kill -9 $(pgrep WindowServer)
  3. Enter the admin user password and press enter
  4. Connect external monitor before 20 seconds had passed
  5. After 20 seconds, you will need to log in to macOS again, but this time your monitor should work
I see that you still have the problem of not being able to log in after applying the command.

Does the login screen only happen to you when you apply the command?

I'm going to tell you everything that occurs to me to see if there's any luck.

1 - Inside the new macOS settings panel, go to General and then Startup Items. Within this section disable everything and restart.

It could be that there is some process that blocks the login. I don't know, it's just speculation.

2 - On the login screen. Click with the mouse on the arrow to start session BUT with the Shift pressed

If the above does not work for you, start the mac in safe mode, you will not have graphic acceleration but you should have native resolution.
 
Hello everybody. I see that this method generates different results.

Some of you the screen works but your keyboard mouse does not work. Others won't let you log in because the mac is frozen or so I interpret it. It doesn't work for others directly. Finally for others it works fine but you have to apply this command on reboot.

This method is a precarious method and the result is arbitrary. Let me insist that I find it incredible that this bug has bypassed Apple's development rings.
 
Hi, After the upgrade to Ventura OS, I was not able to connect to my Samsung odyssey g9 monitor through USB-C. It was working fine before the update. After the update, was facing blurred lines on the external monitor and sometimes on the main display as well. The external monitor was working well in the safe mode though. I removed all the login items in the normal mode and restarted; now only the external monitor had blurred lines.

Followed your steps and all is good now. Thanks :) Just one doubt, did you repeat this step again after the shut-down, or it's a one-time thing? Yet to shut down and check :)

Thanks @osx_user & @casraf :)
Unfortunately, this command must be typed at each reboot.

You can create an icon with Automator or Shortcuts so you just have to click and type a password

If you are interested, here is the information.
 
Thanks! This worked for my Dell 49 Ultrawide U4919DW.
The steps are a bit unclear, here is a TL;DR:
  1. Disconnect external monitor
  2. Run the command in the terminal: sudo sleep 20; sudo kill -9 $(pgrep WindowServer)
  3. Enter the admin user password and press enter
  4. Connect external monitor before 20 seconds had passed
  5. After 20 seconds, you will need to log in to macOS again, but this time your monitor should work
Thanks for you TL;DR :)
 
  • Like
Reactions: kalatzis
Thank you for this! I was having issues with my Dell S3221QS 32" external display being recognized. This fixed it, at least temporarily. I am using a Hiearcool USB-C to HDMI hub to connect my MacBook Air M1 2020.
 
  • Like
Reactions: kalatzis
Thanks everyone for the solutions posted here.

I had tried the same on a Mac Studio and haven't worked. Did anyone found a way to solve it on Mac Studio?

I'm currently using the external monitor Samsung Odyssey G9 on HDMI but is not so good as DisplayPort - USB-C.
 
First of all, greetings to everyone. I have an external monitor via usb-c and I have the problem that blurry and confusing lines appear on the screen.

I have found a method whereby I have full native resolution and everything works fine. The process is volatile and needs to be done on every reboot. I do not guarantee that it will work for everyone.

The method is the following:

1 - Connect the mac to the screen. Now you see the strange lines on the external screen
2 - Open the system monitor and close the "WindowsServer" process - Force close the process if necessary


The process will restart itself. If everything has gone well for you, now you can use Ventura without problems.

If when you connect the mac to the external display, the two screens appear with blurred lines. Then you will have to make a script to kill the WindowsServer process.

The key to this method is to kill the WindowsServer process when the mac is connected to the external display. So that when the process starts again, it does so while the external screen is connected.

No need to boot into safe mode

I do not know if I explain myself very well



With this problem sometimes the external display fails and sometimes both displays fail, the external display and the mac display.

In the event that all the screens fail when you connect the mac to the external screen. You need a command with a timer to kill the "WindowsServer" process when the mac is connected to the external display.


So in case all screens are blurry do this:

Run this command and type your password:
sudo sleep 20 ; sudo kill -9 $(pgrep WindowServer)

Immediately then connect the mac to the external display and wait 20 seconds for the command to execute.

The command will execute in 20 seconds.
This actually worked!
 
Hello everybody,

since upgrading to MacOS Ventura I also encounter the issue of my M1 MacBook Air not connecting to my external Monitor (Razor Raptor) via USB-C. Now I do have the Apple USB-C Digital AV Multiport Adapter which has a HDMI port. When connecting the display via HDMI the display works normally also with the full 144Hz. But I do prefer using the monitor via USB C since the HDMI cable is connected to my Nintendo Switch console. I just contacted Apple Support and we went through the usual procedure (Rebooting, Safe Mode etc.). Last thing the support suggested was, of course, reinstalling MacOS since the bug is obviously software related. Now I am actually not a fan of doing it since many issues I had with MacOS in the past 1 1/2 years was usually software related and reinstalling the OS didn't change a thing. I usually had to wait for an update until a bug was resolved. Still, out of interest I wanted to ask if anybody of you did reinstall MacOS after encountering the bug, and if so, did it solve anything? Because if so I might do it myself even though it is connected with painfully setting up my Mac again...
 
I also have the problem with usb-c to displayport. I reinstalled macOS Ventura and it didn't fix anything. Install macOS Monterey and you don't have that problem. Some say that the problem exists since macOS Ventura 13.0.0 Beta 7 so I suppose that in 13.1 it will be solved. I think it will be resolved in 13.1 or 13.2 because it is a problem that affects a lot of people. I'm sure Apple developers have that problem on their computers.
 
I have not seen any issues with USB C ext displays including the monitor supplying power to the M1 MAX MBP. No issues with sleep nor after a reboot. My ext display is a Dell 4320Q. I use it mainly in Clamshell mode but have used both displays as well. Both work well. Never had an issue with the ext display from the first moment I upgraded to Ventura.

I do have the slowdowns (not disconnects) on ext SSD drives but that's it.
 
After upgrading to Ventura 13.1, I haven't seen this problem! Fingers crossed (it's only been a day), but this might be fixed.
 
After upgrading to Ventura 13.1, I haven't seen this problem! Fingers crossed (it's only been a day), but this might be fixed.
Jealous! no dice here! Did you do anything else? clear NVRAM?
The other day I talked to support on the online chat, they told me to do a fresh install of Ventura, I did and no luck. I just upgraded to 13.1 and still the same issue.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.