Codex Desktop pet overlay appears to increase idle GPU/renderer CPU on macOS
Open 💬 11 comments Opened May 1, 2026 by Milian0402
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
The Codex Desktop pet overlay appears to add significant idle rendering/GPU load on macOS.
Environment:
- Codex 26.429.30905
- macOS 26.4.1 (25E253)
- MacBook Pro M5 Max
With pet visible while mostly idle:
- GPU helper: ~24-30% CPU
- Renderer: ~12% CPU
- app-server: ~3% CPU
After tucking the pet away:
- GPU helper: ~12-19% CPU
- Renderer: ~12% CPU
- app-server: 0%
- one renderer disappeared
Some overhead is expected, but sustained double-digit CPU for an idle decorative overlay seems high. Minimizing the whole Codex window drops renderer work much more aggressively, so this looks tied to visible UI rendering.
Related: #16099, #16857, #18545, #20435.
11 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I reviewed the suggested duplicates. They look related to the same broad renderer/compositor family, but I don’t think this is a direct duplicate.
This report is specifically about the new Codex pet overlay: with the pet visible, GPU/helper load is higher; after tucking the pet away, app-server drops to 0%, one renderer disappears, and GPU helper usage drops. None of the suggested duplicates mention
/hatch, the pet overlay, or pet visible vs tucked-away measurements.Closest related issue seems to be #16857, since that also points to a small animation keeping Chromium’s compositor active.
Retested on Codex Desktop 26.506.31421 on macOS 26.4.1.
In a local sample with the pet overlay closed:
In a local sample with the pet overlay open:
This was not a perfectly controlled benchmark, but it suggests the broader idle renderer/GPU load is still present and that the pet overlay may add extra overhead on top.
Hm, I'm not sure whether it's really related to this specific issue, but it seems that when the pet is "awake", going into different threads or even just the agent working, causes AWFUL lags: as the mouse is getting frozen (audio is still hearable tho), along with extremely lowered performance of the whole PC basically.
I'm on Windows PC, using
26.513.40821desktop app. And it's not like my hardware can't handle heavy load - I'm currently running RX5700XT paired with Ryzen 7 5800X...Having the pet visible basically renders the app (and the pc, but most lags happen in the app) barely usable. Disabling the pet completely makes the problem go away. I'm not really sure whether it's a regression as I haven't really used pets that much, but I did check them out once before and I don't remember it being so broken...
If that needs a separate issue, please let me know or transfer this comment as an issue
I hit a more specific variant of this on macOS where the pet itself is less of a problem than the streaming text/status shown inside the pet overlay.
Environment:
26.527.6081826.5(25F71)What I observed:
When the pet / avatar overlay was visible while Codex was actively processing and updating text in the pet overlay, macOS desktop compositing became very expensive:
Memory pressure was normal, so this did not look like RAM pressure or local command execution. The process pattern pointed at rendering/compositing.
After disabling/closing the pet overlay and waiting a short period, repeated sampling showed WindowServer and the Codex renderer falling back down:
This makes the pet overlay look like the trigger. My guess is that token-by-token or high-frequency text/status updates in the transparent always-on-top
avatar-overlaywindow are causing repeated layout/paint/compositing work. The stack sample also showed QuartzCore/CALayer/IOSurface/CA transaction activity, consistent with this being a compositing path issue.Possible mitigations:
This is likely related to #16857 and the broader WindowServer/GPU reports such as #24185 and #23026, but this specific repro points to the pet overlay's streaming text/status updates as the high-frequency repaint trigger.
I can reproduce the Windows system-lag variant described above, and a controlled A/B test strongly isolates the pet/avatar overlay.
Environment
26.707.3112326.707.3563.0Symptom
With the main Codex window hidden or minimized but the pet/avatar overlay still visible, mouse and keyboard input pause for roughly 1–2 seconds several times per minute. Fully quitting Codex stops the pauses.
Controlled A/B measurements
Before closing the overlay:
After closing only the pet/avatar overlay:
The Computer Use plugin was disabled during the final A/B test. Its idle native pipe remained present before and after closing the overlay, while the rendering load disappeared when the overlay closed, so Computer Use infrastructure does not appear to be the primary trigger.
Reproduction
Expected behavior
A decorative always-on-top overlay should suspend or substantially throttle rendering while idle and should not cause system-wide input freezes.
The measurements suggest a persistent Chromium compositor/render loop in the transparent avatar window. Throttling animation and streaming-status updates when idle may help. No raw logs are attached because they can contain local paths, account data, and thread contents.
I can independently reproduce the Windows system/input-lag variant on a different current build and an NVIDIA GPU.
Environment
OpenAI.Codex 26.707.12708.00.144.510.0.26200, x6432.0.16.1074Deterministic A/B reproduction
This A/B was reproduced twice on the same machine and app configuration. A full restart after tucking the pet away is currently the reliable workaround.
Sanitized desktop-log evidence
In a session that was smooth after restarting with the pet tucked away, waking the pet created a separate avatar-overlay window:
Immediately afterward, the overlay renderer joined three active conversations as a follower:
The overlay also performed its own app/bootstrap work and emitted errors, including:
All account, host, thread, turn, and request identifiers have been removed. Raw logs are not attached because they contain local paths and conversation metadata.
Interpretation
This suggests the transparent always-on-top pet window is not only rendering the sprite. It mounts another app renderer and subscribes to active thread streams, adding renderer/compositor and event-processing work. The same machine switches chats normally after the pet is tucked away and Codex is restarted, so generic chat hydration alone does not explain the symptom.
Expected behavior
The pet overlay should not degrade OS pointer responsiveness or chat-switch performance. Its animation and status updates should be throttled, and the overlay should avoid mounting/subscribing to more application state than it needs.
Related:
26.707.12708.0.To add to that, I'll mention that it still keeps happening since I've first posted here, but I believe it's even worse now. The mouse can stutter so often, which causes so much frustration that having a pet overlay is basically a no go for me... And I really started to like both Codex and Null:d
I can reproduce this on Windows as well.
Environment
After a fresh restart of the ChatGPT app, switching between threads is completely smooth. As soon as I enable Show Pet, switching between threads causes brief but noticeable mouse/UI stutters. Similar stutters can also occur while an agent is actively processing.
Hiding the pet does not resolve the issue once it has been enabled. Fully quitting and restarting the ChatGPT app clears the stuttering until Show Pet is enabled again.
Other applications remain smooth, including Discord, web browsers, and File Explorer. Task Manager does not show any significant CPU, GPU, disk, memory, or system-wide resource spikes during the stutters.
I also submitted an in-app bug report with reference:
no-active-thread-019f7095-45a7-7a00-a96e-6f8f8bd99787I can reproduce this on a current macOS build with a controlled OFF -> ON -> OFF test.
Environment
26.727.51351(build6119)codex-cli 0.146.0-alpha.9.227.0(26A5388g)System memory pressure was healthy during the test: approximately 92% headroom, no swap I/O, and no thermal or CPU power warning.
Reproduction
Results
| Metric | Pet off | Pet on | Pet off again |
| --- | ---: | ---: | ---: |
| WindowServer CPU | 77.9% baseline | 109.9% average | 77.9% average |
| Codex GPU helper CPU | 16.6% baseline | 21.5% average | 17.2% average |
| Codex renderer processes | 6 | 13 | 6 |
| Combined renderer RSS | ~2,479 MB | ~5,027 MB | ~2,479 MB |
WindowServer samples with the pet visible were
95.3%,126.7%,123.0%,102.3%, and102.3%. After tucking it away they were76.2%,89.1%,77.4%,76.1%, and70.5%.Showing the pet created seven additional
Codex (Renderer)processes and increased combined renderer RSS by approximately 2.55 GB. Tucking it away returned the renderer count and aggregate RSS to the prior baseline.One newly created renderer remained alive at approximately 104 MB after the pet was tucked away, although another renderer exited, so the total count still returned to six. One cycle is not enough to conclude whether this is intentional reuse or a lifecycle leak.
The matching WindowServer, GPU-helper, renderer-count, and RSS changes strongly point to the transparent pet/avatar overlay and macOS compositing path rather than CPU, memory, swap, or thermal pressure.
A useful mitigation may be to suspend or heavily throttle the overlay animation/compositing loop while idle or while another application is fullscreen, in addition to reducing the amount of app state mounted by the avatar-overlay renderer.
Additional macOS datapoint from Codex Desktop 26.730.61639 (build 6234), observed 2026-08-05.
User-visible symptom: the desktop UI has intermittently frozen during concurrent/long-running Code Mode work.
Read-only sampling while the pet/avatar overlay was present:
Current-session desktop logs repeatedly referenced
rendererWindowAppearance=avatarOverlayand contained:ResizeObserver loop completed with undelivered notificationsunknown conversationConversation state not foundThose event-state errors were often emitted to both the primary renderer and avatar overlay. There was no current-session renderer/GPU crash, OOM, DB-lock/corruption, auth failure, or network-timeout signature, and Codex Doctor reported healthy local databases and connectivity.
An older Codex app bundle with the same bundle identifier was installed but was not running. A previous app-server process had also survived as PPID 1 with child node_repl processes, so resource/process-lifecycle pressure may be additive. This is an inference, not a proven root cause.
This seems consistent with the pet overlay adding sustained renderer/GPU work, and possibly amplifying UI event/resize churn under multi-session load. Tucking the pet away and restarting after active tasks finish is the safest workaround being tested. No private prompt content or raw logs are attached.