LGFae / swww

A Solution to your Wayland Wallpaper Woes
GNU General Public License v3.0
2.38k stars 70 forks source link

Black screen after login #332

Closed DataHearth closed 4 months ago

DataHearth commented 4 months ago

Hello there!

I've updated swww from 0.8.2 to 0.9.5 yesterday, but now I encounter a problem (which seems to have be resolved and merge into the latest release but still occurs for me) with a black screen on login with a scaling monitor. I've never had this problem before and only occurs on one of my display (DP-2 which is 4k display scaled to 2 for visibility).

Anyway I can fix this?

Thank!

My setup: OS: NixOS - Nixpkgs unstable DE: Hyprland v0.41.1 swww: 0.9.5 Monitors:

EDIT: I've also tried with a different image format, same result

AimForNaN commented 4 months ago

I have the same problem on Arch. I suspected it was due to the daemon taking a lot longer to start than the previous version. By prepending sleep 1 && to swww img it works, though it takes longer to set a wallpaper.

It would be nice if swww img launched the daemon if none exists so we can just issue one exec-once statement.

DataHearth commented 4 months ago

Gonna try this tonight! If it works, then that'll do for now. But it seems off to me that updating just one minor version add such a speed issue on daemon load.

LGFae commented 4 months ago

But it seems off to me that updating just one minor version add such a speed issue on daemon load.

From 0.8.2 to 0.9.5 is actually quite a jump. A lot of things changed under the hood.

I would also like to ask you to test this on the latest git version to see if the issue still exists there.

DataHearth commented 4 months ago

@LGFae Thank you for tip! I've tried using the latest commit and it is working. I'll check what has been done between 0.9.5 and HEAD ^^. @AimForNaN If you're using flakes, you can use directly the root flake provided ^^ => https://github.com/LGFae/swww?tab=readme-ov-file#nix