#15580·desktop

[Bug]: Video playback stutters and drops frames on Windows due to widget.windows.mica DWM composition

Author: eneskasikciCreated Sep 27, 2026Updated Sep 29, 2026
Labelscomponent: performanceplatform: windows

Preliminary Checks

  • I have read and understood the important section above.
  • I have searched existing issues and avoided creating duplicates.
  • I am not filing an enhancement request.
  • I have checked that this issue cannot be reproduced on Mozilla Firefox.
  • I have checked that this issue can be reproduced once I removed all my Mods and Custom CSS.

What happened?

TikTok (and other MSE web video players) frequently stutter, freeze, and drop frames on Windows.

  • In vanilla Mozilla Firefox: 0 dropped frames out of 2948 total frames on the exact same video.
  • In Zen Browser with widget.windows.mica = true: 28 to 67 dropped frames (4.6% to 13.5% frame loss).
  • When disabling HEVC (media.hevc.enabled = false): dropped frames drop to 0.00% (falling back smoothly to H.264).
  • When disabling Mica (widget.windows.mica = false): dropped frames drop by ~98% down to 1 out of 921 (0.11% loss).

Recommended Solution

Set media.hevc.enabled = false for Windows in prefs/zen/media.yaml:

  • Why: This achieves 0.00% dropped frames on TikTok and web media players without sacrificing Zen's signature Windows 11 Mica aesthetics.
  • Alternatively/additionally, Zen could provide an opt-in toggle under Settings -> Performance to disable Mica transparency for users experiencing DWM compositing lag.

Expected behavior

Smooth video playback matching upstream Firefox with no DWM frame drops or stuttering.

Actual behavior

Videos stutter and drop frames continuously due to Mica blur compositing overhead.

Steps to reproduce

  1. Open Zen Browser on Windows (with default widget.windows.mica = true).
  2. Play any video on TikTok (or other MSE video players).
  3. Observe dropped frames in video.getVideoPlaybackQuality().
  4. Toggle widget.windows.mica = false in about:config and restart: dropped frames immediately drop to near zero.

Screenshots and videos

No response

Version

1.22.3b

What platform are you seeing the problem on?

Windows - x64

What component is this issue related to?

Performance

Relevant log output if applicable

bash
// --- Vanilla Mozilla Firefox (Exact same video): ---
{
  "Is HEVC Supported": true,
  "Dropped Frames": 0,
  "Total Frames": 2948,
  "Drop Rate": "0.00%"
}

// --- Zen Browser WITH Mica enabled (widget.windows.mica = true): ---
{
  "GPU": "NVIDIA GeForce RTX 4090",
  "Video Resolution": "720x1280",
  "Total Frames": 607,
  "Dropped Frames": 28,
  "Drop Rate": "4.61%"
}

// --- Zen Browser WITHOUT Mica (widget.windows.mica = false, exact same video): ---
{
  "Total Frames": 921,
  "Dropped Frames": 1,
  "Drop Rate": "0.11%"
}