Fugio icon indicating copy to clipboard operation
Fugio copied to clipboard

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

Open megatux opened this issue 6 years ago • 9 comments

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.

megatux avatar Jul 25 '18 19:07 megatux

Have same error on Ubuntu 18.04

Shtucer avatar Jul 26 '18 12:07 Shtucer

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

Zaraka avatar Aug 01 '18 08:08 Zaraka

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

arky avatar Apr 18 '19 14:04 arky

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

arky avatar Apr 18 '19 14:04 arky

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

arky avatar Apr 19 '19 10:04 arky

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


CyprienRicque avatar Sep 14 '20 16:09 CyprienRicque

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...

BobyCow avatar Sep 26 '20 09:09 BobyCow

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

ycollet avatar Sep 26 '20 10:09 ycollet

+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)

C138 avatar Jul 31 '21 13:07 C138