Skip to content

About

This plugins fixes frozen screenshare in HDR mode on Hyprland 0.55. Also unintentionally fixes blur in HDR mode.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hyprland-fix-hdr-screenshare

Small Hyprland plugin that disables the HDR unmodified-copy MRT path used for screenshare and screenshots.

It works around two HDR/FP16 issues:

  • screenshare and screenshots freezing after some time
  • blur under transparent windows not working correctly in HDR

Hyprland's built-in render:keep_unmodified_copy = 0 disables this path globally. This plugin does it by hooking CMonitor::needsUnmodifiedCopy(), which avoids the broken HDR/FP16 mirror texture path while keeping non-HDR monitors usable.

The plugin also hooks Hyprland's mirror image description and uses the active monitor's sdr_min_luminance and sdr_max_luminance for the capture target, instead of Hyprland's hardcoded default SDR maximum luminance.

There is no dispatcher. Loading the plugin enables the workaround immediately. Unloading the plugin removes the hook and restores Hyprland's normal behavior.

About

This plugins fixes frozen screenshare in HDR mode on Hyprland 0.55. Also unintentionally fixes blur in HDR mode.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages