Registered Member
|
Hi, I am unable to play sound in KDE. The problem started when KDE/phonon notified me that certain sound cards are no longer available and if kde should fix this. I clicked onto "yes" and now I have no more sound.
Even though there are some devices listed in systemsettings->multimedia I hear nothing when pressing the "test" button. When I open systemsettings->multimedia as root (!) there are suddenly devices listed where the test plays a sound! But when I try to find the same devices as a normal user the devices are not listed anymore. Non kde apps are playing sound properly, even vlc that uses phonon (?) plays sound but I do not hear any kde notifications nor do amarok and juk play any sound. How can it be, that the working devices can only be used by root? I already flushed .kde/share/config/phonon* but that did not help... My sound card is:
Last edited by StAn666 on Fri Aug 21, 2009 5:04 pm, edited 3 times in total.
|
Registered Member
|
I see, this is not a bug, it's a feature. Removed all of the (until now) useless policykit nonsens, rebooted and now I have sound again.
Systemsettings now shows me devices like * SB Audigy 2 Platinum [SB0240P] (rev.4, serial: 0x10021102) () #4 (this is a very clear description for a sound card, isn't it? ) and all the other devices that where shown before (those with a _real_ description, like "center") are still there and - as you can imagine - still not working. (Why are the even there!?) I don't understand why policykit made it into kde 4.3 but I cannot configure proper permissions with it (like sound card usage)... And why the hell do I not get notified by KDE that I do not have permissions for doing something, leaving me scratch my head? -> I'm looking forward to kde 4.4 |
Administrator
|
Please execute the following command in Konsole:
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thanks for your reply, I will try it today in the evening because I am currently at work. Could I re-enable policykit after executing this command?
|
Administrator
|
Yes, it is completely safe ( and recommended ) to re-enable policykit after doing this. It was likely unrelated to the problem.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I did what you suggested and now sound is working again (with policykit enabled). The devices that were only visible for the superuser are now also shown to a normal user. Thanks for your help.
|
Registered Member
|
Hi, I have exactly the same problem as described by StAn666. However I'm not able to reproduce the steps to solve the problem.
Especially I'm not sure how to perform the following:
What exactly must I do to remove all "useless" (or even all) policykit nonsens? How is bcooksley's hint in comment 3 related to this? Does this contribute to the solution at all? (This step alone does not solve the problem, at least for me) Can you help me with this? Cheers Phil |
Registered Member
|
Please notice that I am running Gentoo Linux, I don't think it's a good idea to remove policykit-stuff on kubuntu.
Executing the mentioned command solved my problem, so the comment is absolutly related to this |
Registered Member
|
hmmm,
have you executed the commands suggested by bcooksley as root or as yourself? I thought that this probably is a right-management issue, so i added myself to the audio group. But that didn't help either. have you any further ideas? Cheers Phil |
Administrator
|
Given that Phonon doesn't even interact in any form with PolicyKit, removing it should have no effect.
The command I gave in comment 3 should be executed under your normal account.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
hmm, executed the command. I can see that the devicelists in the multimedia-dialog in systemsettings show devices in a different order, so the list seems to be reset. However it did not have th desired effect. I still can't play sounds as a normal user...
|
Administrator
|
Please try running a Phonon application such as Dragon Player in Konsole, and see if any relevant output, for permissions is output.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Hi,
i ran dragonplayer. The console did not give any valuable output at all, but a funny thing happend: running the program and playing a file as a normal user gave no output at all. The video starts to play, but no sound. running the program and playing a file via sudo gave the following output:
again a playing movie but no sound. Then I ran the program with kdesudo (therefore no output). The program started i saw the movie and there was sound! (The movie was an mpeg4) When I start amarok with --debug option (as a normal user) and I start playing an mp3-File I get se following output: amarok: END__: void EngineSubject::stateChangedNotify(Phonon::State, Phonon::State) - Took 0.01s amarok: END__: void EngineController::slotStateChanged(Phonon::State, Phonon::State) - Took 0.01s amarok: BEGIN: void EngineController::slotStateChanged(Phonon::State, Phonon::State) amarok: [EngineController] [WARNING!] Phonon failed to play this URL. Error: "Cannot find demultiplexer plugin for MRL [file://home/normaluser/Dokumente/test.mp3]" run with sudo, everything works fine (i.e. I can play the file) Any suggestions? Cheers and thanks a lot for all your support Phil |
Administrator
|
The following message indicates a permissions issue with Xine...
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Hi,
I have purged and reinstalklled the following packages: libxine1 libxine1-bin libxine1-console libxine1-ffmpeg libxine1-misc-plugins libxine1-x phonon-backend-xine However no success, still no sound as a normal user. I have then installed gestreamer additionally with xine: amaroks debuglog shows now even less:
so everything looks right, but I still have no sound Hm I still think that this is a permission issue and there is somewhere some file that has not the right permission... But how can one find it?? Chers Phil |
Registered users: Bing [Bot], Google [Bot], lockheed