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

no sound, from Amarok 2.2 only

Tags: None
(comma "," separated)
MoDaX
Registered Member
Posts
241
Karma
0
OS

Re: no sound, from Amarok 2.2 only

Tue Oct 27, 2009 8:31 am
Install e.g. fluxbox, start it from kdm then start amarok in it. Maybe something is using your sound device under KDE in a "funny" way...
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: no sound, from Amarok 2.2 only

Tue Oct 27, 2009 9:32 am
Uhm, just to be sure: You don't have Amarok muted, or the volume at 0%?

(I've seen it before...)


--
Mark Kretschmann - Amarok Developer
andrex
Registered Member
Posts
15
Karma
0
OS

Re: no sound, from Amarok 2.2 only

Tue Oct 27, 2009 10:45 am
markey wrote:Uhm, just to be sure: You don't have Amarok muted, or the volume at 0%?


:) I'd ask that too. No, the volume slider (top right) is at 90%.

Sound in KDE generally (and non-KDE apps too) works fine-- as I was writing this I just got a ping from Kmail for incoming mail.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: no sound, from Amarok 2.2 only

Wed Oct 28, 2009 6:57 am
If you upgraded any component of your KDE system recently, try restarting Amarok.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
andrex
Registered Member
Posts
15
Karma
0
OS

Re: no sound, from Amarok 2.2 only

Wed Oct 28, 2009 7:03 am
Every time I make any of the changes people have suggested here, I at least restart Amarok. If the change has to do with any phonon-related or other back end components, I log out and back in again.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: no sound, from Amarok 2.2 only

Wed Oct 28, 2009 7:31 am
If you do not care about your statistics, try nuking your Amarok configuration.

Code: Select all
kquitapp amarok
sleep 20s
rm -f $(kde4-config --localprefix)/share/config/amarok*
rm -rf $(kde4-config --localprefix)/share/apps/amarok/


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
andrex
Registered Member
Posts
15
Karma
0
OS

Re: no sound, from Amarok 2.2 only

Wed Oct 28, 2009 12:28 pm
bcooksley wrote:If you do not care about your statistics, try nuking your Amarok configuration.


Yes, I already tried this, back in an earlier comment. Often therapeutic for KDE apps... but in this case it didn't help :(
andrex
Registered Member
Posts
15
Karma
0
OS

Re: no sound, from Amarok 2.2 only

Wed Oct 28, 2009 1:12 pm
Thanks for the attention that you've all given to this problem so far. To pull everything together, I just did the following:

  • shut down KDE for all users
  • killed all remaining stray user and KDE-related processes
  • wiped out my ~/.kde/share/{config,share}/amarok* and ~/.kde/share/config/phonondevicesrc
  • restarted KDE and Amarok.

There's no change. Other apps, e.g. Dragon player and XMMS, make sound, and when I go to System settings > Multimedia and test the top-listed device (which is the same in all audio categories), I get sound. But from Amarok, there's no sound. Amarok's sound slider is currently set at 80% and not muted.

Amarok does make sound for a newly created user, as I reported before. So unless anyone has any other ideas, I think I'll probably be forced to try a binary search through ~/.kde, as I suggested before. Or is there some debugging or other systematic approach that might be more successful?

Thanks,
Andrew.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: no sound, from Amarok 2.2 only

Thu Oct 29, 2009 5:42 am
Try removing the caches/temporary directories/etc used by KDE also:
This MUST be done outside a KDE session however.

Code: Select all
rm -rf /var/tmp/kde*-$USER
rm -rf /tmp/ksocket-$USER
rm -rf /tmp/kde-$USER


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
kettumatti
Registered Member
Posts
1
Karma
0
OS

Re: no sound, from Amarok 2.2 only

Sat Oct 31, 2009 9:31 pm
I had same kind of problem.
Deleting "~/.xine/catalog.cache" helped me.
bb_thats_me2
Registered Member
Posts
2
Karma
0
OS

Re: no sound, from Amarok 2.2 only

Tue Nov 03, 2009 1:50 am
I am having this exact same issue on the Windows build of 2.2 so maybe this is a bug and not a settings error?
However, I am not having this issue on my Kubuntu 9.10 Netbook Remix
andrex
Registered Member
Posts
15
Karma
0
OS

Re: no sound, from Amarok 2.2 only

Tue Nov 03, 2009 7:29 am
I removed all of

~/.xine
/var/tmp/kde*-$USER
/tmp/ksocket-$USER
/tmp/kde*-$USER

as suggested. Unfortunately, ATM sound is no longer working for me in KDE at all, so I'm not able to tell whether these steps worked. This is a general problem that I've been struggling with for months, ever since I installed KDE 4: https://bugs.kde.org/show_bug.cgi?id=197679 .

But I swear (or affirm), that sound was working before in other KDE apps, just not Amarok. Whether my general sound problem is related to my Amarok sound problem, I can't say, since the cause of both is unknown :(
User avatar
markey
KDE Developer
Posts
2286
Karma
3
OS

Re: no sound, from Amarok 2.2 only

Tue Nov 03, 2009 8:23 am
If I were you, instead of going through this world of hurt, I'd make a backup of important files, then nuke the whole HDD, and do a fresh install of Kubuntu 9.10.


--
Mark Kretschmann - Amarok Developer
andrex
Registered Member
Posts
15
Karma
0
OS

Re: no sound, from Amarok 2.2 only

Tue Nov 03, 2009 9:29 am
markey wrote:If I were you, instead of going through this world of hurt, I'd make a backup of important files, then nuke the whole HDD, and do a fresh install of Kubuntu 9.10.


Yeah, I hear you. This is my Debian LAN server, so I'm not going to reinstall. But moving aside all of ~/.kde would probably get me there and cause only about an hour of reconfiguration pain.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: no sound, from Amarok 2.2 only

Tue Nov 03, 2009 10:06 am
andrex wrote:
markey wrote:If I were you, instead of going through this world of hurt, I'd make a backup of important files, then nuke the whole HDD, and do a fresh install of Kubuntu 9.10.


Yeah, I hear you. This is my Debian LAN server, so I'm not going to reinstall. But moving aside all of ~/.kde would probably get me there and cause only about an hour of reconfiguration pain.

Calm down, this was not an answer addressed to you but the user above who uses Kubuntu.

Sound works perfectly well here, using default Alsa and Phonon settings with the phonon-xine-backend. This is the sound settings that KDE has by default, so every other element that is added and interferes with these settings disturbs it. And we can't stress this often enough: Amarok doesn't do sound itself, it lets Phonon do all the work.
* Check with a new user: if the sound works, then it's somewhere in ~/.kde/share/config/
* make sure you have no pulseaudio installed. I f yes, remove it, remove the ~/.kde/share/config/phonondevicesrc and all alsa.conf files in $HOME, then restart KDE

No need to be agressive against Amarok and it's developers for a problem that is not our making.


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: Bing [Bot], Google [Bot]