Closed mkavanagh-23 closed 1 week ago
what's your aquamarine version?
have you tried aq-git and hl-git?
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!
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: https://github.com/hyprwm/aquamarine/issues/40#issue-2449362835
does dynamically disabling and re-enabling them fix it?
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.
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 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 https://github.com/hyprwm/Hyprland/issues/7292#issuecomment-2288094121 One of my external monitors works fine, the other says no signal despite hyprctl displaying it as connected and active.
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?
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 🤷
can you test the above MR?
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
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 1920x1080@60.00Hz
[ERR] [AQ] atomic drm request: failed to commit: Invalid argument, flags: ATOMIC_ALLOW_MODESET PAGE_FLIP_EVENT
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
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).
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
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.
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.
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
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
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.
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
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 https://github.com/hyprwm/Hyprland/commit/912e7ba82defdb10efc892a5db578598c972fe4a ? I can do some more testing, get logs, and try bisecting tomorrow if you want. Sorry for the further complications :(
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.
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
I have the same problem, but running through HDMI and not Thunderbolt. Had some discussion in https://github.com/hyprwm/Hyprland/issues/7292#issuecomment-2291888384 but that ticket is closed now.
I have tried today with the latest aq-git and hl-git from today
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.
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
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
Upgraded to hyprland-git
and aquamarine-git
from the AUR. I am now on version c86db7bbb0cf14d4955ee3a4d13c0ed9f8a0e0ae and https://github.com/hyprwm/aquamarine/commit/b02d4f4d72c5e0f76f331ed07fdc8178842d9b1f
I have not observed crashes for the following scenarios anymore
hyprctl dispatch dpms off/on
(although my monitor won't stay off).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.
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
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.
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).
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========
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:
can you retry re-plugging it on git again there were a few monitor commits recently
@ikalco latest -git brought back my problem in #7322 :(. I'll post the logs tomorrow (what logs would help? the same as https://github.com/hyprwm/Hyprland/issues/7322#issuecomment-2297628995?)
@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 https://github.com/swaywm/wlroots/issues/1394#issuecomment-611440297.
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
Hi! i just tried out the latest hl-git, aq-git - it's fixed! Just to sync again what i had:
hl-git: 0.42.0.r86.b9b8e622-1 aq-git: 0.3.3_r203.g23c7925-1
Regards!
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: b9b8e622 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
@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)
Thank you @ikalco here is the dmesg log
Please let me know if there is something more I can do or test or contribute with!
@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
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 :)
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
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!
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.
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 (b0fca6ea), using a thunderbolt port and a thunderbolt-enabled monitor.
@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
@croots have you set the ENV variable? 'env = AQ_NO_MODIFIERS,1'
@romanstingler yep, set in my config, appears correctly in a terminal emulator when I echo it.
New updates with AQ_NO_MODIFIERS did for me, all is well again :-). Thanks for the work, guys.
Regression?
Yes
System Info and Version
System/Version info
```sh 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
```sh 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
```shHyprctl - Monitors
```sh Monitor eDP-1 (ID 0): 2560x1600@60.00100 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: 2560x1600@60.00Hz Monitor DP-1 (ID 1): 1920x1080@60.00000 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: 1920x1080@60.00Hz 1920x1080@60.00Hz 1920x1080@60.00Hz 1920x1080@59.94Hz 1920x1080@24.00Hz 1920x1080@23.98Hz 1280x720@60.00Hz 1280x720@60.00Hz 1280x720@59.94Hz 1024x768@75.03Hz 1024x768@70.07Hz 1024x768@60.00Hz 800x600@75.00Hz 800x600@72.19Hz 800x600@60.32Hz 720x480@60.00Hz 720x480@59.94Hz 640x480@75.00Hz 640x480@60.00Hz 640x480@59.94Hz 640x480@59.94Hz 720x400@70.08Hz Monitor DP-2 (ID 2): 1920x1080@60.00000 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: 1920x1080@60.00Hz 1920x1080@60.00Hz 1920x1080@59.94Hz 1920x1080@50.00Hz 1920x1080@30.00Hz 1920x1080@29.97Hz 1920x1080@25.00Hz 1920x1080@24.00Hz 1920x1080@23.98Hz 1680x1050@59.88Hz 1600x900@60.00Hz 1280x1024@75.03Hz 1280x1024@60.02Hz 1440x900@59.90Hz 1366x768@59.79Hz 1280x800@59.91Hz 1152x864@75.00Hz 1280x720@60.00Hz 1280x720@60.00Hz 1280x720@59.94Hz 1280x720@50.00Hz 1280x720@50.00Hz 1024x768@75.03Hz 1024x768@70.07Hz 1024x768@60.00Hz 832x624@74.55Hz 800x600@75.00Hz 800x600@72.19Hz 800x600@60.32Hz 720x576@50.00Hz 720x576@50.00Hz 720x480@60.00Hz 720x480@59.94Hz 640x480@75.00Hz 640x480@72.81Hz 640x480@66.67Hz 640x480@60.00Hz 640x480@59.94Hz 720x400@70.08Hz ```