[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-14 Thread Launchpad Bug Tracker
** Branch linked: lp:~osomon/webbrowser-app/16.10-SRU1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1632620 Title: No audio from webbrowser-app in 16.10 U8 or U7 session To manage notifications

[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-14 Thread Olivier Tilloy
jdstrand, is this something I can/should work around in the generated apparmor profile for webbrowser-app, or better to fix in apparmor-easyprof-ubuntu (I imagine other apps using the audio/microphone policy groups might be affected too)? oSoMoN: for now workaround it. this is fixed in snappy

[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Launchpad Bug Tracker
** Branch linked: lp:~osomon/webbrowser-app/fix-1632620-sound-yakkety -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1632620 Title: No audio from webbrowser-app in 16.10 U8 or U7 session To manage

[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Olivier Tilloy
** Changed in: webbrowser-app (Ubuntu) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1632620 Title: No audio from webbrowser-app in 16.10 U8 or U7 session

[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Olivier Tilloy
** Also affects: apparmor-easyprof-ubuntu (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1632620 Title: No audio from webbrowser-app in 16.10 U8

[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Olivier Tilloy
The above rule comes from the audio and microphone policy groups: https://bazaar.launchpad.net/~ubuntu-security/apparmor-easyprof-ubuntu/trunk/view/head:/data/policygroups/ubuntu/1.0/audio#L10

[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Olivier Tilloy
The following rule in the browser’s apparmor profile is what causes the audio manager to fail to initialize: deny /{run,dev}/shm/pulse-shm* w, # deny unless we have to have it -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Olivier Tilloy
oSoMoN, ah, so AudioManagerPulse fails to initialize, and then it tries to create AudioManagerAlsa before the unique_ptr instance holding AudioManagerPulse goes out of scope that makes sense that means chromium's fallback is buggy though, as AudioManager::Get() will always return nullptr if

[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Olivier Tilloy
I’m seeing the following message in the console when starting webbrowser-app: [1013/154851:WARNING:audio_manager.cc(314)] Multiple instances of AudioManager detected [1013/154851:WARNING:audio_manager.cc(275)] Multiple instances of AudioManager detected -- You received this bug notification

[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Olivier Tilloy
I can reliably reproduce the issue in a yakkety VM. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1632620 Title: No audio from webbrowser-app in 16.10 U8 or U7 session To manage notifications

[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Olivier Tilloy
oSoMoN, works, and I have sound too willcooke, good, so it’s just the browser ** Changed in: oxide Status: New => Invalid ** Changed in: webbrowser-app (Ubuntu) Status: Incomplete => Confirmed ** Changed in: webbrowser-app (Ubuntu) Assignee: (unassigned) => Olivier Tilloy

[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Will Cooke
Oct 13 12:26:49 test-Inspiron-3137 kernel: [ 506.368904] audit_printk_skb: 63 callbacks suppressed Oct 13 12:26:49 test-Inspiron-3137 kernel: [ 506.368906] audit: type=1400 audit(1476358009.176:78): apparmor="DENIED" operation="open" profile="webbrowser-app"

[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Olivier Tilloy
@Will: could you please check if it’s just the browser, or anything using an Oxide webview, that experiences the lack of sound? You can do so by saving the following content as test.qml and opening it in qmlscene: import QtQuick 2.4 import com.canonical.Oxide 1.15 WebView { width: 800

[Bug 1632620] Re: No audio from webbrowser-app in 16.10 U8 or U7 session

2016-10-13 Thread Olivier Tilloy
(Probably) relevant logs (from the log file attached): ALSA lib conf.c:3823:(snd_config_update_r) cannot access file /usr/share/alsa/alsa.conf ALSA lib pcm.c:2450:(snd_pcm_open_noupdate) Unknown PCM default [1012/100326:WARNING:alsa_util.cc(24)] PcmOpen: default,No such file or directory ALSA