Skip to content

drm: re-send ctm blob on modeset#256

Merged
vaxerski merged 1 commit intohyprwm:mainfrom
wongma7:ctmmodeset
Mar 13, 2026
Merged

drm: re-send ctm blob on modeset#256
vaxerski merged 1 commit intohyprwm:mainfrom
wongma7:ctmmodeset

Conversation

@wongma7
Copy link
Copy Markdown
Contributor

@wongma7 wongma7 commented Mar 8, 2026

like hdr #250, ctm needs to be re-sent on modeset, otherwise COMMITTED stays true and it's not sent after e.g. suspend or hyprctl dispatch dpms off.
Specifically this is observed for hyprsunset users like so hyprwm/hyprsunset#65:

hyprsunset -t 2500 # ctm set
hyprctl dispatch dpms off # hypridle or something turns off monitor
hyprctl dispatch dpms on # user is blinded

(Unlike hdr, have to make sure ctm has value otherwise monitor gets weird colors)

tested with and without hyprsunset running

@wongma7 wongma7 marked this pull request as draft March 8, 2026 10:50
@wongma7 wongma7 marked this pull request as ready for review March 8, 2026 11:11
@vaxerski vaxerski merged commit 43f10d2 into hyprwm:main Mar 13, 2026
1 check passed
umbrageodotus pushed a commit to umbrageodotus/aquamarine that referenced this pull request Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants