rio icon indicating copy to clipboard operation
rio copied to clipboard

Delay in first run to open `rio` in Hyprland

Open AdsonCicilioti opened this issue 5 months ago • 7 comments

I'm using Hyprland on Archlinux and I'm testing rio again as my default Terminal Emulator. I set it to open with the Super+Enter shortcut and when logging in and opening rio for the first time it takes about 3 to 5 seconds to open. After that the next calls are instantaneous.

What could it be? Something in my environment?

AdsonCicilioti avatar Jun 26 '25 19:06 AdsonCicilioti

Hey @AdsonCicilioti thanks for the issue! Woof that's bad, do you have any configuration enabled? Also which version are you using?

raphamorim avatar Jun 26 '25 19:06 raphamorim

My cold start time is longer than alacritty, but not that bad.

spikespaz avatar Jul 22 '25 10:07 spikespaz

I've just switched from i3 to hyprland and noticed the same problem : Each time I launch rio, the terminal window takes a little delay to open.

Opening alacritty takes no delay.

rioterm 0.2.29

My config.toml :

theme = "dracula"
option-as-alt = 'left'
confirm-before-quit = false

[cursor]
shape = 'block'
blinking = true
blinking-interval = 200

[editor]
program = "zed"
args = []

[window]
opacity = 0.8
blur = true

[fonts]
size = 18

[fonts.emoji]
family = "Noto Color Emoji"

[navigation]
mode = "Plain"

I'm able to reproduce also with no opacity and no blur.

agjini avatar Sep 18 '25 07:09 agjini

Has anybody shown logs? Launch Rio from Alacritty to investigate.

spikespaz avatar Sep 19 '25 06:09 spikespaz

Rio does not emit log while starting

agjini avatar Sep 19 '25 13:09 agjini

Sorry late reply, which alacritty version are you using? although technically alacritty and rio share same windowing library (or very similar). does it only happen on hyprland?

raphamorim avatar Sep 20 '25 11:09 raphamorim

❯ alacritty -v
Created log file at "/tmp/Alacritty-24671.log"
[0.000006776s] [INFO ] [alacritty] Welcome to Alacritty
[0.000559937s] [INFO ] [alacritty] Version 0.15.1 (0c405d53)
[0.000571667s] [INFO ] [alacritty] Running on Wayland
[0.001960188s] [INFO ] [alacritty] Configuration files loaded from:
                                     "/home/agjini/.config/alacritty/alacritty.toml"
[0.029719276s] [INFO ] [alacritty] Using EGL 1.5
[0.031475434s] [INFO ] [alacritty] Window scale factor: 1
[0.048672887s] [INFO ] [alacritty] Running on Mesa Intel(R) Iris(R) Xe Graphics (ADL GT2)
[0.048700759s] [INFO ] [alacritty] OpenGL version 4.6 (Core Profile) Mesa 25.2.1-arch1.4, shader_version 4.60
[0.048710541s] [INFO ] [alacritty] Using OpenGL 3.3 renderer
[0.068172597s] [INFO ] [alacritty] Cell size: 11 x 23
[0.068200293s] [INFO ] [alacritty] Padding: 0 x 0
[0.068204664s] [INFO ] [alacritty] Width: 960, Height: 1035
[0.068247767s] [INFO ] [alacritty] PTY dimensions: 45 x 87
[0.071900655s] [INFO ] [alacritty] Initialisation complete
[0.081577465s] [INFO ] [alacritty] Font size changed to 18.666666 px
[0.081619974s] [INFO ] [alacritty] Cell size: 11 x 23
[0.088716882s] [INFO ] [alacritty] Padding: 0 x 0
[0.088742614s] [INFO ] [alacritty] Width: 952, Height: 1027

agjini avatar Sep 22 '25 08:09 agjini