#Spotify not working for 25 seconds

1 messages · Page 1 of 1 (latest)

sage vigil
#

I have just emerged spotify without any special use flags and whenever I try to play some music it works but its kinda strange

  1. if its already playing when the next music comes the spotify player freezes for first 24 seconds of every song despite it still playing
  2. if i just start playing right after spotify open it will again bug for 24 seconds
    its 24 seconds for every song which is oddly specific but idk it is what it is please help
#

yes i tried restalling already

severe maple
#

do you have a notification daemon

sage vigil
severe maple
#

and is running

#

no, but i assume kde already has one running

sage vigil
#

how to check

severe maple
#

could you run spotify in the terminal and see if anything shows

sage vigil
#

yea sure

#

john@gentoo-user ~ $ spotify
Neither gnome-integration-spotify nor spotify-tray are installed.
Launching spotify without systray integration.

severe maple
#

try skipping a song

sage vigil
#

its stuck like this for 23 s econds

#

and if i just start spotify again and try its stuck where it left

#

but the music is playing (without skipping to the next one)

#

it skips after 23 seconds

severe maple
#

cause electron apps usually have this weird quirk where they freeze for a bit if they can't reach a notification daemon

sage vigil
severe maple
#

could you check if spotify has the libnotify useflag enabled?

sage vigil
#
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for media-sound/spotify-1.2.63:
 U I
 + + libnotify      : Enable desktop notification support
 - - local-playback : Allows playing local files with the Spotify client
 - - pax-kernel     : Triggers a paxmarking of the main Spotify binary
 + + pulseaudio     : Controls the dependency on pulseaudio or apulse
#

it is

#

should i try compiling again with it disabled maybe?

severe maple
#

no, keep it enabled

sage vigil
#

alr

severe maple
#

can you run spotify with spotify --debug-level=8 --show-console

sage vigil
#

i pressed on play and this is all i have

#
Neither gnome-integration-spotify nor spotify-tray are installed.
Launching spotify without systray integration.
#

oh wait

#

im seeing something

#
17:23:58.179 I [f:686                           ] tryStartPlayback failed, not final + not enough buffered (20 tries)
17:23:59.137 I [f:971                           ] Enumerated files in cache. Permanent: keep 0 files, 0 bytes; remove 0 files, 0 bytes. Volatile: keep 61 files, 38050994 bytes; remove 0 files, 0 bytes. Missing: 0 files, 0 bytes
17:24:00.179 I [f:686                           ] tryStartPlayback failed, not final + not enough buffered (30 tries)
17:24:02.178 I [f:686                           ] tryStartPlayback failed, not final + not enough buffered (40 tries)
17:24:04.179 I [f:686                           ] tryStartPlayback failed, not final + not enough buffered (50 tries)
17:24:06.179 I [f:686                           ] tryStartPlayback failed, not final + not enough buffered (60 tries)
17:24:08.179 I [f:686                           ] tryStartPlayback failed, not final + not enough buffered (70 tries)
17:24:10.178 I [f:686                           ] tryStartPlayback failed, not final + not enough buffered (80 tries)
17:24:12.178 I [f:686                           ] tryStartPlayback failed, not final + not enough buffered (90 tries)

#

after i clicked on play

severe maple
#

is spotify frozen?

sage vigil
#

yes it was frozen

severe maple
#

can you send the full console log

sage vigil
#

lemme see if it has anything sensitive 2 sec

#

how do i output to a file all console

#

i tried >> and it showed only 2 lines

severe maple
#

ok whatever, lemme try something else first

#

start spotify, but don't play a song

#

go into settings, scroll down into display and turn off notifications

sage vigil
#

ok ok lemme try

severe maple
sage vigil
#

disabled

#

do i play now

severe maple
#

yes

sage vigil
#

it worked

severe maple
#

ok something was up with notifications

sage vigil
#

wait you said something with electron apps freezing if notification dont work

#

right

severe maple
#

yea

sage vigil
#

i think it makes sense now cause whatsapp also crashing when new message

#

how can i fix this notification issue do you know

severe maple
#

what profile are you on?

#

like when you do eselect profile list

sage vigil
#

default/linux/amd64/23.0/desktop/plasma (stable)

severe maple
#

interesting

#

does it show the star (*) next to it

sage vigil
#

ye

#

i didnt get it in the message

severe maple
#

ok, strange

sage vigil
#

i think i had notifications pop up in the bottom right corner once

#

when i installed kde plasma

severe maple
#

could you send over your make.conf, btw its recommended you use wgetpaste for this

#

you'll have to install it through emerge

severe maple
#

/etc/portage/make.conf

sage vigil
#

its small

#
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

# NOTE: This stage was built with the bindist USE flag enabled

# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C.utf8
USE="-gtk -gnome qt5 kde plasma alsa"

VIDEO_CARDS="nvidia"
GRUB_PLATFORMS="efi-64"
ACCEPT_LICENSE="*"
severe maple
#

yea, i don't know how to resolve this cause i don't use kde

#

maybe its a kde setting but your setup should be fine

sage vigil
#

well

#

xd

#

maybe this is the issue

#

ill open another thread thanks for the help with spotify

severe maple
#

can you check if kde-plasma/kdeplasma-addons is installed

sage vigil
#

lemme see

#
 * Searching for kdeplasma-addons in kde-plasma ...
[IP-] [  ] kde-plasma/kdeplasma-addons-6.4.5:6
#

installed

severe maple
#

maybe its something with kwrited with background services but idk

#

maybe smth with the system tray too?

#

idk i'm uninformed about this

sage vigil
#

Thanks for helping as much as you could again

severe maple
#

no problem

dull magnet
#

> file tells stdout to go to the file called file
2>&1 tells stderr to go to stdout

#

order matters though: ```sh
$ {
echo asdf
echo abcd >&2
} 2>&1 > /dev/null
abcd
$ {
echo asdf
echo abcd >&2
} > /dev/null 2>&1

sage vigil
#

Thanks

#

Btw do you know what I could do to fix my kde plasma notifications @dull magnet

dull magnet
#

nope

sage vigil
#

Alr

sage vigil
#

ok i found the fix i think its pretty stupid but i had to enable system tray

severe maple
#

lmao

sage vigil
#

apparently notifications dont work if i dont have system tray in my task bar???

#

idk why

severe maple
#

strange