Cố vấn màn hình
Xem miễn phí, thay đổi cần Pro
Cho thấy WindowServer đang làm việc nặng thế nào để vẽ các màn hình của bạn, và đề xuất những thay đổi có thể lấy lại một phần.
The problem
If your Mac drives an external display, WindowServer, the macOS process that draws every window on every screen, can use a noticeable share of the CPU. You may see it near the top of Activity Monitor and have no idea what to do about it.
The causes are mostly settings. A scaled resolution makes macOS draw a bigger picture and shrink it to fit. A high refresh rate means more frames to draw. Each extra display adds its own picture. Hedroom reads what your displays are doing and tells you which of those applies on your Mac.
How it works
- Read. While the Display advisor is open, Hedroom reads WindowServer's CPU as a share of one core, at most every 5 seconds. If it cannot read it, it says "Unavailable" and shows no number, never a zero.
- Look at each display. Its resolution, its refresh rate, and whether macOS is drawing more pixels than the panel has and scaling them down.
- Tip only from data. Tips come from what it reads: a scaled mode, a refresh rate above 60 Hz on an external display, three or more displays, or Reduce Transparency. Each carries an impact such as "up to −N% CPU", a ceiling worked out from how many pixels per second would no longer be drawn. When it cannot estimate, it says "No estimate".
- Try it, with a safety net. Try it changes one display's mode. You have 15 seconds to press Keep or Undo. Do nothing and the old mode comes back.
- Measure. After Keep, Hedroom measures WindowServer for 5 minutes and writes a receipt. The change lasts until you log out.
What you will see
The screen shows WindowServer's live CPU with one sentence that follows the data ("WindowServer is light right now." when it is under 5%), then a card for each connected display. A scaled display shows the picture macOS draws as a dashed frame around the one you see, with an "Extra work" chip. Below are the tips, biggest first, each with its reason, an impact chip and a button: Try it, or Open Settings for Reduce Transparency, which Hedroom never flips for you. When there is nothing to change it says "Nothing to change."
After you press Try it, a sheet counts down from 15 seconds with Keep and Undo; Esc undoes. Once you keep a change, it says Hedroom is measuring for 5 minutes and that the change stays until you log out.
A worked example
Example, not real data
A scaled external monitor
Say you have a 4K external display set to "Looks like 2560×1440". macOS draws a 5120×2880 image, then shrinks it to fit the panel, so WindowServer does extra work. The advisor shows the dashed frame and a first tip: use the mode that draws exactly the panel's pixels, with its ceiling.
You press Try it. The display changes, you judge whether the result is comfortable to read, and press Keep. Five minutes later the receipt compares WindowServer before and after. If the drop is smaller than Hedroom can tell apart from normal ups and downs, it says "No measurable effect." and you can press Undo.
Details and limits
Nó làm gì
- Đọc CPU của WindowServer, theo phần của một lõi, khi màn hình đang mở. Nếu không đọc được, nó ghi "Không khả dụng" và không hiển thị con số.
- Hiển thị độ phân giải, tần số làm mới của từng màn hình và việc macOS có đang vẽ một hình ảnh lớn hơn rồi thu nhỏ hay không.
- Chỉ đưa ra mẹo từ những gì nó đọc được: chế độ co giãn vẽ nhiều điểm ảnh hơn tấm nền có, tần số làm mới trên 60 Hz trên màn hình ngoài, ba màn hình trở lên, và Giảm độ trong suốt.
- Thử thay đổi chế độ của một màn hình. Bạn có 15 giây để nhấn Giữ hoặc Hoàn tác; nếu bạn không làm gì, chế độ cũ sẽ trở lại.
- Sau khi Giữ, đo WindowServer trong 5 phút và viết biên nhận.
What it will not do
- Thay đổi bất cứ điều gì cho đến khi bạn nhấn Thử.
- Biến một thay đổi thành vĩnh viễn. Ngay cả sau khi Giữ, nó chỉ tồn tại đến khi bạn đăng xuất.
- Tự bật Giảm độ trong suốt thay bạn. Mẹo đó mở Cài đặt Hệ thống.
- Hứa một tỷ lệ phần trăm. Các số liệu tác động ghi "tối đa" và là mức trần, không phải dự báo.
Limits
- Những mức giảm thật nhỏ thường hiện là "Không có tác dụng đo được" trên biên nhận. Đó là biên nhận đang thận trọng.
- Một chế độ thấp hơn độ phân giải gốc của tấm nền có thể làm chữ trông mờ. Hedroom nói rõ điều đó trong mẹo.
- Nếu Hedroom gặp sự cố trong 15 giây đó, chế độ chưa xác nhận sẽ trở lại ở lần mở tiếp theo hoặc khi bạn đăng xuất, không phải ngay lập tức.
Miễn phí hay Pro
Số đo và các mẹo là miễn phí. Thử thuộc gói Pro. Hoàn tác không bao giờ bị khóa.
Try it changes your display, which is why it, and only it, is Pro.
Questions people ask
Could it leave my screen in a bad state?
Every change has a 15-second Undo, and a change you do not confirm goes back by itself. Hedroom writes a small journal before changing the mode. If it crashes during the 15 seconds, the unconfirmed mode comes back at the next launch or when you log out, not at once.
Does it need any permission?
It asks for no admin password. It reads and changes display modes through the same system calls any app can use, and reads WindowServer's CPU with the system's own ps tool.
Does looking cost battery or CPU?
It reads WindowServer only while the screen is open, at most every 5 seconds, and every 10 seconds while a display-change receipt is measuring, about 6 to 16 minutes. Each read is one run of ps, which took about 20 milliseconds of CPU on the Mac it was checked on.
Will it change my displays by itself?
Never. A display change needs your click on Try it. No rule or schedule can do it.