Hyprland: Disabling laptop display (eDP-1) causes either render problems or crash

Hi, thanks a lot for the great compositor!

I have two external monitors connected via a docking station and I mostly don’t use my laptop display. With the following config, I get two empty monitors with the default wallpaper and it seems that non of the exec-once apps are run.

monitor=eDP-1,disable
monitor=DP-7,1920x1080@60,0x0,1
monitor=DP-4,1920x1200@59.95,1920x0,1

If I were to enable my laptop display before Hyprland starts, it works. However, disabling it while Hyprland is running results in a crash

monitor=eDP-1,3840x2160@59.997,0x1080,2
monitor=DP-7,1920x1080@60,0x0,1
monitor=DP-4,1920x1200@59.95,1920x0,1

Core dump is attached. dump.txt

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 36 (16 by maintainers)

Most upvoted comments

I was disabling the monitor by setting the scaling to 0 instead

oh my fucking god, yeah I guess I should add a warning for idiots.

But when I disable my laptop monitor using the official docs method I still cannot run apps on my main monitor

share your config. ATTACH it, not paste.

open a new issue please 😃

no, hyprland finds the adequate refresh rate anyways. you can put in 60 and it will find the first within 1Hz

tested with a huge-ass OLED TV and a laptop, cannot reproduce. Everything works as expected.