Audacity problem and Try To Intall the source AppImage

Hi,
my initial problem was audacity apps does not work any more with the following error message :

[agun76@fedora photos]$ audacity

(process:64760): Gdk-CRITICAL **: 16:13:33.956: gdk_screen_get_root_window: assertion ‘GDK_IS_SCREEN (screen)’ failed

(process:64760): Gdk-CRITICAL **: 16:13:33.956: gdk_window_get_display: assertion ‘GDK_IS_WINDOW (window)’ failed

(process:64760): Gdk-CRITICAL **: 16:13:33.956: gdk_cursor_new_from_pixbuf: assertion ‘GDK_IS_DISPLAY (display)’ failed
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
Segmentation fault (core dumped)

after googling I found current audacity provided by fedora (3.1.3) repository is not update compare to audacity (ver. 3,3,2 , Linux | Audacity ®).

I try to download from audacity (they provided appimage file), but I can’t execute it.

[agun76@fedora photos]$ file audacity-linux-3.3.2-x64.appimage
audacity-linux-3.3.2-x64.appimage: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=30e06184968532b6a9aa36f44ada39e4af0bda56, for GNU/Linux 2.6.32, stripped

[agun76@fedora photos]$ ls -la audacity-linux-3.3.2-x64.appimage
-rwxr-xr-x. 1 agun76 agun76 106280128 Jun 5 15:35 audacity-linux-3.3.2-x64.appimage

[agun76@fedora photos]$ ./audacity-linux-3.3.2-x64.appimage
bash: ./audacity-linux-3.3.2-x64.appimage: Permission denied

same thing when I use root.

any idea ?

audacity from flathub will work… Audacity | Flathub (Version 3.3.2)

flatpak install flathub org.audacityteam.Audacity
flatpak run org.audacityteam.Audacity
Audacity 3.3 was released after the Fedora 38 - that's why it's not part of Fedora 38

If you use RPM Fusion repos, I recommend swapping to audacity-freeworld which is on version 3.3.2.

sudo dnf swap audacity audacity-freeworld

Otherwise flatpak from Flathub should also work, but I don’t know if there are any limitations.

I don’t recommend AppImages. They claim to be universal packages but they’re actually not, and most of them are built with older Ubuntu versions of libraries. But if you want to use the AppImage and can’t, then you should report the issue to Audacity upstream.

1 Like

This is not a valid explanation. Quoting here:

Version 3.1.3 was released Dec 23, 2021 (current Fedora)
Audacity 3.2.0: Sep 22, 2022
Audacity 3.2.1: Oct 5, 2022
Audacity 3.2.2: Dec 6, 2022
Audacity 3.2.3: Dec 27, 2022
Audacity 3.2.4: Jan 27, 2023
Audacity 3.2.5: Mar 1, 2023

F37 released in Nov 2022.
F38 released in Apr 2023.

1 Like

You need to chmod +x audacity-linux-3.3.2-x64.appimage before you can execute it. (It’s the same for all AppImages.)

AppImage seems to preferred by upstream.

Thanks for response Michael, appreciate it.

I did change the mode of the files as you can see :

[agun76@fedora photos]$ ls -la audacity-linux-3.3.2-x64.appimage
-rwxr-xr-x. 1 agun76 agun76 106280128 Jun 5 15:35 audacity-linux-3.3.2-x64.appimage

Thanks Justin for the response, I really appreciate it.

I’ve try to swap using audacity=freeworld but the problem is the same :

[agun76@fedora ~]$ audacity

(process:7166): Gdk-CRITICAL **: 08:04:22.011: gdk_screen_get_root_window: assertion ‘GDK_IS_SCREEN (screen)’ failed

(process:7166): Gdk-CRITICAL **: 08:04:22.011: gdk_window_get_display: assertion ‘GDK_IS_WINDOW (window)’ failed

(process:7166): Gdk-CRITICAL **: 08:04:22.011: gdk_cursor_new_from_pixbuf: assertion ‘GDK_IS_DISPLAY (display)’ failed
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
Segmentation fault (core dumped)
[agun76@fedora ~]$ sudo dnf info audacity-freeworld-3.2.1-1.fc37.x86_64
Last metadata expiration check: 0:00:51 ago on Tue Jun 6 08:04:03 2023.
Available Packages
Name : audacity-freeworld
Version : 3.2.1
Release : 1.fc37
Architecture : x86_64
Size : 19 M
Source : audacity-freeworld-3.2.1-1.fc37.src.rpm
Repository : rpmfusion-free
Summary : Multitrack audio editor
URL : http://audacity.sourceforge.net
License : GPLv2
Description : Audacity is a cross-platform multitrack audio editor. It allows you to
: record sounds directly or to import files in various formats. It features
: a few s0mple effects, all of the editing features you should need, and
: unlimited undo. The GUI was built with wxWidgets and the audio I/O
: supports PulseAudio, OSS and ALSA under Linux.
: This build has support for mp3 and ffmpeg import/export.

I’ll report to audacity upstream, thanks anyway !!

Oh, sorry, I even quoted that part and overlooked it …

With the AppImage, I get most of the failed gdk assertions which you get but not the ALSA errors (nor the core dump), and audacity starts. But I’m an F38 and you’re on F37. Hopefully upstream can provide better hints.

Is your audio stack standard Fedora? pipewire, pipewire-pulseaudio, and pipewire-jack-audio-connection-kit. Or did you swap any components (e.g. PulseAudio or JACK)?

Try disconnecting any extra audio devices.

Try clearing the config. Rename ~/.audacity_data to something else temporarily.

(This is for audacity or audacity-freeworld packages. No idea why the AppImage is not even able to execute.)

Many Thanks @augenauf !! I really appreciate it …again Many thanks :heart_eyes:
it works !!

case closed