You are not logged in.

#1 2011-06-26 21:56:54

york824
Member
Registered: 2008-11-26
Posts: 77

xine broken (solved)

After a reboot all of the applications that use xine now donot work anymore.
For example, the login & logout sound is gone, and when I start Amarok from terminal, I get these:

$ amarok
KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work
amarok: symbol lookup error: /usr/lib/xine/plugins/1.29/xineplug_inp_dvb.so: undefined symbol: xine_get_homedir
unnamed app(2169): Communication problem with  "amarok" , it probably crashed.
Error message was:  "org.freedesktop.DBus.Error.ServiceUnknown" : " "The name org.kde.amarok was not provided by any .service files" "

Does any one else meet this problem?

EDIT: the problem is solved. Please see #11& #12

Last edited by york824 (2011-06-28 12:02:14)

Offline

#2 2011-06-26 22:05:45

Bogart
Member
From: Madrid, Spain
Registered: 2005-06-22
Posts: 273

Re: xine broken (solved)

Same here.

I wonder which package broke this... I'll try to downgrade some to see where is the problem.

Offline

#3 2011-06-26 22:11:15

york824
Member
Registered: 2008-11-26
Posts: 77

Re: xine broken (solved)

@Bogart
Did you try start amarok as a root user?
It seems that applications run as root user work just fine, which is very strange as I expected it a problem for all users.

I got it now: the phonon backend of root user is not xine. sorry for the confusion.

Last edited by york824 (2011-06-26 22:15:05)

Offline

#4 2011-06-26 22:57:38

Bogart
Member
From: Madrid, Spain
Registered: 2005-06-22
Posts: 273

Re: xine broken (solved)

So I found something. phonon-xine is no longer maintained and it's been removed from the repos. Only us still using it have this problem, and i don't know how to solve it except changing the backend to gstreamer (or probably vlc, but didn't try).

Since you can't do it in the system settings (it will crash), here is how to do it.

- First make sure you have installed phonon-gstreamer
- Remove phonon-xine
- Open ~/.kde4/share/config/servicetype_profilerc in some text editor and change the content to:

[PhononBackend]
Entry0_Preference=1
Entry1_Service=phononbackends/gstreamer.desktop
NumberOfEntries=1

Save it, then log out and in again. Hopefully you will have sound again, but this time using gstreamer.

Offline

#5 2011-06-26 23:03:59

york824
Member
Registered: 2008-11-26
Posts: 77

Re: xine broken (solved)

Bogart wrote:

So I found something. phonon-xine is no longer maintained and it's been removed from the repos. Only us still using it have this problem, and i don't know how to solve it except changing the backend to gstreamer (or probably vlc, but didn't try).

Since you can't do it in the system settings (it will crash), here is how to do it.

- First make sure you have installed phonon-gstreamer
- Remove phonon-xine
- Open ~/.kde4/share/config/servicetype_profilerc in some text editor and change the content to:

[PhononBackend]
Entry0_Preference=1
Entry1_Service=phononbackends/gstreamer.desktop
NumberOfEntries=1

Save it, then log out and in again. Hopefully you will have sound again, but this time using gstreamer.

Thank you very much.
But I don't want to use gstreamer as in amarok the gstreamer backend cannot perform gapless playback properly. That is the only reason I am still using xine.
For now it seems that I have no choice. Too bad.

Offline

#6 2011-06-26 23:11:36

york824
Member
Registered: 2008-11-26
Posts: 77

Re: xine broken (solved)

Bogart wrote:

So I found something. phonon-xine is no longer maintained and it's been removed from the repos. Only us still using it have this problem, and i don't know how to solve it except changing the backend to gstreamer (or probably vlc, but didn't try).

Since you can't do it in the system settings (it will crash), here is how to do it.

- First make sure you have installed phonon-gstreamer
- Remove phonon-xine
- Open ~/.kde4/share/config/servicetype_profilerc in some text editor and change the content to:

[PhononBackend]
Entry0_Preference=1
Entry1_Service=phononbackends/gstreamer.desktop
NumberOfEntries=1

Save it, then log out and in again. Hopefully you will have sound again, but this time using gstreamer.

I tried editing this file. It didn't work. I rebooted my computer and it is still the same xine backend being used. sad

EDIT: succeeded. I forgot to remove phonon-xine.
Now every thing works fine except the damn gapless playback in amarok.

Last edited by york824 (2011-06-26 23:17:34)

Offline

#7 2011-06-26 23:43:39

Bogart
Member
From: Madrid, Spain
Registered: 2005-06-22
Posts: 273

Re: xine broken (solved)

Yes, I liked the xine backend better too. With gstreamer I get more wakeups per second, which means more power is used and the fan is on more often.

But yes, no other option, I guess. Better to at least have sound working...

Offline

#8 2011-06-27 13:50:00

york824
Member
Registered: 2008-11-26
Posts: 77

Re: xine broken (solved)

Bogart wrote:

Yes, I liked the xine backend better too. With gstreamer I get more wakeups per second, which means more power is used and the fan is on more often.

But yes, no other option, I guess. Better to at least have sound working...

Have to use clementine for music playback now.
I love amarok's interface, and its podcast support. This is just frustrating.

Offline

#9 2011-06-28 06:25:41

miro279
Member
Registered: 2010-10-02
Posts: 155

Re: xine broken (solved)

same problem here.. phonon-xine even crahes kde systemsettings when opening phonon configuration. i also still think that the xine backend is the best choice when working, so i'd like to have it back!

Offline

#10 2011-06-28 06:30:51

Vegita
Member
Registered: 2009-10-06
Posts: 111

Re: xine broken (solved)

created a testuser, amarok worked, until it was kept on default phonon-vlc, now on phonon-xine testuser couldn't even start amarok

Going to systemsettings, phonon crashes when set to xine, and unable to set up

don't run programs as root, create a nonpriviliged user instead smile

Offline

#11 2011-06-28 06:58:54

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: xine broken (solved)

Remove .xine/catalog.cache then run Amarok.

Offline

#12 2011-06-28 09:23:35

22391
Member
From: Novosibirsk, Russia
Registered: 2010-03-21
Posts: 6

Re: xine broken (solved)

vacant wrote:

Remove .xine/catalog.cache then run Amarok.

Also it is necessary to change value chmod

$ chmod -w .xine

Offline

#13 2011-06-28 10:07:30

Vegita
Member
Registered: 2009-10-06
Posts: 111

Re: xine broken (solved)

thank you, these helped smile

Offline

#14 2011-06-28 12:00:18

york824
Member
Registered: 2008-11-26
Posts: 77

Re: xine broken (solved)

@vacant, @22391
Thanks! It works now!

Offline

#15 2011-06-28 16:50:44

miro279
Member
Registered: 2010-10-02
Posts: 155

Re: xine broken (solved)

the solution is good, but for me only untill the next reboot. for some reason catalog.cache is then again marked as writable and phonon is not working..

Offline

#16 2011-06-29 02:56:50

22391
Member
From: Novosibirsk, Russia
Registered: 2010-03-21
Posts: 6

Re: xine broken (solved)

miro279 wrote:

the solution is good, but for me only untill the next reboot. for some reason catalog.cache is then again marked as writable and phonon is not working..

You can change the directory owner to root

# chown root ~/.xine

Offline

#17 2011-06-29 04:47:00

miro279
Member
Registered: 2010-10-02
Posts: 155

Re: xine broken (solved)

You can change the directory owner to root

doesn't change anything, after reboot catalog.cache is owned by user again and writable..

Offline

#18 2011-06-29 06:36:01

22391
Member
From: Novosibirsk, Russia
Registered: 2010-03-21
Posts: 6

Re: xine broken (solved)

Оnce again
first:

$ rm ~/.xine/catalog.cache

then:

$ chmod -w .xine

catalog.cache should no longer appear

Last edited by 22391 (2011-06-29 06:41:19)

Offline

#19 2011-07-14 00:25:07

Enunes
Member
Registered: 2009-08-06
Posts: 11

Re: xine broken (solved)

Hey,

thanks, I was having that problem with Amarok and this solved it!

Offline

#20 2011-08-19 18:52:47

lgro
Member
Registered: 2010-06-02
Posts: 6

Re: xine broken (solved)

Preloading Xine library helps starting amarok application:

LD_PRELOAD=/usr/lib/libxine.so amarok

Offline

#21 2011-08-25 10:25:19

AndyPieters
Member
From: Plymouth, UK
Registered: 2011-08-16
Posts: 5
Website

Re: xine broken (solved)

Instead of brute force, one can use a fine(r)-grained approach to bypass this issue:

As your normal user:

> ~/.xine/catalog.cache

This will empty the file

As root

chattr +i /home/.../.xine/catalog.cache

This will make the file immutable (unchangeable)

Replace /home/... with your home directory

To get your home folder, run this (as your user)

echo $HOME

Offline

Board footer

Powered by FluxBB