LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-18-2004, 01:38 AM   #1
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
kde3.3 and system sounds


Having just upgraded to KDE3.3, and a relatively painless experience it was. A couple of niggles, but no great biggy, (swaret probs mainly) I have to say just how much it has improved it terms of performance. One problem though, I can no longer get system sounds. No login/logout sounds. No new mail notification etc. And if I hover my mouse over .wav files within konqueror, no preview sounds as previously. Also, no test sound from the KDE control centre. But, all sounds do work when clicked on, which launches the embedded Kplayer component.
Apart from this annoyance, everything is as it was before the upgrade, so anyone got any ideas what might be happening?
 
Old 10-18-2004, 06:09 AM   #2
brenton
Member
 
Registered: Mar 2004
Location: Sydney, Australia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
Something to do with arts then? Did you upgrade it? Is artsd running?
 
Old 10-18-2004, 11:05 AM   #3
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Original Poster
Rep: Reputation: 98
OK,
Set my soundsystem within the Kcontrol centre to /opt/kde/bin/artsplay, and now get login/out sound, BUT only if they are .wav files. Looking at the /opt/kde/share/sounds directory, it seems the 3.3 uses .ogg files. These don't play. Also the 'test sound' bar within the control centre does nothing, plus mouse hovering still doesn't play the file being hovered over.
Also, if attempting to start arts from the command line I get this:-
root@localhost:~# artsd -l0 -F10 -S4096
artsd version is 1.3.1
gsl: using Unix98 pthreads directly for mutexes and conditions
autodetecting driver:
- toss: 4
- esd: -1
- null: -1
- alsa: 15
- oss: 10
... which means we'll default to alsa
[artsd: 9108] SoundServerStartup --> got lock
ALSA driver: default
buffering: 4 fragments with 4096 bytes (audio latency is 92.9 ms)
ALSA lib pcm_hw.c:494snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
Closing ALSA-driver
virtualize StereoVolumeControl
ALSA driver: default
buffering: 4 fragments with 4096 bytes (audio latency is 92.9 ms)
ALSA lib pcm_hw.c:494snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
audio format is 44100 Hz, 16 bits, 2 channels
addDirectory(/opt/kde/lib/mcop,)
addDirectory(/opt/kde/lib/mcop/Amarok,Amarok)
addDirectory(/opt/kde/lib/mcop/Arts,Arts)
addDirectory(/opt/kde/lib/mcop/Arts/Environment,Arts::Environment)
addDirectory(/opt/kde/lib/mcop/Noatun,Noatun)
addDirectory(/root/.mcop/trader-cache,)
can't register Arts::MidiManager
There are already artsd objects registered, looking if they are active...
xrun!!

ALSA lib pcm_hw.c:494snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe

Error: Can't add object reference (probably artsd is already running).
If you are sure it is not already running, remove the relevant files:

/tmp/mcop-root/Arts_SoundServerV2
/tmp/mcop-root/Arts_SoundServer
/tmp/mcop-root/Arts_SimpleSoundServer
/tmp/mcop-root/Arts_PlayObjectFactory
/tmp/mcop-root/Arts_AudioManager

Synth_PLAY: closing audio fd
Closing ALSA-driver
[artsd: 9108] SoundServerStartup <-- released lock
root@localhost:~#
So I removed the suggested, and then I get this:-
root@localhost:~# artsd -l0 -F10 -S4096
artsd version is 1.3.1
gsl: using Unix98 pthreads directly for mutexes and conditions
autodetecting driver:
- toss: 4
- esd: -1
- null: -1
- alsa: 15
- oss: 10
... which means we'll default to alsa
[artsd: 9150] SoundServerStartup --> got lock
ALSA driver: default
buffering: 4 fragments with 4096 bytes (audio latency is 92.9 ms)
ALSA lib pcm_hw.c:494snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
Closing ALSA-driver
virtualize StereoVolumeControl
ALSA driver: default
buffering: 4 fragments with 4096 bytes (audio latency is 92.9 ms)
ALSA lib pcm_hw.c:494snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
audio format is 44100 Hz, 16 bits, 2 channels
addDirectory(/opt/kde/lib/mcop,)
addDirectory(/opt/kde/lib/mcop/Amarok,Amarok)
addDirectory(/opt/kde/lib/mcop/Arts,Arts)
addDirectory(/opt/kde/lib/mcop/Arts/Environment,Arts::Environment)
addDirectory(/opt/kde/lib/mcop/Noatun,Noatun)
addDirectory(/root/.mcop/trader-cache,)
Arts::MidiManager registered successfully.
[artsd: 9150] SoundServerStartup <-- released lock


Does this mean then, that ALSA is broken?:

Have tried arts manually from within the /opt/kde/share/sounds directory. This is what happens:
e.g. artsplay 'file.wav', plays the .wav file.
artsplay 'file.ogg', no sound, no errors, just returns to the prompt

Now getting confused.

Last edited by vdemuth; 10-18-2004 at 11:34 AM.
 
Old 10-18-2004, 06:02 PM   #4
brenton
Member
 
Registered: Mar 2004
Location: Sydney, Australia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
It looks like arts is already running.

So you definetely upgaded arts? Have you tried running "swaret --dep"?

Last edited by brenton; 10-18-2004 at 06:05 PM.
 
Old 10-18-2004, 07:26 PM   #5
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
I rarely use KDE, but I thought I'd check it out. I am having the same issue.

I upgraded to KDE 3.3.1 using SWareT. I made sure to run "swaret --dep" and that caught a library that I had missed. Checked out my /etc for .new files. Deleted all of the /tmp directory. Rebooted.

I use GDM as my login manger. I set the session to KDE. Logged in as root. No start up sound. Fire up xterm.

Quote:
bash-3.00# ps ax|grep arts
2892 ? S 0:00 artsd -F 10 -S 4096 -s 60 -m artsmessage -c drkonqi -l 3 -f
So, arts is running (note, this was also upgraded via SWareT). Let's investigate some more. I click on K-> Multimedia-> More Applications-> Sound Server Control (aRts Control Tool). I click on View-> aRts Status. I get a popup menu that says:

Quote:
Artsd is not configured for realtime scheduling or was manually started without artswrapper.

The aRts sound daemon is suspended. Legacy applications can use the sound card now.
If I click on an mp3, noatun fires up and plays the song perfectly. Sound is working. Fire up the COntrol Center and go to the sound system. Clicking on "Test Sound" does nothing.

I logout and fire up Gnome. Everything still works great there. No problems with sound at all.

Didn't have any solution for this, but I just wanted to say that it looks like I have the same problem. It's not a big issue, since I rarely use KDE, but if a solution is found, I'd love to hear it.
 
Old 10-19-2004, 12:19 PM   #6
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Original Poster
Rep: Reputation: 98
Well I feel that it must be that Arts is broken. If I choose to use an external player (ogg123) in the KDE control panel, then my ogg files play, but if I try to play them directly using Arts, from the command line with artsplay 'file001.ogg' then I get no sound, and if I try from within Konqueror by clicking on the file I get this error:-aRts cannot load this file

So, anyone anymore ideas?
 
Old 10-19-2004, 03:14 PM   #7
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Original Poster
Rep: Reputation: 98
Update,
I have re-installed kaboodle (via kmultimedia) and libidn, and I now have ogg files playing when using aRts as the sound driver within the KDE control centre. The only thing left now is to figure out why I still get the error on .wav files if I ask to play them in the KDE embedded player, which was working until this re-install.
Also, niether kaboodle, nor noatun will load and play .wav files, though any other application does. It is my understanding that kaboodle is the embedded KDE audio player, so is this a bug withing KDE somewhere, and if so, does anyone know which module it might be?

Last edited by vdemuth; 10-20-2004 at 02:01 AM.
 
Old 10-21-2004, 01:05 AM   #8
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Original Poster
Rep: Reputation: 98
A solution, if only temporary.
It looks as though there are some fundamental differences in the way that KDE3.3 handles your environment when compared with 3.2.
My temporary fix was to rename my .kde directory to .kde.old, then login again. This obviously set up a new .kde directory, and now all my system notifications/sounds/mouseover etc work correctly. A bit of a pain in the rear, as all my previous settings are of course lost.
I am now in the process of moving all of my config files from my old settings to my new setings to see what breaks.
Will try and update this when I find out what is going on.
 
Old 11-08-2004, 03:12 PM   #9
Atmchicago
Member
 
Registered: Apr 2003
Location: Baltimore
Distribution: Fedora
Posts: 220

Rep: Reputation: 32
Hey,

Have you found a solution yet?

If you have, please let us know!

Thx.
 
Old 11-16-2004, 10:31 AM   #10
theoracle_de
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
Hello.

I've had the same problem.
After I moved my kde config "~/.kde" to "~/.kde.old" I played around.
I found out that you must copy the new "~/.kde/share/config/knotifyrc" to your old kde config.
Move your old kde config to "~/.kde" and arts should work fine.

This solved my problem!

bye Ingo
 
Old 11-20-2004, 01:09 PM   #11
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
I'm still stumped by this problem. I didn't fully understand the last set of directions. Can anyone elaborate on how they resolved this problem?
 
Old 11-20-2004, 05:24 PM   #12
brenton
Member
 
Registered: Mar 2004
Location: Sydney, Australia
Distribution: Slackware
Posts: 112

Rep: Reputation: 15
I think theoracle is saying knotifyrc is the problem.

Delete knotifyrc and restart KDE. It'll generate a new one.
 
Old 11-20-2004, 05:37 PM   #13
Slovak
Member
 
Registered: Oct 2004
Location: North Olmsted, Oh
Distribution: Slackware 10
Posts: 206

Rep: Reputation: 30
Can anyone confirm that deleting the file knotifyrc works in getting sound back? I would like to know before I tempt to upgrade to KDE 3.3
 
Old 11-20-2004, 06:15 PM   #14
tw001_tw
Member
 
Registered: Mar 2003
Location: St. Louis, MO
Distribution: kubuntu-current
Posts: 551
Blog Entries: 4

Rep: Reputation: 31
Slovak & others:

Well, I too have the problem - although it wasn't brought to my attention till
reading this thread. (never really payed attention to the login sounds).

I renamed my ~/.kde to .kde.old

Restarted KDE and all my settings are gone, but sounds still do not work.

Nothing. mp3s play fine, but no notifications not wav's from testing the notifications.

So to answer your question Slovak - no. I can not confirm.

-tw

(it might be just me, but 3.3.1 does seem faster then 3.2 - more 'fluid' of a feel)

Last edited by tw001_tw; 11-20-2004 at 06:16 PM.
 
Old 11-20-2004, 06:22 PM   #15
Slovak
Member
 
Registered: Oct 2004
Location: North Olmsted, Oh
Distribution: Slackware 10
Posts: 206

Rep: Reputation: 30
Well I'm going to stick with 3.2.3 because it works so far.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SiS7012 and system sounds redhatrosh Linux - Hardware 1 05-26-2005 08:19 PM
I Hear System Sounds Only Premo_Maggot Fedora 1 03-16-2005 04:50 PM
System freezed with kde3.3 and kernel 2.6.9 tornadedk59 Debian 3 12-21-2004 02:20 PM
kde system sounds don't work RoaCh Of DisCor Linux - Software 0 12-11-2004 12:49 AM
system sounds. where are they? exley Linux - Newbie 1 02-13-2004 01:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration