Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Snap 913 can't access pulseaudio... #32

Open
lakester opened this issue Sep 27, 2021 · 2 comments
Open

[Bug]: Snap 913 can't access pulseaudio... #32

lakester opened this issue Sep 27, 2021 · 2 comments

Comments

@lakester
Copy link

What happened?

"pulse" device no longer available for either input or output.

What should have happened?

the opposite of what did happen.

Output of snap info audacity

name:      audacity
summary:   Audio software for multi-track recording and editing
publisher: Daniel Llewellyn (diddledani)
store-url: https://snapcraft.io/audacity
contact:   https://github.com/diddlesnaps/audacity/issues
license:   unset
description: |
  Audacity® is a free, easy-to-use, multi-track audio editor and recorder for Windows, Mac OS X,
  GNU/Linux and other operating systems. The interface is translated into many languages.
  
  You can use Audacity to:
  * Record live audio
  * Convert tapes and records into digital recordings or CDs
  * Edit WAV, AIFF, FLAC, MP2, MP3 or Ogg Vorbis sound files
  * Cut, copy, splice or mix sounds together
  * Change the speed or pitch of a recording
  * Apply a wide range of other effects to audio recordings
  
  Upstream Project: https://www.audacityteam.org/
  snapcraft.yaml Build Definition:
  https://github.com/diddlesnaps/audacity/blob/master/snap/snapcraft.yaml
commands:
  - audacity
snap-id:      KTe2wdAu5JKdRDUgYBuXXGjDXyzobvFI
tracking:     latest/stable
refresh-date: 3 days ago, at 09:30 PDT
channels:
  latest/stable:    3.0.4 2021-09-24 (913) 256MB -
  latest/candidate: 3.0.4 2021-09-24 (913) 256MB -
  latest/beta:      ↑                            
  latest/edge:      3.0.4 2021-09-26 (914) 256MB -
installed:          3.0.4            (913) 256MB -

Output of snap connections audacity

Interface               Plug                      Slot                              Notes
alsa                    audacity:alsa             :alsa                             manual
audio-playback          audacity:audio-playback   :audio-playback                   -
audio-record            audacity:audio-record     :audio-record                     manual
content[gtk-2-engines]  audacity:gtk-2-engines    gtk2-common-themes:gtk-2-engines  -
content[gtk-2-themes]   audacity:gtk-2-themes     gtk-common-themes:gtk-2-themes    -
content[icon-themes]    audacity:icon-themes      gtk-common-themes:icon-themes     -
content[sound-themes]   audacity:sound-themes     gtk-common-themes:sound-themes    -
desktop                 audacity:desktop          :desktop                          -
desktop-legacy          audacity:desktop-legacy   :desktop-legacy                   -
gsettings               audacity:gsettings        :gsettings                        -
home                    audacity:home             :home                             -
jack1                   audacity:jack1            :jack1                            manual
network                 audacity:network          :network                          -
network-bind            audacity:network-bind     :network-bind                     -
pulseaudio              audacity:pulseaudio       :pulseaudio                       manual
removable-media         audacity:removable-media  -                                 -
unity7                  audacity:unity7           :unity7                           -
wayland                 audacity:wayland          :wayland                          -
x11                     audacity:x11              :x11                              -

Output of snap version

snap    2.51.4
snapd   2.51.4
series  16
ubuntu  20.04
kernel  5.11.0-34-generic

Relevant log output

[465840.154883] audit: type=1326 audit(1632755020.329:59855): auid=1001 uid=1001 gid=1001 ses=3 subj=snap.audacity.audacity pid=490569 comm="audacity" exe="/snap/audacity/913/usr/bin/audacity" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7fa3d057a89d code=0x50000
[465840.171644] audit: type=1400 audit(1632755020.345:59856): apparmor="DENIED" operation="open" profile="snap.audacity.audacity" name="/etc/alsa/conf.d/" pid=490569 comm="audacity" requested_mask="r" denied_mask="r" fsuid=1001 ouid=0

and fwiw:
ls -lad /etc/alsa/conf.d
drwxr-xr-x 2 root root 4096 Jun 23 11:49 /etc/alsa/conf.d
and
ls -l /usr/share/alsa/alsa.conf.d/pulse.conf
-rw-r--r-- 1 root root 376 Oct 15  2020 /usr/share/alsa/alsa.conf.d/pulse.conf

Teminal output of app

audacity
ln: failed to create symbolic link '/home/saare/snap/audacity/913/.config/gtk-2.0/gtkfilechooser.ini': File exists
Testing for explicit PulseAudio choice...
Testing for ALSA permissions...
...and using ALSA.
@lakester
Copy link
Author

Additional comment: The AppImage for Audacity 3.0.4, as downloaded from audacityteam.org sees all available devices, including pulse. Not sure what "default" was pointed at, but the pulse device..., the sysdefault, and another USB connected device all worked as recording sources.

@bithunter32
Copy link

bithunter32 commented Feb 24, 2023

This still is an issue. Didn't get stable to work. Only got pulseaudio to work by installing edge and not allowing ALSA even against it complaining. Even thought record is disabled it works...

alsa                   audacity:alsa             -                               -
audio-playback         audacity:audio-playback   :audio-playback                 -
audio-record           audacity:audio-record     -                               -
content[gtk-2-themes]  audacity:gtk-2-themes     gtk-common-themes:gtk-2-themes  -
content[icon-themes]   audacity:icon-themes      gtk-common-themes:icon-themes   -
content[sound-themes]  audacity:sound-themes     gtk-common-themes:sound-themes  -
desktop                audacity:desktop          :desktop                        -
desktop-legacy         audacity:desktop-legacy   :desktop-legacy                 -
gsettings              audacity:gsettings        :gsettings                      -
home                   audacity:home             :home                           -
jack1                  audacity:jack1            -                               -
network                audacity:network          :network                        -
network-bind           audacity:network-bind     :network-bind                   -
pulseaudio             audacity:pulseaudio       :pulseaudio                     -
removable-media        audacity:removable-media  -                               -
unity7                 audacity:unity7           :unity7                         -
wayland                audacity:wayland          :wayland                        -
x11                    audacity:x11              :x11                            -


name:      audacity
summary:   Audio software for multi-track recording and editing
publisher: Dani Llewellyn (diddledani✪)
store-url: https://snapcraft.io/audacity
contact:   https://github.com/diddlesnaps/audacity/issues
license:   unset
description: |
 ...
  
  Upstream Project: https://www.audacityteam.org/
  snapcraft.yaml Build Definition:
  https://github.com/diddlesnaps/audacity/blob/master/snap/snapcraft.yaml
commands:
  - audacity
snap-id:      KTe2wdAu5JKdRDUgYBuXXGjDXyzobvFI
tracking:     latest/edge
refresh-date: heute um 14:15 CET
channels:
  latest/stable:    3.1.3 2022-09-18 (1051) 261MB -
  latest/candidate: ↑                             
  latest/beta:      ↑                             
  latest/edge:      3.2.4 2023-02-21 (1175) 263MB -
installed:          3.2.4            (1175) 263MB -


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants