hyprwm / Hyprland

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

vrr causes flickr #7833

Closed littleblack111 closed 1 month ago

littleblack111 commented 1 month ago

Already reported ? *

Regression?

Yes, No

System Info and Version

System/Version info ```sh Hyprland, built from branch main at commit 3c9716acfd00c6ea1b7bcd1dc63f97b51cc09998 (gammactrl: fix potential crash on monitor removed (7828)). Date: Tue Sep 17 15:37:20 2024 Tag: v0.43.0-31-g3c9716ac, commits: 5227 flags: (if any) System Information: System name: Linux Node name: ArchLinux Release: 6.10.10-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Thu, 12 Sep 2024 17:21:02 +0000 GPU information: 00:02.0 VGA compatible controller [0300]: Intel Corporation Raptor Lake-S GT1 [UHD Graphics 770] [8086:a780] (rev 04) (prog-if 00 [VGA controller]) 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation AD103 [GeForce RTX 4080 SUPER] [10de:2702] (rev a1) (prog-if 00 [VGA controller]) NVRM version: NVIDIA UNIX x86_64 Kernel Module 560.35.03 Fri Aug 16 21: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: hypr-darkwindow by micha4w ver 1.0.0 hyprchroma by alexhulbert ver 1.0.0 ======Config-Start====== Config File: /home/system/.config/hypr/hyprland.conf: Read Succeeded ################ ### MONITORS ### ################ # See https://wiki.hyprland.org/Configuring/Monitors/ monitor=,highres@160,auto,auto,bitdepth,10 # monitor=,preferred,auto,auto,bitdepth,10 ################### ### MY PROGRAMS ### ################### # Program defaults $terminal = alacritty $termfloat = alacritty --class 'alacritty-float,alacritty-float' $editor = lvim $browser = thorium-browser $fileManager = thunar $sessionManager = sddm $menu = rofi -i -dmenu -theme $HOME/.config/rofi/configs.rasi # Dirs $HYPRDIR = $HOME/.config/hypr $WAYBARDIR = $HOME/.config/waybar $SCRIPTSDIR = $HOME/scripts $rofiexec = $HOME/.config/rofi/scripts # misc $waylandarg = --enable-features=WaylandWindowDecorations,UseOzonePlatform --ozone-platform-hint=auto ##################### ### LOOK AND FEEL ### ##################### # Refer to https://wiki.hyprland.org/Configuring/Variables/ # https://wiki.hyprland.org/Configuring/Variables/#general general { gaps_in = 5 gaps_out = 10 border_size = 3 # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors # col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg # DO THIS LATER # col.inactive_border = rgba(595959aa) # col.active_border = rgb(00a7f5) rgb(538620) rgb(538620) rgb(00a7f5) 90deg # col.inactive_border = rgb(00a7f5) rgb(538620) rgb(538620) rgb(00a7f5) 90deg # col.active_border = rgb(00a7f5) rgb(538620) # col.inactive_border = rgb(00a7f5) rgb(538620) # Set to true enable resizing windows by clicking and dragging on borders and gaps resize_on_border = false # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on allow_tearing = true layout = dwindle } xwayland { force_zero_scaling = true } # https://wiki.hyprland.org/Configuring/Variables/#decoration decoration { rounding = 7 # Change transparency of focused and unfocused windows active_opacity = 0.89 inactive_opacity = 0.85 fullscreen_opacity = 1.0 drop_shadow = true shadow_range = 15 shadow_render_power = 9 col.shadow = rgba(1a1a1aee) screen_shader = /usr/share/hyprshade/shaders/vibrance.glsl # dim_inactive = true # dim_strength = 0.4 # https://wiki.hyprland.org/Configuring/Variables/#blur blur { enabled = true size = 5 passes = 3 vibrancy = 1 popups = true } } # https://wiki.hyprland.org/Configuring/Variables/#animations animations { enabled = true # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more bezier = windowovershot, 1, 1, 0, 1.05 bezier = overshot, 0.5, 1, 0, 1.2 bezier = slow-fast, 1, 0.33, 0.3, 1 bezier = fast-slow, 0.33, 0.8, 0, 1 # bezier = linear, 0, 0, 1, 1 # bezier = md3_standard, 0.2, 0, 0, 1 bezier = md3_decel, 0.05, 0.7, 0.1, 1 # bezier = md3_accel, 0.3, 0, 0.8, 0.15 # bezier = overshot, 0.05, 0.9, 0.1, 1.1 # bezier = crazyshot, 0.1, 1.5, 0.76, 0.92 # bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0 # bezier = menu_decel, 0.1, 1, 0, 1 # bezier = menu_accel, 0.38, 0.04, 1, 0.07 # bezier = easeInOutCirc, 0.85, 0, 0.15, 1 # bezier = easeOutCirc, 0, 0.55, 0.45, 1 # bezier = easeOutExpo, 0.16, 1, 0.3, 1 # bezier = softAcDecel, 0.26, 0.26, 0.15, 1 # bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration animation = fade, 1, 3, md3_decel animation = windows, 1, 3, overshot, popin 20% # animation = windowsOut, 1, 2, slow-fast, popin 15% animation = windowsOut, 1, 3, slow-fast, popin 15% animation = workspaces, 1, 6, fast-slow, slide #fade animation = workspacesIn, 1, 6, fast-slow, slidefade # dunno why but no such animation? } # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more dwindle { pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = true # You probably want this } # https://wiki.hyprland.org/Configuring/Variables/#misc misc { force_default_wallpaper = 1 # Set to 0 or 1 to disable the anime mascot wallpapers focus_on_activate = true disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :( # vfr = false # vrr = 1 # 1 = always, 2 = only in full screen mouse_move_enables_dpms = true key_press_enables_dpms = true # animate_manual_resizes = true # animate_mouse_windowdragging = true middle_click_paste = false enable_swallow = true swallow_regex = ^(Alacritty|alacritty-float)$ new_window_takes_over_fullscreen = 2 } # binds { # workspace_back_and_forth = true # } ############# ### INPUT ### ############# # https://wiki.hyprland.org/Configuring/Variables/#input input { kb_layout = us kb_variant = kb_model = kb_options = kb_rules = follow_mouse = 1 # scroll_factor = 1.0 sensitivity = 0 # -1.0 - 1.0, 0 means no modification. numlock_by_default = true # touchpad { # natural_scroll = false # } } cursor { allow_dumb_copy = true } plugin { overview { enabled = true disableGestures = true panelHeight = 150 } # hyprfocus { # enabled = yes # focus_animation = shrink # animate_floating = yes # animate_worksapcechange = yes # } } source = ~/.config/hypr/env.conf source = ~/.config/hypr/rules.conf source = ~/.config/hypr/binds.conf source = ~/.config/hypr/autostart.conf debug:disable_logs = false Config File: /home/system/.config/hypr/env.conf: Read Succeeded ############################# ### ENVIRONMENT VARIABLES ### ############################# # See https://wiki.hyprland.org/Configuring/Environment-variables/ env = XCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24 env = HYPRCURSOR_THEME,Bibata-Rainbow-Modern # Nvidia env = LIBVA_DRIVER_NAME,nvidia env = GBM_BACKEND,nvidia-drm env = __GLX_VENDOR_LIBRARY_NAME,nvidia env = __GL_GSYNC_ALLOWED,1 # XDG env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_SESSION_TYPE,wayland env = XDG_SESSION_DESKTOP,Hyprland # QT env = QT_AUTO_SCREEN_SCALE_FACTOR,1 env = QT_QPA_PLATFORM=wayland;xcb # Not yet working for onlyoffice-editor env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 env = QT_QPA_PLATFORMTHEME,qt6ct # env = SDL_VIDEODRIVER,wayland env = MOZ_ENABLE_WAYLAND,1 env = _JAVA_AWT_WM_NONREPARENTING,1 # Scale env = QT_AUTO_SCREEN_SCALE_FACTOR,1 # env = GDK_DPI_SCALE,1.5 # env = QT_SCALE_FACTOR,2 env = ELECTRON_OZONE_PLATFORM_HINT,auto # Input method # env = GTK_IM_MODULE,fcitx env = QT_IM_MODULE,fcitx env = QT_IM_MODULES,wayland;fcitx;ibus env = XMODIFIERS,@im=fcitx env = SDL_IM_MODULE,fcitx env = GLFW_IM_MODULE,fcitx env = INPUT_METHOD,fcitx env = XMODIFIERS,fcitx env = IMSETTINGS_MODULE,fcitx # wine env = WINEPREFIX,/opt/windows.wine # howdy avoid spam from gstreamer env = OPENCV_LOG_LEVEL,ERROR Config File: /home/system/.config/hypr/rules.conf: Read Succeeded ############################## ### WINDOWS AND WORKSPACES ### ############################## # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. # Terminal applications on workspace 1 windowrulev2 = workspace 1, class:(Alacritty|Xfce4-terminal|Kitty) # Web browsers on workspace 2 windowrulev2 = workspace 2, class:($browser|Brave-browser|chromium|firefox) # File managers on workspace 3 windowrulev2 = workspace 3, class:($fileManager|Pcmanfm|Thunar|qBittorrent|Caja) # Code editors on workspace 4 windowrulev2 = workspace 4, class:(Geany|code|code-url-handler|cursor-url-handler|code-oss|Code - OSS|install4j-burp-StartBurp|burp-StartBurp|Unity|jetbrains-pycharm-ce|Postman) # Office applications on workspace 5 windowrulev2 = workspace 5, class:(Gucharmap|Atril|Evince|libreoffice-writer|libreoffice-calc|libreoffice-impress|libreoffice|Soffice|Typora|obsidian|figma-linux|anytype|craft-nativefier-e0958b) # Communication apps on workspace 6 windowrulev2 = workspace 6, class:(Thunderbird|TelegramDesktop|Hexchat|discord|vesktop|VencordDesktop|Chat-gpt|Whatsapp-for-linux|Chatbox) # Media applications on workspace 7 windowrulev2 = workspace 7, class:(Audacity|Music|MPlayer|Lxmusic|Inkscape|Gimp|Blender|obs|zoom|Zoom|Pitivi|kdenlive|openshot|vlc|cider|Cider|shotwell|Shotwell|fr.handbrake.ghb) windowrulev2 = workspace 7, title:(Spotify|Spotify Premium) # Games on workspace 8 windowrulev2 = workspace 8, class:(Minecraft|Badlion|War|steam_proton|csgo_linux64|minecraft-launcher|lutris|genshinimpact.exe|moe.launcher.an-anime-game-launcher|lunarclient) # System/Settings applications on workspace 9 windowrulev2 = workspace 9, class:(Virt-manager|blueman-adapters|GParted|Xdm-app|timeshift-gtk|com.nextcloud.desktopclient.nextcloud|gearlever|Lxappearance|Lxtask|Lxrandr|Arandr|System-config-printer.py|Pavucontrol|Exo-helper-1|Protonvpn|Xfce4-power-manager-settings|Mysql-workbench-bin|Grub-customizer|Nitrogen|archlinux-tweak-tool.py|pamac-manager|helvum|Vmware|btrfs-assistant|Bitwarden|wootility-lekker|nwg-look|com.github.wwmm.easyeffects|kvantummanager) # Miscellaneous applications on workspace 10 windowrulev2 = workspace 10, class:(maxautoclicker|os_server|Os_server) # floating applications windowrulev2 = float, class:(alacritty-float|Pcmanfm|Onboard|Yad|zoom|Xdm-app|wechat|WeChat|sxiv|Sxiv|Firefox:Places|Viewnior|feh|Nm-connection-editor|install4j-burp-StartBurp|thorium-app.shortwave.com__-Default|thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|float|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default|Beeper|electron) # specificly sized windowrulev2 = size 40% 40%, class:(alacritty-float) # Sticky applicationsp # App that have menu on top for stayfocused windowrulev2 = stayfocused, title:(menu) # GUI Utils applications windowrulev2 = opacity 0.85 0.75, class:^Beeper$ windowrulev2 = opacity 0.85 0.75, class:(thorium-app.shortwave.com__-Default|thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default|Beeper) windowrulev2 = pin, class:(thorium-app.shortwave.com__-Default|thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default|Beeper) windowrulev2 = size 53% 60%, class:(thorium-app.shortwave.com__-Default|thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default|Beeper) # custom animation windowrulev2 = move 46.5% 5%, class:(thorium-app.shortwave.com__-Default|thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default|Beeper) windowrulev2 = animation slide right top, class:(thorium-app.shortwave.com__-Default|thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default|Beeper|blobdrop) # bitwarden chrome extension popup windowrulev2 = pin, class:(thorium-nngceckbapebfimnlniiiahkandclblb-Default) windowrulev2 = float, class:(thorium-nngceckbapebfimnlniiiahkandclblb-Default) windowrulev2 = stayfocused, class:(thorium-nngceckbapebfimnlniiiahkandclblb-Default) # for hyprshot windowrulev2 = float, class:(blobdrop) windowrulev2 = pin, class:(blobdrop) windowrulev2 = move 84% 94%, class:(blobdrop) # removes title/border windowrulev2 = fullscreenstate 0 2, class:(thorium-mdpkiolbdkhdjpekfbkbmhigcaggjagi-Profile_1|thorium-lnachpgegbbmnnlgpokibfjlmppeciah-Default) # Full screen applications # Games windowrulev2 = fullscreen, class:(genshinimpact.exe) # Special rules for Conky and stalonetray windowrulev2 = float, class:(Conky), manage=off windowrulev2 = float, class:(stalonetray), manage=off # PIP windowrulev2 = float, initialClass:^()$, title:^(Picture in picture)$ windowrulev2 = pin, initialClass:^()$, title:^(Picture in picture)$ windowrulev2 = move 74.5% 74%, initialClass:^()$, title:^(Picture in picture)$ windowrulev2 = size 25% 25%, initialClass:^()$, title:^(Picture in picture)$ windowrulev2 = noinitialfocus, initialClass:^()$, title:^(Picture in picture)$ windowrulev2 = float, title:^([Pp]icture[-\s]?[Ii]n[-\s]?[Pp]icture)(.*)$ # time-sensitive app rules windowrulev2 = float, class:^(org.freedesktop.impl.portal.desktop.kde)$ windowrulev2 = stayfocused, class:^polkit-gnome-authentication-agent-1$ windowrulev2 = stayfocused, class:^(pinentry-) windowrulev2 = stayfocused, class:^(xdg-desktop-portal.*)$ windowrulev2 = stayfocused, class:^(org.freedesktop.impl.portal.desktop.kde)$ windowrule = stayfocused, title:^(Open File)(.*)$ windowrule = stayfocused, title:^(Select a File)(.*)$ windowrule = stayfocused, title:^(Choose wallpaper)(.*)$ windowrule = stayfocused, title:^(Open Folder)(.*)$ windowrule = stayfocused, title:^(Save As)(.*)$ windowrule = stayfocused, title:^(Library)(.*)$ windowrule = stayfocused, title:^(File Upload)(.*)$ windowrulev2 = pin, class:^polkit-gnome-authentication-agent-1$ windowrulev2 = pin, class:^(pinentry-) windowrulev2 = pin, class:^(xdg-desktop-portal.*)$ windowrulev2 = pin, class:^(org.freedesktop.impl.portal.desktop.kde)$ windowrulev2 = dimaround, class:^polkit-gnome-authentication-agent-1$ windowrulev2 = dimaround, class:^(pinentry-) windowrulev2 = dimaround, class:^(xdg-desktop-portal.*)$ windowrule = center, title:^(Open File)(.*)$ windowrule = center, title:^(Select a File)(.*)$ windowrule = center, title:^(Choose wallpaper)(.*)$ windowrule = center, title:^(Open Folder)(.*)$ windowrule = center, title:^(Save As)(.*)$ windowrule = center, title:^(Library)(.*)$ windowrule = center, title:^(File Upload)(.*)$ windowrulev2 = float, class:^(xdg-desktop-portal.*)$ windowrule=float,title:^(Open File)(.*)$ windowrule=float,title:^(Select a File)(.*)$ windowrule=float,title:^(Choose wallpaper)(.*)$ windowrule=float,title:^(Open Folder)(.*)$ windowrule=float,title:^(Save As)(.*)$ windowrule=float,title:^(Library)(.*)$ windowrule=float,title:^(File Upload)(.*)$ # rofi windowrulev2 = float, class:(Rofi) windowrulev2 = pin, class:(Rofi) windowrulev2 = dimaround, class:(Rofi) # util apps windowrulev2 = float, title:(nmd|cliphist|pulsemixer|ranger|btop) windowrulev2 = stayfocused, title:(btop) windowrulev2 = pin, title:(nmd|cliphist|pulsemixer|ranger|btop) windowrulev2 = dimaround, title:(nmd|cliphist|pulsemixer|ranger|btop) windowrulev2 = stayfocused, title:(rofi - Command|rofi - Confirmation|rofi - ArchLinux (hyprland)) # No shadow for tiled window windowrulev2 = noshadow,floating:0 # Opacity rules # windowrule = opacity 0.89 override 0.89 override, .* set in decoration # windowrulev2 = opacity 0.95 0.90, class:.+ windowrulev2 = opacity 0.85 0.75, class:^code-oss$ windowrulev2 = opacity 0.85 0.75, class:^code$ windowrulev2 = opacity 0.85 0.75, class:^code-url-handler$ windowrulev2 = opacity 0.85 0.75, class:^cursor-url-handler$ windowrulev2 = opacity 1.00 0.90, class:^TelegramDesktop$ windowrulev2 = opacity 0.90 0.80, title:Spotify windowrulev2 = opacity 0.90 0.80, class:^Cider$ windowrulev2 = opacity 0.50 0.40, class:^fcitx$ windowrulev2 = opacity 0.90 0.80, class:^Brave-browser$ windowrulev2 = opacity 0.90 0.80, class:^thunar$ windowrulev2 = opacity 0.85 0.75, class:^discord$ windowrulev2 = opacity 0.90 0.80, class:^Caja$ windowrulev2 = opacity 0.80 0.70, class:^polkit-gnome-authentication-agent-1$ windowrulev2 = opacity 0.8 0.5, title:New Tab # Layer rules/blur # layerrule = blur,rofi # layerrule = ignorezero,rofi # layerrule = dimaround,rofi layerrule = blurpopups layerrule = blur,notifications layerrule = ignorezero,notifications layerrule = blur,swaync-notification-window layerrule = ignorezero,swaync-notification-window layerrule = blur,swaync-control-center layerrule = ignorezero,swaync-control-center layerrule = blur,logout_dialog layerrule = blur,waybar layerrule = ignorezero, waybar layerrule = blur,syshud layerrule = ignorezero, syshud # layerrule = blur,$browser # xwaylandvideobridge windowrulev2 = opacity 0.0 override, class:^(xwaylandvideobridge)$ windowrulev2 = noanim, class:^(xwaylandvideobridge)$ windowrulev2 = noinitialfocus, class:^(xwaylandvideobridge)$ windowrulev2 = maxsize 1 1, class:^(xwaylandvideobridge)$ windowrulev2 = noblur, class:^(xwaylandvideobridge)$ # Tearing windowrule = immediate,.*\.exe windowrulev2 = immediate,class:(steam_app) windowrulev2 = immediate,class:(Minecraft.*) windowrulev2 = immediate,class:(genshinimpact.exe) windowrulev2 = immediate,class:(Lunar Client.*) windowrulev2 = immediate,class:(lunarclient) windowrulev2 = plugin:chromakey,fullscreen:0 plugin:chromakey_background = rgb(07121b) Config File: /home/system/.config/hypr/binds.conf: Read Succeeded #################### ### KEYBINDINGSS ### #################### binds { allow_workspace_cycles = yes } # See https://wiki.hyprland.org/Configuring/Keywords/ $mainMod = SUPER # Sets "SUPER" key as main modifier # Launching... bind = $mainMod, return, exec, $terminal bind = $mainMod shift, return, exec, $terminal --class "alacritty-float,alacritty-float" # bind = $mainMod space, return, exec, $terminal start --class pseudo bind = super alt, Delete, exec, $rofiexec/rofi_powermenu bind = alt, F1, exec, $rofiexec/rofi_launcher bind = alt, F2, exec, $rofiexec/rofi_runner bind = $mainMod, period, exec, $rofiexec/rofi_emoji # utils bind = $mainMod, c, exec, $rofiexec/rofi_configs bind = $mainMod, m, exec, $rofiexec/rofi_music bind = $mainMod, n, exec, nmd bind = $mainMod, r, exec, $rofiexec/rofi_asroot bind = $mainMod, s, exec, $rofiexec/rofi_screenshot bind = $mainMod, v, exec, cliphist list | $menu | cliphist decode | wl-copy bind = $mainMod, w, exec, $rofiexec/rofi_windows bind = $mainMod, x, exec, $rofiexec/rofi_powermenu bind = $mainMod, b, exec, $rofiexec/rofi_bluetooth # GUI bind = $mainMod shift, f, exec, $fileManager bind = $mainMod shift, w, exec, $browser --restore-last-session bind = $mainMod shift, e, exec, cursor bind = $mainMod shift, d, exec, discord $waylandarg bind = $mainMod shift, b, exec, beeper $waylandarg # CLI bind = ctrl alt, a, exec, $termfloat -T pulsemixer -e pulsemixer bind = ctrl alt, r, exec, $termfloat -T ranger -e ranger bind = ctrl alt, v, exec, $termfloat -e $editor # Emergency bind = ctrl alt, b, exec, $termfloat -T btop -e sudo nice -n -20 sudo btop bind = ctrl alt, delete, exec, $rofiexec/rofi_shutdown_menu # Misc # bind = ctrl alt, m, exec, music bind = $mainMod, p, exec, hyprpicker --autocopy bind = ctrl alt, l, exec, hyprlock # Misc bind = $mainMod shift, g, exec, gtk-launch shortwave.desktop # bind = $mainMod shift, c, exec, gtk-launch google-chat.desktop # XF86 keys & Misc bind = ,XF86Print, exec, $HOME/scripts/sysutil.sh screenshot --now bind = alt, XF86AudioMute, exec, $HOME/scripts/sysutil.sh screenshot --in5sec bind = $mainMod shift, s, exec, $HOME/scripts/sysutil.sh screenshot --area # Volume bind = ,XF86AudioRaiseVolume, exec, $HOME/scripts/sysutil.sh volume --inc bind = ,XF86AudioLowerVolume, exec, $HOME/scripts/sysutil.sh volume --dec bind = ,XF86AudioMute, exec, $HOME/scripts/sysutil.sh volume --toggle bind = ,XF86AudioMicMute, exec, $HOME/scripts/sysutil.sh volume --toggle-mic bind = ,XF86AudioNext, exec, playerctl -p spotify next bind = ,XF86AudioPrev, exec, playerctl -p spotify previous bindl = ,XF86AudioPlay, exec, playerctl -p spotify play-pause bind = ,XF86AudioStop, exec, playerctl -p spotify stop bind = ,XF86PowerOff, exec, $rofiexec/rofi_shutdown # Pause bind = , Pause, exec, hyprfreeze -s -a # Brightness bind = ,XF86MonBrightnessUp, exec, $HOME/scripts/sysutil.sh brightness --inc bind = ,XF86MonBrightnessDown, exec, $HOME/scripts/sysutil.sh brightness --dec # Window management bind = $mainMod, d, exec, $HOME/scripts/hyprhide h bind = $mainMod, i, exec, $HOME/scripts/hyprhide s bind = $mainMod, q, killactive bind = $mainMod shift, q, exec, kill -9 $(hyprctl activewindow | grep pid | tail -1 | awk '{print$2}') bind = ctrl alt, escape, exec, hyprctl kill bind = ctrl $mainMod shift, r, exec, systemctl restart $sessionManager bind = ctrl $mainMod, escape, exec, killall -SIGUSR2 waybar # bind = ctrl, up, hyprexpo:expo, on # bind = ctrl, down, hyprexpo:expo, off # bind = ctrl, up, overview:open # bind = ctrl, down, overview:close # bind = alt, tab, exec, hyprswitch gui # bind = alt, grave, exec, hyprswitch gui --reverse # bindr = alt, tab, exec, hyprswitch close # bindr = alt, grave, exec, hyprswitch close bind = alt, tab, exec, /home/system/.cargo/bin/hyprswitch gui --mod-key alt_l --key tab --close mod-key-release && hyprswitch dispatch bind = alt, grave, exec, /home/system/.cargo/bin/hyprswitch gui --mod-key alt_l --key tab --close mod-key-release && hyprswitch dispatch -r # restart bar bind = ctrl alt, left, workspace, -1 bind = ctrl alt, right, workspace, +1 bind = $mainMod shift, left, movewindow, l bind = $mainMod shift, right, movewindow, r bind = $mainMod shift, up, movewindow, u bind = $mainMod shift, down, movewindow, d bind = alt shift, right, resizeactive, 10 0 bind = alt shift, left, resizeactive, -10 0 bind = alt shift, up, resizeactive, 0 -10 bind = alt shift, down, resizeactive, 0 10 bind = $mainMod, f, fullscreen, bind = $mainMod, space, togglefloating, bind = $mainMod shift, space, pseudo, # dwindle bind = $mainMod shift, h, 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, movetoworkspacesilent, 10 # Scroll through existing workspaces with mainMod + scroll # use waybar # 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 # chroma bind = $mainMod, O, togglechromakey Config File: /home/system/.config/hypr/autostart.conf: Read Succeeded ################# ### AUTOSTART ### ################# # Autostart necessary processes (like notifications daemons, status bars, etc.) # Or execute your favorite apps at launch like this: # seems to be builtin? # exec-once = dbus-update-activation-environment --all && dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # exec-once = systemctl --user import-environment XDG_SESSION_TYPE XDG_CURRENT_DESKTOP WAYLAND_DISPLAY QT_QPA_PLATFORMTHEME # FIX CURSOR because keep reseting(see: https://www.reddit.com/r/hyprland/comments/1fgfmqb/gtk_apps_not_respecting_cursor_theme/) # exec-once = gsettings set org.gnome.desktop.interface cursor-theme Bibata-Rainbow-Modern exec-once = hyprctl setcursor Bibata-Rainbow-Modern 24 # Launch hyprland plugins exec-once = hyprpm reload || hyprpm update # Start pyprland daemon exec-once = pyprland # Waybar exec-once = waybar # Hypr-Eco # exec-once = hyprpaper exec-once = $SCRIPTSDIR/hyprpaper.sh exec-once = hypridle # XWayland exec-once = xrdb -merge ~/.Xresources # Auth agent # exec-once = systemctl --user start plasma-polkit-agent # doesnt respect themeing exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 # keyring agent exec-once = gnome-keyring-daemon --start --components=pkcs11,secrets,ssh # Location service exec-once = /usr/lib/geoclue-2.0/demos/agent & # input method exec-once = fcitx5 -d # app armor notifications # exec-once = aa-notify -p -s 1 -w 60 -f /var/log/audit/audit.log & # Clipboard history exec-once = wl-paste --watch cliphist store & exec-once = wl-paste --type text --watch cliphist store exec-once = wl-paste --type image --watch cliphist store exec-once = wl-clip-persist --clipboard regular # Notification agent exec-once = swaync # window swicher daemon exec-once = hyprswitch init # audio auto adjust exec-once = $HOME/scripts/audio-autoAdjust.sh --daemon # effect for audio exec-once = easyeffects --gapplication-service # startup sound exec-once = $HOME/scripts/startupsound.sh # misc # sys hud exec-once = syshud -M audio_in,audio_out,brightness -b /sys/bus/ddcci/devices/ddcci13/backlight/ddcci13/ # night light exec-once = gammastep -l geoclue2 # user applications exec-once = udiskie exec-once = bitwarden-desktop exec-once = kdeconnectd # exec-once = input-leap # doesnt work yet exec-once = nextcloud --background exec-once = discord --start-minimized exec-once = beeper --hidden exec-once = echo 'ddcci 0x37' | sudo tee /sys/bus/i2c/devices/i2c-13/new_device ======Config-End======== ```

Description

after enabling vrr=1. everything is fine until a reboot

How to reproduce

  1. i own a nvidia gpu
  2. my monitor supports freesync permium
  3. enable freesync permium & vrr
  4. reboot

Crash reports, logs, images, videos

No response

vaxerski commented 1 month ago

don't use vrr then. Likely an nvidia issue

Ommp commented 5 days ago

This might not necessarily be related to Nvidia cards, or even Hyprland. In my case, I got this issue even with an AMD GPU (6900 XT). I also get a flickering problem in KDE Plasma when using VRR there. It could possibly be the monitor itself or some hardware issue.

My workaround is setting the variable "vrr = 2" instead of "vrr = 1". It makes the flickering only happen in fullscreen windows, and it's usually not noticeable in games for me.

Atemu commented 1 day ago

The flickering issue is caused by your monitor being shite and not being able to handle the jumps in refresh rate you're subjecting it to.

Turn of VRR if your monitor is not actually capable of handling VRR. Complain to whoever sold it to you on the promise that it is capable and get a refund if you can.

A blocklist for bad monitors could be considered but that's polish IMHO.