Open ZreXoc opened 3 months ago
try using hyprland-git and aquamarine-git, there are multiple monitor fixes there
as @ikalco said
thanks @PancakeTAS I was a little bit slow to react on this one.
Update to
Hyprland, built from branch main at commit 9c5a37a797ea1f1829859ab5b07016b2f27f739c (build: fix 32bit builds (7510)).
Date: Mon Aug 26 20:08:30 2024
Tag: v0.42.0-71-g9c5a37a7, commits: 5140
and
aquamarine-git 0.3.3_r200.g3989aa9-1
but it still doesn't work. Is there anything else I should provide?
a trace log would be nice https://wiki.hyprland.org/Crashes-and-Bugs/#obtaining-a-trace-log
a trace log would be nice https://wiki.hyprland.org/Crashes-and-Bugs/#obtaining-a-trace-log
this is odd... Are you on latest aquamarine-git and hyprland-git?
hyprland-git 0.42.0.r71.9c5a37a7-1
aquamarine-git 0.3.3_r200.g3989aa9-1
I installed them through AUR, and they should be the latest ones.
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: xc-arch Release: 6.10.6-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Mon, 19 Aug 2024 17:02:39 +0000 GPU information: 00:02.0 VGA compatible controller [0300]: Intel Corporation Raptor Lake-S UHD Graphics [8086:a788] (rev 04) (prog-if 00 [VGA controller]) 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD107M [GeForce RTX 4060 Max-Q / Mobile] [10de:28e0] (rev a1) (prog-if 00 [VGA controller]) NVRM version: NVIDIA UNIX x86_64 Kernel Module 555.58.02 Tue Jun 25 01:39:15 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/xic/.config/hypr/hyprland.conf: Read Succeeded debug:disable_logs = false #cursor:no_hardware_cursors = false # Sourcing external config files # Default Configs $configs = $HOME/.config/hypr/configs source= $configs/Startup_Apps.conf source= $configs/ENVariables.conf source= $configs/Monitors.conf source= $configs/Laptops.conf source= $configs/LaptopDisplay.conf source= $configs/WindowRules.conf source= $configs/Keybinds0.conf source= $configs/Keybinds1.conf source= $configs/UserSettings.conf Config File: /home/xic/.config/hypr/configs/Startup_Apps.conf: Read Succeeded # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## #Commands & Apps to be executed at launch $scriptsDir = $HOME/.config/hypr/scripts $UserScripts = $HOME/.config/hypr/UserScripts $wallDIR=$HOME/Pictures/wallpapers $lock = $scriptsDir/LockScreen.sh $SwwwRandom = $UserScripts/WallpaperAutoChange.sh # wallpaper stuff / More wallpaper options below exec-once = swww query || swww init exec-once = $SwwwRandom $wallDIR # random wallpaper switcher every 30 minutes # Startup exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # Polkit (Polkit Gnome / KDE) exec-once = $scriptsDir/Polkit.sh # starup apps exec-once = pypr & exec-once = waybar & exec-once = nm-applet --indicator & exec-once = swaync & #exec-once = blueman-applet & #exec-once = rog-control-center & #clipboard manager exec-once = wl-paste --type text --watch cliphist store exec-once = wl-paste --type image --watch cliphist store # Rainbow borders exec-once = $UserScripts/RainbowBorders.sh # sway-idle with lock, sleep, and suspend exec-once = swayidle -w timeout 600 '$lock' timeout 900 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep '$lock' timeout 1200 'systemctl suspend' resume 'hyprctl dispatch dpms on' # sway-idle with lock, sleep, and no suspend #exec-once = swayidle -w timeout 600 '$lock' timeout 900 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' before-sleep '$lock' # Here are list of features available but disabled by default #exec-once = swww query || swww init && swww img $HOME/Pictures/wallpapers/mecha-nostalgia.png # persistent wallpaper #gnome polkit for nixos #exec-once = $scriptsDir/Polkit-NixOS.sh # xdg-desktop-portal-hyprland (should be auto starting. However, you can force to start) #exec-once = $scriptsDir/PortalHyprland.sh # custom #exec-once = mako exec-once = wal -R exec-once = fcitx5 exec-once = clash-verge exec-once = [workspace 2 silent;float] env GDK_SCALE=2 linuxqq exec-once = updatedb exec = $UserScripts/SetMonitor.sh #exec-once = mpvpaper "*" -o "--playlist=/home/xic/Pictures/wallpapers/dy-playlist.txt input-ipc-server=/tmp/mpv-socket" exec-once = waywe start -m "HDMI-A-1" -p playlist1 -o "no-audio loop-playlist shuffle" exec-once = mpvpaper "eDP-2" -o "no-audio --scripts=/home/xic/Documents/project/waywe/mpv_scripts input-ipc-server=/tmp/waywe-socket save-position-on-quit shuffle --script-opts=waywe-delay=1800 panscan=1.0 vf=hflip loop loop-playlist" $HOME/Pictures/wallpapers/Dynamic-Wallpapers/sub_monitor Config File: /home/xic/.config/hypr/configs/ENVariables.conf: Read Succeeded # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## #environment-variables env = CLUTTER_BACKEND,wayland env = GDK_BACKEND,wayland,x11 env = QT_AUTO_SCREEN_SCALE_FACTOR,1 env = QT_QPA_PLATFORM,wayland;xcb env = QT_QPA_PLATFORMTHEME,qt5ct env = QT_SCALE_FACTOR,1 env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_SESSION_DESKTOP,Hyprland env = XDG_SESSION_TYPE,wayland # vulkan #env = WLR_RENDERER,vulkan # firefox env = MOZ_ENABLE_WAYLAND,1 # NVIDIA # This is from Hyprland Wiki. As a start, WLR_NO_HARDWARE_CURSORS 1 will be activated if nvidia gpu detected env = WLR_NO_HARDWARE_CURSORS,1 env = LIBVA_DRIVER_NAME,nvidia env = __GLX_VENDOR_LIBRARY_NAME,nvidia #env = GBM_BACKEND,nvidia-drm #env = __NV_PRIME_RENDER_OFFLOAD,1 #env = __VK_LAYER_NV_optimus,NVIDIA_only #env = WLR_DRM_NO_ATOMIC,1 #env = NVD_BACKEND,direct # FOR VM and POSSIBLY NVIDIA #env = WLR_RENDERER_ALLOW_SOFTWARE,1 # nvidia firefox (for hardware acceleration on FF)? # check this post https://github.com/elFarto/nvidia-vaapi-driver#configuration #env = MOZ_DISABLE_RDD_SANDBOX,1 #env = NVD_BACKEND,direct #env = EGL_PLATFORM,wayland #env = HYPRCURSOR_THEME,Bibata-Modern-Ice #env = HYPRCURSOR_SIZE,24 #env = XCURSOR_PATH,$XCURSOR_PATH:~/.icon Config File: /home/xic/.config/hypr/configs/Monitors.conf: Read Succeeded # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## # Monitor Configuration # See Hyprland wiki for more details # https://wiki.hyprland.org/Configuring/Monitors/ # Configure your Display resolution, offset, scale and Monitors here, use `hyprctl monitors` to get the info. # Monitors #monitor=,highrr,auto,1 monitor=HDMI-A-1,highrr,auto,1 monitor=eDP-2,highrr,-900x380,auto,transform,3 #monitor=eDP-2,preferred,-1600x400,auto,transform,0 #monitor=eDP-2,preferred,0x0,auto,transform,0 workspace = 1, monitor:HDMI-A-1, default:true, persistent:true workspace = 10, monitor:eDP-2, default:true, persistent:true workspace=eDP-2,0, default:true, persistent: true # unscale XWayland #xwayland { #force_zero_scaling = true #} # toolkit-specific scale #env = GDK_SCALE,2 #env = GDK_DPI_SCALE=0.5 #env = XCURSOR_SIZE,32 # NOTE: for laptop, kindly check notes in Laptops.conf regarding display # Created this inorder for the monitor display to not wake up if not intended. # See here: https://github.com/hyprwm/Hyprland/issues/4090 #monitor = eDP-1, preferred, auto, 1 #monitor = eDP-1, 2560x1440@165, 0x0, 1 #own screen #monitor = DP-3, 1920x1080@240, auto, 1 #monitor = DP-1, preferred, auto, 1 #monitor = HDMI-A-1, preferred,auto,1 # QEMU-KVM or any virtual box #monitor = Virtual-1, 1920x1080@60,auto,1 # Hi Refresh Rate #monitor=,highrr,auto,1 # High Resolution #monitor=,highres,auto,1 # to disable a monitor #monitor=name,disable # Mirror #monitor=DP-3,1920x1080@60,0x0,1,mirror,DP-2 #monitor=,preferred,auto,1,mirror,eDP-1 # Example : #monitor=eDP-1,2560x1440@165,0x0,1 #workspace=HDMI-A-1,1 #monitor=HDMI-A-1,2560x1440@144,0x0,1,mirror,eDP-1 #workspace=HDMI-A-2,2 #monitor=eDP-1,transform,0 #monitor=eDP-1,addreserved,10,10,10,49 #workspace=eDP-1,1 Config File: /home/xic/.config/hypr/configs/Laptops.conf: Read Succeeded # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## # See https://wiki.hyprland.org/Configuring/Keywords/ for more variable settings # These configs are mostly for laptops. This is addemdum to Keybinds.conf $mainMod = SUPER $scriptsDir = $HOME/.config/hypr/scripts $configs = $HOME/.config/hypr/configs bind = , xf86KbdBrightnessDown, exec, $scriptsDir/BrightnessKbd.sh --dec #Keyboard brightness Down bind = , xf86KbdBrightnessUp, exec, $scriptsDir/BrightnessKbd.sh --inc #Keyboard brightness up bind = , xf86Launch1, exec, rog-control-center # ASUS Armory crate button bind = , xf86Launch3, exec, asusctl led-mode -n #FN+F4 Switch keyboard RGB profile bind = , xf86Launch4, exec, asusctl profile -n #FN+F5 change of fan profiles (Quite, Balance, Performance) bind = , xf86MonBrightnessDown, exec, $scriptsDir/Brightness.sh --dec bind = , xf86MonBrightnessUp, exec, $scriptsDir/Brightness.sh --inc bind = , xf86TouchpadToggle, exec, $scriptsDir/TouchPad.sh #disable touchpad # Screenshot keybindings for Asus G15 (no PrinSrc button) #bind = $mainMod, F6, exec, $scriptsDir/ScreenShot.sh --now # Fullscreen #bind = $mainMod SHIFT, F6, exec, $scriptsDir/ScreenShot.sh --area #bind = $mainMod CTRL, F6, exec, $scriptsDir/ScreenShot.sh --in5 # Screenshot in 5 secs #bind = $mainMod ALT, F6, exec, $scriptsDir/ScreenShot.sh --in10 # Screenshot in 10 secs #bind = ALT, F6, exec, $scriptsDir/ScreenShot.sh --active # Screenshot active window # Below are useful when you are connecting your laptop in external display # Suggest you edit below for your laptop display # From WIKI This is to disable laptop monitor when lid is closed. # consult https://wiki.hyprland.org/hyprland-wiki/pages/Configuring/Binds/#switches #bindl = , switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, preferred, auto, 1" #bindl = , switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable" # # WARNING! Using this method has some caveats!! USE THIS PART WITH SOME CAUTION! # CONS of doing this, is that you need to set up your wallpaper (SUPER W) and choose wallpaper. # CAVEATS! Sometimes the Main Laptop Monitor DOES NOT have display that it needs to re-connect your external monitor # One work around is to ensure that before shutting down laptop, MAKE SURE your laptop lid is OPEN!! # Make sure to comment (put # on the both the bindl = , switch ......) above # NOTE: Display for laptop are being generated into LaptopDisplay.conf # This part is to be use if you do not want your main laptop monitor to wake up during say wallpaper change etc #bindl = , switch:off:Lid Switch,exec,echo "monitor = eDP-1, preferred, auto, 1" > $configs/LaptopDisplay.conf #bindl = , switch:on:Lid Switch,exec,echo "monitor = eDP-1, disable" > $configs/LaptopDisplay.conf # for laptop-lid action (to erase the last entry) #exec-once = echo "eDP-1, preferred, auto, 1" > $HOME/.config/hypr/configs/LaptopDisplay.conf # Config File: /home/xic/.config/hypr/configs/LaptopDisplay.conf: Read Succeeded # NOTE, THIS FILE IS BEING USED by disabling Laptop display monitor behaviour when closing lid. # See notes on Laptops.conf #monitor = eDP-1, preferred, auto, 1 Config File: /home/xic/.config/hypr/configs/WindowRules.conf: Read Succeeded # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more windowrule = float, org.kde.polkit-kde-authentication-agent-1 windowrule = float, nm-connection-editor|blueman-manager windowrule = float, pavucontrol windowrule = float, nwg-look|qt5ct|mpv windowrule = float, onedriver|onedriver-launcher windowrule = float, eog windowrule = float, zoom windowrule = float, rofi windowrule = float, gnome-system-monitor windowrule = float, yad #windowrule = noblur,gamescope #windowrule = fullscreen,gamescope #windowrule = workspace 6 silent,^(gamescope)$ windowrule = center,^(pavucontrol) # windowrule v2 #windowrulev2 = workspace 1, class:^(thunderbird)$ #windowrulev2 = workspace 2, class:^(firefox)$ #windowrulev2 = workspace 2, class:^(Firefox-esr)$ #windowrulev2 = workspace 2, class:^(Microsoft-edge-beta)$ #windowrulev2 = workspace 3, class:^([Tt]hunar)$ #windowrulev2 = workspace 4, class:^(com.obsproject.Studio)$ windowrulev2 = workspace 5 silent, class:^([Ss]team)$,title:^([Ss]team)$ windowrulev2 = workspace 5 silent, class:^(lutris)$ #windowrulev2 = workspace 6, class:^(virt-manager)$ #windowrulev2 = workspace 7 silent, class:^(discord)$ #windowrulev2 = workspace 7 silent, class:^(WebCord)$ #windowrulev2 = workspace 9 silent, class:^([Aa]udacious)$ windowrulev2 = workspace 6 silent, class:^(RimworldLinux)$ #opacity (transparent) #enable as desired windowrulev2 = stayfocused, opacity 0.9 0.6, class:^([Rr]ofi)$ windowrulev2 = opacity 0.9 0.7, class:^(Brave-browser)$ windowrulev2 = opacity 0.9 0.7, class:^(Brave-browser-dev)$ windowrulev2 = opacity 0.95 0.95, class:^(firefox)$ windowrulev2 = opacity 1 1, title:(哔哩哔哩|bilibili) windowrulev2 = opacity 0.9 0.7, class:^(Firefox-esr)$ windowrulev2 = opacity 0.9 0.8, class:^([Tt]hunar)$ windowrulev2 = opacity 0.8 0.6, class:^(pcmanfm-qt)$ windowrulev2 = opacity 0.9 0.7, class:^(gedit)$ windowrulev2 = opacity 1 1, class:(kitty) windowrulev2 = opacity 1 1, class:(vim) windowrulev2 = opacity 0.9 0.7, class:^(mousepad)$ windowrulev2 = opacity 0.9 0.7, class:^(codium-url-handler)$ windowrulev2 = opacity 0.9 0.7, class:^(VSCodium)$ windowrulev2 = opacity 0.9 0.7, class:(neovide) windowrulev2 = opacity 0.9 0.7, class:^(yad)$ windowrulev2 = opacity 0.9 0.7, class:^(com.obsproject.Studio)$ windowrulev2 = opacity 0.9 0.7, class:^([Aa]udacious)$ windowrulev2 = opacity 0.9 0.7, class:(clash) layerrule = unset,class:^([Rr]ofi)$ layerrule = blur,class:^([Rr]ofi)$ layerrule = ignorezero,Description
I have a monitor which supports the fresh rate of 100Hz (or 99.97Hz):
however, I failed to change the refresh rate to 100Hz. I ran
hyprctl --batch "keyword monitor HDMI-A-1,2560x1440@100,auto,1;"
, andhyprctl monitors
showsbut then the monitor showed "no signal".
In contrast, 60Hz and 75Hz work well.
It used to work in
0.40.0.r156.098ac916-1
and might break after that, but I only thought that was related tohighres
andhighrr
at that time. Check my previous issue if necessary: https://github.com/hyprwm/Hyprland/issues/6735How to reproduce
hyprctl --batch "keyword monitor HDMI-A-1,2560x1440@100,auto,1;
Crash reports, logs, images, videos
No response