hyprwm / Hyprland

Hyprland is a highly customizable dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
17.95k stars 754 forks source link

monitor on/off makes windows blurry #6560

Open andresilva opened 2 weeks ago

andresilva commented 2 weeks ago

Bug or Regression?

Bug

System Info and Version

Hyprland, built from branch  at commit b15be9c77de593581007de53b2bbca97d121900a  ().
Date: 2024-06-16
Tag: , commits: 

flags: (if any)

System Information:
System name: Linux
Release: 6.9.5

GPU information: 
0a:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M] [1002:744c] (rev c8) (prog-if 00 [VGA controller])

plugins:

Description

After turning on/off DPMS some windows become blurry, notably Firefox and Emacs. Only happens when using scaling (doesn't need to be fractional, happens at 2x). Can replicate with empty config.

How to reproduce

Crash reports, logs, images, videos

No response

andresilva commented 2 weeks ago

Just turning off the monitor manually triggers the issue. I am using a single monitor.

wxlyyy commented 2 weeks ago

Same issue

andresilva commented 2 weeks ago

Can replicate on laptop as well with intel gpu.

hyprctl keyword monitor "eDP-1,disable" && hyprctl keyword monitor "eDP-1,preferred,auto,1.5"

Estebiu commented 1 week ago

Can replicate. Seems like a regression somewhere between 0.40 and 0.41, I think.

ircurry commented 4 days ago

Can replicate on my laptop as well. Emacs, Firefox, and MPV are all affected. Weirdly enough, Alacritty seems to be fine.

Is there some way to force Hyprland to redraw windows or in someway do a soft restart? Really just any temporary fix beyond close the window and reopen again.