hyprwm / hyprpaper

Hyprpaper is a blazing fast wayland wallpaper utility with IPC controls.
https://wiki.hyprland.org/Hypr-Ecosystem/hyprpaper/
BSD 3-Clause "New" or "Revised" License
802 stars 57 forks source link

Render glitch when disabling initial monitor on a laptop dual screen setup #156

Closed alex73630 closed 7 months ago

alex73630 commented 7 months ago

I've been able to reproduce a bug where my wallpaper gets into a glitched state when I disable my laptop screen when I close it, see screenshot:

image

Complete logs ``` [LOG] Welcome to hyprpaper! built from commit () [LOG] Cleaned old hyprpaper preloads (3), removing 96.7MB [LOG] Preloaded target /home/alex73630/Pictures/wallpapers/otters/1440p/third-idea-CK4FZF4AMNw-unsplash.png in 75.77ms -> Pixel size: [2560, 1600] [LOG] Buffer created for target /home/alex73630/Pictures/wallpapers/otters/1440p/third-idea-CK4FZF4AMNw-unsplash.png, Shared Memory usage: 65.5MB [LOG] Total SM usage for all buffers: 65.5MB [LOG] Buffer created for target /home/alex73630/Pictures/wallpapers/otters/1440p/third-idea-CK4FZF4AMNw-unsplash.png, Shared Memory usage: 16.4MB [LOG] Total SM usage for all buffers: 81.9MB [LOG] configure for eDP-1 [LOG] handlePreferredScale: 1.25 for 649b6a2ab7f0 [LOG] Image data for eDP-1: /home/alex73630/Pictures/wallpapers/otters/1440p/third-idea-CK4FZF4AMNw-unsplash.png at [-0.00, 0.00], scale: 1.00 (original image size: [2560, 1600]) [LOG] Rendering splash: Is this the real life, is this just fantasy [LOG] Splash font size: 21, pos: 1095.50, 1547.00 [LOG] Submitting viewport dest size 2048x1280 for 6a2ab7f0 [LOG] handlePreferredScale: 1.25 for 649b6a2ab7f0 [LOG] configure for eDP-1 [LOG] handlePreferredScale: 1.25 for 649b6a2ab7f0 [LOG] handlePreferredScale: 1.25 for 649b6a2ab7f0 [LOG] Image data for eDP-1: /home/alex73630/Pictures/wallpapers/otters/1440p/third-idea-CK4FZF4AMNw-unsplash.png at [-0.00, 0.00], scale: 1.00 (original image size: [2560, 1600]) [LOG] Rendering splash: Is this the real life, is this just fantasy [LOG] Splash font size: 21, pos: 1280.00, 1568.00 [LOG] Submitting viewport dest size 2048x1280 for 6a2ab7f0 [LOG] handlePreferredScale: 1.25 for 649b6a2ab7f0 [LOG] Buffer created for target /home/alex73630/Pictures/wallpapers/otters/1440p/third-idea-CK4FZF4AMNw-unsplash.png, Shared Memory usage: 14.7MB [LOG] Total SM usage for all buffers: 96.7MB [LOG] configure for DP-2 [LOG] handlePreferredScale: 1.00 for 649b6a2f4d60 [LOG] handlePreferredScale: 1.00 for 649b6a2f4d60 [LOG] Image data for DP-2: /home/alex73630/Pictures/wallpapers/otters/1440p/third-idea-CK4FZF4AMNw-unsplash.png at [0.00, -80.00], scale: 1.00 (original image size: [2560, 1600]) [LOG] Rendering splash: Is this the real life, is this just fantasy [LOG] Splash font size: 18, pos: 1120.00, 1393.20 [LOG] Submitting viewport dest size 2560x1440 for 6a2f4d60 [LOG] configure for DP-2 [LOG] handlePreferredScale: 1.00 for 649b6a2f4d60 [LOG] handlePreferredScale: 1.00 for 649b6a2f4d60 [LOG] Image data for DP-2: /home/alex73630/Pictures/wallpapers/otters/1440p/third-idea-CK4FZF4AMNw-unsplash.png at [0.00, -80.00], scale: 1.00 (original image size: [2560, 1600]) [LOG] Rendering splash: Is this the real life, is this just fantasy [LOG] Splash font size: 18, pos: 1280.00, 1411.20 [LOG] Submitting viewport dest size 2560x1440 for 6a2f4d60 [LOG] handlePreferredScale: 1.00 for 649b6a2f4d60 [LOG] Destroying output eDP-1 ```

Steps to reproduce:

  1. Start with only the laptop screen connected and hyprpaper started
  2. Connect second screen
  3. Close laptop/disconnect laptop screen
  4. Wallpaper display gets glitchy, image is on the side and blank space starts to print trails of windows passing through

Configuration:

vaxerski commented 7 months ago

https://github.com/hyprwm/Hyprland/issues/5258