prasanthrangan / hyprdots

// Aesthetic, dynamic and minimal dots for Arch hyprland
GNU General Public License v3.0
6.82k stars 812 forks source link

[Bug]: SWWW - Black BG - no wallpaper #1599

Closed FroggieStick closed 3 months ago

FroggieStick commented 3 months ago

Bug Report

Description

SWWW - Black background no wallpaper


`~/.config/hyde/themes/Gruvbox Retro ❯ Hyde wallpaper select

09:42:09 PM:: applying wall :: "/home/username/.config/hyde/themes/Gruvbox Retro/wallpapers/raven1.jpg"

~/.config/hyde/themes/Gruvbox Retro ❯ [skip] "/home/username/.config/cava/Wall-Dcol" 
09:42:21 PM[skip] "/home/username/.config/spicetify/Themes/Sleek/color.ini"`

I have tried to rebuild/Reload Hyde. deleted swww cache folder and files. sometimes i can use the super + alt + arrow keys to switch wallpapers and it will eventually show up randomly.

Only one picture is set to this theme. No other images in this setup.

clearly a swww issue but not sure how to resolve it.

When i try to select the wallpaper from CLI it runs extra things like /spicetify/ which isnt even a directory on my machine and the cli gets hung.

kRHYME7 commented 3 months ago

what happens when you run swww restore

FroggieStick commented 3 months ago

Nothing happens with swww restore

I found if I

swww kill
swww init

it comes back. But when I reboot it goes back to black screen. Have to kill and init everytime but it comes back after.

kRHYME7 commented 3 months ago

init is deprecated.

can you run this swwwallpaper.sh on 2 different terminals, what happen? run same command but 2 instances.

Shanu-Kumawat commented 3 months ago

facing similar issue with swww, no wallpaper sometime just a black screen, changing wallpaper works once or twice then get stuck, changing theme changes colors and other properties but wallpaper gets stuck and doesnt change

BentleyOph commented 3 months ago

Error: "couldn't bind socket: Address already in use (os error 98)"

FroggieStick commented 3 months ago

@kRHYME7 I ran swwwallpaper.sh in two separate terminals and had no results. It says it applied the wallpaper but nothing happens.

If i call swww-daemondirectly since init is deprecated it works. Until i reboot again. Still have to kill swww then call it directly.

Also when you sww killyou can see the background go from a pitch black to a duller grey. Its like SWWW is working but the wallpaper just isnt rendering. Once you basically restart swww it shows up fine. But after rebooting goes back to same broken state.

Ive cleared the .cache/swwwdirectory multiple times to no effect and ran the swww clear-cachealso.

kRHYME7 commented 3 months ago

Let's try to narrow down those issues using this version of swww? image

You can modify ~/.local/share/bin/swwwallpaper.sh and add this line after lline 100 swww query && swww restore image

Try to reboot what happen?

take note I'm using hyprland-git

FroggieStick commented 3 months ago

image

After making the edit it seems to have worked. Ive rebooted a couple times now and it always comes back up. Thank you!

can you explain why though? or is this just a bandaid solution.

kRHYME7 commented 3 months ago

Cool! Just swww's breaking change about a week ago. I did of not make a PR as I cannot merge my own. I'm actually waiting for someone to do it . Can you do a PR with that changes please? Will merge it immediately

Also for everyone here, I think the stable swww is pretty stable now. I advised to revert your swww-git installation. yay -Sy swww

FroggieStick commented 3 months ago

@kRHYME7 Sorry, never done a pull request before lol. I guess i did it right. Let me know if not.

kRHYME7 commented 3 months ago

Will close this for now

BentleyOph commented 3 months ago

Added the lines and im still getting the issue

kRHYME7 commented 3 months ago

rebooted?

BentleyOph commented 3 months ago

Added the lines and im still getting the issue

rebooted?

yeah ...still getting that issue ...could it be my swww version ?

kRHYME7 commented 3 months ago

Hey try this

killall swww-daemon

then open 2 separate terminals

run swww-daemon on the other term run swww restore

Please describe the behavior.

Also can you please share the output of this ?

grep "swww restore" ~/.local/share/bin/swwwallpaper.sh

BentleyOph commented 2 months ago

Hey try this

killall swww-daemon

then open 2 separate terminals

run swww-daemon on the other term run swww restore

Please describe the behavior.

Also can you please share the output of this ?

grep "swww restore" ~/.local/share/bin/swwwallpaper.sh

Fix was updating swww