You are not logged in.
Pages: 1
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
Same here.
I wonder which package broke this... I'll try to downgrade some to see where is the problem.
Offline
@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
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
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=1Save 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
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=1Save 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.
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
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
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
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
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
Offline
Remove .xine/catalog.cache then run Amarok.
Offline
Remove .xine/catalog.cache then run Amarok.
Also it is necessary to change value chmod
$ chmod -w .xine
Offline
thank you, these helped
Offline
@vacant, @22391
Thanks! It works now!
Offline
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
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
You can change the directory owner to root
doesn't change anything, after reboot catalog.cache is owned by user again and writable..
Offline
О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
Hey,
thanks, I was having that problem with Amarok and this solved it!
Offline
Preloading Xine library helps starting amarok application:
LD_PRELOAD=/usr/lib/libxine.so amarok
Offline
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
Pages: 1