Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Screen flicker in games. #7166

Closed
Plyply99 opened this issue Aug 3, 2024 · 1 comment
Closed

Screen flicker in games. #7166

Plyply99 opened this issue Aug 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Plyply99
Copy link

Plyply99 commented Aug 3, 2024

Regression?

Yes

System Info and Version

System/Version info
Hyprland, built from branch main at commit 9f5a57ff4569db57372bd86bd48add85a3a1a5e4  ().
Date: Sat Aug 03 00:02:10 2024
Tag: , commits: 5046

flags: (if any)


System Information:
System name: Linux
Node name: plyply-pc
Release: 6.9.12-200.fc40.x86_64
Version: #1 SMP PREEMPT_DYNAMIC Sat Jul 27 15:56:15 UTC 2024


GPU information: 
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M] [1002:744c] (rev c8) (prog-if 00 [VGA controller])


os-release: NAME="Fedora Linux"
VERSION="40 (Workstation Edition)"
ID=fedora
VERSION_ID=40
VERSION_CODENAME=""
PLATFORM_ID="platform:f40"
PRETTY_NAME="Fedora Linux 40 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:40"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f40/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=40
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=40
SUPPORT_END=2025-05-13
VARIANT="Workstation Edition"
VARIANT_ID=workstation


plugins:

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


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

# See https://wiki.hyprland.org/Configuring/Monitors/
#monitor=,preferred,auto,auto
monitor = , 3840x2160@120, auto, auto

# Source a file (multi-file configs)
# Source = ~/.config/hypr/myColors.conf

# Env vars.
env = PATH, $HOME/.local/bin:$PATH
env = HYPRCURSOR_THEME, Graphite-Recolored-Dracula-Green
env = HYPRCURSOR_SIZE, 48
env = XCURSOR_THEME, Graphite-Recolored-Dracula-Green
env = XCURSOR_SIZE, 48
env = WLR_NO_HARDWARE_CURSORS, 1
env = MOZ_ENABLE_WAYLAND, 1
env = MOZ_WAYLAND_USE_VAAPI, 1
env = QT_QPA_PLATFORMTHEME, qt6ct #qt5ct
env = QT_QPA_PLATFORM, wayland
env = XDG_SESSION_TYPE, wayland
env = XDG_CURRENT_DESKTOP, Hyprland
env = XDG_SESSION_DESKTOP, Hyprland
env = ENABLE_VKBASALT, 1
env = MANGOHUD, 1

# Startup
#exec-once = hyprpm reload -n
exec-once = sleep 3 && waybar
exec-once = /usr/libexec/polkit-gnome-authentication-agent-1
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = mako    #Notifications
exec-once = hyprctl setcursor Graphite-Recolored-Dracula-Green 48
#exec-once = swaybg -i /home/plyply/.local/share/backgrounds/macaw.jpg
exec-once = mpvpaper '*' -o "no-audio loop" ~/Videos/hammock.mkv
exec-once = easyeffects --gapplication-service
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store
exec-once = input-remapper-control --command stop-all && input-remapper-control --command autoload

# silently launch kitty in special workspace
exec-once = [workspace special silent] kitty --hold fastfetch

# Blurls, Blurs and Opacities. Use 'hyprctl clients' to view windows, 'hyprctl layers' for... layers.
#blurls = waybar
blurls = notifications
blurls = gtk-layer-shell
blurls = ags
blurls = top
blurls = overlay
blurls = thunar
blurls = gedit
layerrule = blur,^(rofi)$
layerrule = ignorezero, notifications

# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrule = float, title:^(WTTR)$
windowrule = size 1500 1000, title:^(WTTR)$
windowrule = float, title:^(CRYPTO)$
windowrule = size 1050 400, title:^(CRYPTO)$
#windowrulev2 = stayfocused, title:^()$,class:^(steam)$
#windowrulev2 = minsize 1 1, title:^()$,class:^(steam)$
windowrulev2 = float, class:^(com.vysp3r.ProtonPlus)$
windowrulev2 = float, class:^(file-roller)$
windowrulev2 = float, class:^(gnome-tweaks)$
windowrulev2 = float, class:^(gnome-disks)$
windowrulev2 = float, class:^(lutris)$
windowrulev2 = float, class:^(WowUpCf)$
windowrulev2 = float, class:^(input-remapper-gtk)$
windowrulev2 = opacity .95 override 0.85 override, class:^(org.gnome.Nautilus)$
windowrulev2 = opacity .95 override 0.85 override, class:^(thunar)$
windowrulev2 = opacity .95 override 0.85 override, class:^(neovide)$
windowrulev2 = opacity .95 override 0.85 override, class:^(org.gnome.TextEditor)$
windowrulev2 = opacity .95 override 0.85 override, class:^(emacs)$ # PGTK
windowrulev2 = opacity .95 override 0.85 override, class:^(Emacs)$ # Xwayland
windowrulev2 = opacity .95 override 0.85 override, class:^(geany)$

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

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod CONTROL, W, exec, killall waybar && waybar
bind = $mainMod, F, exec, nautilus
bind = $mainMod, Return, exec, kitty --hold fastfetch
bind = $mainMod SHIFT, Return, togglespecialworkspace
bind = $mainMod, Q, killactive, 
bind = $mainMod, T, exec, emacs #gnome-text-editor
bind = $mainMod, B, exec, firefox #flatpak run com.vivaldi.Vivaldi --password-store=basic #--force-device-scale-factor=1.25 %U
bind = $mainMod CONTROL, Q, exec, shutdown now 
bind = $mainMod CONTROL, S, exec, systemctl suspend
bind = $mainMod CONTROL, R, exec, reboot
bind = $mainMod CONTROL, L, exec, pkill -u plyply #Logout
bind = $mainMod SHIFT, V, togglefloating
bind = $mainMod SHIFT, V, centerwindow
bind = $mainMod SHIFT, F, fullscreen
bind = $mainMod CONTROL, V, exec,  cliphist list | rofi -dmenu | cliphist decode | wl-copy
bindr = $mainMod, $mainMod_L, exec, rofi -show drun || pkill rofi
#bind = $mainMod, grave, hyprexpo:expo, toggle # can be: toggle, off/disable or on/enable

# Screen shots and record
bind = $mainMod, F12, exec, aplay ~/Music/click.wav && ~/.local/bin/hyprshot -m output -m DP-1 -o ~/Pictures/Screenshots/ # Screenshot
bind = $mainMod SHIFT, F12, exec, aplay ~/Music/click.wav && ~/.local/bin/hyprshot -m region -o ~/Pictures/Screenshots/ # Area snip
#bind = $mainMod CONTROL , F12, exec, flatpak run com.dec05eba.gpu_screen_recorder
bind = $mainMod CONTROL, F12, exec, aplay ~/Music/click.wav && pkill wl-screenrec || wl-screenrec -f ~/Videos/Screencasts/screenrecord.mp4 # Video record
bind = $mainMod SHIFT CONTROL, F12, exec, aplay ~/Music/click.wav && pkill wl-screenrec || wl-screenrec -g "$(slurp)" -f ~/Videos/Screencasts/screenrecord.mp4  # Area video record 


# HyprScroller PaperWM binds
#bind = $mainMod SHIFT, I, scroller:admitwindow
#bind = $mainMod SHIFT, I, scroller:setmode, column
#bind = $mainMod SHIFT, I, scroller:fitsize, all
#bind = $mainMod SHIFT, O, scroller:expelwindow


# 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
bind = $mainMod SHIFT, Page_Up, movetoworkspace, e-1
bind = $mainMod SHIFT, Page_Down, movetoworkspace, e+1

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

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

#Move windows/resiz windows with keyboard
bind = $mainMod CONTROL, left, movewindow, l
binde = $mainMod CONTROL ALT, left, resizeactive, -30 0
bind = $mainMod CONTROL, right, movewindow, r
binde = $mainMod CONTROL ALT, right, resizeactive, 30 0
bind = $mainMod CONTROL, up, movewindow, u
binde = $mainMod CONTROL ALT, up, resizeactive, 0 -30
bind = $mainMod CONTROL, down, movewindow, d
binde = $mainMod CONTROL ALT, down, resizeactive, 0 30

# Audio
binde = ,xf86audiomute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
binde = ,xf86audiolowervolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
binde = ,xf86audioraisevolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+

# Media bindings
bind=, 172, exec, playerctl play-pause
bind=, 171, exec, playerctl next
bind=, 173, exec, playerctl previous

# Tiling binds
bind = $mainMod SHIFT, P, pseudo, # dwindle
bind = $mainMod SHIFT, J, togglesplit, # dwindle

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

    follow_mouse = 1

    touchpad {
        natural_scroll = no
    }

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

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

#    cursor_inactive_timeout = 0

    gaps_in = 4
    gaps_out = 8
    border_size = 4
    col.active_border = rgba(f1f1f1ee) #rgba(bd93f9ff) rgba(50fa7bff) 90deg
    col.inactive_border = rgba(1e1e1eee) #rgba(000000aa)

    layout = dwindle
    #layout = scroller
    #layout = master
}

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
    smart_resizing = yes
    force_split = 2
}

master {
    # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
    new_status = slave
    allow_small_split = false
    special_scale_factor = .80
    mfact = 0.33
    orientation = center
    inherit_fullscreen = false
    always_center_master = false
}

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

    blur {
        enabled = true
        size = 7
        passes = 3
        new_optimizations = true
        ignore_opacity = true
        noise = 0.0
        contrast = 1
        brightness = 1
         }

         rounding = 12
         drop_shadow = true
         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 = Bez1, .55, .9, 0.1, 1.25
    bezier = Bez2, 0.37, 0, 0.63, 1
    bezier = Bez3, 0.68, -0.55, 0.265, 1.55

    #animation = windows, 1, 5, default
    animation = windowsIn, 1, 5, default, slide
    animation = windowsOut, 1, 5, default, slide
    animation = windowsMove, 1, 5, default
    animation = border, 1, 5, default
    animation = borderangle, 1, 5, default
    animation = fade, 1, 5, default
    animation = workspaces, 1, 5, Bez3
}


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

# 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
}

# Plugins
plugin {
    hyprexpo {
        columns = 3
        gap_size = 4
        bg_col = rgb(111111)
        workspace_method = center current # [center/first] [workspace] e.g. first 1 or center m+1

        enable_gesture = true # laptop touchpad
        gesture_fingers = 3  # 3 or 4
        gesture_distance = 300 # how far is the "max"
        gesture_positive = true # positive = swipe down. Negative = swipe up.
    }
}

Description

Games have flicker on git branch of Hyprland.

Hyprland, built from branch main at commit 9f5a57f ().
Date: Sat Aug 03 00:02:10 2024
Tag: , commits: 5046

Video_2024-08-03_11-08-46.mp4

Stable branch renders fine.

Hyprland, built from branch at commit 918d834 (flake.lock: update).
Date: Tue Jun 25 12:06:02 2024
Tag: v0.41.2, commits: 4886

Video_2024-08-03_11-16-55.mp4

All tests ran on kernel version 6.9.12 Fedora. I also tested on kernel 6.10.2-ZEN on Arch linux with same results.

How to reproduce

Use git Hyprland.

Crash reports, logs, images, videos

No response

@Plyply99 Plyply99 added the bug Something isn't working label Aug 3, 2024
@vaxerski
Copy link
Member

vaxerski commented Aug 3, 2024

please use the search feature #6964

@vaxerski vaxerski closed this as not planned Won't fix, can't repro, duplicate, stale Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants