Re: pulseaudio plug/slot
Le 26/09/2016 à 06:27, Spencer Parkin a écrit : > So I did two things to resolve this, I'm not sure if one of them was > necessary, but... > > 1) I changed my app command to "env SDL_AUDIODRIVER=pulseaudio > desktop-launch $SNAP/bin/[myprog]" > 2) I changed the confinement from strict to devmode. > > It's probably the latter that solved the problem. If the snapcraft > developers are interested in testing out why audio doesn't work in > strict mode, they can use my program as an test case, if they cared to. Hey Spencer! Some things you can do to test in strict mode is to tail /var/log/syslog, running your program, and check the apparmor denial you probably get when acessing to some files/do some calls. That would be a great hint for you on debugging this issue, and report a bug if a new interface tweak is needed! Remember that you won't be able to publish on the stable channel if your snap is in devmode. Cheers, Didier > > On Sun, Sep 25, 2016 at 6:28 PM, Spencer Parkin >> wrote: > > Hi, > > I'm adding sound-fx to my snap-app and am running into the common > problem of "it works in my real system, but not in the confined > system." I'm not sure how to trouble-shoot this problem. I've > added the "pulseaudio" plug to my snapcraft.yaml file, "snap > interface" reports that my snap-app is using the "pulseaudio" > plug, I've tried exporting the "SDL_AUDIODRIVER=pulseaudio" > environment variable before running my snap to make sure that I'm > using the appropriate audio back-end. Hmmm...maybe snap-apps > can't read environment variables? Maybe I need to configure some > env-vars in my snapcraft.yaml file? I'll try to see how to setup > the environment (env-vars) for snaps. > > Anyhow, I can hear my sound-fx when run on my real system, but not > under unbuntu core. > > Thanks for any ideas you may have, > --Sp > > > > -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: pulseaudio plug/slot
Ugh...devmode snaps can't be released on the stable channel. And the devmode snap is probably accessing the outside environment to solve the problem anyway, which defeats the purpose. So I don't know how to solve the problem. If anyone cares to see my crappy snap-app, it is at... https://github.com/spencerparkin/ChineseCheckers.git Enable sound, then hold ALT+SHIFT while doing a left-click in the window to test sound. On Sun, Sep 25, 2016 at 10:27 PM, Spencer Parkinwrote: > So I did two things to resolve this, I'm not sure if one of them was > necessary, but... > > 1) I changed my app command to "env SDL_AUDIODRIVER=pulseaudio > desktop-launch $SNAP/bin/[myprog]" > 2) I changed the confinement from strict to devmode. > > It's probably the latter that solved the problem. If the snapcraft > developers are interested in testing out why audio doesn't work in strict > mode, they can use my program as an test case, if they cared to. > > > On Sun, Sep 25, 2016 at 6:28 PM, Spencer Parkin > wrote: > >> Hi, >> >> I'm adding sound-fx to my snap-app and am running into the common problem >> of "it works in my real system, but not in the confined system." I'm not >> sure how to trouble-shoot this problem. I've added the "pulseaudio" plug >> to my snapcraft.yaml file, "snap interface" reports that my snap-app is >> using the "pulseaudio" plug, I've tried exporting the >> "SDL_AUDIODRIVER=pulseaudio" environment variable before running my snap to >> make sure that I'm using the appropriate audio back-end. Hmmm...maybe >> snap-apps can't read environment variables? Maybe I need to configure some >> env-vars in my snapcraft.yaml file? I'll try to see how to setup the >> environment (env-vars) for snaps. >> >> Anyhow, I can hear my sound-fx when run on my real system, but not under >> unbuntu core. >> >> Thanks for any ideas you may have, >> --Sp >> > > -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
pulseaudio plug/slot
Hi, I'm adding sound-fx to my snap-app and am running into the common problem of "it works in my real system, but not in the confined system." I'm not sure how to trouble-shoot this problem. I've added the "pulseaudio" plug to my snapcraft.yaml file, "snap interface" reports that my snap-app is using the "pulseaudio" plug, I've tried exporting the "SDL_AUDIODRIVER=pulseaudio" environment variable before running my snap to make sure that I'm using the appropriate audio back-end. Hmmm...maybe snap-apps can't read environment variables? Maybe I need to configure some env-vars in my snapcraft.yaml file? I'll try to see how to setup the environment (env-vars) for snaps. Anyhow, I can hear my sound-fx when run on my real system, but not under unbuntu core. Thanks for any ideas you may have, --Sp -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Re: Ubuntu core 16 from 19.09.2016 soes not work on RPI3
hi, Am Sonntag, den 25.09.2016, 13:31 +0200 schrieb Tomasz Chacuk: > Hello, > > I wanted to try new beta from 19.09 on my RPI3, but whenever i try tu > burn the image (Win32Imager) loading hangs just after kernel strts > loading - i get the image of 4 rapbberies on the top of the screen > but no further messages - this hangs forever. I have only > HDMI+Ethernet plugged (tried plogging and unpluggin USB keyboard - no > effect) > > Will be grateful for info. please try a daily image from http://people.canonical.com/~ogra/snappy/all-snaps/daily/current/ this has a second (non-serial) console enabled ciao oli signature.asc Description: This is a digitally signed message part -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
Ubuntu core 16 from 19.09.2016 soes not work on RPI3
Hello, I wanted to try new beta from 19.09 on my RPI3, but whenever i try tu burn the image (Win32Imager) loading hangs just after kernel strts loading - i get the image of 4 rapbberies on the top of the screen but no further messages - this hangs forever. I have only HDMI+Ethernet plugged (tried plogging and unpluggin USB keyboard - no effect) Will be grateful for info. -- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft