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
20.92k stars 878 forks source link

Unable to share screen on version 0.42+ #8015

Open JoshElias opened 1 week ago

JoshElias commented 1 week ago

Already reported ? *

Regression?

Yes

System Info and Version

System/Version info ```sh Hyprland, built from branch at commit 918d8340afd652b011b937d29d5eea0be08467f5 (flake.lock: update). Date: Tue Jun 25 12:06:02 2024 Tag: v0.41.2, commits: 4886 flags: (if any) System Information: System name: Linux Node name: daemon Release: 6.11.2-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Fri, 04 Oct 2024 21:51:11 +0000 GPU information: 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 32 [Radeon RX 7700 XT / 7800 XT] [1002:747e] (rev c8) (prog-if 00 [VGA controller]) 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/josh/.config/hypr/hyprland.conf: Read Succeeded ################ ### MONITORS ### ################ # See https://wiki.hyprland.org/Configuring/Monitors/ monitor = HDMI-A-1, 3840x2160@60.000, 0x0, 1, bitdepth, 10, vrr, 1 monitor = DP-3, 2560x1440@59.999, 3840x0, 1, bitdepth, 10, transform, 1 #################### ### WORKSTATIONS ### #################### workspace = 1, monitor:HDMI-A-1, persistent:true, default:true workspace = 2, monitor:DP-3, persistent:true, default:true, layoutopt:orientation:top ################### ### MY PROGRAMS ### ################### $terminal = wezterm $fileManager = dolphin $menu = wofi --show drun $ms-edge = microsoft-edge-stable --password-store=kwallet -enable-features=UseOzonePlatform -ozone-platform=wayland $signal = signal-desktop --use-tray-icon --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --enable-webrtc-pipewire-capturer $brave = brave --password-store=kwallet --ozone-platform-hint=auto --ozone-platform=wayland $youtube = flatpak run com.stremio.Stremio $vpn = flatpak run com.protonvpn.www #################### ### OTHER VARS ### #################### $scripts = ~/.config/hypr/scripts # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = SUPER ################# ### AUTOSTART ### ################# # Auth and Keyring exec-once = /usr/lib/polkit-kde-authentication-agent-1 exec-once = /usr/lib/pam_kwallet_init # Clipboard 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 # Other # exec-once = dbus-update-activation-environment DISPLAY XAUTHORITY WAYLAND_DISPLAY exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = waybar & hyprpaper & dunst & hyprctl dispatch workspace 1 & xrandr --output HDMI-A-1 --primary & zsh -c $scripts/speakers-tv.zsh ############################# ### ENVIRONMENT VARIABLES ### ############################# # Toolkit Backend Variables env = GDK_BACKEND, wayland env = QT_QPA_PLATFORM, wayland;xcb # env = SDL_VIDEODRIVER, wayland env = CLUTTER_BACKEND, wayland # XDG Specifications env = XDG_CURRENT_DESKTOP, Hyprland env = XDG_SESSION_TYPE, wayland env = XDG_SESSION_DESKTOP, Hyprland # Qt Variables env = QT_AUTO_SCREEN_SCALE_FACTOR, 1 env = QT_WAYLAND_DISABLE_WINDOWDECORATION, 1 env = QT_QPA_PLATFORMTHEME, qt6ct # Other env = ELECTRON_OZONE_PLATFORM_HINT, wayland env = HYPRCURSOR_THEME, rose-pine-hyprcursor env = HYPRCURSOR_SIZE, 24 env = XCURSOR_SIZE, 24 env = WLR_DRM_NO_ATOMIC, 1 env = WLR_NO_HARDWARE_CURSORS, 1 # Workaround for GTK4 bug # env = GSK_RENDERER, ngl ##################### ### LOOK AND FEEL ### ##################### general { # See https://wiki.hyprland.org/Configuring/Variables/ for more gaps_in = 5 gaps_out = 10 border_size = 2 col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg col.inactive_border = rgba(595959aa) layout = master # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on allow_tearing = true } decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more rounding = 10 active_opacity = 1.0 inactive_opacity = 1.0 drop_shadow = yes shadow_range = 4 shadow_render_power = 3 col.shadow = rgba(1a1a1aee) blur { enabled = true passes = 3 size = 3 ignore_opacity = true } } 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 } dwindle { # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = true # you probably want this } master { # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more allow_small_split = true orientation = center always_center_master = true mfact = 0.4 } misc { # See https://wiki.hyprland.org/Configuring/Variables/ for more disable_hyprland_logo = true disable_splash_rendering = true force_default_wallpaper = 0 #focus_on_activate = true } ############# ### INPUT ### ############# input { kb_layout = us kb_variant = kb_model = kb_options = kb_rules = follow_mouse = 1 #mouse_refocus = false sensitivity = 0 # -1.0 - 1.0, 0 means no modification. touchpad { natural_scroll = false } } gestures { # See https://wiki.hyprland.org/Configuring/Variables/ for more workspace_swipe = false } # Example per-device config # See https://wiki.hyprland.org/Configuring/Keywords/#executing for more device { name = epic-mouse-v1 sensitivity = -0.5 } ################### ### KEYBINDINGS ### ################### # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, T, exec, $terminal bind = $mainMod, W, killactive, bind = $mainMod, F, exec, $fileManager bind = $mainMod, V, togglefloating, bind = $mainMod, R, exec, $menu #bind = $mainMod, P, pseudo, # dwindle #bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod, A, exec, pwvucontrol # Start your web browser bind = $mainMod, B, exec, $brave #bind = $mainMod, B, exec, microsoft-edge-stable --password-store=kwallet -enable-features=UseOzonePlatform -ozone-platform=wayland bind = $mainMod SHIFT, B, exec, chromium --password-store=kwallet5 --ozone-platform-hint=auto --ozone-platform=wayland #bind = $mainMod SHIFT, B, exec, chromium --password-store=kwallet5 --ozone-platform-hint=auto --ozone-platform=wayland bind = $mainMod CTRL, B, exec, firefox bind = $mainMod ALT, B, exec, $ms-edge --inprivate # Passwords # bind = $mainMod, P, exec, $brave --app-id=hkhckfoofhljcngmlnlojcbplgkcpcab bind = $mainMod, P, exec, proton-pass --password-store=kwallet5 --ozone-platform-hint=auto --ozone-platform=wayland bind = $mainMod SHIFT, P, exec, kwalletmanager5 bind = $mainMod CTRL, P, exec, zsh -c secret # Games bind = $mainMod, G, exec, steam bind = $mainMod SHIFT, G, exec, heroic bind = $mainMod ALT, G, exec, ludusavi # Media bind = $mainMod, Y, exec, freetube #bind = $mainMod, Y, exec, $ms-edge --app-id=agimnkijcaahngcdmfeangaknmldooml bind = $mainMod SHIFT, Y, exec, stremio # VPN bind = $mainMod SHIFT, V, exec, $proton_vpn # Programming # bind = $mainMod, C, exec, code --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations bind = $mainMod, C, exec, cursor # Data bind = $mainMod, D, exec, $brave --app-id=fnnddiokljlbkmeppnclajginnfbffgb # Messaging bind = $mainMod, M, exec, $signal bind = $mainMod SHIFT, M, exec, slack --ozone-platform-hint=auto --enable-features=WebRTCPipeWireCapturer bind = $mainMod ALT, M, exec, teams-for-linux --enable-features=WebRTCPipeWireCapturer bind = $mainMod CTRL, M, exec, Discord --ozone-platform-hint=auto --enable-features=WebRTCPipeWireCapturer # BLUETOOTH bind = $mainMod, F5, exec, zsh -c bt-stunners-connect # Email # bind = $mainMod, E, exec, $brave --app-id=jnpecgipniidlgicjocehkhajgdnjekh bind = $mainMod, E, exec, proton-mail --ozone-platform=wayland --enable-features=UseOzonePlatform,WaylandWindowDecorations # Calendar bind = $mainMod SHIFT, C, exec, $brave --app-id=ojibjkjikcpjonjjngfkegflhmffeemk # Note taking bind = $mainMod, N, exec, obsidian --ozone-platform=wayland --enable-features=UseOzonePlatform,WaylandWindowDecorations # System bind = $mainMod, F10, exec, systemctl suspend bind = $mainMod SHIFT, F10, exec, shutdown now -r bind = $mainMod CTRL, F10, exec, shutdown now # Screen Capturing bind = $mainMod, X, exec, zsh -c screen-capture-area-note bind = $mainMod SHIFT, X, exec, zsh -c screen-record-area bind = $mainMod ALT, X, exec, zsh -c screen-capture-window-copy bind = $mainMod CTRL, X, exec, zsh -c $scripts/screen-capture-area-copy.zsh # Monitor bind = $mainMod, F1, exec, zsh -c $scripts/monitor-refresh-60.zsh bind = $mainMod SHIFT, F1, exec, zsh -c $scripts/monitor-refresh-120.zsh bind = $mainMod, F2, exec, zsh -c $scripts/monitor-2-off.zsh bind = $mainMod SHIFT, F2, exec, zsh -c $scripts/monitor-2-on.zsh # bind = $mainMod, F2, exec, zsh -c monitor-res-2k # bind = $mainMod, F3, exec, zsh -c monitor-bitdepth-10 # bind = $mainMod SHIFT, F3, exec, zsh -c monitor-bitdepth-8 # Audio bind = $mainMod, F3, exec, zsh -c $scripts/speakers-tv.zsh # Other Tools bind = $mainMod, A, exec, $ms-edge --app-id=eoijjdmppnkkcdhjpnnalmhdfjhkiidi # Master Layout Controls bind = $mainMod, Z, layoutmsg, focusmaster bind = $mainMod SHIFT, Z, layoutmsg, swapwithmaster bind = $mainMod ALT, Z, layoutmsg, addmaster bind = $mainMod CTRL, Z, layoutmsg, removemaster # 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 bind = $mainMod, H, movefocus, l bind = $mainMod, L, movefocus, r bind = $mainMod, K, movefocus, u bind = $mainMod, J, movefocus, d bind = $mainMod SHIFT, H, movewindow, l bind = $mainMod SHIFT, L, movewindow, r bind = $mainMod SHIFT, K, movewindow, u bind = $mainMod SHIFT, J, movewindow, 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, 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 ############################## ### WINDOWS AND WORKSPACES ### ############################## workspace = 1, monitor:HDMI-A-1, persistent:true, default:true workspace = 2, monitor:DP-3, persistent:true, default:true, layoutopt:orientation:top # 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 windowrulev2 = immediate, title:^(THE FINALS)$ windowrulev2 = immediate, title:^(Pal)$ #windowrulev2 = workspace 2, class:^(Slack)$ #windowrulev2 = workspace 2, class:^(signal)$ windowrulev2 = workspace 2, class:^(obsidian)$ windowrulev2 = workspace 1, title:^(Path of Exile)$ windowrulev2 = immediate, title:^(Path of Exile)$ windowrulev2 = immediate, title:^(DOOMEternal)$ windowrulev2 = immediate, title:^(Need for Speed™ Heat)$ windowrulev2 = immediate, title:^(Baldur's Gate 3)$ windowrulev2 = immediate, title:^(Cyberpunk 2077)$ windowrulev2 = immediate, title:^(Resident Evil 4)$ ======Config-End======== ```

Description

I'm unable to share my screen in Google Meets or OBS on every hyprland version since 0.41.2-3. I also tried the newest 0.44 but got the same result.

Let me know what logs I can include that would be helpful. I'll post my journalctl output after work since I need screen sharing working right now. The logs didn't show any errors the last I looked though.

How to reproduce

Install any version of hyprland post 0.41 and attempt to share screen with Google Meets or OBS.

Crash reports, logs, images, videos

No response

vaxerski commented 1 week ago

what's the xdph version? I feel like this is the wrong repo.

JoshElias commented 1 week ago

what's the xdph version? I feel like this is the wrong repo.

1.3.6-1. That's what I currently have installed while on hyprland 0.41. I don't think it changes when I upgrade hyprland to 0.43 or 0.44 so it should still be the same.

vaxerski commented 1 week ago

can you bisect then?