Project

General

Profile

Unable to re-open Audacious 4.05 in Winamp-mode

Added by Henk Audacious 2 months ago

TL;DR I am unable to re-open the Fedora-packaged Audacious in Winamp mode, since I tried building Audacious from source.

I recently updated to Fedora 33. Along came the update from Audacious 3.x to 4.05.
The 4.x series looks really good. Since a favourite feature of mine was missing, I thought I would try giving the development version I try.
I followed the instructions (https://redmine.audacious-media-player.org/boards/1/topics/788), till sudo make -j4 (without install)

The built Audacious gave the following error:

QFontDatabase: Must construct a QGuiApplication before accessing QFontDatabase
Aborted (core dumped)

Since the built was not working I removed the built, and tried to start the Fedora installed Audacious. It wouldn't start. After deleting the .config/audacious it started again in non-Winamp-mode.

Changing to Winamp-mode works, and the application works, but whenever I restart Audacious, it crashes with the same error as above.
Removing plugin-registry from the config folder makes Audacious start again, albeit in non-Winamp-mode.

I tried removing and reinstalling all Audacious packages and plugins using the package manager, however this does not change the situation.

What can I do to get Audacious (re)start again in Winamp-mode?
I'm running Fedora 33 KDE-spin, with plasma 5.19.5

Kind regards,


Replies (7)

RE: Unable to re-open Audacious 4.05 in Winamp-mode - Added by Michael Schwendt about 2 months ago

I'm running Fedora 33 KDE-spin, with plasma 5.19.5

If using the Fedora supplied packages, they build Audacious with Qt and GTK+2 but the default is the Qt based UI. So, as a temporary workaround, create a launcher script for Audacious that executes "audacious -G" or "audacious --gtk", and use that always to start Audacious. Then open the preferences and enable the Winamp UI.

It could be that Audacious based on Qt is in need of a few fixes, since previously the default UI was the GTK+ v2 based one, and fewer people have tried the Qt based UI. Another desktop env that seems to cause problems is Cinnamon. GNOME Shell sort of works, but if turning on the Winamp mode while using the Qt based UI, here one cannot move the windows.

RE: Unable to re-open Audacious 4.05 in Winamp-mode - Added by Andrew Spooner about 2 months ago

I've noticed the issue with the Gnome Shell on Fedora 33 (stock not a spin) whereby you can't move any of the windows when you enable the Winamp mode. Don't suppose there is a bug ticket for that or a more permanent fix rather than the launcher options tweak?

RE: Unable to re-open Audacious 4.05 in Winamp-mode - Added by Andrew Spooner about 2 months ago

As a note for other people whom may have this issue on Fedora 33. If you follow the guidelines from here: -

https://superuser.com/questions/304271/commandline-options-in-gnome-3-launchers

But rather than the firefox copy the audacious.desktop and add the `--gtk` to the exec= line you can then go back to launching using the gui rather than terminal.

RE: Unable to re-open Audacious 4.05 in Winamp-mode - Added by Henk Audacious about 1 month ago

Thanks Micheal for the quick response.
Sorry I didn't see your answer till now (I did not receive any notifications).
Adding --gtk to the launcher simply does the trick!
Thanks!

RE: Unable to re-open Audacious 4.05 in Winamp-mode - Added by Henk Audacious 21 days ago

I had a similar crash of another program (MythTV) generating the same error and crash.
Looking for a solution, I found some people with the same error in another project (Jami-lrc), with a solution.

https://git.jami.net/savoirfairelinux/ring-lrc/issues/428#note_19176
The culprit seems to be libpbf.so

Removing /usr/lib64/qt5/plugins/imageformats/libpbf.so
and updating qt5-qtimageformats one small version (5.15.1 -> 5.15.2) did the trick.
Now MythTV works, and Audacious can be started in Winamp-mode without --gtk flag!

RE: Unable to re-open Audacious 4.05 in Winamp-mode - Added by Michael Schwendt 19 days ago

qt5-qtimageformats is a Qt plugin that isn't even installed by default. Perhaps KDE pulls it in. There are only few direct dependencies on it:

$ sudo dnf repoquery --whatrequires qt5-qtimageformats
qt5-qt3d-0:5.15.1-1.fc33.i686
qt5-qt3d-0:5.15.1-1.fc33.x86_64
qt5-qt3d-0:5.15.2-2.fc33.i686
qt5-qt3d-0:5.15.2-2.fc33.x86_64
rapid-photo-downloader-0:0.9.24-2.fc33.noarch
telegram-desktop-0:2.4.3-1.fc33.x86_64
telegram-desktop-0:2.4.7-4.fc33.x86_64

A Qt plugin breaking Qt can take down any application based on Qt, of course.

/usr/lib64/qt5/plugins/imageformats/libpbf.so is from a different package, on the other hand, so if you have removed it, maybe that other package is the culprit:

$ sudo dnf repoquery --whatprovides /usr/lib64/qt5/plugins/imageformats/libpbf.so
qt5-qtpbfimageformat-0:2.2-4.fc33.x86_64

RE: Unable to re-open Audacious 4.05 in Winamp-mode - Added by Henk Audacious 17 days ago

python3-pyside2 requires qt5qt3d. Probably that way I got hold of libpbf.so.
Updating qt5-qtimageformats triggered a bunch of other qt related updates, but most likely not qt5-qtpbfimageformat, since libpbf.so is still gone.
Nevertheless the problems are gone, and it even seems that some subtle KDE problems that were bothering me, are solved now.
I'll try to pay attention when qt5-qtpbfimageformat will be updated, to see if the problems return.

    (1-7/7)