Skip to main content

Windows Laptop UYVY Stream Freezes

When to use this article​

When using UVC cameras on Windows laptops, intermittent frame freezing may occur during UYVY video streaming.

Why this happens​

This behavior can be caused by Windows power-saving features, such as CPU C-states and USB selective suspend, which can slow down USB interrupt handling.

Disable power-saving settings before streaming​

Disable CPU C-states and USB selective suspend before starting the stream.

Download disable_pwr_setting.reg, then run the following commands in PowerShell to apply the registry settings:

# Import the registry file silently without confirmation dialog.
# Using -Wait ensures the registry update is finished before the next step.
Start-Process -FilePath "regedit.exe" -ArgumentList "/s", "disable_pwr_setting.reg" -Wait

# Force Windows to reload the current power scheme to apply changes immediately.
powercfg -setactive scheme_current

Check the result​

Start the UYVY stream again and confirm that the frame freeze no longer occurs.

Restore power-saving settings​

After streaming, download restore_pwr_setting.reg, then run the following commands to restore the original power settings:

# Import the registry file silently without confirmation dialog.
Start-Process -FilePath "regedit.exe" -ArgumentList "/s", "restore_pwr_setting.reg" -Wait

# Force Windows to reload the current power scheme to apply changes immediately.
powercfg -setactive scheme_current

If the issue continues​

  • Apply the power setting change before starting the camera stream.
  • If the issue only happens through a hub or a specific port, test a direct USB connection as well.