Apologies if this is covered elsewhere but I have searched this forum and google in general.
Problem: any snap app that I run that has connection pulseaudio does not connect to the pulseaudio daemon which I am running. It appears to fall back on ALSA and fails.
system:
OpenSuSE Tumbleweed
Linux 5.8.14-1-default #1 SMP Wed Oct 7 06:23:04 UTC 2020 (cea47bb) x86_64 GNU/Linux
snap:
gato ~> snap --version
snap 2.47.1-1.1
snapd 2.47.1-1.1
series 16
opensuse-tumbleweed 20201014
kernel 5.8.14-1-default
spotify (version):
gato ~> snap list spotify
Name Version Rev Tracking Publisher Notes
spotify 1.1.42.622.gbd112320-37 42 latest/stable spotify✓ -
spotify (connections):
gato ~> snap connections spotify
Interface Plug Slot Notes
browser-support spotify:browser-support :browser-support -
desktop spotify:desktop :desktop -
gsettings spotify:gsettings :gsettings -
home spotify:home :home -
mount-observe spotify:mount-observe - -
mpris - spotify:spotify-mpris -
network spotify:network :network -
network-manager spotify:network-manager - -
opengl spotify:opengl :opengl -
pulseaudio spotify:pulseaudio :pulseaudio -
unity7 spotify:unity7 :unity7 -
wayland spotify:wayland :wayland -
x11 spotify:x11 :x11 -
pulseaudio (version):
gato ~> zypper if pulseaudio
Loading repository data…
Reading installed packages…
Information for package pulseaudio:
-----------------------------------
Repository : openSUSE-Tumbleweed-Oss
Name : pulseaudio
Version : 13.0-9.3
Arch : x86_64
Vendor : openSUSE
Installed Size : 3.9 MiB
Installed : Yes (automatically)
Status : up-to-date
Source package : pulseaudio-13.0-9.3.src
Summary : A Networked Sound Server
Description :
pulseaudio is a networked sound server for Linux, other Unix like
operating systems and Microsoft Windows. It is intended to be an
improved drop-in replacement for the Enlightened Sound Daemon (ESOUND).
pulseaudio (daemon):
gato ~> ps auwwx|grep pulseaudio
gato+ 16415 0.0 0.0 6120 684 pts/0 S+ 13:38 0:00 grep --color=auto pulseaudio
gato+ 24960 4.2 0.0 1619528 13584 ? S<l Nov03 50:58 /usr/bin/pulseaudio --start
When I run spotify, it starts with several warnings. I have researched them all and they appear to be common and not important.
gato ~> snap run spotify
Gtk-Message: 13:46:04.516: Failed to load module "canberra-gtk-module"
MESA-LOADER: failed to open i965 (search paths /snap/spotify/42/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: i965
MESA-LOADER: failed to open kms_swrast (search paths /snap/spotify/42/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /snap/spotify/42/usr/lib/x86_64-linux-gnu/dri)
failed to load swrast driver
Then when I try to play a track, there are an endless set of errors (until I Ctrl-C out)
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
ALSA lib pcm.c:2495:(snd_pcm_open_noupdate) Unknown PCM default
ALSA lib conf.c:3916:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
There is nothing in the system logs, nothing in pulseaudio logs, no indication that snap ever connected to puluseaudio.
I have tested with snap youtube-music-desktop-app with the same results.
Pulseaudio works fine from every other system process.
If someone can point me in the right direction, I would be grateful.
Gato