bigfug / Fugio

An open visual programming system designed for fast development and long-term preservation of digital art and creative exploration
http://www.bigfug.com/software/fugio/
GNU Lesser General Public License v3.0
151 stars 22 forks source link

Installed snap on ElementaryOS (Loki) and failed when init. sound #47

Open megatux opened 6 years ago

megatux commented 6 years ago
DBUG: Initialising plugin PortAudioPlugin
ALSA lib conf.c:3750:(snd_config_update_r) Cannot access file /usr/share/alsa/alsa.conf
fugio: src/hostapi/alsa/pa_linux_alsa.c:1454: BuildDeviceList: Assertion `devIdx < numDeviceNames' failed.
Shtucer commented 6 years ago

Have same error on Ubuntu 18.04

Zaraka commented 6 years ago

+1 on fedora 27 and 28. Seems to be some problem in snapcraft.yaml

arky commented 5 years ago

+1 This bug is reproducible in Ubuntu 18.10 as well.

arky commented 5 years ago

Possibility related to this upstream snapcraft bug https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1663029

arky commented 5 years ago

@bigfug Please kindly mark this as high priority bug that blocks people from using Fugio. Thanks!

CyprienRicque commented 3 years ago

Hello, Is there any way to avoid this bug on fedora 31 ?

Details Error :

ALSA lib conf.c:3956:(snd_config_update_r) Cannot access file /home/conan/w/cci_PR-2769/2/63042086-9bb1-4c28-9913-ffbb78cb09c5/.conan/data/libalsa/1.1.9/_/_/package/d48130e0dd76369b1338deb3b2372c5a649f9f2d/share/alsa/alsa.conf
ALSA lib control.c:1375:(snd_ctl_open_noupdate) Invalid CTL hw:0
babel: sources/src/hostapi/alsa/pa_linux_alsa.c:1453: BuildDeviceList: Assertion `devIdx < numDeviceNames' failed.
[1]    25349 abort (core dumped)

Code :

#include <stdio.h>
#include <math.h>
#include "portaudio.h"

#ifdef WIN32
#include <windows.h>

#if PA_USE_ASIO
#include "pa_asio.h"
#endif
#endif
    int     i, numDevices, defaultDisplayed;
    const   PaDeviceInfo *deviceInfo;
    PaStreamParameters inputParameters, outputParameters;
    PaError err;

    err = Pa_Initialize(); // Error happens there
BobyCow commented 3 years ago

Hello, Is there any way to avoid this bug on fedora 31 ?

Details Error :

ALSA lib conf.c:3956:(snd_config_update_r) Cannot access file /home/conan/w/cci_PR-2769/2/63042086-9bb1-4c28-9913-ffbb78cb09c5/.conan/data/libalsa/1.1.9/_/_/package/d48130e0dd76369b1338deb3b2372c5a649f9f2d/share/alsa/alsa.conf
ALSA lib control.c:1375:(snd_ctl_open_noupdate) Invalid CTL hw:0
babel: sources/src/hostapi/alsa/pa_linux_alsa.c:1453: BuildDeviceList: Assertion `devIdx < numDeviceNames' failed.
[1]    25349 abort (core dumped)

Code :

#include <stdio.h>
#include <math.h>
#include "portaudio.h"

#ifdef WIN32
#include <windows.h>

#if PA_USE_ASIO
#include "pa_asio.h"
#endif
#endif
 int     i, numDevices, defaultDisplayed;
 const   PaDeviceInfo *deviceInfo;
 PaStreamParameters inputParameters, outputParameters;
 PaError err;

 err = Pa_Initialize(); // Error happens there

I have the exact same problem...

ycollet commented 3 years ago

Here: https://copr.fedorainfracloud.org/coprs/ycollet/linuxmao/ There is a Fugio package for Fedora 31. It's based on Fugio-3.1.0. You can have a look at the steps I followed for the build in the spec file here: https://raw.githubusercontent.com/ycollet/fedora-spec/master/fugio/fugio.spec

C138 commented 3 years ago

+1 This bug is reproducible in Ubuntu 18.10 as well.

+1 / Ubuntu 20.10 /

/snap/bin/fugio -v Fugio 3.0.0 (x86_64/x86_64)