Hyprland icon indicating copy to clipboard operation
Hyprland copied to clipboard

Flickering on second monitor only

Open Ciflire opened this issue 1 year ago • 1 comments

System Info and Version

System/Version info
Hyprland, built from branch  at commit 553232a3e4c112c8511309e6b685cb614895e714  ().
Date: 2024-05-25
Tag: , commits: 

flags: (if any)


System Information:
System name: Linux
Node name: nixos
Release: 6.9.1
Version: #1-NixOS SMP PREEMPT_DYNAMIC Fri May 17 10:18:09 UTC 2024


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] Rembrandt [Radeon 680M] [1002:1681] (rev c8) (prog-if 00 [VGA controller])


os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.11.20240524.bfb7a88"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.11 (Vicuña)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.11 (Vicuña)"
VERSION_CODENAME="vicuña"
VERSION_ID="24.11"


plugins:

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


Config File: /home/ciflire/.config/hypr/hyprland.conf: Read Succeeded
$mod = SUPER
$menu = wofi

source = ~/.config/hypr/animations.conf
source = ~/.config/hypr/windowrule.conf
source = ~/.config/hypr/workspaces.conf
source = ~/.config/hypr/monitors.conf
source = ~/.config/hypr/decoration.conf
source = ~/.config/hypr/keybindings.conf
source = ~/.config/hypr/variables.conf


# exec-once = ags&
exec-once = /nix/store/025hss8vnjq3lj1nqra1frwr3x5v9fgn-polkit-kde-agent-1-5.27.10/libexec/polkit-kde-authentication-agent-1&
exec-once = wl-paste --type text --watch cliphist store & #Stores only text data
exec-once = wl-paste --type image --watch cliphist store & #Stores only image data
exec-once = arrpc&
exec-once = ags&


input { 
	kb_layout = fr,us
	kb_options = grp:alt_shift_toggle

}
	


Config File: /home/ciflire/.config/hypr/animations.conf: Read Succeeded
animations {
    enabled = true

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

    bezier = myBezier, 0.05, 0.9, 0.1, 1.05
    bezier = bezierWindowsIn, 0.5,0.5,0.5,0.5


    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/ciflire/.config/hypr/windowrule.conf: Read Succeeded
windowrulev2 = opacity 0.85 blur,class:^(kitty)$
windowrulev2 = float, class:^(org.kde.polkit-kde-authentication-agent-1)$
windowrulev2 = float, title:^(Steam Settings)$
windowrulev2 = float, title:^(pulsemixer)$
windowrulev2 = float, title:^(Bitwarden)$
windowrulev2 = float, initialTitle:^(Calendar Reminders)$
windowrulev2 = float, class:^(Matplotlib)$
windowrulev2 = opacity 0, class:^(hyprlock)$
windowrulev2 = float, class: ^(net.davidotek.pupgui2)$


Config File: /home/ciflire/.config/hypr/workspaces.conf: Read Succeeded
# Generated by nwg-displays on 2024-04-15 at 17:17:34. Do not edit manually.

workspace=1,monitor:eDP-2,default:true
workspace=2,monitor:HDMI-A-1,default:true
workspace=3,monitor:eDP-2
workspace=4,monitor:HDMI-A-1
workspace=5,monitor:eDP-2
workspace=6,monitor:HDMI-A-1
workspace=7,monitor:HDMI-A-1
workspace=8,monitor:eDP-1,default:true
workspace=9,monitor:eDP-1
workspace=10,monitor:eDP-1


Config File: /home/ciflire/.config/hypr/monitors.conf: Read Succeeded
# Generated by nwg-displays on 2024-05-27 at 00:14:38. Do not edit manually.

monitor=eDP-2,[email protected],0x0,1.0
monitor=HDMI-A-1,[email protected],1920x0,1.0


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

    gaps_in = 5
    gaps_out = 10
    border_size = 1
    col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
    col.inactive_border = rgba(595959aa)

    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
    new_optimizations = on
    size = 4
    passes = 3
    ignore_opacity = true
  }
    drop_shadow = true
    shadow_range = 4
    shadow_render_power = 3
    col.shadow = rgba(1a1a1aee)
}




debug:disable_logs=false


Config File: /home/ciflire/.config/hypr/keybindings.conf: Read Succeeded

# Move focus with mainMod + arrow keys
bind = $mod, h, movefocus, l
bind = $mod, l, movefocus, r
bind = $mod, k, movefocus, u
bind = $mod, j, movefocus, d

bind = $mod, return, exec, kitty
bind = $mod, D, exec, $menu --show drun
bind = $mod, W, exec, $menu -show window
bind = $mod, Q, killactive
bind = $mod, F, fullscreen
bind = $mod, V, togglefloating
bind = $mod, S, exec, spotify
bind = $mod, T, exec, thunderbird
bind = $mod SHIFT, L, exec, hyprlock
bind = $mod, N, exec, thunar
bind = $mod, escape, exec, wlogout
# bind = $mod, H, exec, $menu -show keys
bind = $mod, B, exec, rofi-bluetooth

# Switch workspaces with mainMod + [0-9]
bind = $mod, ampersand, workspace, 1
bind = $mod, eacute, workspace, 2
bind = $mod, quotedbl, workspace, 3
bind = $mod, apostrophe, workspace, 4
bind = $mod, parenleft, workspace, 5
bind = $mod, minus, workspace, 6
bind = $mod, egrave, workspace, 7
bind = $mod, underscore, workspace, 8
bind = $mod, ccedilla, workspace, 9
bind = $mod, agrave, workspace, 0

# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mod SHIFT, ampersand, movetoworkspace, 1
bind = $mod SHIFT, eacute, movetoworkspace, 2
bind = $mod SHIFT, quotedbl, movetoworkspace, 3
bind = $mod SHIFT, apostrophe, movetoworkspace, 4
bind = $mod SHIFT, parenleft, movetoworkspace, 5
bind = $mod SHIFT, minus, movetoworkspace, 6
bind = $mod SHIFT, egrave, movetoworkspace, 7
bind = $mod SHIFT, underscore, movetoworkspace, 8
bind = $mod SHIFT, ccedilla, movetoworkspace, 9
bind = $mod SHIFT, agrave, movetoworkspace, 0

# Screenshots
bind = $mod, print, exec, grimblast save area - | swappy -f -

# Backlight
binde = , XF86MonBrightnessUp, exec, brightnessctl set +5%
binde = , XF86MonBrightnessDown, exec, brightnessctl set 5%-
binde =  , XF86KbdBrightnessUp, exec, brightnessctl -d asus::kbd_backlight set +1
binde =  , XF86KbdBrightnessDown, exec, brightnessctl -d asus::kbd_backlight set 1-

# Audio control
binde =  , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+
binde = , LaunchApplication6, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+
binde =  , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bind =  , XF86AudioMute, exec, wpctl set-mute @DEFAULT_SINK@ toggle


# move/resize windows
bindm = $mod, mouse:272, movewindow
bindm = $mod, mouse:273, resizewindow

bind = SUPER, C, exec, cliphist list | $menu -dmenu | cliphist decode | wl-copy



Config File: /home/ciflire/.config/hypr/variables.conf: Read Succeeded
env = WLR_NO_HARDWARE_CURSORS,1

env = HYPRCURSOR_THEME, rose-pine-hyprcursor
env = HYPRCURSOR_SIZE, 24


env = GDK_BACKEND,wayland,x11
#env = WAYLAND_DISPLAY,wayland-1
env = QT_QPA_PLATFORM,wayland;xcb
env = QT_QPA_PLATFORMTHEME,qt6ct
env = GDK_SCALE,1

#Screensharing
env = XDG_CURRENT_DESKTOP, Hyprland
env = XDG_SESSION_TYPE, wayland
env = XDG_SESSION_DESKTOP, Hyprland
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP

# Required for Nvidia
env = LIBVA_DRIVER_NAME,nvidia
env = GBM_BACKEND,nvidia-drm
env = EGL_PLATFORM,wayland
env = ELECTRON_OZONE_PLATFORM_HINT,auto
env = MOZ_ENABLE_WAYLAND,1
env = MOZ_WAYLAND_USE_VAAPI,1
env = MOZ_DBUS_REMOTE,1
env = MOZ_ACCELERATED,1
env = MOZ_WEBRENDERER,1
env = MOZ_DISABLE_RDD_SANDBOX,1
env = _JAVA_AWT_WM_NONREPARENTING,1
env = WLR_USE_LIBINPUT,1
env = __GL_VRR_ALLOWED,1
env = WLR_DRM_NO_ATOMIC,1
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
opengl {
    nvidia_anti_flicker = false
}
misc {
  vrr = 1
}
# env= XCURSOR_THEME,BreezeX-Dark
# env = XCURSOR_SIZE,32

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

Bug or Regression?

Bug

Description

There's a wierd flickering in the corner hereon my secondary screen. I'm on a laptop with a 3060 nvidia card. This screen is connected using HDMI (I will try with usb-c-DP asap) Tried with another monitor same issue Tried with both 555 and 550 Same issue on sway (that present long before this one) This is a video of the screen as I cannot record it via OBS for example, this artifact doesn't appear

How to reproduce

It appears this issue happens when a lot of refreshes on this corner of the screen is required a video for example or moving a window to fast

Crash reports, logs, images, videos

https://github.com/hyprwm/Hyprland/assets/39668077/04d744b4-ab23-4602-8aaf-703fdd65788f

Ciflire avatar May 26 '24 22:05 Ciflire

This is fixed when removing the

opengl {
  nvidia_anti_flicker = true
}

Ciflire avatar May 26 '24 22:05 Ciflire

nvidia moment

vaxerski avatar May 27 '24 20:05 vaxerski