Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External Monitor via Thunderbolt Dock not Working after 0.42 Update #7321

Closed
mkavanagh-23 opened this issue Aug 13, 2024 · 49 comments
Closed
Labels
bug Something isn't working

Comments

@mkavanagh-23
Copy link

Regression?

Yes

System Info and Version

System/Version info
Hyprland, built from branch  at commit 9a09eac79b85c846e3a865a9078a3f8ff65a9259  (props: bump version to 0.42.0).
Date: Wed Aug 7 19:17:10 2024
Tag: v0.42.0, commits: 5069

flags: (if any)


System Information:
System name: Linux
Node name: arch-mbp
Release: 6.10.3-arch1-Adashima-T2-1-t2
Version: #1 SMP PREEMPT_DYNAMIC Sun, 11 Aug 2024 07:17:42 +0000


GPU information: 
00:02.0 VGA compatible controller [0300]: Intel Corporation CoffeeLake-U GT3e [Iris Plus Graphics 655] [8086:3ea5] (rev 01) (prog-if 00 [VGA controller])
02:00.1 Non-VGA unclassified device [0000]: Apple Inc. T2 Bridge Controller [106b:1801] (rev 01)
02:00.2 Non-VGA unclassified device [0000]: Apple Inc. T2 Secure Enclave Processor [106b:1802] (rev 01)


os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo


plugins:

======Config-Start======


Config File: /home/mattkavs/.config/hypr/hyprland.conf: Read Succeeded
### Set Environment Variables ###
source=~/.config/hypr/hyprland.conf.d/env.conf

### Set default programs ###
source=~/.config/hypr/hyprland.conf.d/default_programs.conf

### Import Catppuccin Mocha Theme ###
source=~/.config/hypr/hyprland.conf.d/catppuccin-mocha.conf

### System Hot Keys ###
source=~/.config/hypr/hyprland.conf.d/keybinds.conf

### Startup ###
source=~/.config/hypr/hyprland.conf.d/startup.conf

### Set up monitors ###
source=~/.config/hypr/hyprland.conf.d/monitors.conf

### Input Devices ###
source=~/.config/hypr/hyprland.conf.d/input.conf

### Windows and Animations ###
source=~/.config/hypr/hyprland.conf.d/windows.conf

misc {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers
}


Config File: /home/mattkavs/.config/hypr/hyprland.conf.d/env.conf: Read Succeeded
env = XCURSOR_THEME,BreezeX-RosePine-Linux
env = XCURSOR_SIZE,32
env = QT_QPA_PLATFORM,wayland
env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt6ct if you have that
env = HYPRCURSOR_THEME,rose-pine-hyprcursor
env = HYPRCURSOR_SIZE,32
env = XDG_CURRENT_DESKTOP,sway


Config File: /home/mattkavs/.config/hypr/hyprland.conf.d/default_programs.conf: Read Succeeded
# Set programs that you use
$terminal = kitty
$fileManager = thunar
$menu = wofi --term=kitty -i -S drun
$browser = firefox
$lock = swaylock --screenshots --effect-blur 10x10 --clock --indicator --ring-color fab387 --key-hl-color cba6f7 --inside-color 1e1e2e --text-color cdd6f4
$text = subl
$screenshot = flameshot gui


Config File: /home/mattkavs/.config/hypr/hyprland.conf.d/catppuccin-mocha.conf: Read Succeeded
$rosewaterAlpha = f5e0dc
$flamingoAlpha  = f2cdcd
$pinkAlpha      = f5c2e7
$mauveAlpha     = cba6f7
$redAlpha       = f38ba8
$maroonAlpha    = eba0ac
$peachAlpha     = fab387
$yellowAlpha    = f9e2af
$greenAlpha     = a6e3a1
$tealAlpha      = 94e2d5
$skyAlpha       = 89dceb
$sapphireAlpha  = 74c7ec
$blueAlpha      = 89b4fa
$lavenderAlpha  = b4befe

$textAlpha      = cdd6f4
$subtext1Alpha  = bac2de
$subtext0Alpha  = a6adc8

$overlay2Alpha  = 9399b2
$overlay1Alpha  = 7f849c
$overlay0Alpha  = 6c7086

$surface2Alpha  = 585b70
$surface1Alpha  = 45475a
$surface0Alpha  = 313244

$baseAlpha      = 1e1e2e
$mantleAlpha    = 181825
$crustAlpha     = 11111b

$rosewater = 0xfff5e0dc
$flamingo  = 0xfff2cdcd
$pink      = 0xfff5c2e7
$mauve     = 0xffcba6f7
$red       = 0xfff38ba8
$maroon    = 0xffeba0ac
$peach     = 0xfffab387
$yellow    = 0xfff9e2af
$green     = 0xffa6e3a1
$teal      = 0xff94e2d5
$sky       = 0xff89dceb
$sapphire  = 0xff74c7ec
$blue      = 0xff89b4fa
$lavender  = 0xffb4befe

$text      = 0xffcdd6f4
$subtext1  = 0xffbac2de
$subtext0  = 0xffa6adc8

$overlay2  = 0xff9399b2
$overlay1  = 0xff7f849c
$overlay0  = 0xff6c7086

$surface2  = 0xff585b70
$surface1  = 0xff45475a
$surface0  = 0xff313244

$base      = 0xff1e1e2e
$mantle    = 0xff181825
$crust     = 0xff11111b


Config File: /home/mattkavs/.config/hypr/hyprland.conf.d/keybinds.conf: Read Succeeded
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
# Executable
bind = $mainMod, RETURN, exec, $terminal
bind = $mainMod, Q, killactive,
bind = $mainMod, M, exec, wlogout --protocol layer-shell
bind = $mainMod SHIFT, M, exit, 
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, R, exec, $HOME/.config/nwg-panel/nwg_menu_launcher.sh
bind = $mainMod, F, exec, $browser
bind = $mainMod, Z, exec, $lock
bind = $mainMod, SPACE, exec, $menu
bind = $mainMod, D, exec, discord
bind = $mainMod, T, exec, $text
bind = $mainMod SHIFT, Q, exec, konsole
bind = $mainMod, P, exec, $screenshot

# Dwindle Layout
bind = $mainMod, Y, togglesplit
bind = $mainMod, U, swapsplit
bind = $mainMod, V, togglefloating, 


# MacBook Pro Touchbar
bindle = , XF86MonBrightnessDown, exec, brightnessctl --device=acpi_video0 set 3%-
bindle = , XF86MonBrightnessUp, exec, brightnessctl --device=acpi_video0 set 3%+
bind = , XF86Search, exec, $menu
bind = , XF86KbdBrightnessDown, exec, kitty keyboard 0
bind = , XF86KbdBrightnessUp, exec, kitty keyboard 50
bindl = , XF86AudioMute, exec, pamixer -t
bindle = , XF86AudioLowerVolume, exec, pamixer -d 3
bindle = , XF86AudioRaiseVolume, exec, pamixer -i 3
bind = , XF86AudioPrev, exec, playerctl previous
bind = , XF86AudioPlay, exec, playerctl play-pause
bind = , XF86AudioNext, exec, playerctl next


# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

# Vim motions
bind = $mainMod, H, movefocus, l
bind = $mainMod, J, movefocus, d
bind = $mainMod, K, movefocus, u
bind = $mainMod, L, movefocus, r


# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10

# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10

# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic

# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow


Config File: /home/mattkavs/.config/hypr/hyprland.conf.d/startup.conf: Read Succeeded
# Execute your favorite apps at launch
exec-once = waybar & mako
exec-once = /usr/lib/polkit-kde-authentication-agent-1

#Start the systemd hyprland session
exec-once = systemctl --user start hyprland-session.target


Config File: /home/mattkavs/.config/hypr/hyprland.conf.d/monitors.conf: Read Succeeded
# See https://wiki.hyprland.org/Configuring/Monitors/
#monitor=,preferred,auto,auto

# eDP-1 = MacBook Built-In
monitor=eDP-1,highres,0x1080,1.666667
#monitor=eDP-1,2560x1600,0x1080,1.666667
#monitor=eDP-1,disable

# DP-1 = VIZIO
monitor=DP-1,1920x1080,0x0,1
#monitor=DP-1,disable

# DP-2 = Samsung
monitor=DP-2,1920x1080,1920x0,1
#monitor=DP-2,disable

# DP-2 = Samsung (Work)
#monitor=eDP-1,highres,auto,1.666667
#monitor=DP-2,3840x2160,auto,2
#monitor=DP-2,disable

# Disable scaling for xwayland apps (no blurry apps)
xwayland {
  force_zero_scaling = true
}


Config File: /home/mattkavs/.config/hypr/hyprland.conf.d/input.conf: Read Succeeded
input {
    kb_layout = us
    kb_variant =
    kb_model =
    # Make 'caps lock' additional 'ESC' key, 'SHIFT + CAPS' for capslock
    kb_options = caps:escape_shifted_capslock 
    kb_rules =

    follow_mouse = 1

    touchpad {
        natural_scroll = yes
	   clickfinger_behavior = true
        tap-to-click = true
    }

    sensitivity = 0.5 # -1.0 - 1.0, 0 means no modification.
}

device {
    name = logitech-g305-1
    sensitivity = 0
}

gestures {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    workspace_swipe = true
}


Config File: /home/mattkavs/.config/hypr/hyprland.conf.d/windows.conf: Read Succeeded
general {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    gaps_in = 3
    gaps_out = 6
    border_size = 2
    col.active_border = $mauve $peach 45deg
    col.inactive_border = $base

    layout = dwindle

    # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
    allow_tearing = false
}

decoration {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    rounding = 8
    
    blur {
        enabled = true
        size = 3
        passes = 3
	   blurls = lockscreen
    }

    drop_shadow = yes
    shadow_range = 10
    shadow_render_power = 3
    shadow_offset = 2, 2
    col.shadow = rgba(11111beb)
}

animations {
    enabled = yes

    # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more

    bezier = myBezier, 0.1, 0.9, 0.05, 1.05
	bezier = cubic, 0.645, 0.045, 0.355, 1

    animation = windows, 1, 7, myBezier
    animation = windowsOut, 1, 7, default, popin 80%
    animation = border, 1, 10, default
    animation = borderangle, 1, 30, cubic, loop
    animation = fade, 1, 7, default
    animation = workspaces, 1, 10, default
}

dwindle {
    # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
    pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
    preserve_split = yes # you probably want this
}

master {
    # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
	new_status = master
}

source = ~/.config/hypr/hyprland.conf.d/windowrules.conf


Config File: /home/mattkavs/.config/hypr/hyprland.conf.d/windowrules.conf: Read Succeeded
# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
#windowrulev2 = nomaximizerequest, class:.* # You'll probably like this.
windowrulev2 = opacity 0.9 0.9,class:^(thunar)$
windowrulev2 = opacity 0.9 0.9,class:^(code-oss)$
windowrulev2 = opacity 0.9 0.9,class:^(subl)$
windowrulev2 = opacity 0.9 0.9,class:^(codeblocks)$
#windowrulev2 = float,class:^(kitty)$
#windowrulev2 = noblur,class:^(kitty)$
windowrulev2 = float,class:^(galculator)$
windowrulev2 = size 400 600,class:^(galculator)$
windowrulev2 = opacity 0.9 0.9,class:^(discord)$
windowrulev2 = opacity 0.9 0.9,class:^(Cider)$
windowrulev2 = opacity 0.95 0.95,class:^(firefox)$
windowrulev2 = opacity 0.9 0.9,class:^(wofi)$
windowrulev2 = opacity 0.9 0.9,class:^(neovide)$
windowrulev2 = float,class:^(zenity)$
windowrulev2 = float,title:^(iheartcams)$
windowrulev2 = size 600 300,title:^(iheartcams)$

======Config-End========

Description

After updating to v0.42 one of my external monitors is no longer working. Hyprctl lists the display as active (see logs) but the monitor does not display a signal.

Monitors are connected via a TB4 dock, I typically use a 3 monitor setup including laptop display. Editing config to disable built-in display also no longer turns the display off but rather leaves a still image on the disabled display.

Problem persists whether monitors are plugged in at boot or disconnected. This was working fine prior on wlroots and v<0.42.

How to reproduce

On a laptop with an iGPU, connect 2 moitors via TB4 dock. Built-in and first external display state,

Crash reports, logs, images, videos

Monitor Config
Config File: /home/mattkavs/.config/hypr/hyprland.conf.d/monitors.conf: Read Succeeded
# See https://wiki.hyprland.org/Configuring/Monitors/
#monitor=,preferred,auto,auto

# eDP-1 = MacBook Built-In
monitor=eDP-1,highres,0x1080,1.666667
#monitor=eDP-1,2560x1600,0x1080,1.666667
#monitor=eDP-1,disable

# DP-1 = VIZIO
monitor=DP-1,1920x1080,0x0,1
#monitor=DP-1,disable

# DP-2 = Samsung
monitor=DP-2,1920x1080,1920x0,1
#monitor=DP-2,disable

# DP-2 = Samsung (Work)
#monitor=eDP-1,highres,auto,1.666667
#monitor=DP-2,3840x2160,auto,2
#monitor=DP-2,disable

# Disable scaling for xwayland apps (no blurry apps)
xwayland {
  force_zero_scaling = true
}
boltctl
</details>

Boltctl:
 ● Kensington Computer Products Group SD5760T/SD5765T/AD2010T4 Thunderbolt 4 Dual 4K Docking Station
   ├─ type:          peripheral
   ├─ name:          SD5760T/SD5765T/AD2010T4 Thunderbolt 4 Dual 4K Docking Station
   ├─ vendor:        Kensington Computer Products Group
   ├─ uuid:          redacted
   ├─ generation:    USB4
   ├─ status:        authorized
   │  ├─ domain:     redacted
   │  ├─ rx speed:   40 Gb/s = 2 lanes * 20 Gb/s
   │  ├─ tx speed:   40 Gb/s = 2 lanes * 20 Gb/s
   │  └─ authflags:  none
   ├─ authorized:    Tue 13 Aug 2024 05:53:19 PM UTC
   ├─ connected:     Tue 13 Aug 2024 05:53:18 PM UTC
   └─ stored:        Sat 06 Apr 2024 05:41:39 AM UTC
      ├─ policy:     auto
      └─ key:        no
Hyprctl - Monitors
Monitor eDP-1 (ID 0):
	[email protected] at 0x1080
	description: Apple Computer Inc Color LCD
	make: Apple Computer Inc
	model: Color LCD
	serial: 
	active workspace: 1 (1)
	special workspace: 0 ()
	reserved: 0 42 0 0
	scale: 1.67
	transform: 0
	focused: no
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false
	disabled: false
	currentFormat: XRGB8888
	availableModes: [email protected] 

Monitor DP-1 (ID 1):
	[email protected] at 0x0
	description: VIZIO Inc M221NV PPJGAL2500499
	make: VIZIO, Inc
	model: M221NV
	serial: PPJGAL2500499
	active workspace: 2 (2)
	special workspace: 0 ()
	reserved: 0 42 0 0
	scale: 1.00
	transform: 0
	focused: yes
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false
	disabled: false
	currentFormat: XRGB8888
	availableModes: [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] 

Monitor DP-2 (ID 2):
	[email protected] at 1920x0
	description: Samsung Electric Company SAMSUNG
	make: Samsung Electric Company
	model: SAMSUNG
	serial: 
	active workspace: 3 (3)
	special workspace: 0 ()
	reserved: 0 42 0 0
	scale: 1.00
	transform: 0
	focused: no
	dpmsStatus: 1
	vrr: 0
	activelyTearing: false
	disabled: false
	currentFormat: XRGB8888
	availableModes: [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] 
@mkavanagh-23 mkavanagh-23 added the bug Something isn't working label Aug 13, 2024
@vaxerski
Copy link
Member

what's your aquamarine version?

have you tried aq-git and hl-git?

@mkavanagh-23
Copy link
Author

what's your aquamarine version?

have you tried aq-git and hl-git?

Aquamarine 0.3.1. Neither is -git but I'll switch over to those and see if that works. Thanks!

@mkavanagh-23
Copy link
Author

what's your aquamarine version?

have you tried aq-git and hl-git?

Updated both hyprland and aquamarine to -git from chaotic AUR and still having the same issue. Perhaps it is related to this: hyprwm/aquamarine#40 (comment)

@vaxerski
Copy link
Member

does dynamically disabling and re-enabling them fix it?

@mkavanagh-23
Copy link
Author

does dynamically disabling and re-enabling them fix it?

Not sure I follow correctly.

If by "dynamically disable and reenable" you mean disabled and reenabled in hyprland config, then that does not work.

Disabling any display via the config disables it but rather than turning the display off it is left with a freeze-frame of it's contents when disabled. The third display does not turn on even if it is the only enabled display in the config.

I also tried sticking with just ",preferred,auto,auto" and the third display still does not work.

@simonwiles
Copy link

Same symptoms, Dell TB16 dock. Will try to narrow down the specific issues later, but had to roll back to 0.41 for now.

@mkavanagh-23
Copy link
Author

Same symptoms, Dell TB16 dock. Will try to narrow down the specific issues later, but had to roll back to 0.41 for now.

Same. Rolled back to 41.2 and it immediately worked on reboot.

It seems my issue is almost the exact same as #7292 (comment) One of my external monitors works fine, the other says no signal despite hyprctl displaying it as connected and active.

@jurgenf
Copy link

jurgenf commented Aug 14, 2024

I experience this problem too, on both my TB16 docks. I don't want to push anyone in the wrong direction but I did have to add the environment variable WLR_DRM_NO_MODIFIERS=1 to my Hyprland startup to make the second display attached to the dock work on versions below 0.42. Perhaps something related to this variable has anything to do with it. Perhaps the env-var is used by Wlroots but not by Aquamarine/Hyprland?

@simonwiles
Copy link

I did have to add the environment variable WLR_DRM_NO_MODIFIERS=1 to my Hyprland startup

Thanks! -- but fwiw I'd never come across that env var before and am not / have never used it, but have no problems on Hyprland < 0.42, so I dunno 🤷

@vaxerski
Copy link
Member

can you test the above MR?

@mkavanagh-23
Copy link
Author

can you test the above MR?

Just checked out the branch and installed it locally, still no dice. I've attached logs from this session below if they are of any help
hyprland-2024-08-15.log

@mkavanagh-23
Copy link
Author

mkavanagh-23 commented Aug 15, 2024

can you test the above MR?

Just checked out the branch and installed it locally, still no dice. I've attached logs from this session below if they are of any help hyprland-2024-08-15.log

And cause I'm an idiot and didnt have debug logs enabled... here you go
hyprland-2024-08-15-DEBUG.log

Noticing this line in particualr


[LOG] [AQ] drm: Modesetting DP-2 with [email protected]
[ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT 

@mkavanagh-23
Copy link
Author

Also may be worth mentioning, my CPU is pegged at 60-70% usage by Hyprland with the third (no signal) Monitor enabled, disabling the monitor in my config drops Hyprland back down to its normal CPU utilization around 10-15% according to btop

@mkavanagh-23
Copy link
Author

Found a page from Sway on DRM debugging for wayland compositors and followed along since it seems to be tied to the issue in my logs. Here's DRM logs (with KMS and Atomic messages enabled) in case this helps (very verbose).

dmesg.log

@mkavanagh-23
Copy link
Author

And now in a strange turn of events, DP-2 sometimes receives a black screen with 720x400@70Hz, and sometimes receives no signal when enabling it in my config. I think I'm done spamming updates now haha

@LRitzdorf
Copy link

Also may be worth mentioning, my CPU is pegged at 60-70% usage by Hyprland with the third (no signal) Monitor enabled, disabling the monitor in my config drops Hyprland back down to its normal CPU utilization around 10-15% according to btop

FWIW, this may be related to #7356, which has a fix in e947af7. That issue apparently relates to damage clip boxes, which seems like it miiight be close enough to be affected by whatever our monitor problem is.

@mkavanagh-23
Copy link
Author

Also may be worth mentioning, my CPU is pegged at 60-70% usage by Hyprland with the third (no signal) Monitor enabled, disabling the monitor in my config drops Hyprland back down to its normal CPU utilization around 10-15% according to btop

FWIW, this may be related to #7356, which has a fix in e947af7. That issue apparently relates to damage clip boxes, which seems like it miiight be close enough to be affected by whatever our monitor problem is.

Nope that's not it. Just installed latest -git and still not fixed. The CPU usage is surely related to the many log messages regarding drm modesetting for DP-2.

@mkavanagh-23
Copy link
Author

Had to work in the office today so figured I'd do a bit more testing with another adapter and more displays. Our 4K display was displaying black at native resolution with existing config, also reported as via DP-2. Changing that to 1080@60 does indeed work, changing back to 3840x2160 causes the display the freeze and the computer to slog. Some new errors about drm mismatches not seen on my dock at home so I included a log here.

The news lines are about buffer format mismatch:
[WARN] [AQ] drm: Formats mismatch in commit, buffer is XR30 but output is set to XB24. Modesetting to XR30
hyprland-work-error.log

@vaxerski
Copy link
Member

post a trace log please with kms issues the regular one isnt verbose enough https://wiki.hyprland.org/Crashes-and-Bugs/#obtaining-a-trace-log

@mkavanagh-23
Copy link
Author

mkavanagh-23 commented Aug 16, 2024

post a trace log please with kms issues the regular one isnt verbose enough https://wiki.hyprland.org/Crashes-and-Bugs/#obtaining-a-trace-log

Here you go Vaxry! Tried to keep it as short as possible, let me know if you need me to let it run a bit longer. Thanks for your patience with all these monitor woes
hyprland-trace-2024-08-16.log

This is on my work display with a usb-c adapter (wherein DP-2 is working at 1920x1080@60 but not with 3840x2160@30). I can also get logs from my home TB dock where even 1080p with another Samsung display does not work in a couple hours in case the issue differs there.

@mkavanagh-23
Copy link
Author

And here are trace logs from my TB4 Dock (DP-2 monitor not receiving signal, integrated display and DP-1 work fine)
hyprland-trace-tb4dock-2024-08-16.log

@mkavanagh-23
Copy link
Author

I have some not so great updates, something must have changed in recent -git builds from today. Now when booting with all 3 monitors integrated display(eDP-1) is just black unless DP-2 is disabled. If DP-2 is enabled at boot, and I disable it to get eDP-1 working, the mouse stops working properly on DP-1 but works fine on eDP-1.

Perhaps new issues introduced with 912e7ba ? I can do some more testing, get logs, and try bisecting tomorrow if you want. Sorry for the further complications :(

@nktnet1
Copy link
Contributor

nktnet1 commented Aug 18, 2024

I have some not so great updates, something must have changed in recent -git builds from today. Now when booting with all 3 monitors integrated display(eDP-1) is just black unless DP-2 is disabled. If DP-2 is enabled at boot, and I disable it to get eDP-1 working, the mouse stops working properly on DP-1 but works fine on eDP-1.

Perhaps new issues introduced with 912e7ba ? I can do some more testing, get logs, and try bisecting tomorrow if you want. Sorry for the further complications :(

Getting a similar error on that commit - I posted #7381 a few hours ago with the logs.

@mkavanagh-23
Copy link
Author

Here are some logs I got today, these of all 3 monitors connected and enabled at boot, both eDP-1 and DP-2 receive a black signal at proper resolution and framerate this time, DP-1 works fine. Disabling DP-2 makes eDP-1 work properly. I didnt get logs while executing changes to keep them short but can if that would be helpful
hyprland-tb4dock-2024-08-18.log

@stjernstrom
Copy link

I have the same problem, but running through HDMI and not Thunderbolt. Had some discussion in #7292 (comment) but that ticket is closed now.

I have tried today with the latest aq-git and hl-git from today

@croots
Copy link

croots commented Aug 20, 2024

Getting the same issue as this and #7431. Let me know if its needed and I'd be happy to provide logs

I was also getting a hyprland crash in prior versions when I woke from hibernation in a different state then when I slept (ie crash on wake if I unplug my laptop while it was hibernating), something about monitors not being found. but I never got around to reporting it. I don't know if its related.

@fzechert
Copy link

I have the same problem. Hot-(un)plugging any kind of monitor (does not matter whether USB-C, HDMI, DP, or via Thunderbolt Dock) causes Hyprland to crash. Didn't create a new issue, since there are already many of those issues open. But if there is any need, I am happy to provide logs. For now my workaround was a downgrade to version 0.41

@gulafaran
Copy link
Contributor

aq-git has just recently got a few fixes for it. my dual gpu laptop now hotplugs. but might be more things to work out. so test -git

@fzechert
Copy link

Upgraded to hyprland-git and aquamarine-git from the AUR. I am now on version c86db7b and hyprwm/aquamarine@b02d4f4

I have not observed crashes for the following scenarios anymore

  • hot(un)plugging a DP monitor while Hyprland is already running
  • hyprctl dispatch dpms off/on (although my monitor won't stay off).
  • suspend/resume without changing connected monitors while in suspend
  • suspend/resume with changing monitors while in suspend
  • hibernate/resume without changing connected monitors while in hibernation
  • hibernate/resume with changing monitors while in hibernation

The same is true for connection to multiple monitors via Thunderbolt Dock.

I still have an issue with too many monitors attached to my laptop via the Dock (my laptop's graphics card supports 3 simultaneous outputs, but I have 4 screens: Laptop internal screen + 3 external Monitors via the Dock). In this scenario, even if disabling one of them (e.g. the internal laptop screen), does not allow me to enable the other extra external screen. The screen stays blank and the output displayed with hyprctl monitors all says currentFormat: Invalid.

But for all I am concerned, this is a different issue. If an issue at all and not just a hardware limitation. So consider this non-important for this specific issue.

@Flexksx
Copy link

Flexksx commented Aug 21, 2024

I have a very similar issue. Opened an issue about VRR causing the monitor to dis- and reconnect.
My laptop has an AMD iGPU and a NVIDIA dGPU. Since it does not have a MUX switch and I am running a monitor through the HDMI (which links to the iGPU) and another one through DP-1(linked to the dGPU) which is connected using a Type C hub with HDMI and it worked well before 0.42.

I have the proprietary NVIDIA drivers installed using this script https://github.com/Frogging-Family/nvidia-all

I am on hyprland-git and aquamarine-git and update with yay -Syu --devel. Also I am using evdi-git and displaylink, because without them I didn't really get any output whatsoever through DP-1.

Before 0.42 I used to do this to get output through DP-1

  1. Boot with the hub plugged
  2. Replug the hub
  3. Sometimes it would give image for about a minute and then turn black again
  4. Reboot with the hub plugged
  5. Replug the hub
  6. Image stable, monitor showing in hyprctl monitors, all good

When I first updated to 0.42, the monitor connected through DP-1 had a broken output. If I moved the cursor over that monitor, I would see movements in pixels, but it stayed broken.

hyprland-broken

While writing this comment I decided to update again aquamarine and hyprland and the latest one finally gives me stable output through DP-1 (type c hub).

hyprland-good

Here is the hyprctl systeminfo -c

Hyprland, built from branch main at commit 3b4aabe04c7756fb0a70d78b6f0e701228f46345  (decorations: fix manual resize not recalculating decos (7323)).
Date: Tue Aug 13 23:00:31 2024
Tag: v0.42.0-18-g3b4aabe0, commits: 5087

flags: (if any)


System Information:
System name: Linux
Node name: archlinux
Release: 6.10.6-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Mon, 19 Aug 2024 17:02:39 +0000


GPU information: 
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] [10de:2520] (rev a1) (prog-if 00 [VGA controller])
06:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1636] (rev c6) (prog-if 00 [VGA controller])
NVRM version: NVIDIA UNIX x86_64 Kernel Module  560.31.02  Tue Jul 30 21:02:43 UTC 2024


os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo


plugins:

======Config-Start======


Config File: /home/flexksx/.config/hypr/hyprland.conf: Read Succeeded

# #######################################################################################
# AUTOGENERATED HYPR CONFIG.
# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
# OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
# #######################################################################################

#
# Please note not all available settings / options are set here.
# For a full list, see the wiki
#


# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
source = ~/dotfiles-Hyprland/hyprland/keybinds.conf
source = ~/dotfiles-Hyprland/hyprland/monitors.conf
source = ~/dotfiles-Hyprland/hyprland/startup.conf
source = ~/dotfiles-Hyprland/hyprland/appearance.conf
source = ~/dotfiles-Hyprland/hyprland/pyprland_keybinds.conf

# Some default env vars.
env = XCURSOR_SIZE,24
env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia


cursor {
    no_hardware_cursors = true
}

# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
    kb_layout = us
    kb_variant =
    kb_model =
    kb_options = 
    kb_rules =

    follow_mouse = 1

    touchpad {
        natural_scroll = yes
    }

    sensitivity = 0 # -1.0 to 1.0, 0 means no modification.
}



dwindle {
    # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
    pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
    preserve_split = yes # you probably want this
}

master {
    # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
    # new_is_master = true
}


gestures {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    workspace_swipe = off
}

misc {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
    vrr = 0 # Set to 0 to disable VRR
}

# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
device {
    name = epic-mouse-v1
    sensitivity = -0.5
}

# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.




Config File: /home/flexksx/dotfiles-Hyprland/hyprland/keybinds.conf: Read Succeeded
# Set programs that you use
$terminal = kitty
$fileManager = thunar
$menu = rofi -show drun

# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, $terminal
bind = $mainMod, C, killactive, 
bind = $mainMod, M, exit, 
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating, 
bind = $mainMod, R, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle

# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10

# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10

# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic

# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow


# Screenshot bind
bind = , Print, exec, wl-copy < <(grim -g "$(slurp)" -)


# Volume down bind
binde = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
binde = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+ # To raise the volume, with a limit of 150%
binde = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle

# Screen brightness bind
bind = , xf86monbrightnessup, exec, brightnessctl set 10%+ 
bind = , xf86monbrightnessdown, exec, brightnessctl set 10%- 

# Lock screen bind
bind = $mainMod, L, exec, hyprlock

Config File: /home/flexksx/dotfiles-Hyprland/hyprland/monitors.conf: Read Succeeded
# See https://wiki.hyprland.org/Configuring/Monitors/
monitor = eDP-1, 1920x1080@144, 0x500, 1
# monitor = DP-1, 1920x1080@60, 4480x135, 1
# monitor = HDMI-A-1, 2560x1440@144, 1920x0, 1
# monitor = DP-1, 2560x1440@120, 1920x0, 1
# monitor = HDMI-A-1, 1920x1080@60, 4480x135, 1
# monitor = eDP-1, disabled
# monitor = HDMI-A-1, disabled
# monitor = DP-1, disabled
monitor = HDMI-A-1, 2560x1440@120, 1920x0, 1 #, bitdepth,10
monitor = DP-1, 1920x1080@60, 4480x135, 1


# monitor = eDP-1, 1920x1080@144, 0x0, 1
# monitor = DP-1, 1920x1080@120, 1920x0, 1, bitdepth,10
# monitor = HDMI-A-1, 1920x1080@60, 3840x0, 1

Config File: /home/flexksx/dotfiles-Hyprland/hyprland/startup.conf: Read Succeeded
# Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & rog-control-center
exec-once = waybar -c /home/flexksx/dotfiles-Hyprland/waybar/config.jsonc -s /home/flexksx/dotfiles-Hyprland/waybar/style.css
# exec-once = swww-daemon
# exec-once = swww restore
exec-once = wal -R
exec-once = pypr
exec-once = asusctl profile -P Balanced
exec-once = rog-control-center
exec-once = hyprpaper

Config File: /home/flexksx/dotfiles-Hyprland/hyprland/appearance.conf: Read Succeeded
source = ~/.cache/wal/colors-hyprland.css

general {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    gaps_in = 5
    gaps_out = 15
    border_size = 2
    col.active_border = $color1 $color2 45deg
    col.inactive_border = $foreground

    layout = dwindle

    # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
    allow_tearing = false
}

decoration {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    rounding = 10
    
    blur {
        enabled = true
        size = 3
        passes = 1
    }

    drop_shadow = yes
    shadow_range = 4
    shadow_render_power = 3
    col.shadow = rgba(1a1a1aee)
}

animations {
    enabled = yes

    # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more

    bezier = myBezier, 0.05, 0.9, 0.1, 1.05

    animation = windows, 1, 7, myBezier
    animation = windowsOut, 1, 7, default, popin 80%
    animation = border, 1, 10, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 7, default
    animation = workspaces, 1, 6, default
}

Config File: /home/flexksx/.cache/wal/colors-hyprland.css: Read Succeeded
$foreground = rgb(3f3f3f)
$color0 = rgb(fefefe)
$color1 = rgb(ada14a)
$color2 = rgb(b2aa4c)
$color3 = rgb(bea168)
$color4 = rgb(cf9090)
$color5 = rgb(b7a6d8)
$color6 = rgb(e4bfd2)
$color7 = rgb(7f7f7f)
$color8 = rgb(bebebe)
$color9 = rgb(c3c374)
$color10 = rgb(c5bd78)
$color11 = rgb(ceae8d)
$color12 = rgb(daabab)
$color13 = rgb(cfbbe2)
$color14 = rgb(eacfdd)
$color15 = rgb(3f3f3f)

Config File: /home/flexksx/dotfiles-Hyprland/hyprland/pyprland_keybinds.conf: Read Succeeded
# Setup the key binding
bind = $mainMod, B, exec, pypr expose

# Add some style to the "exposed" workspace
workspace = special:exposed,gapsout:60,gapsin:30,bordersize:5,border:true,shadow:false
======Config-End========

@dr0bz
Copy link

dr0bz commented Aug 23, 2024

Not working on my side with latest hl-git and aq-git:

hl: v0.42.0-58-gf634b9e6
aq: 0.3.3_r198.g31e692b-1

Starting hyprland with monitor connected - works. If i re-plug the monitor (docking station) - monitor stays black.

Here are the logs at the moment of plugging in the docking station with monitor:

[LOG] [AQ] [libinput] event8 - palm: keyboard timeout

[LOG] [AQ] udev: new udev add event for card1-DP-3
[LOG] [AQ] udev: new udev change event for card1
[LOG] [AQ] udev: DRM device card1 changed
[LOG] [AQ] drm: Got a hotplug event for /dev/dri/card1
[LOG] [AQ] drm: Scanning connectors for /dev/dri/card1
[LOG] [AQ] drm: Scanning connector id 87
[LOG] [AQ] drm: Connector id 87 already initialized
[LOG] [AQ] drm: connector eDP-1 crtc is incapable of vrr: props.vrr_capable -> 90, crtc->props.vrr_enabled -> 24
[LOG] [AQ] drm: Explicit sync supported
[LOG] [AQ] drm: Connector 87 connection state: 1
[LOG] [AQ] drm: Scanning connector id 95
[LOG] [AQ] drm: Connector id 95 already initialized
[LOG] [AQ] drm: Connector 95 connection state: 2
[LOG] [AQ] drm: Scanning connector id 101
[LOG] [AQ] drm: Connector id 101 already initialized
[LOG] [AQ] drm: Connector 101 connection state: 2
[LOG] [AQ] drm: Scanning connector id 108
[LOG] [AQ] drm: Connector id 108 already initialized
[LOG] [AQ] drm: Connector 108 connection state: 2
[LOG] [AQ] drm: Scanning connector id 120
[LOG] [AQ] drm: Connector id 120 already initialized
[LOG] [AQ] drm: Connector 120 connection state: 2
[LOG] [AQ] drm: Scanning connector id 131
[LOG] [AQ] drm: Connector id 131 already initialized
[LOG] [AQ] drm: Connector 131 connection state: 2
[LOG] [AQ] drm: Scanning connector id 149
[LOG] [AQ] drm: Initializing connector id 149
[LOG] [AQ] drm: Connector gets name DP-4
[ERR] [AQ] drm: getCurrentCRTC: No CRTC 0
[LOG] [AQ] drm: Connector 149 connection state: 2
[LOG] [AQ] drm: Rechecking CRTCs
[LOG] [AQ] drm: Skipping connector eDP-1, has crtc 73 and is connected
[LOG] [AQ] drm: connector HDMI-A-1, has crtc -1, will be rechecked
[LOG] [AQ] drm: connector DP-1, has crtc -1, will be rechecked
[LOG] [AQ] drm: connector DP-2, has crtc -1, will be rechecked
[LOG] [AQ] drm: connector DP-3, has crtc -1, will be rechecked
[LOG] [AQ] drm: connector DP-4, has crtc -1, will be rechecked
[LOG] [AQ] drm: connector DP-5, has crtc 77, will be rechecked
[LOG] [AQ] drm: connector DP-4, has crtc -1, will be rechecked
[LOG] [AQ] drm: connector DP-6, has crtc 77, will be rechecked
[LOG] [AQ] drm: connector DP-4, has crtc -1, will be rechecked
[LOG] [AQ] drm: slot 0 crtc 73 taken by eDP-1, skipping
[LOG] [AQ] drm: slot 1 crtc 77 unassigned
[LOG] [AQ] drm: slot 2 crtc 81 unassigned
[LOG] [AQ] drm: slot 3 crtc 85 unassigned
[LOG] [AQ] drm: Connector HDMI-A-1 is not connected
[LOG] [AQ] drm: Connector DP-1 is not connected
[LOG] [AQ] drm: Connector DP-2 is not connected
[LOG] [AQ] drm: Connector DP-3 is not connected
[LOG] [AQ] drm: Connector DP-4 is not connected
[LOG] [AQ] drm: Connector DP-5 is not connected, removing old crtc 77
[LOG] [AQ] drm: Connector DP-4 is not connected
[LOG] [AQ] drm: Connector DP-6 is not connected, removing old crtc 77
[LOG] [AQ] drm: Connector DP-4 is not connected
[LOG] [AQ] drm: rescanning after realloc
[LOG] [AQ] drm: Scanning connectors for /dev/dri/card1
[LOG] [AQ] drm: Scanning connector id 87
[LOG] [AQ] drm: Connector id 87 already initialized
[LOG] [AQ] drm: connector eDP-1 crtc is incapable of vrr: props.vrr_capable -> 90, crtc->props.vrr_enabled -> 24
[LOG] [AQ] drm: Explicit sync supported
[LOG] [AQ] drm: Connector 87 connection state: 1
[LOG] [AQ] drm: Scanning connector id 95
[LOG] [AQ] drm: Connector id 95 already initialized
[LOG] [AQ] drm: Connector 95 connection state: 2
[LOG] [AQ] drm: Scanning connector id 101
[LOG] [AQ] drm: Connector id 101 already initialized
[LOG] [AQ] drm: Connector 101 connection state: 2
[LOG] [AQ] drm: Scanning connector id 108
[LOG] [AQ] drm: Connector id 108 already initialized
[LOG] [AQ] drm: Connector 108 connection state: 2
[LOG] [AQ] drm: Scanning connector id 120
[LOG] [AQ] drm: Connector id 120 already initialized
[LOG] [AQ] drm: Connector 120 connection state: 2
[LOG] [AQ] drm: Scanning connector id 131
[LOG] [AQ] drm: Connector id 131 already initialized
[LOG] [AQ] drm: Connector 131 connection state: 2
[LOG] [AQ] drm: Scanning connector id 149
[LOG] [AQ] drm: Connector id 149 already initialized
[LOG] [AQ] drm: Connector 149 connection state: 2
[LOG] [AQ] udev: new udev add event for card1-DP-4
[LOG] [AQ] udev: new udev change event for card1
[LOG] [AQ] udev: DRM device card1 changed
[LOG] [AQ] drm: Got a hotplug event for /dev/dri/card1
[LOG] [AQ] drm: Scanning connectors for /dev/dri/card1
[LOG] [AQ] drm: Scanning connector id 87
[LOG] [AQ] drm: Connector id 87 already initialized
[LOG] [AQ] drm: connector eDP-1 crtc is incapable of vrr: props.vrr_capable -> 90, crtc->props.vrr_enabled -> 24
[LOG] [AQ] drm: Explicit sync supported
[LOG] [AQ] drm: Connector 87 connection state: 1
[LOG] [AQ] drm: Scanning connector id 95
[LOG] [AQ] drm: Connector id 95 already initialized
[LOG] [AQ] drm: Connector 95 connection state: 2
[LOG] [AQ] drm: Scanning connector id 101
[LOG] [AQ] drm: Connector id 101 already initialized
[LOG] [AQ] drm: Connector 101 connection state: 2
[LOG] [AQ] drm: Scanning connector id 108
[LOG] [AQ] drm: Connector id 108 already initialized
[LOG] [AQ] drm: Connector 108 connection state: 2
[LOG] [AQ] drm: Scanning connector id 120
[LOG] [AQ] drm: Connector id 120 already initialized
[LOG] [AQ] drm: Connector 120 connection state: 2
[LOG] [AQ] drm: Scanning connector id 131
[LOG] [AQ] drm: Connector id 131 already initialized
[LOG] [AQ] drm: Connector 131 connection state: 2
[LOG] [AQ] drm: Scanning connector id 149
[LOG] [AQ] drm: Connector id 149 already initialized
[LOG] [AQ] drm: Connector 149 connection state: 2
[LOG] [AQ] drm: Rechecking CRTCs
[LOG] [AQ] drm: Skipping connector eDP-1, has crtc 73 and is connected
[LOG] [AQ] drm: connector HDMI-A-1, has crtc -1, will be rechecked
[LOG] [AQ] drm: connector DP-1, has crtc -1, will be rechecked
[LOG] [AQ] drm: connector DP-2, has crtc -1, will be rechecked
[LOG] [AQ] drm: connector DP-3, has crtc -1, will be rechecked
[LOG] [AQ] drm: connector DP-4, has crtc -1, will be rechecked
[LOG] [AQ] drm: connector DP-5, has crtc 77, will be rechecked
[LOG] [AQ] drm: connector DP-4, has crtc -1, will be rechecked
[LOG] [AQ] drm: connector DP-6, has crtc 77, will be rechecked
[LOG] [AQ] drm: connector DP-4, has crtc -1, will be rechecked
[LOG] [AQ] drm: slot 0 crtc 73 taken by eDP-1, skipping
[LOG] [AQ] drm: slot 1 crtc 77 unassigned
[LOG] [AQ] drm: slot 2 crtc 81 unassigned
[LOG] [AQ] drm: slot 3 crtc 85 unassigned
[LOG] [AQ] drm: Connector HDMI-A-1 is not connected
[LOG] [AQ] drm: Connector DP-1 is not connected
[LOG] [AQ] drm: Connector DP-2 is not connected
[LOG] [AQ] drm: Connector DP-3 is not connected
[LOG] [AQ] drm: Connector DP-4 is not connected
[LOG] [AQ] drm: Connector DP-5 is not connected, removing old crtc 77
[LOG] [AQ] drm: Connector DP-4 is not connected
[LOG] [AQ] drm: Connector DP-6 is not connected, removing old crtc 77
[LOG] [AQ] drm: Connector DP-4 is not connected
[LOG] [AQ] drm: rescanning after realloc
[LOG] [AQ] drm: Scanning connectors for /dev/dri/card1
[LOG] [AQ] drm: Scanning connector id 87
[LOG] [AQ] drm: Connector id 87 already initialized
[LOG] [AQ] drm: connector eDP-1 crtc is incapable of vrr: props.vrr_capable -> 90, crtc->props.vrr_enabled -> 24
[LOG] [AQ] drm: Explicit sync supported
[LOG] [AQ] drm: Connector 87 connection state: 1
[LOG] [AQ] drm: Scanning connector id 95
[LOG] [AQ] drm: Connector id 95 already initialized
[LOG] [AQ] drm: Connector 95 connection state: 2
[LOG] [AQ] drm: Scanning connector id 101
[LOG] [AQ] drm: Connector id 101 already initialized
[LOG] [AQ] drm: Connector 101 connection state: 2
[LOG] [AQ] drm: Scanning connector id 108
[LOG] [AQ] drm: Connector id 108 already initialized
[LOG] [AQ] drm: Connector 108 connection state: 2
[LOG] [AQ] drm: Scanning connector id 120
[LOG] [AQ] drm: Connector id 120 already initialized
[LOG] [AQ] drm: Connector 120 connection state: 2
[LOG] [AQ] drm: Scanning connector id 131
[LOG] [AQ] drm: Connector id 131 already initialized
[LOG] [AQ] drm: Connector 131 connection state: 2
[LOG] [AQ] drm: Scanning connector id 149
[LOG] [AQ] drm: Connector id 149 already initialized
[LOG] [AQ] drm: Connector 149 connection state: 2
[LOG] [AQ] udev: new udev add event for card1-DP-5
[LOG] [AQ] udev: new udev change event for card1
[LOG] [AQ] udev: DRM device card1 changed
[LOG] [AQ] drm: Got a hotplug event for /dev/dri/card1
[LOG] [AQ] drm: Scanning connectors for /dev/dri/card1
[LOG] [AQ] drm: Scanning connector id 87
[LOG] [AQ] drm: Connector id 87 already initialized
[LOG] [AQ] drm: connector eDP-1 crtc is incapable of vrr: props.vrr_capable -> 90, crtc->props.vrr_enabled -> 24
[LOG] [AQ] drm: Explicit sync supported
[LOG] [AQ] drm: Connector 87 connection state: 1
[LOG] [AQ] drm: Scanning connector id 95
[LOG] [AQ] drm: Connector id 95 already initialized
[LOG] [AQ] drm: Connector 95 connection state: 2
[LOG] [AQ] drm: Scanning connector id 101
[LOG] [AQ] drm: Connector id 101 already initialized
[LOG] [AQ] drm: Connector 101 connection state: 2
[LOG] [AQ] drm: Scanning connector id 108
[LOG] [AQ] drm: Connector id 108 already initialized
[LOG] [AQ] drm: Connector 108 connection state: 2
[LOG] [AQ] drm: Scanning connector id 120
[LOG] [AQ] drm: Connector id 120 already initialized
[LOG] [AQ] drm: Connector 120 connection state: 2
[LOG] [AQ] drm: Scanning connector id 131
[LOG] [AQ] drm: Connector id 131 already initialized
[LOG] [AQ] drm: Connector 131 connection state: 2
[LOG] [AQ] drm: Scanning connector id 149
[LOG] [AQ] drm: Connector id 149 already initialized
[LOG] [AQ] drm: Connector 149 connection state: 2
[LOG] [AQ] drm: Scanning connector id 124
[LOG] [AQ] drm: Connector id 124 already initialized
[LOG] [AQ] drm: Connector 124 connection state: 1
[LOG] [AQ] drm: Connector DP-3 connected
[LOG] [AQ] drm: Connecting connector DP-3, no CRTC
[LOG] [AQ] drm: Dumping detected modes:
[LOG] [AQ] drm: Mode 0: [email protected] (preferred)
[LOG] [AQ] drm: Mode 1: [email protected]
[LOG] [AQ] drm: Mode 2: [email protected]
[LOG] [AQ] drm: Mode 3: [email protected]
[LOG] [AQ] drm: Mode 4: [email protected]
[LOG] [AQ] drm: Mode 5: [email protected]
[LOG] [AQ] drm: Mode 6: [email protected]
[LOG] [AQ] drm: Mode 7: [email protected]
[LOG] [AQ] drm: Mode 8: [email protected]
[LOG] [AQ] drm: Mode 9: [email protected]
[LOG] [AQ] drm: Mode 10: [email protected]
[LOG] [AQ] drm: Mode 11: [email protected]
[LOG] [AQ] drm: Mode 12: [email protected]
[LOG] [AQ] drm: Mode 13: [email protected]
[LOG] [AQ] drm: Mode 14: [email protected]
[LOG] [AQ] drm: Mode 15: [email protected]
[LOG] [AQ] drm: Mode 16: [email protected]
[LOG] [AQ] drm: Mode 17: [email protected]
[LOG] [AQ] drm: Mode 18: [email protected]
[LOG] [AQ] drm: Mode 19: [email protected]
[LOG] [AQ] drm: Mode 20: [email protected]
[LOG] [AQ] drm: Mode 21: [email protected]
[LOG] [AQ] drm: Mode 22: [email protected]
[LOG] [AQ] drm: Mode 23: [email protected]
[LOG] [AQ] drm: Mode 24: [email protected]
[LOG] [AQ] drm: Mode 25: [email protected]
[LOG] [AQ] drm: Mode 26: [email protected]
[LOG] [AQ] drm: Mode 27: [email protected]
[LOG] [AQ] drm: Mode 28: [email protected]
[LOG] [AQ] drm: Mode 29: [email protected]
[LOG] [AQ] drm: Mode 30: [email protected]
[LOG] [AQ] drm: Mode 31: [email protected]
[LOG] [AQ] drm: Mode 32: [email protected]
[LOG] [AQ] drm: Mode 33: [email protected]
[LOG] [AQ] drm: Mode 34: [email protected]
[LOG] [AQ] drm: Physical size [Vector2D: x: 490, y: 300] (mm)
[LOG] [AQ] drm: Description Iiyama North America PL2395W 0x0000011F (DP-3)
[LOG] [AQ] Swapchain: Clearing
[LOG] New aquamarine output with name DP-3
[LOG] New output with name DP-3
[WARN] No rule found for DP-3, trying to use the first.
[WARN] No rules configured. Using the default hardcoded one.
[LOG] Applying monitor rule for DP-3
[LOG] Setting preferred mode for DP-3
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 1920, y: 1200] and format XR24 with modifier 144115206334806273 aka GFX9,GFX9_64K_S_X,DCC,DCC_RETILE,DCC_INDEPENDENT_64B,DCC_MAX_COMPRESSED_BLOCK=64B,DCC_CONSTANT_ENCODE,PIPE_XOR_BITS=2,BANK_XOR_BITS=0,RB=1,PIPE_2
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 1920, y: 1200] and format XR24 with modifier 144115206334806273 aka GFX9,GFX9_64K_S_X,DCC,DCC_RETILE,DCC_INDEPENDENT_64B,DCC_MAX_COMPRESSED_BLOCK=64B,DCC_CONSTANT_ENCODE,PIPE_XOR_BITS=2,BANK_XOR_BITS=0,RB=1,PIPE_2
[LOG] [AQ] Swapchain: Reconfigured a swapchain to [Vector2D: x: 1920, y: 1200] XR24 of length 2
[LOG] CMonitorState::ensureBufferPresent: no buffer, attaching one from the swapchain for modeset being possible
[ERR] [AQ] drm: No CRTC attached to output
[ERR] output DP-3 failed basic test on format DRM_FORMAT_XRGB8888
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 1920, y: 1200] and format XB24 with modifier 144115206334806273 aka GFX9,GFX9_64K_S_X,DCC,DCC_RETILE,DCC_INDEPENDENT_64B,DCC_MAX_COMPRESSED_BLOCK=64B,DCC_CONSTANT_ENCODE,PIPE_XOR_BITS=2,BANK_XOR_BITS=0,RB=1,PIPE_2
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 1920, y: 1200] and format XB24 with modifier 144115206334806273 aka GFX9,GFX9_64K_S_X,DCC,DCC_RETILE,DCC_INDEPENDENT_64B,DCC_MAX_COMPRESSED_BLOCK=64B,DCC_CONSTANT_ENCODE,PIPE_XOR_BITS=2,BANK_XOR_BITS=0,RB=1,PIPE_2
[LOG] [AQ] Swapchain: Reconfigured a swapchain to [Vector2D: x: 1920, y: 1200] XB24 of length 2
[ERR] [AQ] drm: No CRTC attached to output
[ERR] output DP-3 failed basic test on format DRM_FORMAT_XBGR8888
[ERR] [AQ] drm: No CRTC attached to output
[ERR] output DP-3 failed basic test on format DRM_FORMAT_INVALID
[ERR] [AQ] drm: No CRTC attached to output
[ERR] Couldn't commit output named DP-3
[LOG] Monitor DP-3 -> destroyed all render data
[LOG] arrangeMonitors: 2 to arrange
[LOG] arrangeMonitors: eDP-1 explicit [0, 1201]
[LOG] arrangeMonitors: DP-3 auto [-1, -1]
[LOG] arrangeMonitors: eDP-1 xwayland [0, 0]
[LOG] arrangeMonitors: DP-3 xwayland [1920, 0]
[LOG] Monitor DP-3 data dump: res [email protected], scale 1.00, transform 0, pos 1920x0, 10b 0
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 118
[LOG] [AQ] GBM: Automatically selected format AR24 for new GBM buffer
[LOG] [AQ] GBM: Buffer is marked as multigpu, forcing linear
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 256, y: 256] and format AR24 with modifier 0 aka LINEAR
[LOG] [AQ] GBM: Automatically selected format AR24 for new GBM buffer
[LOG] [AQ] GBM: Buffer is marked as multigpu, forcing linear
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 256, y: 256] and format AR24 with modifier 0 aka LINEAR
[LOG] [AQ] Swapchain: Reconfigured a swapchain to [Vector2D: x: 256, y: 256] AR24 of length 2
[LOG] Shaders initialized successfully.
[ERR] [AQ] drm: No CRTC attached to output
[WARN] state.commit() failed in CMonitor::onCommit
[LOG] Added new monitor with name DP-3 at [1920, 0] with size [1920, 1200], pointer 5ccc35c60be0
[LOG] New monitor: WORKSPACEID 7, exists: 0
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 118
[LOG] [IWaylandProtocol] Registered global [WLOutput (DP-3)]
[ERR] [AQ] Can't get formats: no crtc
[LOG] [CLinuxDMABufV1Protocol] Resetting format table
[INFO] [split-monitor-workspaces] Mapping workspaces 6-10 to monitor DP-3
[INFO] [split-monitor-workspaces] Moving workspace 6 to monitor DP-3
[LOG] moveWorkspaceToMonitor: Moving 6 to monitor 1
[ERR] [../src/protocols/core/Compositor.cpp:203] Cannot enter surface 5ccc36056630 to DP-3, client hasn't bound the output
[INFO] [split-monitor-workspaces] Moving workspace 7 to monitor DP-3
[INFO] [split-monitor-workspaces] Creating workspace 8
[INFO] [split-monitor-workspaces] Moving workspace 8 to monitor DP-3
[INFO] [split-monitor-workspaces] Creating workspace 9
[INFO] [split-monitor-workspaces] Moving workspace 9 to monitor DP-3
[INFO] [split-monitor-workspaces] Creating workspace 10
[INFO] [split-monitor-workspaces] Moving workspace 10 to monitor DP-3
[ERR] [../src/protocols/core/Compositor.cpp:203] Cannot enter surface 5ccc36056630 to DP-3, client hasn't bound the output
[LOG] Applying monitor rule for eDP-1
[LOG] Setting preferred mode for eDP-1
[LOG] output eDP-1 succeeded basic test on format DRM_FORMAT_XRGB8888
[LOG] [AQ] drm: Modesetting eDP-1 with [email protected]
[ERR] [AQ] drm: Cannot commit when a page-flip is awaiting
[ERR] Couldn't commit output named eDP-1
[LOG] arrangeMonitors: 2 to arrange
[LOG] arrangeMonitors: eDP-1 explicit [0, 1201]
[LOG] arrangeMonitors: DP-3 auto [1920, 0]
[LOG] arrangeMonitors: eDP-1 xwayland [0, 0]
[LOG] arrangeMonitors: DP-3 xwayland [1920, 0]
[LOG] Monitor eDP-1 data dump: res [email protected], scale 1.00, transform 0, pos 0x1201, 10b 0
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 135
[WARN] No rule found for DP-3, trying to use the first.
[WARN] No rules configured. Using the default hardcoded one.
[LOG] Applying monitor rule for DP-3
[LOG] Setting preferred mode for DP-3
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 1920, y: 1200] and format XR24 with modifier 144115206334806273 aka GFX9,GFX9_64K_S_X,DCC,DCC_RETILE,DCC_INDEPENDENT_64B,DCC_MAX_COMPRESSED_BLOCK=64B,DCC_CONSTANT_ENCODE,PIPE_XOR_BITS=2,BANK_XOR_BITS=0,RB=1,PIPE_2
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 1920, y: 1200] and format XR24 with modifier 144115206334806273 aka GFX9,GFX9_64K_S_X,DCC,DCC_RETILE,DCC_INDEPENDENT_64B,DCC_MAX_COMPRESSED_BLOCK=64B,DCC_CONSTANT_ENCODE,PIPE_XOR_BITS=2,BANK_XOR_BITS=0,RB=1,PIPE_2
[LOG] [AQ] Swapchain: Reconfigured a swapchain to [Vector2D: x: 1920, y: 1200] XR24 of length 2
[ERR] [AQ] drm: No CRTC attached to output
[ERR] output DP-3 failed basic test on format DRM_FORMAT_XRGB8888
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 1920, y: 1200] and format XB24 with modifier 144115206334806273 aka GFX9,GFX9_64K_S_X,DCC,DCC_RETILE,DCC_INDEPENDENT_64B,DCC_MAX_COMPRESSED_BLOCK=64B,DCC_CONSTANT_ENCODE,PIPE_XOR_BITS=2,BANK_XOR_BITS=0,RB=1,PIPE_2
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 1920, y: 1200] and format XB24 with modifier 144115206334806273 aka GFX9,GFX9_64K_S_X,DCC,DCC_RETILE,DCC_INDEPENDENT_64B,DCC_MAX_COMPRESSED_BLOCK=64B,DCC_CONSTANT_ENCODE,PIPE_XOR_BITS=2,BANK_XOR_BITS=0,RB=1,PIPE_2
[LOG] [AQ] Swapchain: Reconfigured a swapchain to [Vector2D: x: 1920, y: 1200] XB24 of length 2
[ERR] [AQ] drm: No CRTC attached to output
[ERR] output DP-3 failed basic test on format DRM_FORMAT_XBGR8888
[ERR] [AQ] drm: No CRTC attached to output
[ERR] output DP-3 failed basic test on format DRM_FORMAT_INVALID
[ERR] [AQ] drm: No CRTC attached to output
[ERR] Couldn't commit output named DP-3
[LOG] arrangeMonitors: 2 to arrange
[LOG] arrangeMonitors: eDP-1 explicit [0, 1201]
[LOG] arrangeMonitors: DP-3 auto [1920, 0]
[LOG] arrangeMonitors: eDP-1 xwayland [0, 0]
[LOG] arrangeMonitors: DP-3 xwayland [1920, 0]
[LOG] Monitor DP-3 data dump: res [email protected], scale 1.00, transform 0, pos 1920x0, 10b 0
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 135
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 135
[LOG] Cleanup: destroyed a layersurface
[LOG] Monitor DP-3 -> destroyed all render data
[LOG] Shaders initialized successfully.
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Creating a texture for BGTex
[LOG] Framebuffer created, status 36053
[LOG] Background created for monitor DP-3
[ERR] [AQ] drm: No CRTC attached to output
[LOG] [AQ] drm: Rechecking CRTCs
[LOG] [AQ] drm: Skipping connector eDP-1, has crtc 73 and is connected
[LOG] [AQ] drm: connector HDMI-A-1, has crtc -1, will be rechecked
[LOG] [AQ] drm: connector DP-1, has crtc -1, will be rechecked
[LOG] [AQ] drm: connector DP-2, has crtc -1, will be rechecked
[LOG] [AQ] drm: connector DP-3, has crtc -1, will be rechecked
[LOG] [AQ] drm: connector DP-4, has crtc -1, will be rechecked
[LOG] [AQ] drm: connector DP-5, has crtc 77, will be rechecked
[LOG] [AQ] drm: connector DP-4, has crtc -1, will be rechecked
[LOG] [AQ] drm: connector DP-6, has crtc 77, will be rechecked
[LOG] [AQ] drm: connector DP-4, has crtc -1, will be rechecked
[LOG] [AQ] drm: slot 0 crtc 73 taken by eDP-1, skipping
[ERR] [AQ] drm: No CRTC attached to output
[LOG] [AQ] drm: connected slot 1 crtc 77 assigned to DP-3
[LOG] [AQ] drm: slot 2 crtc 81 unassigned
[LOG] [AQ] drm: slot 3 crtc 85 unassigned
[LOG] [AQ] drm: Connector HDMI-A-1 is not connected
[LOG] [AQ] drm: Connector DP-1 is not connected
[LOG] [AQ] drm: Connector DP-2 is not connected
[LOG] [AQ] drm: Connector DP-4 is not connected
[LOG] [AQ] drm: Connector DP-5 is not connected, removing old crtc 77
[LOG] [AQ] drm: Connector DP-4 is not connected
[LOG] [AQ] drm: Connector DP-6 is not connected, removing old crtc 77
[LOG] [AQ] drm: Connector DP-4 is not connected
[LOG] Reapplying monitor rule for DP-3 from a state request
[LOG] Applying monitor rule for DP-3
[LOG] Setting preferred mode for DP-3
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 1920, y: 1200] and format XR24 with modifier 144115206334806273 aka GFX9,GFX9_64K_S_X,DCC,DCC_RETILE,DCC_INDEPENDENT_64B,DCC_MAX_COMPRESSED_BLOCK=64B,DCC_CONSTANT_ENCODE,PIPE_XOR_BITS=2,BANK_XOR_BITS=0,RB=1,PIPE_2
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 1920, y: 1200] and format XR24 with modifier 144115206334806273 aka GFX9,GFX9_64K_S_X,DCC,DCC_RETILE,DCC_INDEPENDENT_64B,DCC_MAX_COMPRESSED_BLOCK=64B,DCC_CONSTANT_ENCODE,PIPE_XOR_BITS=2,BANK_XOR_BITS=0,RB=1,PIPE_2
[LOG] [AQ] Swapchain: Reconfigured a swapchain to [Vector2D: x: 1920, y: 1200] XR24 of length 2
[WARN] [AQ] drm: Formats mismatch in commit, buffer is XB24 but output is set to XR24. Modesetting to XB24
[LOG] output DP-3 succeeded basic test on format DRM_FORMAT_XRGB8888
[LOG] [AQ] drm: Disabling output DP-3
[LOG] arrangeMonitors: 2 to arrange
[LOG] arrangeMonitors: eDP-1 explicit [0, 1201]
[LOG] arrangeMonitors: DP-3 auto [1920, 0]
[LOG] arrangeMonitors: eDP-1 xwayland [0, 0]
[LOG] arrangeMonitors: DP-3 xwayland [1920, 0]
[LOG] Monitor DP-3 data dump: res [email protected], scale 1.00, transform 0, pos 1920x0, 10b 0
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 135
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 158
[LOG] [AQ] drm: rescanning after realloc
[LOG] [AQ] drm: Scanning connectors for /dev/dri/card1
[LOG] [AQ] drm: Scanning connector id 87
[LOG] [AQ] drm: Connector id 87 already initialized
[LOG] [AQ] drm: connector eDP-1 crtc is incapable of vrr: props.vrr_capable -> 90, crtc->props.vrr_enabled -> 24
[LOG] [AQ] drm: Explicit sync supported
[LOG] [AQ] drm: Connector 87 connection state: 1
[LOG] [AQ] drm: Scanning connector id 95
[LOG] [AQ] drm: Connector id 95 already initialized
[LOG] [AQ] drm: Connector 95 connection state: 2
[LOG] [AQ] drm: Scanning connector id 101
[LOG] [AQ] drm: Connector id 101 already initialized
[LOG] [AQ] drm: Connector 101 connection state: 2
[LOG] [AQ] drm: Scanning connector id 108
[LOG] [AQ] drm: Connector id 108 already initialized
[LOG] [AQ] drm: Connector 108 connection state: 2
[LOG] [AQ] drm: Scanning connector id 120
[LOG] [AQ] drm: Connector id 120 already initialized
[LOG] [AQ] drm: Connector 120 connection state: 2
[LOG] [AQ] drm: Scanning connector id 131
[LOG] [AQ] drm: Connector id 131 already initialized
[LOG] [AQ] drm: Connector 131 connection state: 2
[LOG] [AQ] drm: Scanning connector id 149
[LOG] [AQ] drm: Connector id 149 already initialized
[LOG] [AQ] drm: Connector 149 connection state: 2
[LOG] [AQ] drm: Scanning connector id 124
[LOG] [AQ] drm: Connector id 124 already initialized
[LOG] [AQ] drm: connector DP-3 crtc is incapable of vrr: props.vrr_capable -> 0, crtc->props.vrr_enabled -> 24
[LOG] [AQ] drm: Explicit sync supported
[LOG] [AQ] drm: Connector 124 connection state: 1
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 135
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 158
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 135
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 158
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 135
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 158
[LOG] [AQ] udev: new udev change event for card1
[LOG] [AQ] udev: DRM device card1 changed
[LOG] [AQ] drm: Got a hotplug event for /dev/dri/card1
[LOG] [AQ] drm: Scanning connectors for /dev/dri/card1
[LOG] [AQ] drm: Scanning connector id 87
[LOG] [AQ] drm: Connector id 87 already initialized
[LOG] [AQ] drm: connector eDP-1 crtc is incapable of vrr: props.vrr_capable -> 90, crtc->props.vrr_enabled -> 24
[LOG] [AQ] drm: Explicit sync supported
[LOG] [AQ] drm: Connector 87 connection state: 1
[LOG] [AQ] drm: Scanning connector id 95
[LOG] [AQ] drm: Connector id 95 already initialized
[LOG] [AQ] drm: Connector 95 connection state: 2
[LOG] [AQ] drm: Scanning connector id 101
[LOG] [AQ] drm: Connector id 101 already initialized
[LOG] [AQ] drm: Connector 101 connection state: 2
[LOG] [AQ] drm: Scanning connector id 108
[LOG] [AQ] drm: Connector id 108 already initialized
[LOG] [AQ] drm: Connector 108 connection state: 2
[LOG] [AQ] drm: Scanning connector id 120
[LOG] [AQ] drm: Connector id 120 already initialized
[LOG] [AQ] drm: Connector 120 connection state: 2
[LOG] [AQ] drm: Scanning connector id 131
[LOG] [AQ] drm: Connector id 131 already initialized
[LOG] [AQ] drm: Connector 131 connection state: 2
[LOG] [AQ] drm: Scanning connector id 149
[LOG] [AQ] drm: Connector id 149 already initialized
[LOG] [AQ] drm: Connector 149 connection state: 2
[LOG] [AQ] drm: Scanning connector id 124
[LOG] [AQ] drm: Connector id 124 already initialized
[LOG] [AQ] drm: connector DP-3 crtc is incapable of vrr: props.vrr_capable -> 0, crtc->props.vrr_enabled -> 24
[LOG] [AQ] drm: Explicit sync supported
[LOG] [AQ] drm: Connector 124 connection state: 1
[LOG] [AQ] drm: Rechecking CRTCs
[LOG] [AQ] drm: Skipping connector eDP-1, has crtc 73 and is connected
[LOG] [AQ] drm: connector HDMI-A-1, has crtc -1, will be rechecked
[LOG] [AQ] drm: connector DP-1, has crtc -1, will be rechecked
[LOG] [AQ] drm: connector DP-2, has crtc -1, will be rechecked
[LOG] [AQ] drm: Skipping connector DP-3, has crtc 77 and is connected
[LOG] [AQ] drm: connector DP-4, has crtc -1, will be rechecked
[LOG] [AQ] drm: connector DP-5, has crtc 77, will be rechecked
[LOG] [AQ] drm: connector DP-4, has crtc -1, will be rechecked
[LOG] [AQ] drm: connector DP-6, has crtc 77, will be rechecked
[LOG] [AQ] drm: connector DP-4, has crtc -1, will be rechecked
[LOG] [AQ] drm: slot 0 crtc 73 taken by eDP-1, skipping
[LOG] [AQ] drm: slot 1 crtc 77 taken by DP-3, skipping
[LOG] [AQ] drm: slot 2 crtc 81 unassigned
[LOG] [AQ] drm: slot 3 crtc 85 unassigned
[LOG] [AQ] drm: Connector HDMI-A-1 is not connected
[LOG] [AQ] drm: Connector DP-1 is not connected
[LOG] [AQ] drm: Connector DP-2 is not connected
[LOG] [AQ] drm: Connector DP-4 is not connected
[LOG] [AQ] drm: Connector DP-5 is not connected, removing old crtc 77
[LOG] [AQ] drm: Connector DP-4 is not connected
[LOG] [AQ] drm: Connector DP-6 is not connected, removing old crtc 77
[LOG] [AQ] drm: Connector DP-4 is not connected
[LOG] [AQ] drm: rescanning after realloc
[LOG] [AQ] drm: Scanning connectors for /dev/dri/card1
[LOG] [AQ] drm: Scanning connector id 87
[LOG] [AQ] drm: Connector id 87 already initialized
[LOG] [AQ] drm: connector eDP-1 crtc is incapable of vrr: props.vrr_capable -> 90, crtc->props.vrr_enabled -> 24
[LOG] [AQ] drm: Explicit sync supported
[LOG] [AQ] drm: Connector 87 connection state: 1
[LOG] [AQ] drm: Scanning connector id 95
[LOG] [AQ] drm: Connector id 95 already initialized
[LOG] [AQ] drm: Connector 95 connection state: 2
[LOG] [AQ] drm: Scanning connector id 101
[LOG] [AQ] drm: Connector id 101 already initialized
[LOG] [AQ] drm: Connector 101 connection state: 2
[LOG] [AQ] drm: Scanning connector id 108
[LOG] [AQ] drm: Connector id 108 already initialized
[LOG] [AQ] drm: Connector 108 connection state: 2
[LOG] [AQ] drm: Scanning connector id 120
[LOG] [AQ] drm: Connector id 120 already initialized
[LOG] [AQ] drm: Connector 120 connection state: 2
[LOG] [AQ] drm: Scanning connector id 131
[LOG] [AQ] drm: Connector id 131 already initialized
[LOG] [AQ] drm: Connector 131 connection state: 2
[LOG] [AQ] drm: Scanning connector id 149
[LOG] [AQ] drm: Connector id 149 already initialized
[LOG] [AQ] drm: Connector 149 connection state: 2
[LOG] [AQ] drm: Scanning connector id 124
[LOG] [AQ] drm: Connector id 124 already initialized
[LOG] [AQ] drm: connector DP-3 crtc is incapable of vrr: props.vrr_capable -> 0, crtc->props.vrr_enabled -> 24
[LOG] [AQ] drm: Explicit sync supported
[LOG] [AQ] drm: Connector 124 connection state: 1
[LOG] Applying monitor rule for eDP-1
[LOG] Setting preferred mode for eDP-1
[LOG] output eDP-1 succeeded basic test on format DRM_FORMAT_XRGB8888
[LOG] [AQ] drm: Modesetting eDP-1 with [email protected]
[LOG] arrangeMonitors: 2 to arrange
[LOG] arrangeMonitors: eDP-1 explicit [0, 1201]
[LOG] arrangeMonitors: DP-3 auto [1920, 0]
[LOG] arrangeMonitors: eDP-1 xwayland [0, 0]
[LOG] arrangeMonitors: DP-3 xwayland [1920, 0]
[LOG] Monitor eDP-1 data dump: res [email protected], scale 1.00, transform 0, pos 0x1201, 10b 0
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 118
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 158
[WARN] No rule found for DP-3, trying to use the first.
[WARN] No rules configured. Using the default hardcoded one.
[LOG] Applying monitor rule for DP-3
[LOG] Setting preferred mode for DP-3
[WARN] [AQ] drm: Formats mismatch in commit, buffer is XB24 but output is set to XR24. Modesetting to XB24
[LOG] output DP-3 succeeded basic test on format DRM_FORMAT_XRGB8888
[LOG] [AQ] drm: Disabling output DP-3
[LOG] arrangeMonitors: 2 to arrange
[LOG] arrangeMonitors: eDP-1 explicit [0, 1201]
[LOG] arrangeMonitors: DP-3 auto [1920, 0]
[LOG] arrangeMonitors: eDP-1 xwayland [0, 0]
[LOG] arrangeMonitors: DP-3 xwayland [1920, 0]
[LOG] Monitor DP-3 data dump: res [email protected], scale 1.00, transform 0, pos 1920x0, 10b 0
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 118
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 153
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 118
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 153
[LOG] Cleanup: destroyed a layersurface
[WARN] [AQ] drm: Formats mismatch in commit, buffer is XR24 but output is set to XB24. Modesetting to XR24
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 135
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 158
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 135
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 158
[LOG] [CWLCompositorResource] New wl_surface with id 24 at 5ccc344faef0
[LOG] [CWLCompositorResource] New wl_region with id 19 at 5ccc343ae250
[LOG] CWLSurface 5ccc343c8e70 called init()
[LOG] LayerSurface 5ccc3446c250 (namespace hyprpaper layer 0) created on monitor DP-3
[LOG] [CLayerShellProtocol] New wlr_layer_surface 5ccc3446c250
[LOG] [CWLCompositorResource] New wl_region with id 19 at 5ccc35d62bb0
[LOG] LayerSurface 5ccc3446c250 mapped
[LOG] [CLinuxDMABBUFParamsResource] Creating a dmabuf, with id 46: size [Vector2D: x: 1894, y: 1029], fmt AR24, planes 2
[LOG] [CLinuxDMABBUFParamsResource] | plane 0: mod 144115206334822913 fd 127 stride 7680 offset 0
[LOG] [CLinuxDMABBUFParamsResource] | plane 1: mod 144115206334822913 fd 128 stride 2048 offset 8847360
[LOG] [CLinuxDMABBUFParamsResource] Creating a dmabuf, with id 9: size [Vector2D: x: 1894, y: 1029], fmt AR24, planes 2
[LOG] [CLinuxDMABBUFParamsResource] | plane 0: mod 144115206334822913 fd 32 stride 7680 offset 0
[LOG] [CLinuxDMABBUFParamsResource] | plane 1: mod 144115206334822913 fd 33 stride 2048 offset 8847360
[LOG] LayerSurface 5ccc35ff71f0 destroyed
[LOG] Forcing an unmap of a LS that did a straight destroy!
[LOG] LayerSurface 5ccc35ff71f0 unmapped
[LOG] Framebuffer created, status 36053
[LOG] CWLSurface 5ccc351bd200 called destroy()
[LOG] [CWLCompositorResource] New wl_region with id 6 at 5ccc36074a70
[LOG] [CXDGSurfaceResource] xdg_surface 5ccc35dfdde0 requests geometry 0x0 1894x1054
[LOG] [CLinuxDMABBUFParamsResource] Creating a dmabuf, with id 6: size [Vector2D: x: 1894, y: 1054], fmt AR24, planes 2
[LOG] [CLinuxDMABBUFParamsResource] | plane 0: mod 144115206334822913 fd 27 stride 7680 offset 0
[LOG] [CLinuxDMABBUFParamsResource] | plane 1: mod 144115206334822913 fd 28 stride 2048 offset 8847360
[LOG] [CLinuxDMABBUFParamsResource] Creating a dmabuf, with id 47: size [Vector2D: x: 1894, y: 1054], fmt AR24, planes 2
[LOG] [CLinuxDMABBUFParamsResource] | plane 0: mod 144115206334822913 fd 68 stride 7680 offset 0
[LOG] [CLinuxDMABBUFParamsResource] | plane 1: mod 144115206334822913 fd 127 stride 2048 offset 8847360
[LOG] Cleanup: destroyed a layersurface
[LOG] [AQ] [libinput] event16 - Wacom One by Wacom M Pen: is tagged by udev as: Tablet

[LOG] [AQ] [libinput] event16 - Wacom One by Wacom M Pen: device is a tablet

[LOG] [AQ] libinput: New device Wacom One by Wacom M Pen: 1386-891
[LOG] New aquamarine tablet with name Wacom One by Wacom M Pen
[LOG] Attached tablet wacom-one-by-wacom-m-pen to global
[LOG] Setting calibration matrix for device wacom-one-by-wacom-m-pen
[LOG] [AQ] [libinput] event16 - tablet-rotation: rotation is on

[LOG] Binding tablet wacom-one-by-wacom-m-pen to output
[LOG] [CWLCompositorResource] New wl_surface with id 38 at 5ccc35d699a0
[LOG] [CWLCompositorResource] New wl_surface with id 41 at 5ccc35fa2940
[LOG] [CWLCompositorResource] New wl_surface with id 38 at 5ccc34400430
[LOG] [CWLCompositorResource] New wl_surface with id 47 at 5ccc34491580
[LOG] [CWLCompositorResource] New wl_surface with id 38 at 5ccc35d6ea70
[LOG] [CWLCompositorResource] New wl_surface with id 43 at 5ccc360d05e0
[LOG] [CWLCompositorResource] New wl_surface with id 38 at 5ccc3604e050
[LOG] [CWLCompositorResource] New wl_surface with id 39 at 5ccc35ed8da0
[LOG] [CWLCompositorResource] New wl_surface with id 64 at 5ccc35cf0170

@ikalco
Copy link
Contributor

ikalco commented Aug 28, 2024

can you retry re-plugging it on git again
there were a few monitor commits recently

@yyyyyyyan
Copy link

@ikalco latest -git brought back my problem in #7322 :(. I'll post the logs tomorrow (what logs would help? the same as #7322 (comment)?)

@ikalco
Copy link
Contributor

ikalco commented Aug 29, 2024

@ikalco latest -git brought back my problem in #7322 :(. I'll post the logs tomorrow (what logs would help? the same as #7322 (comment)?)

at a glance the dmesg.log from before has some weird errors in it, which could be because of this

I think this may be because intel only supports up to 3 displays at once, according to swaywm/wlroots#1394 (comment).

if you are crashing again then post crashdump and hyprlandd.log
if its blank try above intel thing, you can also give a full hyprlandd.log, it might have some new clues

@dr0bz
Copy link

dr0bz commented Aug 29, 2024

Hi!
i just tried out the latest hl-git, aq-git - it's fixed! Just to sync again what i had:

  • docking station connected to a laptop via usb-c
  • monitor is connected to the docking station
  • amdgpu driver
  • plugging and unplugging the docking station on a running hyprland - now correctly brings the image on the external monitor. Previously plugging the docking station - the image remained blank.

hl-git: 0.42.0.r86.b9b8e622-1
aq-git: 0.3.3_r203.g23c7925-1

Regards!

@stjernstrom
Copy link

Still no luck here. Starting with external monitor DP-3 plugged in or plug/unplug does not matter, always black screen while connected since upgrade. Seems like its a DRM issue.

Should this issue be reported in the aquamarine project?

Host: XPS 15 9500
Display (SHP14D0): 3840x2400 @ 60 Hz (as 1920x1200) in 16″ [Built-in]
Display (S34J55x): 3440x1440 @ 50 Hz in 34″ [External]
Intel UHD Graphics @ 1.15 GHz [Integrated]

hl-git: b9b8e62
aq-git: 23c7925

[LOG] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET ATOMIC_TEST_ONLY 
[ERR] output DP-3 failed basic test on format DRM_FORMAT_XBGR8888
[LOG] CMonitorState::ensureBufferPresent: no buffer or mismatched format, attaching one from the swapchain for modeset being possible
[ERR] [AQ] drm: No format for output
[ERR] output DP-3 failed basic test on format DRM_FORMAT_INVALID
[TRACE] [AQ] CDRMOutput::scheduleFrame: reason 0, needsFrame true, isPageFlipPending false, frameEventScheduled false
[LOG] CMonitorState::ensureBufferPresent: no buffer or mismatched format, attaching one from the swapchain for modeset being possible
[ERR] [AQ] drm: No format for output
[ERR] Couldn't commit output named DP-3
[LOG] Monitor DP-3 -> destroyed all render data

hypr.log

@ikalco
Copy link
Contributor

ikalco commented Aug 30, 2024

@stjernstrom can you get a kernel drm log of when you plug it in

echo 0x19F | sudo tee /sys/module/drm/parameters/debug # Enable verbose DRM logging
sudo dmesg -C # Clear kernel logs
dmesg -w >dmesg.log & # Continuously write DRM logs to a file, in the background
Hyprland
fg # Kill dmesg -w with Ctrl+C
echo 0 | sudo tee /sys/module/drm/parameters/debug # Disable DRM logging

you just need to run this, plug in monitor, then exit Hyprland, finally ctrl+c
then give dmesg.log (btw it might be really big but thats fine)

@stjernstrom
Copy link

Thank you @ikalco here is the dmesg log

dmesg.log

Please let me know if there is something more I can do or test or contribute with!

@ikalco
Copy link
Contributor

ikalco commented Sep 2, 2024

@stjernstrom you should start a new issue, something like external hdmi monitor can't be pluggined in on igpu
and repost hyprland.log and dmes.log there

from what I can see in the dmesg.log

Requested display configuration exceeds system DDB limitations

it seems your gpu isn't capable of using 3 monitors? try only plugging in 2 to test
then continue in new issue

@stjernstrom
Copy link

Thanks @ikalco

I'll start a new issue if it seems to be different problems than the original issue 👍

For clarity and history of this thread I have been running this exact hardware configuration since I started using Hyprland and Its just when I upgrade to 0.42 I does not work _ (and I'm just using one external monitor :) _

@romanstingler
Copy link
Contributor

please build yay -S hyprland-git aquamarine-git new and add env = AQ_NO_MODIFIERS,1 to your hyperland.conf

if it resolves your issue, please close the ticket, thx

@stjernstrom
Copy link

I did not have the same setup the initial reporter, I'm using HDMI and no dock, but I can confirm that it now works for me.

I'm running lastest aq-git and hl-git (v0.42.0-122-gb0fca6ea) with env = AQ_NO_MODIFIERS,1 in the config and now my external screen works exactly like before!

Awesome work! I appreciates the effort and support!

@mkavanagh-23
Copy link
Author

That seems to have done the trick! All monitors working for me without issue now. Thanks for all the hard work it is much appreciated, closing the issue now.

@croots
Copy link

croots commented Sep 6, 2024

This doesnt seem to have fixed my issue. Still get a black screen on connect / disconnect with latest aquamarine-git (not sure how to check specific version) and hyprland-gt (b0fca6e), using a thunderbolt port and a thunderbolt-enabled monitor.

@ikalco
Copy link
Contributor

ikalco commented Sep 6, 2024

@croots can you make a new issue, something like blank screen with thunderbolt connected monitor
give hyprlandd.log when you plug in your monitor
also give dmesg.log of it

btw look at hyprwm/aquamarine#76 and test if you have the same issue

@romanstingler
Copy link
Contributor

@croots have you set the ENV variable? 'env = AQ_NO_MODIFIERS,1'

@croots
Copy link

croots commented Sep 6, 2024

@romanstingler yep, set in my config, appears correctly in a terminal emulator when I echo it.

@yyyyyyyan
Copy link

New updates with AQ_NO_MODIFIERS did for me, all is well again :-). Thanks for the work, guys.

@skylize
Copy link

skylize commented Oct 18, 2024

Possible I missed a version, but I think only around 2-3 weeks since last update. This hit me when grabbing 0.44.1-1 from pacman. I updated and rebooted, only to find a blank screen on my external display.

As instructed in this Issue, I updated to hyprland-git and aquamarine-git and added the AQ_NO_MODIFIERS=1 env var. This did not help.

Based on comments in this issue, I reduced the resolution to [email protected] and successfully woke up the display. Replicating results of a previous comment, increasing the resolution on the live screen just freezes the image, with no further display updates.

My display supports up to [email protected], as reported by hyprctl. I toyed with the resolution and refresh rate settings. Found I can use 2560x1440@100 successfully, or highrr, which now gives the same.

So for me at least, the trigger is not the resolution, but the refresh rate. And the highrr setting is able to find the highest working, but incorrectly low value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests