This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Amarok Hangs at Startup

Tags: None
(comma "," separated)
User avatar
arcane
Registered Member
Posts
2
Karma
0

Amarok Hangs at Startup

Fri Mar 28, 2014 6:31 pm
In just the last couple of days, Amarok has begun failing to launch on my up-to-date Trusty machine (using default PulseAudio back end). It was working fine before this, and I don't recall any changes I've made that would affect it. All other audio apps (vlc, radiotray, rhythmbox, banshee...) continue to work fine.

All I get when running it is:

Code: Select all
evil@clevo:~$ amarok --debug --nofork
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
amarok: BEGIN: App::App()
amarok:   BEGIN: void App::continueInit()
amarok:     BEGIN: EngineController::EngineController()
amarok:     END__: EngineController::EngineController() [Took: 0.002s]
amarok:     BEGIN: void EngineController::initializePhonon()

(amarok:5584): GLib-GObject-WARNING **: cannot register existing type 'GstObject'

(amarok:5584): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(amarok:5584): GLib-GObject-CRITICAL **: g_type_register_static: assertion 'parent_type > 0' failed

(amarok:5584): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(amarok:5584): GStreamer-CRITICAL **: gst_plugin_feature_get_name: assertion 'GST_IS_PLUGIN_FEATURE (feature)' failed


Neither the GUI nor the tray icon appear.

I've tried :
    - Cleaning all /var/tmp and /tmp files related to KDE.
    - apt-get remove --purge'ing amarok and reinstalling
    - removing all amarok config files I could find in /home
    - logging out, completely renaming my .kde directory from a terminal and logging back in with a clean session

...yet I'm still stuck with this odd bug.

I'm running out of ideas here - does any Amarok guru recognize these symptoms?
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: Amarok Hangs at Startup

Fri Mar 28, 2014 10:43 pm
this might help viewtopic.php?f=115&t=110691

I would suggest switching to the phonon-backend-vlc (install package and dependencies then switch to it in systemsettings) and then restarting KDE


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Amarok Hangs at Startup

Sat Mar 29, 2014 12:23 am
The problem is distribution specific and yes, the only solution is to change the phonon backend and use the vlc one.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
User avatar
arcane
Registered Member
Posts
2
Karma
0

Re: Amarok Hangs at Startup

Sat Mar 29, 2014 1:35 am
Thank you two very much for the quick and wise advice! It does indeed work fine using the vlc backend.

Just out of curiosity, why would this suddenly break? If it's an incompatibility between the amarok package and the gstreamer package in the Trusty repos, I'm surprised I couldn't find anyone reporting the same problem on launchpad or the Ubuntu +1 forum. Then again, it wouldn't be the first time I was the first to run into a bug.

Thanks again!
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: Amarok Hangs at Startup

Sat Mar 29, 2014 7:47 am
no, the problem is that a codec linker was replaced from the ubuntu codebase, and currently only the gstreamer 1.x library is supported by the new one. Sadly the current phonon-backend-gstreamer does only support the gstreamer 0.10.x llibraries, so upstream broke it for Kubuntu. The bug is well known, search for keywords "gstreamer" or "libav".

The implementation of the gstreamer 1.x libraries into the phonon backend is WIP, but since gstreamer is not easy to work with this takes time.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, sandyvee, Sogou [Bot]