musescore / MuseScore

MuseScore is an open source and free music notation software. For support, contribution, bug reports, visit MuseScore.org. Fork and make pull requests!
https://musescore.org
Other
12.33k stars 2.66k forks source link

No audio output #24605

Open bartart3d opened 2 months ago

bartart3d commented 2 months ago

Issue type

General playback bug

Description with steps to reproduce

Using Ubuntustudio 24.04, fresh install and updates, running Wayland and Pipewire:

When launching from terminal this message shows as relevant message: 09:30:58.634 | ERROR | main_thread | AudioModule::setupAudioDriver | audio output open failed

Supporting files, videos and screenshots

afbeelding

What is the latest version of MuseScore Studio where this issue is present?

4.4.1.242490810

Regression

I was unable to check

Operating system

Ubuntu 24.04

Additional context

To add to the relevancy and importance of this bug I want to point out that there is not one single fully functional 4.x build of Musescore available for Ubuntu 24.04 (I can't speak of other Ubuntu versions) and this AppImage is the recommended build for linux!

Checklist

oktophonie commented 2 months ago

Is this just a variant of https://github.com/musescore/MuseScore/issues/11220 ?

MarcSabatella commented 2 months ago

The end result symptom is obviously the same, but given the log message is different, and that much about the internals have changed since 2022, it's probably not the same in terms of the actual cause. On the other hand, probably very little about the details in that other issue are applicable anymore even if the end result is the same, so I'm notnot sure the other issue is that worth keeping open. Unless someone can confirm the details do still remain relevant. I can't reproduce any problem myself on Debian.

For the record, audio does work in general on Linux, but there are a number of different audio systems that can possibly be configured by any different distribution and on any given system (ALSA, PulseAudio, PipeWire etc), and of course different audio devices may have their own drivers etc. On systems where things don't work correctly using all defaults, usually some tweak to the audio configuration will work. But FWIW, if there were one distribution I'd consider worth going out of our way to be sure we support out of the box, it would be Ubuntu Studio. So to me this issue is the one most worth tracking.

bartart3d commented 2 months ago

I agree with MarcSabatella that the end result is the same, but that the issue is probably different. I'm not technically skilled enough to find out though. I read through the comments didn't find the error I mentioned.

This Flathub version:" https://flathub.org/apps/org.musescore.MuseScore" has audio output, but does not detect Muse hub and has issues with the GUI (mixer won't show up, and other parts neither) But maybe a comparison can be made to see what the difference concerning the audio is between the Flatpak version and the AppImage version.

My assumption is that it should be the same, since the source code should be the same, so maybe it is a packaging issue. Again, I'm not not familiar with coding itself, but I've seen issues with permissions to access audio devices etc. in other projects. Could it be as simple as Musescore not having the permission to open the audio device? But how do you solve that in a AppImage?

grtz, Bart