acOS: running ComfyUI Desktop triggers system-wide screen color corruption (WindowServer compositor bug); persists until logout
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
### Custom Node Testing
- [x] I have tried disabling custom nodes and the issue persists (see [how to disable custom nodes](https://docs.comfy.org/troubleshooting/custom-node-issues#step-1%3A-test-with-all-custom-nodes-disabled) if you need help)
### Expected Behavior
Expected behavior
Running ComfyUI Desktop should not corrupt macOS's global display compositing.
### Actual Behavior
Running ComfyUI Desktop corrupts macOS's global display compositing.
### Steps to Reproduce
macOS 26.5.1 (25F80), Apple Silicon MacBook Pro (built-in display)
Launch ComfyUI Desktop 1.0.28 (260629ddvgekhw1)
Leave it running; no workflow execution required
System-wide color corruption occurs (multiple times daily across several days); persists after quitting the app, until logout/reboot
System
ComfyUI Desktop: 1.0.28 (260629ddvgekhw1)
macOS: 26.5.1 (Build 25F80)
Hardware: Apple Silicon MacBook Pro [fill in exact model/chip/RAM]
Additional context
No GPU restarts, kernel panics, or WindowServer crashes at incident times — WindowServer keeps running with corrupted color state.
Testing "Reduce transparency" (System Settings → Accessibility → Display) as a workaround, since it disables the backdrop/vibrancy filter path named in the fault. Will update with results.
Photo of corrupted screen and unified-log excerpts available.
### Debug Logs
```powershell
Claude finished the response
incident-window.log
log
Here it is
Ran 9 commands, searched the web, loaded tools
Ran 9 commands, searched the web, loaded tools
Went through all 43k lines. The new incidents have a completely different signature from the old big-job problem — and it's good news for your hardware.
What's absent: no AGX/GPU driver hangs, no GPU restarts, no WindowServer watchdog kills anywhere in the window. The old failure mode (GPU wedged in the kernel driver) did not recur.
What's present, clustered exactly at your incident times: corruption of WindowServer's color/compositing pipeline —
SkyLight: Singular matrix — 325 occurrences. That's WindowServer using a degenerate (non-invertible) transform matrix. A broken color matrix produces precisely the washed-out pastel/inverted look in your photo.
QuartzCore: NULL color space set on context and CoreDisplay: ColorSyncUtilsUpdateDisplayProfiles display profile info list is NULL — the display color profile machinery losing its state.
748 QuartzCore faults: Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use in a burst 23:30–23:35 last night, and 20 more at 09:04 this morning.
Cursor disabled: failed set_cursor_surface and hundreds of render synchronize timed out errors during the bad periods.
Timeline it paints: trouble from ~23:05 last night → logout 23:09 → still broken → reboot 23:22 → color-matrix faults again 23:30. This morning: reboots at 05:57, 06:25, 06:55×3, 07:03, 08:33 — and notably, Comfy Desktop relaunched itself at 05:58, seconds after login. If macOS is reopening ComfyUI automatically at each login, that would explain why the corruption kept coming right back through several reboots.
Verdict: software, now with direct evidence. The compositor's color transform state is being corrupted — the GPU and panel are executing faithfully, just with garbage matrices. Two questions/actions:
Was the screen corrupted around 09:04 this morning? That burst is the freshest fingerprint.
Untick "Reopen windows when logging back in" at reboot, and check System Settings → General → Login Items for ComfyUI, so recovery sticks.
The decisive isolation test remains: run ComfyUI with its Electron GPU layer off (open -a ComfyUI --args --disable-gpu) or headless in a browser. If corruption stops, it's the desktop app's compositing/color handling — and this log evidence (especially the vibrant-color-matrix fault) is exactly what to paste into a ComfyUI desktop GitHub issue.
Web search turned up no known matching bug for this exact signature, which strengthens the case for filing one.
Was the screen corrupted around 09:04 this morning? That burst is the freshest fingerprint. Yes it was. I already unchecked the reopen windows option.
Thought process
Thought process
That confirms the fingerprint. Let me look at what led up to 09:04 in the log you already sent — it covers up to 09:15.
Ran 2 commands
Ran 2 commands
The 09:04 sequence fills in the last piece. Here's the pattern:
At 09:03:56 a client process's connections to WindowServer were invalidated (something quit or relaunched — plausibly ComfyUI), WindowServer failed some render-loop replies, and 18 seconds later the fault burst began: Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use — 20 times in under a second, then cursor-surface failures. Same fault, same pattern as 23:30 last night. That fault is your corruption.
What it means: this is a bug in WindowServer's own compositing path — specifically the "vibrant/backdrop" filter machinery (the translucency effects in macOS 26's UI) colliding with a memoryless Metal render surface. When it fails, the compositor's color transforms go degenerate (the "Singular matrix" spam) and every frame it composites comes out with garbage colors. ComfyUI isn't corrupting your screen directly — its window (Electron, with a Metal layer and unusual surface lifecycle) is putting WindowServer into this broken path. That's why only logout fixes it: the corrupted state lives inside WindowServer.
So: software, definitively — an OS compositor bug triggered by ComfyUI. Your hardware is fine.
Two things to try, in order of diagnostic value:
System Settings → Accessibility → Display → Reduce transparency (on). This disables backdrop/vibrancy filters — the exact code path that's faulting. If corruption stops with ComfyUI running normally, that's confirmation and a usable workaround in one step.
Check Software Update — you're on 26.5.1; a later 26.x may have fixed this compositor path.
And worth reporting to both sides, since you have a clean fingerprint: Apple via Feedback Assistant (bug in WindowServer/QuartzCore, include the fault line and timestamps), and ComfyUI desktop's GitHub (they can likely work around it by changing their Electron window/surface settings). I can draft either report if you want.
Please draft both reports for me.
Thought process
Thought process
Meanwhile, I've made the system settings fix so hopefully the bug will not reoccur.
Created 2 files, read 2 files
Created 2 files, read 2 files
Both drafts are above. Before filing, fill in your exact Mac model/chip/RAM where marked. The Apple one goes to feedbackassistant.apple.com (attach your screen photo and incident-window.log); the ComfyUI one to github.com/Comfy-Org/desktop/issues.
And good — Reduce transparency is exactly the right test. Since it disables the backdrop/vibrancy filter path named in the fault, the next several ComfyUI sessions are now an experiment: if the corruption doesn't recur, that's strong confirmation of the diagnosis, and worth adding as an update to both reports ("workaround confirmed: Reduce transparency prevents it"). If it recurs anyway, tell me — that would point at a different compositor path and I'd want to look at the log around the new incident.
Apple feedback report
Document · MD
Comfyui github issue
Document · MD
Can you give me just the specific logs that show the behavior so I can submit those with the report?
Ran a command, read a file
Ran a command, read a file
corruption-evidence.log above — 89 lines, verbatim from your unified log, organized as: the 09:04 incident sequence (lead-up → fault burst → cursor failure), the 23:30 incident's fault burst (first 10 of 748), samples of the associated Singular matrix / NULL color space / ColorSync errors, and a closing note that no GPU restarts or crashes accompany the incidents. Attach it to both reports alongside your screen photo; the full incident-window.log is worth attaching to the Apple report too, since their engineers can use the complete window.
Corruption evidence
LOG
Fable 5 is the most capable model and draws down usage much faster than Opus 4.8
Claude is AI and can make mistakes. Please double-check responses. Give us feedback
Corruption evidence · LOG
================================================================
EVIDENCE EXCERPTS — macOS unified log (log show), WindowServer
System: macOS 26.5.1 (25F80), Apple Silicon MacBook Pro
Trigger app: ComfyUI Desktop 1.0.28 (260629ddvgekhw1)
Two confirmed screen-corruption incidents: 2026-07-03 ~23:30 and 2026-07-04 ~09:04
================================================================
---- INCIDENT A: 2026-07-04 09:04 (confirmed corrupted screen) ----
-- Lead-up: client XPC teardown + render-loop failures --
2026-07-04 09:03:56.742393+0100 0x8f0c Error 0x0 601 0 WindowServer: (BoardServices) [com.apple.BoardServices:XPCErrors] [S:15] Error received: Connection invalidated.
2026-07-04 09:03:56.742396+0100 0x1685 Error 0x0 601 0 WindowServer: (QuartzCore) [com.apple.coreanimation:Render] failed to send rlfg reply: 10000003
2026-07-04 09:03:56.742590+0100 0x8f0c Error 0x0 601 0 WindowServer: (BoardServices) [com.apple.BoardServices:XPCErrors] [S:18] Error received: Connection invalidated.
2026-07-04 09:03:56.742628+0100 0x9b11 Error 0x0 601 0 WindowServer: (BackBoardHIDEventFoundation) [com.apple.BackBoard:EventDelivery] invalidated connection
2026-07-04 09:03:56.749644+0100 0x8f0c Error 0x0 601 0 WindowServer: (BoardServices) [com.apple.BoardServices:XPCErrors] [S:17] Error received: Connection invalidated.
2026-07-04 09:03:56.749675+0100 0x8f0c Error 0x0 601 0 WindowServer: (BackBoardHIDEventFoundation) [com.apple.BackBoard:EventDelivery] invalidated connection
2026-07-04 09:03:56.749690+0100 0x8f0c Error 0x0 601 0 WindowServer: (BoardServices) [com.apple.BoardServices:XPCErrors] [S:16] Error received: Connection invalidated.
-- Onset: backdrop-aware vibrant color matrix filter fault burst (20x in <1s) --
2026-07-04 09:04:14.792262+0100 0x1590 Fault 0xba67f 601 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-04 09:04:14.792453+0100 0x1590 Fault 0xbbd00 601 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-04 09:04:14.811987+0100 0x1590 Fault 0xbbd02 601 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-04 09:04:14.812078+0100 0x1590 Fault 0xbbd03 601 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-04 09:04:14.831840+0100 0x1590 Fault 0xbbd04 601 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-04 09:04:14.831930+0100 0x1590 Fault 0xbbd05 601 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-04 09:04:14.851837+0100 0x1590 Fault 0xbbd06 601 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-04 09:04:14.851940+0100 0x1590 Fault 0xbbd07 601 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-04 09:04:14.872262+0100 0x1590 Fault 0xbbd08 601 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-04 09:04:14.872399+0100 0x1590 Fault 0xbbd09 601 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-04 09:04:14.891855+0100 0x1590 Fault 0xbbd0a 601 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-04 09:04:14.891973+0100 0x1590 Fault 0xbbd0b 601 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-04 09:04:14.912801+0100 0x1590 Fault 0xbbd0c 601 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-04 09:04:14.912925+0100 0x1590 Fault 0xbbd0d 601 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-04 09:04:14.931572+0100 0x1590 Fault 0xbbd0e 601 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-04 09:04:14.931646+0100 0x1590 Fault 0xbbd0f 601 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-04 09:04:14.951824+0100 0x1590 Fault 0xbbd40 601 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-04 09:04:14.951894+0100 0x1590 Fault 0xbbd41 601 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-04 09:04:14.972074+0100 0x1590 Fault 0xbbd42 601 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-04 09:04:14.972207+0100 0x1590 Fault 0xbbd43 601 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
-- Aftermath: cursor surface failure --
2026-07-04 09:04:21.428048+0100 0x1590 Error 0x0 601 0 WindowServer: (QuartzCore) [com.apple.coreanimation:Cursor] Cursor disabled: failed set_cursor_surface
---- INCIDENT B: 2026-07-03 23:30-23:35 (confirmed corrupted screen) ----
-- Same fault, 748 occurrences total; first 10 shown --
2026-07-03 23:30:16.295672+0100 0x1521 Fault 0x4291d 431 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-03 23:30:16.298934+0100 0x1521 Fault 0x4291e 431 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-03 23:30:16.303815+0100 0x1521 Fault 0x4291f 431 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-03 23:30:16.303862+0100 0x1521 Fault 0x47200 431 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-03 23:30:16.312056+0100 0x1521 Fault 0x47201 431 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-03 23:30:16.312098+0100 0x1521 Fault 0x47202 431 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-03 23:30:16.320351+0100 0x1521 Fault 0x47203 431 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-03 23:30:16.320392+0100 0x1521 Fault 0x47204 431 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-03 23:30:16.328641+0100 0x1521 Fault 0x47205 431 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
2026-07-03 23:30:16.328680+0100 0x1521 Fault 0x47206 431 14 WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware vibrant color matrix filter while existing memoryless offscreen surface in use
[... 738 further identical faults through 23:35:59 ...]
---- ASSOCIATED COLOR-PIPELINE CORRUPTION (same session) ----
-- Degenerate transform matrices in the compositor (325 occurrences total; sample) --
2026-07-03 23:10:13.554177+0100 0x13c2 Error 0x0 415 7 WindowServer: (SkyLight) [com.apple.SkyLight:default] Singular matrix
2026-07-03 23:10:13.557829+0100 0x13c2 Error 0x0 415 7 WindowServer: (SkyLight) [com.apple.SkyLight:default] Singular matrix
2026-07-03 23:10:13.568382+0100 0x13c2 Error 0x0 415 7 WindowServer: (SkyLight) [com.apple.SkyLight:default] Singular matrix
2026-07-03 23:10:13.576845+0100 0x13c2 Error 0x0 415 7 WindowServer: (SkyLight) [com.apple.SkyLight:default] Singular matrix
2026-07-03 23:10:13.585043+0100 0x13c2 Error 0x0 415 7 WindowServer: (SkyLight) [com.apple.SkyLight:default] Singular matrix
2026-07-03 23:10:13.593417+0100 0x13c2 Error 0x0 415 7 WindowServer: (SkyLight) [com.apple.SkyLight:default] Singular matrix
2026-07-03 23:10:13.601698+0100 0x13c2 Error 0x0 415 7 WindowServer: (SkyLight) [com.apple.SkyLight:default] Singular matrix
2026-07-03 23:10:13.610349+0100 0x13c2 Error 0x0 415 7 WindowServer: (SkyLight) [com.apple.SkyLight:default] Singular matrix
[... 317 further occurrences ...]
-- Color space / display profile state lost --
2026-07-03 23:10:13.428357+0100 0x1e9412 Error 0x0 415 7 WindowServer: (CoreDisplay) [com.apple.CoreDisplay:default] [ERROR] - ColorSyncUtilsUpdateDisplayProfiles display profile info list is NULL
2026-07-03 23:10:13.428450+0100 0x1e9412 Error 0x0 415 7 WindowServer: (CoreDisplay) [com.apple.CoreDisplay:default] [ERROR] - ColorSyncUtilsUpdateDisplayProfiles display profile info list is NULL
2026-07-03 23:10:13.568647+0100 0x13c2 Error 0x0 415 0 WindowServer: (QuartzCore) [com.apple.coreanimation:API] NULL color space set on context (51a0a990)
2026-07-03 23:10:14.518905+0100 0x13c2 Error 0x0 415 0 WindowServer: (QuartzCore) [com.apple.coreanimation:API] NULL color space set on context (b78dbe0)
2026-07-03 23:10:15.335846+0100 0x13c2 Error 0x0 415 0 WindowServer: (QuartzCore) [com.apple.coreanimation:API] NULL color space set on context (1263d47a)
2026-07-03 23:10:24.010426+0100 0x13c2 Error 0x0 415 0 WindowServer: (QuartzCore) [com.apple.coreanimation:API] NULL color space set on context (69c0f246)
-- Render synchronization failures during corrupted periods (sample) --
2026-07-03 23:10:14.591432+0100 0x1503 Error 0x0 415 0 WindowServer: (QuartzCore) [com.apple.coreanimation:Render] synchronize timed out for b82db125 with (0,0): req r2(0)
2026-07-03 23:10:14.623677+0100 0x1503 Error 0x0 415 0 WindowServer: (QuartzCore) [com.apple.coreanimation:Render] synchronize timed out for b82db125 with (0,0): req r12(0)
2026-07-03 23:10:14.655402+0100 0x1503 Error 0x0 415 0 WindowServer: (QuartzCore) [com.apple.coreanimation:Render] synchronize timed out for b82db125 with (0,0): req r14(0)
2026-07-03 23:10:14.688456+0100 0x1503 Error 0x0 415 0 WindowServer: (QuartzCore) [com.apple.coreanimation:Render] synchronize timed out for b82db125 with (0,0): req r19(0)
2026-07-03 23:10:14.720591+0100 0x1503 Error 0x0 415 0 WindowServer: (QuartzCore) [com.apple.coreanimation:Render] synchronize timed out for b82db125 with (0,0): req r24(0)
2026-07-03 23:10:14.770404+0100 0x1503 Error 0x0 415 0 WindowServer: (QuartzCore) [com.apple.coreanimation:Render] synchronize timed out for b82db125 with (0,0): req r29(0)
---- NOTE ----
No .gpuRestart reports, kernel panics, or WindowServer crash reports exist at these
incident times (verified in /Library/Logs/DiagnosticReports). WindowServer continued
running with corrupted color state; only logout/reboot (WindowServer restart) restored
normal display output.
```
### Other
While ComfyUI Desktop is running on macOS — even fully idle, with no job queued — the entire macOS display becomes color-corrupted: washed-out pastel/partially inverted colors with rainbow banding across all windows, menu bar, and desktop. The UI stays structurally intact and responsive; only color is destroyed. Quitting ComfyUI does not fix it; only logging out or rebooting (which restarts WindowServer) restores the display. The problem does not occur when ComfyUI is not running.
Root cause appears to be a macOS WindowServer/QuartzCore compositing bug that ComfyUI's window triggers (also being reported to Apple via Feedback Assistant). At the exact onset of each incident, the macOS unified log shows WindowServer emitting a burst of faults:
WindowServer: (QuartzCore) [com.apple.coreanimation:OGL] Unable to render backdrop-aware
vibrant color matrix filter while existing memoryless offscreen surface in use
(748 occurrences during one incident, 20 in another) followed by ongoing:
WindowServer: (SkyLight) Singular matrix ← degenerate color transform
WindowServer: (QuartzCore) NULL color space set on context
WindowServer: (QuartzCore) Cursor disabled: failed set_cursor_surface
In one captured incident, the fault burst began ~18 s after an app's XPC connections to WindowServer were invalidated (window/surface teardown), suggesting the trigger is the app's window/surface lifecycle interacting with macOS's backdrop/vibrancy compositing path and a memoryless Metal render target.
Why report here as well as to Apple
The bug is in macOS, but ComfyUI Desktop is what triggers it, and the app can likely avoid the broken compositor path — e.g. by adjusting the Electron window's transparency/vibrancy settings (transparent, vibrancy, backgroundMaterial), or the frontend's use of a transparent/EDR Metal layer. Other Electron apps on the same system do not trigger it.
Contributor guide
Research direction
Start with the reproduction steps for ComfyUI Desktop 1.0.28 on macOS 26.5.1 and review the included WindowServer and QuartzCore log excerpts. Compare the reported behavior with the suggested Reduce Transparency and GPU-disabled isolation tests; done would require identifying a reproducible desktop-side trigger or documenting that the failure is confined to WindowServer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, macos
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100