[GH-ISSUE #207] Extremely slow #102

Closed
opened 2026-02-28 14:47:02 +03:00 by kerem · 14 comments
Owner

Originally created by @gcantieni on GitHub (Jan 10, 2020).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/207

The app barely responds for me. I'll type ? and it will take a minute or more before anything happens. It seems to work, e.g. connect to Spotify and has all my music, but it is delayed heavily with every action. I'm not sure if this is known, it might be the same bug as #92 but for me it was never "unfrozen".

I got spotifyd and spotify-tui from the AUR.

Versions:
Operating System: Arch Linux
Kernel: Linux 5.4.8-arch1-1
spotifyd 0.2.20
spotify-tui 0.11.0

Originally created by @gcantieni on GitHub (Jan 10, 2020). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/207 The app barely responds for me. I'll type `?` and it will take a minute or more before anything happens. It seems to work, e.g. connect to Spotify and has all my music, but it is delayed heavily with every action. I'm not sure if this is known, it might be the same bug as #92 but for me it was never "unfrozen". I got spotifyd and spotify-tui from the AUR. Versions: Operating System: Arch Linux Kernel: Linux 5.4.8-arch1-1 spotifyd 0.2.20 spotify-tui 0.11.0
kerem 2026-02-28 14:47:02 +03:00
Author
Owner

@EduRenesto commented on GitHub (Jan 13, 2020):

It's running very slow to me as well. I'm on a very similar setup:

  • Arch Linux
  • Linux 5.4.7-arch1-1
  • spotifyd 0.0.23
  • spotify-tui 0.10.0

I'm using Alacritty and zsh.

EDIT: I ran it for some 30 minutes. The lagging stopped, but then it froze in the same way described in #92.

<!-- gh-comment-id:573897782 --> @EduRenesto commented on GitHub (Jan 13, 2020): It's running very slow to me as well. I'm on a very similar setup: - Arch Linux - Linux 5.4.7-arch1-1 - spotifyd 0.0.23 - spotify-tui 0.10.0 I'm using Alacritty and zsh. EDIT: I ran it for some 30 minutes. The lagging stopped, but then it froze in the same way described in #92.
Author
Owner

@Rigellute commented on GitHub (Jan 23, 2020):

Sorry to hear this.

I've just released a new version (0.12.0) which changes the terminal rendering backend (to support Windows).

Are you able to try again?

<!-- gh-comment-id:577642868 --> @Rigellute commented on GitHub (Jan 23, 2020): Sorry to hear this. I've just released a new version (0.12.0) which changes the terminal rendering backend (to support Windows). Are you able to try again?
Author
Owner

@ghost commented on GitHub (Jan 29, 2020):

Latest rspotify (added async/await support) may solve this problem.
https://github.com/ramsayleung/rspotify/issues/68
https://github.com/ramsayleung/rspotify/pull/70

<!-- gh-comment-id:579601078 --> @ghost commented on GitHub (Jan 29, 2020): Latest `rspotify` (added `async/await` support) may solve this problem. https://github.com/ramsayleung/rspotify/issues/68 https://github.com/ramsayleung/rspotify/pull/70
Author
Owner

@Rigellute commented on GitHub (Jan 29, 2020):

I'm looking forward to this! It seems rspotify is still using the blocking variant of reqwest so we won't be able to use async/await just yet.

I do think this will improve performance.

<!-- gh-comment-id:579704960 --> @Rigellute commented on GitHub (Jan 29, 2020): I'm looking forward to this! It seems `rspotify` is still using the `blocking` variant of `reqwest` so we won't be able to use `async/await` just yet. I do think this will improve performance.
Author
Owner

@giorod commented on GitHub (Jan 30, 2020):

FYI, extremely slow on my system aswell.

Arch Linux
Linux 5.4.7-arch1-1
spotifyd 0.2.24
spotify-tui 0.13.0

<!-- gh-comment-id:580396698 --> @giorod commented on GitHub (Jan 30, 2020): FYI, extremely slow on my system aswell. Arch Linux Linux 5.4.7-arch1-1 spotifyd 0.2.24 spotify-tui 0.13.0
Author
Owner

@Rigellute commented on GitHub (Jan 31, 2020):

This is looking like an issue with Arch Linux, I don't have an Arch machine to hand to debug this unfortunately.

To the Arch users, please feel free to debug this!

<!-- gh-comment-id:580661530 --> @Rigellute commented on GitHub (Jan 31, 2020): This is looking like an issue with Arch Linux, I don't have an Arch machine to hand to debug this unfortunately. To the Arch users, please feel free to debug this!
Author
Owner

@Timvde commented on GitHub (Feb 5, 2020):

FWIW: also an Arch user, and spotify-tui has always been snappy for me. So I don't think it's just Arch.

<!-- gh-comment-id:582323194 --> @Timvde commented on GitHub (Feb 5, 2020): FWIW: also an Arch user, and spotify-tui has always been snappy for me. So I don't think it's _just_ Arch.
Author
Owner

@0x0D15 commented on GitHub (Feb 6, 2020):

Also running Arch and I have seen pretty smooth performance on shorter lists but some "input" lag when scrolling through larger lists like my Liked Songs.

<!-- gh-comment-id:582774193 --> @0x0D15 commented on GitHub (Feb 6, 2020): Also running Arch and I have seen pretty smooth performance on shorter lists but some "input" lag when scrolling through larger lists like my Liked Songs.
Author
Owner

@romm1of commented on GitHub (Feb 6, 2020):

Same issue. Thought syslogs would hint me on what the cause of these lags were, but turns out - nothing odd. Also tried switching from Gnome to I3, but no result either. As of now am going to test application via Manjaro, to make sure whether it is specifically Arch Linux only issue.
EDIT : Manjaro (KDE/I3) runs smoothly.

<!-- gh-comment-id:583043222 --> @romm1of commented on GitHub (Feb 6, 2020): Same issue. Thought syslogs would hint me on what the cause of these lags were, but turns out - nothing odd. Also tried switching from Gnome to I3, but no result either. As of now am going to test application via Manjaro, to make sure whether it is specifically Arch Linux only issue. EDIT : Manjaro (KDE/I3) runs smoothly.
Author
Owner

@EduRenesto commented on GitHub (Feb 7, 2020):

Maybe the problem isn't even in spotify-tui itself. I've been (non-scientifically) observing stuff, and spotifyd tends to crash after the freezing has stopped in spt. Also, I use sp to get metadata info for my bar, and it also tends to block. So, I'd look into spotifyd or even rspotify aside from spt.

I'm going to look further into this when I have more free time.

<!-- gh-comment-id:583213171 --> @EduRenesto commented on GitHub (Feb 7, 2020): Maybe the problem isn't even in `spotify-tui` itself. I've been (non-scientifically) observing stuff, and `spotifyd` tends to crash after the freezing has stopped in `spt`. Also, I use `sp` to get metadata info for my bar, and it also tends to block. So, I'd look into `spotifyd` or even `rspotify` aside from `spt`. I'm going to look further into this when I have more free time.
Author
Owner

@areille commented on GitHub (Feb 7, 2020):

Don't think this is an Arch-related problem, I have the same problem on MacOS (Mojave). I Installed spotify-tui with Homebrew. The program is not frozen as in #92 but extremely slow.

OSX : 10.14.6
Terminal : 2.9.5 (421.2)
iTerm : 3.3.6

<!-- gh-comment-id:583295177 --> @areille commented on GitHub (Feb 7, 2020): Don't think this is an Arch-related problem, I have the same problem on MacOS (Mojave). I Installed spotify-tui with Homebrew. The program is not frozen as in #92 but extremely slow. OSX : 10.14.6 Terminal : 2.9.5 (421.2) iTerm : 3.3.6
Author
Owner

@SimonSchubert commented on GitHub (Feb 7, 2020):

I can confirm slow behaviour on macOS(Catalina), too. It happens sometimes and I couldn't figure out how to reproduce it. After waiting for a bit or restating spt it's running fine again.

OSX: 10.15.3
Terminal: 2.10 (433)
zsh: 5.7.1
spotifyd: 0.2.24

<!-- gh-comment-id:583346471 --> @SimonSchubert commented on GitHub (Feb 7, 2020): I can confirm slow behaviour on macOS(Catalina), too. It happens sometimes and I couldn't figure out how to reproduce it. After waiting for a bit or restating spt it's running fine again. OSX: 10.15.3 Terminal: 2.10 (433) zsh: 5.7.1 spotifyd: 0.2.24
Author
Owner

@Goahnary commented on GitHub (Feb 24, 2020):

I'm having the same issue on a fresh installation. Very slow at times. I left my desk and when I came back it is totally unresponsive. Ctrl+c doesn't exit. Works after restarting though.

Anecdotally: Any time I make an action such as play/pause or anything else I am unable to do anything until that action is complete. More specifically I CAN still scroll through the list of songs but the UI does not update until my request to play/pause/whatever completes.

OSX: 10.14.2
iTerm: 3.3.9

<!-- gh-comment-id:590579963 --> @Goahnary commented on GitHub (Feb 24, 2020): I'm having the same issue on a fresh installation. Very slow at times. I left my desk and when I came back it is totally unresponsive. Ctrl+c doesn't exit. Works after restarting though. Anecdotally: Any time I make an action such as play/pause or anything else I am unable to do anything until that action is complete. More specifically I CAN still scroll through the list of songs but the UI does not update until my request to play/pause/whatever completes. OSX: 10.14.2 iTerm: 3.3.9
Author
Owner

@Rigellute commented on GitHub (Feb 25, 2020):

See this comment here for likely cause and solution for this issue https://github.com/Rigellute/spotify-tui/issues/92#issuecomment-590750383

<!-- gh-comment-id:590751281 --> @Rigellute commented on GitHub (Feb 25, 2020): See this comment here for likely cause and solution for this issue https://github.com/Rigellute/spotify-tui/issues/92#issuecomment-590750383
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-tui#102
No description provided.