No (pulse) audio when in devmode or confined
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I have a snap which when installed in devmode does not produce any audio output, yet does when run without confinement.
https:/
Steps to reproduce:-
bzr branch lp:~popey/+junk/godot
cd godot
snap install godot_2.
git clone https:/
cd godot-demo-
godot
Game loads, no audio.
However, if you launch godot via:-
/snap/godot/
You do get audio.
I have tried with adding pulseaudio / libasound2 / libpulse0 to the stage-packages, but that makes no difference.
Launching godot in an empty (as in, don't load and run a game, but load the editor) directory results in:-
$ godot
PulseAudio ERR: Connection refused
ERROR: init: Condition ' pulse == __null ' is true. returned: ERR_CANT_OPEN
At: drivers/
ALSA lib conf.c:
ALSA lib pcm.c:2266:
ERROR: init: Condition ' status<0 ' is true. returned: ERR_CANT_OPEN
At: drivers/
ERROR: initialize: Initializing audio failed.
At: platform/
WARNING: create: Config file does not exist, creating.
At: tools/editor/
tags: | added: isv |
Status changed to 'Confirmed' because the bug affects multiple users.