Help for Audacity 2.x.x on GNU/Linux.
Forum rules
This forum is for Audacity 2.x.x on GNU/Linux.
Please state:
- which version of Linux you are using,
- the exact three-section version number of Audacity from Help menu > About Audacity,
- whether you installed your distribution's release, PPA version, or compiled Audacity from source code.
Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see
https://www.audacityteam.org/download/).
The old forums for those versions are now closed, but you can still read the archives of the
1.2.x and
1.3.x forums.
-
ng.newbie
- Posts: 8
- Joined: Sun May 17, 2020 2:51 pm
- Operating System: Linux Fedora/RHEL
Post
by ng.newbie » Sun May 17, 2020 3:04 pm
I am on
Fedora 32.
Linux Kernel:
5.6.11-300
Installed Audacity from:
Gnome Software (so probably a flatpak)
When I hit play on Audacity it fails with:
Code: Select all
Error opening sound device
Try changing the audio host, playback device and the project sample rate
I have the following audio devices listed beside the small speaker sign on top right hand side:
- HDA Intel PCH: HDMI 0 (hw:0.3)
- HDA Intel PCH: HDMI 1 (hw:0.7)
- HDA Intel PCH: HDMI 2 (hw:0.8)
- HDA Intel PCH: HDMI 3 (hw:0.9)
- HDA Intel PCH: HDMI 4 (hw:0.10)
The "Audio mode" is to:
ALSA
What do I do ?
I am pretty sure Fedora uses PulseAudio rather than ALSA.
Is that what is causing the problem ?
Last edited by
ng.newbie on Sun Dec 20, 2020 4:40 pm, edited 1 time in total.
-
steve
- Site Admin
- Posts: 79481
- Joined: Sat Dec 01, 2007 11:43 am
- Operating System: Linux *buntu
Post
by steve » Sun May 17, 2020 4:48 pm
Run the "
Audio Device Info" and save the info somewhere convenient, then
attach the "deviceinfo.txt" file to your reply.
-
ng.newbie
- Posts: 8
- Joined: Sun May 17, 2020 2:51 pm
- Operating System: Linux Fedora/RHEL
Post
by ng.newbie » Mon May 18, 2020 4:17 pm
steve wrote: ↑Sun May 17, 2020 4:48 pm
Run the "
Audio Device Info" and save the info somewhere convenient, then
attach the "deviceinfo.txt" file to your reply.
Here is my
Audio Device Info. And please note that this problem is with Audacity only. VLC, Firefox and everything else can play audio fine.
-
steve
- Site Admin
- Posts: 79481
- Joined: Sat Dec 01, 2007 11:43 am
- Operating System: Linux *buntu
Post
by steve » Mon May 18, 2020 4:33 pm
ng.newbie wrote: ↑Sun May 17, 2020 3:04 pm
I am pretty sure Fedora uses PulseAudio rather than ALSA.
PulseAudio is a software layer between ALSA and applications, but yes I would have expected Fedora to use PulseAudio.
Surprisingly there is no sign of PulseAudio in the Audio Device Info.
To check if PulseAudio is installed, run this in a Terminal window:
-
ng.newbie
- Posts: 8
- Joined: Sun May 17, 2020 2:51 pm
- Operating System: Linux Fedora/RHEL
Post
by ng.newbie » Tue May 19, 2020 1:58 pm
steve wrote: ↑Mon May 18, 2020 4:33 pm
ng.newbie wrote: ↑Sun May 17, 2020 3:04 pm
I am pretty sure Fedora uses PulseAudio rather than ALSA.
PulseAudio is a software layer between ALSA and applications, but yes I would have expected Fedora to use PulseAudio.
Surprisingly there is no sign of PulseAudio in the Audio Device Info.
To check if PulseAudio is installed, run this in a Terminal window:
Code: Select all
$ pulseaudio --version
pulseaudio 13.99.1-rebootstrapped
-
ng.newbie
- Posts: 8
- Joined: Sun May 17, 2020 2:51 pm
- Operating System: Linux Fedora/RHEL
Post
by ng.newbie » Thu May 21, 2020 11:48 am
steve wrote: ↑Mon May 18, 2020 4:33 pm
ng.newbie wrote: ↑Sun May 17, 2020 3:04 pm
I am pretty sure Fedora uses PulseAudio rather than ALSA.
PulseAudio is a software layer between ALSA and applications, but yes I would have expected Fedora to use PulseAudio.
Surprisingly there is no sign of PulseAudio in the Audio Device Info.
To check if PulseAudio is installed, run this in a Terminal window:
So now what ?
Is there no solution ?
-
steve
- Site Admin
- Posts: 79481
- Joined: Sat Dec 01, 2007 11:43 am
- Operating System: Linux *buntu
Post
by steve » Thu May 21, 2020 1:12 pm
ng.newbie wrote: ↑Tue May 19, 2020 1:58 pm
$ pulseaudio --version
pulseaudio 13.99.1-rebootstrapped
OK, so pulseaudio is installed.
What happens if you run:
-
ng.newbie
- Posts: 8
- Joined: Sun May 17, 2020 2:51 pm
- Operating System: Linux Fedora/RHEL
Post
by ng.newbie » Sat May 23, 2020 9:59 am
steve wrote: ↑Thu May 21, 2020 1:12 pm
ng.newbie wrote: ↑Tue May 19, 2020 1:58 pm
$ pulseaudio --version
pulseaudio 13.99.1-rebootstrapped
OK, so pulseaudio is installed.
What happens if you run:
$ pavucontrol
bash: pavucontrol: command not found...
Should I install it ?
-
steve
- Site Admin
- Posts: 79481
- Joined: Sat Dec 01, 2007 11:43 am
- Operating System: Linux *buntu
Post
by steve » Sat May 23, 2020 10:34 am
ng.newbie wrote: ↑Sat May 23, 2020 9:59 am
Should I install it ?
"pavucontrol" is the "PulseAudio Volume Control" and is a standard part of a PulseAudio setup. It may not be strictly "necessary" on all systems (you may have some other volume control available), but it is a useful tool, and probably the best volume control when using PulseAudio. In short, yes I think you should install it.
I don't use Fedora myself, but you may find this article useful:
https://fedoraproject.org/wiki/Releases ... Pulseaudio
-
ng.newbie
- Posts: 8
- Joined: Sun May 17, 2020 2:51 pm
- Operating System: Linux Fedora/RHEL
Post
by ng.newbie » Sat May 23, 2020 4:49 pm
steve wrote: ↑Sat May 23, 2020 10:34 am
ng.newbie wrote: ↑Sat May 23, 2020 9:59 am
Should I install it ?
"pavucontrol" is the "PulseAudio Volume Control" and is a standard part of a PulseAudio setup. It may not be strictly "necessary" on all systems (you may have some other volume control available), but it is a useful tool, and probably the best volume control when using PulseAudio. In short, yes I think you should install it.
Ok.
I just want to know if this a problem with Audacity or Fedora.
Who should I contact for this problem ? Audacity devs or Fedora ?
I went through the link, but it did not prove to be useful. I think this is a problem with Audacity itself since I have no problems with sound on Fedora otherwise.
Just point me in the right direction. I have no idea what is going wrong where.