Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wallpaper bug: Wallpaper is greyscale & 30 deg rotated(using hyprland) #245

Closed
ghost opened this issue Mar 24, 2024 · 10 comments
Closed

Wallpaper bug: Wallpaper is greyscale & 30 deg rotated(using hyprland) #245

ghost opened this issue Mar 24, 2024 · 10 comments

Comments

@ghost
Copy link

ghost commented Mar 24, 2024

I use:

  • Hyprland on Fedora 39.

  • A Fujitsu Laptop[Fujitsu Lifebook E, i5 @2.4GHz]

  • Other system specs(if its helpful:)):

  • -16GB RAM(Added 8GB trought modification on the motherboard)

  • -No Graphics card(only integrated, Skylake GT / i5 HD Graphics 520).

    • Standart Monitor.
    • Undervolted cache & core by -20. (--undervolt --core -20 --cache -20)
  • How I installed swww:

    • It came preinstalled with Hyprland. I installed Hyprland trought the GitHub repo.
  • What I tried:

    • swww -kill
    • swww -clear
  • Errors I got:
    [root@fedora ~]# swww clear
    Error: "Socket file not found. Are you sure swww-daemon is running?"
    [root@fedora ~]# swww kill
    Error: "Socket file not found. Are you sure swww-daemon is running?"
    [root@fedora ~]# swww-daemon
    thread 'main' panicked at daemon/src/main.rs:129:45:
    failed to connect to the wayland server: NoCompositor
    note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
    20:49:06 [INFO] (main) Removed socket at "/tmp/swww/swww.socket"
    [root@fedora ~]# swww init
    DEPRECATION WARNING: swww init IS DEPRECATED. Call swww-daemon directly instead
    Error: "There seems to already be another instance running..."

I think I'm just dumb or smth, bug I read all the other issues(f.e: "Wallpaper show distorted and in grayscale #233") and found mine still not getting resolved, even in a similar issue, so please be patient with me.

I tried taking some screenshot, but it didn't work. Im new to Linux and probaly take some time to learn all this, but I can provide you with the console output:

[root@fedora ~]# swww
A Solution to your Wayland Wallpaper Woes

Usage: swww

Commands:
clear Fills the specified outputs with the given color
restore Restores the last displayed image on the specified outputs
clear-cache Clears the swww cache
img Sends an image (or animated gif) for the daemon to display
init Initializes the daemon
kill Kills the daemon
query Asks the daemon to print output information (names and dimensions)
help Print this message or the help of the given subcommand(s)

Options:
-h, --help Print help (see more with '--help')
-V, --version Print version
[root@fedora ~]# swww clear
Error: "Socket file not found. Are you sure swww-daemon is running?"
[root@fedora ~]# swww restore
Error: "Socket file not found. Are you sure swww-daemon is running?"
[root@fedora ~]# swww clear-cache
[root@fedora ~]# swww kill
Error: "Socket file not found. Are you sure swww-daemon is running?"
[root@fedora ~]# swww init
DEPRECATION WARNING: swww init IS DEPRECATED. Call swww-daemon directly instead
Error: "There seems to already be another instance running..."
[root@fedora ~]# swww query
Error: "Socket file not found. Are you sure swww-daemon is running?"
[root@fedora ~]# swww-daemon
thread 'main' panicked at daemon/src/main.rs:129:45:
failed to connect to the wayland server: NoCompositor
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
21:01:04 [INFO] (main) Removed socket at "/tmp/swww/swww.socket"

The Wallpaper currently has the same issue as opened here, but the solutions didn't work for me: #233

@Senshi111
Copy link

same here on fedora and ubuntu

@myamusashi
Copy link

Same on Arch

1 similar comment
@Shuvlyy
Copy link

Shuvlyy commented Mar 24, 2024

Same on Arch

@myamusashi
Copy link

myamusashi commented Mar 24, 2024

Solution for now #235
swww-daemon --format xrgb

@Senshi111
Copy link

Can someone try and change swww init to swww-daemon --format xrgb

@Shuvlyy
Copy link

Shuvlyy commented Mar 24, 2024

Can someone try and change swww init to swww-daemon --format xrgb

It works.
240324_23h06m06s_screenshot

@LGFae
Copy link
Owner

LGFae commented Mar 24, 2024

Everyone, go to issue #233. That's the exact same problem, with the exact workaround @Senshi111 pointed out.

@N0CTRON, you have a different problem. From what you've posted, you've tried using swww wrong. Try this:

In terminal 1, run:

swww-daemon

In terminal 2, run:

swww img <some-img>

See if it works. It it's grayscale, stop the daemon and start it with

swww-daemon --format xrgb

And try again.

@myamusashi
Copy link

Don't use "swww init", it's Deprecated #238

@LGFae
Copy link
Owner

LGFae commented Mar 24, 2024

Incidentally, is everyone who's having problems here, on laptops?

@ghost
Copy link
Author

ghost commented Mar 24, 2024

Everyone, go to issue #233. That's the exact same problem, with the exact workaround @Senshi111 pointed out.

@N0CTRON, you have a different problem. From what you've posted, you've tried using swww wrong. Try this:

In terminal 1, run:

swww-daemon

In terminal 2, run:

swww img <some-img>

See if it works. It it's grayscale, stop the daemon and start it with

swww-daemon --format xrgb

And try again.

It worked, but I had to switch to the standard "xf" from the login screen. Seems like it's a bug shared with hyprland. Thanks for the straightforward and fast reply!!

@ghost ghost closed this as completed Mar 24, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants