Announcements
From 28th September 2026, Community private messages will no longer be available. If you have any private messages you'd like to keep, please save or copy them using these steps before this date. Thank you.

Help Wizard

Step 1

NEXT STEP

Sound always stuttering/glitching

Sound always stuttering/glitching

Plan

Premium

Country

Ukraine

Device

ThinkPad E595

Operating System

ArchLinux (Gnome Wayland)

 

My Question or Issue

 

When i click "play" button it sounds like spotify enters infinite loop of play/pause until i click "stop", ui is ok, only sound is broken, it's visible in the console.

Deleting ~/.config/spotify and ~/.cache/spotify doesn't help.

Also, cpu load becomes higher and spotify generates enormous logs.

Here how it looks when i run `spotify --show-console`

```
38.016 D [connect:191 ] ConnectState::updateCluster: delaying cluster update 200ms
12:11:38.030 I [f:400 ] Entry (0x7fcbc899fd18) is buffering
12:11:38.168 I [f:456 ] High request latency: https://spclient.wg.spotify.com/connect-state took 165 ms
12:11:38.169 D [connect:191 ] ConnectState::updateCluster: delaying cluster update 200ms
12:11:38.184 I [f:632 ] Starting playback.
12:11:38.184 I [f:634 ] min limit 4000 ms.
12:11:38.184 I [f:635 ] compressed buffer: 117177 bytes
12:11:38.184 I [f:637 ] decompressed buffer: 0 ms
12:11:38.184 I [f:639 ] sink buffer: 1030 ms
12:11:38.184 I [f:640 ] final source buffer: false
12:11:38.185 I [f:400 ] Entry (0x7fcbc899fd18) is not buffering
12:11:38.290 D [connect:191 ] ConnectState::updateCluster: delaying cluster update 200ms
12:11:38.331 I [f:400 ] Entry (0x7fcbc899fd18) is buffering
12:11:38.390 I [f:632 ] Starting playback.
12:11:38.390 I [f:634 ] min limit 4000 ms.
12:11:38.390 I [f:635 ] compressed buffer: 112902 bytes
12:11:38.390 I [f:637 ] decompressed buffer: 0 ms
12:11:38.390 I [f:639 ] sink buffer: 1021 ms
12:11:38.390 I [f:640 ] final source buffer: false
12:11:38.391 I [f:400 ] Entry (0x7fcbc899fd18) is not buffering
12:11:38.430 I [f:400 ] Entry (0x7fcbc899fd18) is buffering
12:11:38.492 D [connect:182 ] ConnectState::updateCluster: Cluster timestamp 1663675898227
12:11:38.552 I [f:632 ] Starting playback.
12:11:38.552 I [f:634 ] min limit 4000 ms.
12:11:38.552 I [f:635 ] compressed buffer: 223398 bytes
12:11:38.552 I [f:637 ] decompressed buffer: 0 ms
12:11:38.552 I [f:639 ] sink buffer: 1069 ms
12:11:38.552 I [f:640 ] final source buffer: false
12:11:38.552 I [f:400 ] Entry (0x7fcbc899fd18) is not buffering
12:11:38.576 I [f:456 ] High request latency: https://spclient.wg.spotify.com/connect-state took 160 ms
12:11:38.579 D [connect:191 ] ConnectState::updateCluster: delaying cluster update 200ms
12:11:38.597 I [f:400 ] Entry (0x7fcbc899fd18) is buffering
12:11:38.664 D [connect:191 ] ConnectState::updateCluster: delaying cluster update 200ms
12:11:38.759 I [f:632 ] Starting playback.
12:11:38.759 I [f:634 ] min limit 4000 ms.
12:11:38.759 I [f:635 ] compressed buffer: 219075 bytes
12:11:38.759 I [f:637 ] decompressed buffer: 0 ms
12:11:38.759 I [f:639 ] sink buffer: 1054 ms
12:11:38.759 I [f:640 ] final source buffer: false
12:11:38.759 I [f:400 ] Entry (0x7fcbc899fd18) is not buffering
12:11:38.798 I [f:400 ] Entry (0x7fcbc899fd18) is buffering
12:11:38.864 D [connect:182 ] ConnectState::updateCluster: Cluster timestamp 1663675898598
12:11:38.873 D [connect:191 ] ConnectState::updateCluster: delaying cluster update 200ms
12:11:38.963 I [f:632 ] Starting playback.
12:11:38.963 I [f:634 ] min limit 4000 ms.
12:11:38.963 I [f:635 ] compressed buffer: 214607 bytes
12:11:38.963 I [f:637 ] decompressed buffer: 0 ms
12:11:38.963 I [f:639 ] sink buffer: 1054 ms
12:11:38.963 I [f:640 ] final source buffer: false
12:11:38.963 I [f:400 ] Entry (0x7fcbc899fd18) is not buffering
12:11:39.002 I [f:400 ] Entry (0x7fcbc899fd18) is buffering
12:11:39.071 D [connect:191 ] ConnectState::updateCluster: delaying cluster update 200ms
12:11:39.168 I [f:632 ] Starting playback.
12:11:39.168 I [f:634 ] min limit 4000 ms.
12:11:39.168 I [f:635 ] compressed buffer: 210531 bytes
12:11:39.168 I [f:637 ] decompressed buffer: 0 ms
12:11:39.168 I [f:639 ] sink buffer: 1054 ms
12:11:39.168 I [f:640 ] final source buffer: false
12:11:39.168 I [f:400 ] Entry (0x7fcbc899fd18) is not buffering
12:11:39.200 I [f:400 ] Entry (0x7fcbc899fd18) is buffering
12:11:39.271 D [connect:182 ] ConnectState::updateCluster: Cluster timestamp 1663675899007
12:11:39.279 D [connect:191 ] ConnectState::updateCluster: delaying cluster update 200ms
```

 

Reply
2 Replies

I've been having a similar issue on Ubuntu lately, making Spotify Desktop unusable. Were you able to find a cause or solution for this?

 

Ha - I was able to reliably reproduce and fix it by increasing the value of this env variable:

PULSE_LATENCY_MSEC=300 spotify --show-console

I had it set to 60ms and 100ms was still causing these buffer issues.

 

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 5 years ago  in Social & Random