rio: Rio failing to draw blur upon launch

Hi reader, Recently, I have been trying out rio and have been facing this issue where a new instance of rio fails to draw the window opacity and blur due to unknown reasons. I can help dig out more logs if that helps. My system is currently running NixOS 23.11.20231210.781e2a9 (Tapir). My configuration where rio is setup is here

Output of rio -V:

rioterm 0.0.30

Steps to reproduce

  • Install rio from nixpkgs (I have tested v0.0.29 and v0.0.30)
  • Use wayland compositor (I used Hyprland)
  • Launch rio

Logs and Information

Upon launching rio using RIO_LOG_LEVEL=debug rio > debug_log-rio.txt, my output is attached in file debug_log-rio.txt

20231212_19h39m59s_grim After a quick inspection, I was able to find a line that could possibly be related to this.

L24   [INFO] init::platform_impl::platform::wayland::window::state Blur manager unavailable, unable to change blur

Temporary Workaround

I am able to draw blur on terminals that are spawned, if I make a change to the rio config and rebuild my system/home-manager or make changes to the rio config.toml which cause the spawned terminals to reload and show blur. I am uncertain if this is a NixOS specific issue or rio. Please note that new terminal instances still would not be able to draw blur. Please see the images attached where I rebuilt my system after changing the value to false for disable-renderer-when-unfocused: 20231212_19h46m14s_grim

The startup-time and overall smoothness of the terminal is amazing. Any help is much appreciated. Thank you for being awsome.

About this issue

  • Original URL
  • State: closed
  • Created 7 months ago
  • Comments: 27 (23 by maintainers)

Most upvoted comments

Wow, yeah, transparency works when I reload the config (save the file):

Hmmm, very interesting will try something to see if corrects the behavior on linux

Of course. Ill spin up a PR if you want me to. I believe you are talking about the last image I attached.

Yes, that would be perfect. You have a beautiful setup 😄

That’s great! @RaySlash would you mind add that image you posted to the docs? https://raphamorim.io/rio/docs/configuration-file#using-blur-and-background-opacity

Closing this issue for now 😄

Just tried main and unfortunately the fix didn’t work for me - still had to save once to get transparency.

I can confirm that the former condition is not true on Linux. Both blur and transparency are turned on for me and a hot reload of config does redraw both transparency and blur.

Yea, windows/macos are the only stable apparently after the release. When I mean stable I talk about that at least you see the opacity off or blur if close and reopen the window

@orhun could you confirm if update the configuration file would fix for you the transparency?

I see https://github.com/raphamorim/rio/commit/f75e670b6e6c829b4ab4ce653a31f98d7ee7748c. 😇

Is this something you would like to use?

Tested quickly in an ubuntu and can’t spawn with transparency neither blur 😢

Screenshot 2023-12-13 at 19 18 44

Yea, I will try to reproduce and spawn a new window on my linux at home to see if I can reproduce it.