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
19.61k stars 827 forks source link

Sober fails with "wp_viewport@143: error 0: Box doesn't fit" when switching to fullscreen #7184

Closed VoidusX closed 1 month ago

VoidusX commented 1 month ago

Regression?

No

System Info and Version

System/Version info ```sh Hyprland, built from branch main at commit 5dd2c27b631f16e49a2c6e6cbbefba9fa50bf543 (). Date: Sun Aug 04 00:19:37 2024 Tag: , commits: 5050 flags: (if any) System Information: System name: Linux Node name: x86 Release: 6.9.12-200.fc40.x86_64 Version: #1 SMP PREEMPT_DYNAMIC Sat Jul 27 15:56:15 UTC 2024 GPU information: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1070 Ti] [10de:1b82] (rev a1) (prog-if 00 [VGA controller]) 07:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] [10de:1c82] (rev a1) (prog-if 00 [VGA controller]) NVRM version: NVIDIA UNIX x86_64 Kernel Module 560.28.03 Thu Jul 18 19:32:18 UTC 2024 os-release: NAME="Fedora Linux" VERSION="40 (Forty)" ID=fedora VERSION_ID=40 VERSION_CODENAME="" PLATFORM_ID="platform:f40" PRETTY_NAME="Fedora Linux 40 (Forty)" 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 plugins: hyprbars by Vaxry ver 1.0 hyprexpo by Vaxry ver 1.0 ======Config-Start====== Config File: /home/voidus/.config/hypr/hyprland.conf: Read Succeeded # █▀▀ █▄░█ █░█   █░█ ▄▀█ █▀█ # ██▄ █░▀█ ▀▄▀   ▀▄▀ █▀█ █▀▄ source = ~/.config/hypr/startup.conf source = ~/.config/hypr/env.conf source = ~/.config/hypr/windowrule.conf source = ~/.config/hypr/keybinds.conf source = ~/.config/hypr/plugins.conf source = ~/.config/hypr/cursor.conf debug { disable_logs = true enable_stdout_logs = false } # █▀▄▀█ █▀█ █▄░█ █ ▀█▀ █▀█ █▀█ # █░▀░█ █▄█ █░▀█ █ ░█░ █▄█ █▀▄ # monitor = DP-1,1366x768@60,0x0,1 monitor = DP-3,2560x1440,0x0,1 monitor = DVI-D-1,1920x1080,2560x0,1 #monitor = ,preferred,auto,auto #monitor = DP-3,preferred,auto,auto #monitor = DVI-D-1,preferred,auto,auto workspace=1, monitor:DP-3, default:true workspace=2, monitor:DVI-D-1, default:true # █ █▄░█ █▀█ █░█ ▀█▀ # █ █░▀█ █▀▀ █▄█ ░█░ input { kb_layout = us # XKB layout follow_mouse = 1 sensitivity = 0 # -1.0 - 1.0, 0 means no modification. force_no_accel = 1 # kb_model = cherryblue # XKB model # kb_variant = dvorak # XKB variant numlock_by_default = true # repeat_rate = 25 # repeat_delay = 600 # accel_profile = flat # flat, adaptive # natural_scroll = true } device{ name=wacom-intuos-bt-s-pen output=DVI-D-1 } # █▀▀ █▀▀ █▄░█ █▀▀ █▀█ ▄▀█ █░░ # █▄█ ██▄ █░▀█ ██▄ █▀▄ █▀█ █▄▄ general { gaps_in = 5 gaps_out = 5 border_size = 2 col.active_border = rgba(3f0ed280) rgba(3f0ed2ff) 45deg col.inactive_border = 0x15026eff no_border_on_floating = false # enable border on float window layout = dwindle #no_cursor_warps = true allow_tearing = true # cursor_inactive_timeout = 0 # no_focus_fallback = false # resize_on_border = false } # █▀▄▀█ █ █▀ █▀▀ # █░▀░█ █ ▄█ █▄▄ misc { disable_hyprland_logo = true disable_splash_rendering = true mouse_move_enables_dpms = true vfr = true vrr = 0 animate_manual_resizes = true mouse_move_focuses_monitor = true enable_swallow = true swallow_regex = ^(wezterm)$ } # █▀▄ █▀▀ █▀▀ █▀█ █▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ # █▄▀ ██▄ █▄▄ █▄█ █▀▄ █▀█ ░█░ █ █▄█ █░▀█ decoration { # █▀█ █▀█ █░█ █▄░█ █▀▄   █▀▀ █▀█ █▀█ █▄░█ █▀▀ █▀█ # █▀▄ █▄█ █▄█ █░▀█ █▄▀   █▄▄ █▄█ █▀▄ █░▀█ ██▄ █▀▄ rounding = 15 # multisample_edges = true # █▀█ █▀█ ▄▀█ █▀▀ █ ▀█▀ █▄█ # █▄█ █▀▀ █▀█ █▄▄ █ ░█░ ░█░ active_opacity = 0.8 inactive_opacity = 0.6 # █▄▄ █░░ █░█ █▀█ # █▄█ █▄▄ █▄█ █▀▄ blur { enabled = true size = 2 passes = 6 new_optimizations = true xray = true contrast = 0.97 ignore_opacity = true brightness = 1 popups = true } # █▀ █░█ ▄▀█ █▀▄ █▀█ █░█░█ # ▄█ █▀█ █▀█ █▄▀ █▄█ ▀▄▀▄▀ drop_shadow = true shadow_ignore_window = true #shadow_offset = 1 2 shadow_range = 25 shadow_render_power = 2 col.shadow = rgba(00000034) #blurls = gtk-layer-shell blurls = waybar blurls = lockscreen blurls = hyprlock blurls = wlogout blurls = rofi blurls = logout_dialog } # ▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ # █▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ animations { enabled = true # █▄▄ █▀▀ ▀█ █ █▀▀ █▀█   █▀▀ █░█ █▀█ █░█ █▀▀ # █▄█ ██▄ █▄ █ ██▄ █▀▄   █▄▄ █▄█ █▀▄ ▀▄▀ ██▄ bezier = wind, 0.05, 0.9, 0.1, 1.05 bezier = winIn, 0.1, 1.1, 0.1, 1.1 bezier = winOut, 0.3, -0.3, 0, 1 bezier = liner, 1, 1, 1, 1 #▄▀█ █▄░█ █ █▀▄▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ #█▀█ █░▀█ █ █░▀░█ █▀█ ░█░ █ █▄█ █░▀█ animation = windows, 1, 6, wind, slide animation = windowsIn, 1, 6, winIn, slide animation = windowsOut, 1, 5, winOut, slide animation = windowsMove, 1, 5, wind, slide animation = border, 1, 1, liner animation = borderangle, 1, 30, liner, loop animation = fade, 1, 10, default animation = workspaces, 1, 5, wind } # █░░ ▄▀█ █▄█ █▀█ █░█ ▀█▀ █▀ # █▄▄ █▀█ ░█░ █▄█ █▄█ ░█░ ▄█ dwindle { no_gaps_when_only = false 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 # new_is_master = true } Config File: /home/voidus/.config/hypr/startup.conf: Read Succeeded # █▀▀ ▀▄▀ █▀▀ █▀▀ # ██▄ █░█ ██▄ █▄▄ $alert = notify-send -h string:x-canonical-private-synchronous:hypr-cfg -u critical -t 10 exec-once = gnome-keyring-daemon --login exec-once = ~/.config/hypr/scripts/resetxdgportal.sh # reset XDPH for screenshare exec-once = hyprctl setcursor Bibata-Modern-Classic 24 # Sets cursor on Hyprland compositor, where it will sync with other apps. exec-once = /usr/libexec/polkit-gnome-authentication-agent-1 # authentication dialogue for GUI apps exec-once = echo latam > /tmp/kb_layout exec-once = wlsunset -t 5200 -S 9:00 -s 19:30 # NightLight from 7.30pm to 9am exec-once = systemctl --user restart pipewire # Restart pipewire to avoid bugs exec-once = sleep 2 && waybar # launch the system panel, delayed to prevent possible crash on startup. exec-once = dunst # start notification demon exec-once = wl-paste --type text --watch cliphist store # clipboard store text data exec-once = wl-paste --type image --watch cliphist store # clipboard store image data exec-once = swww init # Start wallpaper engine. exec-once = swww img $(find $HOME/.wallpapers -type f | shuf -n 1) --transition-type any --transition-fps 60 # Set wallpaper exec-once = udiskie & # prepare the automounting. exec-once = hyprpm enable hyprbars || $alert 'Titlebars outdated, enable manually!' && hyprpm update || $alert 'Hyprpm failed to update! Use --verbose and report to COPR repo.' exec-once = play ~/.sysounds/start/startup.mp3 -q # Welcome the user. exec-once = node ~/DiscordServices/arrpc/src # start the Rich Presence Server. exec-once = hypridle # starts the idle daemon of hyprland #exec-once = hyprlock # replacement of the sddm login screen. exec-once = systemctl --user start opentabletdriver.service # starts user service that handles wacom source = ~/.config/hypr/app-startup.conf # run any apps listed in app-startup.conf Config File: /home/voidus/.config/hypr/app-startup.conf: Read Succeeded # Custom app startup config. - Added by Voidus_X. #exec-once=sleep 1 && armcord --enable-speech-dispatcher --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-features=WebRTCPipeWireCapturer $msg = notify-send -h string:x-canonical-private-synchronous:hypr-cfg -u low exec-once=sleep 2 && $msg "Welcome to Hyprland!" exec-once= [workspace 9 silent] sleep 3.5 && flatpak run com.obsproject.Studio --disable-shutdown-check exec-once=[workspace 3] sleep 8 && librewolf exec-once= [workspace 8 silent] sleep 8 && bitwarden exec-once=[workspace 2] sleep 8.5 && vesktop exec-once=sleep 3.5 && flatpak run ch.protonmail.protonmail-bridge --noninteractive exec-once=sleep 10 && $msg "Everything should be loaded by now." Config File: /home/voidus/.config/hypr/env.conf: Read Succeeded # Nvidia-dkms env = LIBVA_DRIVER_NAME,nvidia env = GBM_BACKEND,nvidia-drm env = __GLX_VENDOR_LIBRARY_NAME,nvidia env = __EGL_VENDOR_LIBRARY_NAMEFILES,/usr/share/glvnd/egl_vendor.d/10_nvidia.json # Default env vars. env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_SESSION_TYPE,wayland env = XDG_SESSION_DESKTOP,Hyprland q # Hyprcursorsaq env = HYPRCURSOR_THEME, Bibata-Modern-Classic env = HYPRCURSOR_SIZE, 24 #env = XCURSOR_THEME,"Bibata-Modern-Classic" #env = XCURSOR_SIZE,16 # From startup.conf, moved to here to easily fix screenshare issues. exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP env = GDK_BACKEND,wayland env = QT_QPA_PLATFORM,wayland env = QT_QPA_PLATFORMTHEME,qt5ct #env = QT_STYLE_OVERRIDE,kvantum env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 env = QT_AUTO_SCREEN_SCALE_FACTOR,1 env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 env = SDL_VIDEODRIVER,wayland env = _JAVA_AWT_WM_NONREPARENTING,1 #env = WLR_NO_HARDWARE_CURSORS,1 env = WLR_DRM_NO_ATOMIC,1 #screen tearing support env = MOZ_DISABLE_RDD_SANDBOX,1 env = MOZ_ENABLE_WAYLAND,1 env = OZONE_PLATFORM,wayland env = wallpaper_path,$HOME/.wallpapers #set wallpaper path exec-once = dbus-update-activation-environment --systemd --all exec-once = systemctl --user import-environment QT_QPA_PLATFORMTHEME Config File: /home/voidus/.config/hypr/windowrule.conf: Read Succeeded # █░█░█ █ █▄░█ █▀▄ █▀█ █░█░█   █▀█ █░█ █░░ █▀▀ █▀ # ▀▄▀▄▀ █ █░▀█ █▄▀ █▄█ ▀▄▀▄▀   █▀▄ █▄█ █▄▄ ██▄ ▄█ # Opacity windowrulev2 = opacity 0.90 0.90,class:^(librewolf)$ windowrulev2 = opacity 0.80 0.80,class:^(Steam)$ windowrulev2 = opacity 0.80 0.80,class:^(steam)$ windowrulev2 = opacity 0.80 0.80,class:^(steamwebhelper)$ windowrulev2 = opacity 0.80 0.80,class:^(Spotify)$ windowrulev2 = opacity 0.80 0.80,class:^(codium)$ windowrulev2 = opacity 0.80 0.80,class:^(thunar)$ windowrulev2 = opacity 0.80 0.80,class:^(file-roller)$ windowrulev2 = opacity 0.80 0.80,class:^(nwg-look)$ windowrulev2 = opacity 0.80 0.80,class:^(qt5ct)$ windowrulev2 = opacity 0.80 0.80,class:^(discord)$ #Discord-Electron windowrulev2 = opacity 0.80 0.80,class:^(WebCord)$ #WebCord-Electron windowrulev2 = opacity 0.80 0.80,class:^(armcord)$ #Armcord-Electron windowrulev2 = opacity 0.80 0.80,class:^(vencorddesktop)$ #Vesktop-Electron windowrulev2 = opacity 0.80 0.70,class:^(pavucontrol)$ windowrulev2 = opacity 0.80 0.70,class:^(org.gnome.polkit-gnome-authentication-agent-1)$ windowrulev2 = opacity 0.80 0.80,class:^(org.telegram.desktop)$ # Position windowrulev2 = float,class:^(org.kde.polkit-kde-authentication-agent-1)$ windowrulev2 = float,class:^(flemozi)$ windowrulev2 = float,class:^(krita)$ windowrulev2 = float,class:^(pavucontrol)$ windowrulev2 = float,title:^(Media viewer)$ windowrulev2 = float,title:^(Volume Control)$ windowrulev2 = float,title:^(Picture-in-Picture)$ windowrulev2 = float,class:^(Viewnior)$ windowrulev2 = float,title:^(DevTools)$ windowrulev2 = float,class:^(file_progress)$ windowrulev2 = float,class:^(confirm)$ windowrulev2 = float,class:^(dialog)$ windowrulev2 = float,class:^(download)$ windowrulev2 = float,class:^(notification)$ windowrulev2 = float,class:^(error)$ windowrulev2 = float,class:^(confirmreset)$ windowrulev2 = float,title:^(Open File)$ windowrulev2 = float,title:^(branchdialog)$ windowrulev2 = float,title:^(Confirm to replace files) windowrulev2 = float,title:^(File Operation Progress) windowrulev2 = float,class:^(kitty) windowrulev2 = float,class:^(thunar) windowrulev2 = float,class:^(com.obsproject.Studio) windowrulev2 = float,class:^(vencorddesktop) windowrulev2 = tile,title:^(Vesktop) windowrulev2 = move 75 44%,title:^(Volume Control)$ windowrulev2 = center,class:^(thunar) windowrulev2 = center,class:^(flemozi)$ # Workspace windowrulev2 = workspace 1, class:^(com.moonlight_stream.Moonlight)$ windowrulev2 = workspace 3, class:^(librewolf)$ windowrulev2 = workspace 2, class:^(vencorddesktop)$ windowrulev2 = workspace 3, class:^(org.telegram.desktop)$ windowrulev2 = workspace 1, class:^(codium)$ windowrulev2 = workspace 4, class:^(code-url-handler)$ windowrulev2 = workspace 5, class:^(Spotify)$ # Size windowrulev2 = size 800 600,class:^(download)$ windowrulev2 = size 800 600,title:^(Open File)$ windowrulev2 = size 800 600,title:^(Save File)$ windowrulev2 = size 800 600,title:^(Volume Control)$ windowrulev2 = size 1600 800, class:^(kitty)$ windowrulev2 = size 1600 800, class:^(thunar)$ windowrulev2 = idleinhibit focus,class:^(mpv)$ windowrulev2 = idleinhibit fullscreen,class:^(librewolf)$ # steam windowrulev2 = stayfocused, title:^()$,class:^(steam)$ windowrulev2 = minsize 1 1, title:^()$,class:^(steam)$ # krita windowrulev2 = stayfocused, title:^()$,class:^(krita)$ windowrulev2 = minsize 1 1, title:^()$,class:^(krita)$ # bitwarden windowrulev2 = stayfocused, title:^()$,class:^(bitwarden)$ windowrulev2 = minsize 1 1, title:^()$,class:^(bitwarden)$ # wine windowrulev2 = float, class:^(wine)$ windowrulev2 = nomaxsize, class:^(wine)$ # xwaylandvideobridge windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$ windowrulev2 = noanim,class:^(xwaylandvideobridge)$ windowrulev2 = nofocus,class:^(xwaylandvideobridge)$ windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$ # Borderless Fullscreen games windowrulev2 = fullscreen,title:^(Team Fortress 2 - OpenGL)$ # Core elements windowrulev2 = noanim, class:^(wlogout)$ windowrulev2 = noanim, class:^(waybar)$ Config File: /home/voidus/.config/hypr/keybinds.conf: Read Succeeded # █▄▀ █▀▀ █▄█ █▄▄ █ █▄░█ █▀▄ # █░█ ██▄ ░█░ █▄█ █ █░▀█ █▄▀ $scriptsDir = $HOME/.config/hypr/scripts $notifycmd = notify-send -h string:x-canonical-private-synchronous:hypr-cfg -u low $preparesfx = play $HOME/.sysounds/action/hint.wav -q & $quitsfx = play $HOME/.sysounds/action/stop.wav -q & $sfxcmd = play $HOME/.sysounds/action/continue.wav -q & $notifysfx = play $HOME/.sysounds/action/notify.wav -q & $windowsfx = play $HOME/.sysounds/action/bind.mp3 -q & $emergencyfx = play /usr/share/sounds/ocean/stereo/power-unplug.oga -q & $bg-dir = $HOME/.wallpapers # IDK $term = kitty $volume = $scriptsDir/volume $screenshot = $scriptsDir/screensht $colorpicker = $scriptsDir/colorpicker $files = thunar $browser = librewolf $prism = prismlauncher $social = firefoxpwa site launch 01J252M4QBEVH7WNNA2DX4A3D1 $emergency = hyprctl dispatch exit $emergencyshell = cosmic-term # SFX indicators bindi = SUPER, SUPER_L, exec, $preparesfx bindr = SUPER, SUPER_L, exec, $quitsfx bind = SUPER, ALT_L, exec, $preparesfx bindtr = SUPER, ALT_L, exec, $quitsfx bind = SUPER, ALT_R, exec, $preparesfx bindtr = SUPER, ALT_R, exec, $quitsfx bind = SUPER, SHIFT_L, exec, $preparesfx bindtr = SUPER, SHIFT_L, exec, $quitsfx bind = SUPER, SHIFT_R, exec, $preparesfx bindtr = SUPER, SHIFT_R, exec, $quitsfx bind = SUPER, CTRL_L, exec, $preparesfx bindtr = SUPER, CTRL_L, exec, $quitsfx bind = SUPER, CTRL_R, exec, $preparesfx bindtr = SUPER, CTRL_R, exec, $quitsfx # █▀ █▀▀ █▀█ █▀▀ █▀▀ █▄░█ █▀ █░█ █▀█ ▀█▀ # ▄█ █▄▄ █▀▄ ██▄ ██▄ █░▀█ ▄█ █▀█ █▄█ ░█░ bind = SUPER, v, exec, $sfxcmd killall -s SIGINT wf-recorder && wf-recorder -o DP-1 -f $HOME/Videos/wf-recorder_$(date +'%H:%M:%S_%d-%m-%Y.mp4') || wf-recorder -o DP-1 -f $HOME/Videos/wf-recorder_$(date +'%H:%M:%S_%d-%m-%Y.mp4') bind = SUPER ALT, v, exec, $sfxcmd killall -s SIGINT wf-recorder && wf-recorder -g "$(slurp)" -f $HOME/Videos/wf-recorder_$(date +'%H:%M:%S_%d-%m-%Y.mp4') || wf-recorder -g "$(slurp)" -f $HOME/Videos/wf-recorder_$(date +'%H:%M:%S_%d-%m-%Y.mp4') bind = SUPER SHIFT, v, exec, $quitsfx killall -s SIGINT wf-recorder bind = , Print, exec, $sfxcmd $screenshot full bind = SUPERSHIFT, S, exec, $sfxcmd $screenshot area # █▀▄▀█ █ █▀ █▀▀ # █░▀░█ █ ▄█ █▄▄ bind = SUPER ALT, TAB, exec, $emergencyfx $emergency bind = SUPER ALT, U, exec, $emergencyfx $emergencyshell bind = SUPER SHIFT, X, exec, $sfxcmd $colorpicker bind = SUPER SHIFT, K, exec, $sfxcmd kitty bat ~/.config/hypr/keybinds.conf bind = SUPER SHIFT, N, exec, $sfxcmd kitty $scriptsDir/neo.sh bind = CTRL ALT, L, exec, swaylock bind = SUPER, Return, exec, $sfxcmd $term bind = SUPER SHIFT, Return, exec, $browser bind = SUPER SHIFT, Return, exec, $sfxcmd $notifycmd 'Launching Librewolf' bind = SUPER SHIFT, I, exec, $social bind = SUPER SHIFT, I, exec, $sfxcmd bind = SUPER SHIFT, M, exec, $prism bind = SUPER SHIFT, M, exec, $sfxcmd $notifycmd 'Launching PrismMC' bind = SUPER SHIFT, L, exec, bash $scriptsDir/resetwall.sh bind = SUPER SHIFT, L, exec, $notifysfx $notifycmd 'Resetting swww' bind = SUPER, E, exec, $sfxcmd $files bind = SUPER, D, exec, $sfxcmd killall rofi || rofi -show drun -theme ~/.config/rofi/config.rasi #bind = SUPER SHIFT, D, hyprexpo:expo, toggle bind = SUPER, period, exec, $sfxcmd killall flemozi || flemozi bind = SUPER ALT, B, exec, $notifysfx killall waybar && waybar # Restart waybar bind = SUPER SHIFT, B, exec, $sfxcmd killall -SIGUSR2 waybar # Reload waybar bind = SUPER, B, exec, $sfxcmd killall -SIGUSR1 waybar # Hide waybar bind = SUPER,M,pass,^(com.obsproject.Studio)$ bind = SUPER,R,pass,^(com.obsproject.Studio)$ bind = SUPER ALT,P,exec, bash $scriptsDir/killwinvm.sh # For wacom to release keyboard and mouse bind = SUPER ALT,N,exec, $sfxcmd killall wvkbd-mobintl || wvkbd-mobintl -L 300 --bg 00000000 --fg 6050a0cc --fg-sp 00000088 --press 9060ff --press-sp ffffff55 --text ffffffff --text-sp ffffffff # For wacom to access virtual keyboard bind = SUPER,M,exec, $sfxcmd bind = SUPER ALT,P,exec, $sfxcmd bind = SUPER,R,exec, $sfxcmd bind = SUPER SHIFT,D, exec, $sfxcmd # █░█░█ █ █▄░█ █▀▄ █▀█ █░█░█   █▀▄▀█ ▄▀█ █▄░█ ▄▀█ █▀▀ █▀▄▀█ █▀▀ █▄░█ ▀█▀ # ▀▄▀▄▀ █ █░▀█ █▄▀ █▄█ ▀▄▀▄▀   █░▀░█ █▀█ █░▀█ █▀█ █▄█ █░▀░█ ██▄ █░▀█ ░█░ bind = SUPER, Q, killactive, bind = SUPER ALT, Q,exec, $quitsfx hyprctl kill #bind = SUPER SHIFT, Q, exit, bind = SUPER SHIFT, Q,exec, $windowsfx killall wlogout || wlogout bind = SUPER, F, fullscreen, bind = SUPER, Space, togglefloating, bind = SUPER, P, pseudo, # dwindle bind = SUPER, S, togglesplit, # dwindle bind = SUPER, Space, exec, $sfxcmd bind = SUPER, Q, exec, $quitsfx # Change Workspace Mode bind = SUPER SHIFT, Space, workspaceopt, allfloat bind = SUPER SHIFT, Space, exec, $sfxcmd $notifycmd 'Toggled All Float Mode' bind = SUPER SHIFT, P, workspaceopt, allpseudo bind = SUPER SHIFT, P, exec, $sfxcmd $notifycmd 'Toggled All Pseudo Mode' bind = SUPER, Tab, cyclenext, bind = SUPER, Tab, bringactivetotop, # █▀▀ █▀█ █▀▀ █░█ █▀ # █▀░ █▄█ █▄▄ █▄█ ▄█ bind = SUPER, h, movefocus, l bind = SUPER, l, movefocus, r bind = SUPER, k, movefocus, u bind = SUPER, j, movefocus, d # █▀▄▀█ █▀█ █░█ █▀▀ # █░▀░█ █▄█ ▀▄▀ ██▄ bind = SUPER SHIFT, left, movewindow, l bind = SUPER SHIFT, right, movewindow, r bind = SUPER SHIFT, up, movewindow, u bind = SUPER SHIFT, down, movewindow, d # █▀█ █▀▀ █▀ █ ▀█ █▀▀ # █▀▄ ██▄ ▄█ █ █▄ ██▄ bind = SUPER CTRL, left, resizeactive, -20 0 bind = SUPER CTRL, right, resizeactive, 20 0 bind = SUPER CTRL, up, resizeactive, 0 -20 bind = SUPER CTRL, down, resizeactive, 0 20 # ▀█▀ ▄▀█ █▄▄ █▄▄ █▀▀ █▀▄ # ░█░ █▀█ █▄█ █▄█ ██▄ █▄▀ bind = SUPER, g, togglegroup bind = SUPER, tab, changegroupactive bind = SUPER, G, exec, $sfxcmd $notifycmd 'Toggled Group Mode' # █▀ █▀█ █▀▀ █▀▀ █ ▄▀█ █░░ # ▄█ █▀▀ ██▄ █▄▄ █ █▀█ █▄▄ bind = SUPER, a, togglespecialworkspace bind = SUPERSHIFT, a, movetoworkspace, special bind = SUPER, a, exec, $sfxcmd $notifycmd 'Toggled Special Workspace' bind = SUPER, c, exec, $sfxcmd hyprctl dispatch centerwindow # █▀ █░█░█ █ ▀█▀ █▀▀ █░█ # ▄█ ▀▄▀▄▀ █ ░█░ █▄▄ █▀█ bind = SUPER, 1, workspace, 1 bind = SUPER, 2, workspace, 2 bind = SUPER, 3, workspace, 3 bind = SUPER, 4, workspace, 4 bind = SUPER, 5, workspace, 5 bind = SUPER, 6, workspace, 6 bind = SUPER, 7, workspace, 7 bind = SUPER, 8, workspace, 8 bind = SUPER, 9, workspace, 9 bind = SUPER, 0, workspace, 10 bind = SUPER ALT, up, workspace, e+1 bind = SUPER ALT, down, workspace, e-1 bind = SUPER ALT, up, exec, $sfxcmd bind = SUPER ALT, down, exec, $sfxcmd bind = SUPER, 1, exec, $windowsfx bind = SUPER, 2, exec, $windowsfx bind = SUPER, 3, exec, $windowsfx bind = SUPER, 4, exec, $windowsfx bind = SUPER, 5, exec, $windowsfx bind = SUPER, 6, exec, $windowsfx bind = SUPER, 7, exec, $windowsfx bind = SUPER, 8, exec, $windowsfx bind = SUPER, 9, exec, $windowsfx bind = SUPER, 0, exec, $windowsfx # █▀▄▀█ █▀█ █░█ █▀▀ # █░▀░█ █▄█ ▀▄▀ ██▄ bind = SUPER SHIFT, 1, movetoworkspace, 1 bind = SUPER SHIFT, 2, movetoworkspace, 2 bind = SUPER SHIFT, 3, movetoworkspace, 3 bind = SUPER SHIFT, 4, movetoworkspace, 4 bind = SUPER SHIFT, 5, movetoworkspace, 5 bind = SUPER SHIFT, 6, movetoworkspace, 6 bind = SUPER SHIFT, 7, movetoworkspace, 7 bind = SUPER SHIFT, 8, movetoworkspace, 8 bind = SUPER SHIFT, 9, movetoworkspace, 9 bind = SUPER SHIFT, 0, movetoworkspace, 10 bind = SUPER SHIFT, 1, exec, $windowsfx bind = SUPER SHIFT, 2, exec, $windowsfx bind = SUPER SHIFT, 3, exec, $windowsfx bind = SUPER SHIFT, 4, exec, $windowsfx bind = SUPER SHIFT, 5, exec, $windowsfx bind = SUPER SHIFT, 6, exec, $windowsfx bind = SUPER SHIFT, 7, exec, $windowsfx bind = SUPER SHIFT, 8, exec, $windowsfx bind = SUPER SHIFT, 9, exec, $windowsfx bind = SUPER SHIFT, 0, exec, $windowsfx # █▀▄▀█ █▀█ █░█ █▀ █▀▀   █▄▄ █ █▄░█ █▀▄ █ █▄░█ █▀▀ # █░▀░█ █▄█ █▄█ ▄█ ██▄   █▄█ █ █░▀█ █▄▀ █ █░▀█ █▄█ bindm = SUPER, mouse:272, movewindow bindm = SUPER, mouse:273, resizewindow bind = SUPER, mouse_down, workspace, e+1 bind = SUPER, mouse_up, workspace, e-1 bind = SUPER, mouse_down, exec, $sfxcmd bind = SUPER, mouse_up, exec, $sfxcmd bind = SUPER, mouse:272, exec, $sfxcmd bind = SUPER, mouse:273, exec, $sfxcmd Config File: /home/voidus/.config/hypr/plugins.conf: Read Succeeded plugin { # █▀▄ █▀▀ █▀▀ █▀█ █▀█ ▄▀█ ▀█▀ █ █▀█ █▄░█ # █▄▀ ██▄ █▄▄ █▄█ █▀▄ █▀█ ░█░ █ █▄█ █░▀█ hyprbars { # example config bar_height = 25 bar_color = rgba(99999928) bar_part_of_window = true bar_precedence_over_border = true bar_text_size = 11 bar_text_font = "Ubuntu" bar_padding = 12 # example buttons (R -> L) # hyprbars-button = color, size, on-click hyprbars-button = rgba(00000000), 25,?, hyprctl dispatch killactive && play $HOME/.sysounds/action/stop.wav -q & hyprbars-button = rgba(00000000), 25,?, hyprctl dispatch fullscreen 1 && play $HOME/.sysounds/action/continue.wav -q & hyprbars-button = rgba(00000000), 25,?, hyprctl dispatch togglefloating && play $HOME/.sysounds/action/stop.wav -q & } hyprexpo { columns = 3 gap_size = 5 bg_col = rgba(00000000) workspace_method = center current } } Config File: /home/voidus/.config/hypr/cursor.conf: Read Succeeded # Since latest git commit introduced the cursor variable, we can set our configuration here accordingly. cursor { # set if you want to disable, in older builds this was required for nvidia. no_hardware_cursors = true # HW Support for Nvidia allow_dumb_copy = true # Hotspot padding between screen edges and cursor. hotspot_padding = 1 # Delay timeout for when to hide the cursor, at int 0 the cursor never hides. inactive_timeout = 0 # If the cursor should not warp at all, for focusing/keybinds and other things. no_warps = true # The default monitor for the cursor to spawn. Our installation wil have it set at the first monitor. default_monitor = DP-3 # zoom factor around the cursor. float value 1.0 is no zoom, and is the minimum. zoom_factor = 1.0 # if the zoom should follow the cursor rigidly or loosely. zoom_rigid = false # If hyprcursors should be used instead of xcursors, note some applications will not show the cursor if set to true. enable_hyprcursor = true # If the cursor should hide on key press hide_on_key_press = false # If the cursor should hide on touch input hide_on_touch = false # The default location for the cursor via monitor default_monitor = DP-3 } ======Config-End======== ```

Description

When Sober (https://sober.vinegarhq.org/) is switched to fullscreen using the in-game hotkey F11 or a shortcut using the fullscreen windowrule, the Vulkan initialization fails with the error: wp_viewport@143: error 0: Box doesn't fit

How to reproduce

  1. Set bind = SUPER, F, fullscreen in ~/.config/hypr/hyprland.conf
  2. Run Sober: flatpak run org.vinegarhq.Sober
  3. Switch to fullscreen using the configured shortcut or F11

Crash reports, logs, images, videos

Flatpak logs of the given behavior: flatpak run --env=WAYLAND_DEBUG=1 org.vinegarhq.Sober sober-fullscreen-crash-1.log F11 sober-fullscreen-crash-2.log shortcut

Hyprland Log: hyprland.log

vaxerski commented 1 month ago

client bug

[2621189.516]  -> wp_viewporter@9.get_viewport(new id wp_viewport@157, wl_surface@31)
[2621189.520]  -> wp_viewport@157.set_source(0.00000000, 0.00000000, 2560.00000000, 1440.00000000)

surface has buffer 47

[2621186.273]  -> wl_surface@31.attach(wl_buffer@47, 0, 0)
[2621186.283]  -> wl_surface@31.damage(0, 0, 2147483647, 2147483647)
[2621186.287]  -> wl_surface@31.commit()

while buffer 47 is 800x600

[2618241.250]  -> zwp_linux_dmabuf_v1@44.create_params(new id zwp_linux_buffer_params_v1@46)
[2618241.258]  -> zwp_linux_buffer_params_v1@46.add(fd 83, 0, 0, 3200, 50331648, 5234708)
[2618241.263]  -> zwp_linux_buffer_params_v1@46.create_immed(new id wl_buffer@47, 800, 600, 875709016, 0)
[2618241.266]  -> zwp_linux_buffer_params_v1@46.destroy()
km9l commented 1 month ago

client bug

we have been using sdl2 in our project, and after we migrated the project to sdl3 the bug went away. i assume there must be some bug in sdl2, i will report it later to them, thanks for the help