Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

KDE sound notifications gone (SOLVED)

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
52 posts
  • Previous
  • 1
  • 2
  • 3
  • Next
Author
Message
etk
n00b
n00b
Posts: 7
Joined: Sun May 23, 2004 8:48 am

My solution

  • Quote

Post by etk » Fri Sep 10, 2004 11:24 pm

I've only found two threads on this in the forum, but since one of these contained part of my problem, I'll reply here.

I pulled down KDE 3.3.0 and ran into this exact same problem - no sound at all. After modifying ~/.kde/share/config to

[StartProgress]
Arts Init=true
KNotify Init=true
Use Arts=true

(Arts Init and Use Arts were for whatever reason false on mine), I believe this was what started allowing me to play WAV files within KDE. However .ogg files were still not working. I managed to get aplay to "play" ogg files, but they were screeching garbled noise.

I attempted to work around using aplay/play/etc to as an external player, but ogg files still would not work despite having all my used flags +oggvorbis. When trying to find a simple ogg player, I found /usr/bin/ogg123 had been installed previously due to vorbis-tools. However ogg123 itself would not play ogg files. It complained about a missing FLAC library. With an etcat -u, I found that there was a -flac use flag forr vorbis-tools which I had not set myself (and the package did not use by default).

So I edited /etc/make.conf USE=flac (and of course, others) and re-emerged vorbis-tools - which also brought down the package flac. Once installed, KDE 3.3 now plays ogg sounds without reverting to an "external player" or any of that other business.

Hope that helps someone!

Tom
Top
msubzwari
n00b
n00b
User avatar
Posts: 9
Joined: Tue Sep 14, 2004 11:16 am
Location: Karachi, Pakistan

  • Quote

Post by msubzwari » Tue Oct 26, 2004 5:15 pm

Thanks Tom
Your solution definately helped me as I was facing exactly the same problem and your proposed solution worked fine for me as well. :D
Cheers
Mazhar
Top
shredz
Apprentice
Apprentice
User avatar
Posts: 215
Joined: Thu Feb 05, 2004 3:13 am
Location: Antwerp

  • Quote

Post by shredz » Fri Oct 29, 2004 11:59 am

Well with me arts says it can't load any ogg file I throw at it. Wav's work fine, xmms works fine, aplay works fine on wav's, ogg123 works fine on ogg files, but artsplay foo.ogg will not move. :cry:
Top
FNX
n00b
n00b
User avatar
Posts: 40
Joined: Wed Nov 03, 2004 4:50 am
Location: Istanbul

  • Quote

Post by FNX » Sat Nov 13, 2004 1:58 pm

I had the same arts problem and (i think) i got over this by emerging the version 1.1.5. Now i see that arts plays something audible, but my notifications are not yet restored. I seem have a problem with knotify.

The message i get:

knotify: symbol lookup error: /usr/kde/3.3/lib/kde3/plugins/styles/kthemestyle.so: undefined symbol: _ZN7KPixmapD2Ev
ERROR: Communication problem with knotify, it probably crashed.

i searched through the threads but nearly all is on arts or external problems

any clues?
Fnx
Top
mrsteven
Veteran
Veteran
User avatar
Posts: 1939
Joined: Fri Jul 04, 2003 3:22 pm

  • Quote

Post by mrsteven » Sat Nov 27, 2004 9:37 am

Ateo wrote:Open ~/.kde/share/config/knotifyrc and make sure it has the following:

Code: Select all

[StartProgress]
Arts Init=true
KNotify Init=true
Use Arts=true
If they are set to false, change them to true.
Thank you! I had the same problem: arts got broken somehow, I re-emerged it but knotify didn't work anymore. Then I tried your solution and now it works again. :)

@FNX: Do you use any special theme? Try to use another one.
Top
shredz
Apprentice
Apprentice
User avatar
Posts: 215
Joined: Thu Feb 05, 2004 3:13 am
Location: Antwerp

Re: My solution

  • Quote

Post by shredz » Sun Nov 28, 2004 9:59 am

etk wrote: I pulled down KDE 3.3.0 and ran into this exact same problem - no sound at all. After modifying ~/.kde/share/config/knotifyrc to

Code: Select all

[StartProgress] 
 Arts Init=true 
 KNotify Init=true 
 Use Arts=true
(Arts Init and Use Arts were for whatever reason false on mine), I believe this was what started allowing me to play WAV files within KDE. However .ogg files were still not working. I managed to get aplay to "play" ogg files, but they were screeching garbled noise.
Well after modifying that config file it works perfectly again here as well. Thanks a bunch
Top
Flandry
n00b
n00b
Posts: 52
Joined: Fri Feb 27, 2004 4:55 am
Location: Boston, MA

Still no sound

  • Quote

Post by Flandry » Thu Dec 16, 2004 3:59 am

So i updated kde this week, hoping that i would magically get sound back, and still no luck (originally lost it in the "upgrade" to KDE 3.3). I followed the ALSA guide (unmuting Master and PCM), and can't get any sound no matter what i do.

Does anyone have anything else to suggest? Maybe it's simply a mute somewhere else - maybe a new one added with KDE 3.3? Something easy, i'm just overlooking. I hope so!
Top
shredz
Apprentice
Apprentice
User avatar
Posts: 215
Joined: Thu Feb 05, 2004 3:13 am
Location: Antwerp

  • Quote

Post by shredz » Thu Dec 16, 2004 1:20 pm

Try playing an mp3 in xmms, if that shows activity on playing, the problem is volume, otherwise it's somewhere else...
Top
Flandry
n00b
n00b
Posts: 52
Joined: Fri Feb 27, 2004 4:55 am
Location: Boston, MA

  • Quote

Post by Flandry » Thu Dec 16, 2004 3:32 pm

The XMMS visualizer shows the expected activity. Just no sound. I fiddled around with the Kmix applet, turning on/off all the outputs, and nothing. Aggravating.
Top
kottlettstanze
Tux's lil' helper
Tux's lil' helper
Posts: 113
Joined: Tue Apr 20, 2004 5:42 pm

  • Quote

Post by kottlettstanze » Thu Dec 16, 2004 3:38 pm

Try to play a sound using aplay, perhaps you'll get an error message. (You might want to suspend arts first, using "artsshell suspend").
Top
Flandry
n00b
n00b
Posts: 52
Joined: Fri Feb 27, 2004 4:55 am
Location: Boston, MA

  • Quote

Post by Flandry » Thu Dec 16, 2004 4:09 pm

I have to admit that i have no idea what the "correct" state is supposed to be, but i typed

Code: Select all

artsshell suspend
at the shell prompt and was told

Code: Select all

sound server was already suspended
.

After fiddling around with aplay i finally got

Code: Select all

Playing WAVE '/mnt/data/Media/Sounds/alive.wav' : Unsigned 8 bit, Rate 11000 Hz, Mono
aplay: pcm_write:1115: write error: Input/output error
after a little while.

Interesting. What are the possibilities?
Top
Bob P
Advocate
Advocate
User avatar
Posts: 3374
Joined: Wed Oct 20, 2004 9:15 pm
Location: USA

  • Quote

Post by Bob P » Thu Dec 16, 2004 5:14 pm

srlinuxx wrote:Try to start artsd at the commandline and see what it says.
i've had this problem too. i've upgraded to 3.3.2, and my knotifyrc file looks like its supposed to:

Code: Select all

[StartProgress]
Arts Init=true
KNotify Init=true
Use Arts=true
so i tried running artsd at the command line:

Code: Select all

# artsd
ALSA lib pcm_hw.c:1172:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Device or resource busy
Error while initializing the sound driver:
device: default can't be opened for playback (Device or resource busy)
interestingly, its no problem to play a test sound using KDE Control Center > Sound & Multimedia > Sound System > General > Test Sound.
Top
Bob P
Advocate
Advocate
User avatar
Posts: 3374
Joined: Wed Oct 20, 2004 9:15 pm
Location: USA

Re: My solution

  • Quote

Post by Bob P » Thu Dec 16, 2004 5:24 pm

etk wrote:When trying to find a simple ogg player, I found /usr/bin/ogg123 had been installed previously due to vorbis-tools. However ogg123 itself would not play ogg files. It complained about a missing FLAC library. With an etcat -u, I found that there was a -flac use flag forr vorbis-tools which I had not set myself (and the package did not use by default).

So I edited /etc/make.conf USE=flac (and of course, others) and re-emerged vorbis-tools - which also brought down the package flac. Once installed, KDE 3.3 now plays ogg sounds without reverting to an "external player" or any of that other business.
am i correct in assuming that you had been using KDE 3.3.0? FWIW, this doesn't seem to be applicable to my case, where i started off with an installation of 3.3.1 and upgraded to 3.3.2. according to portage, i already have flac-1.1.1 installed as a dependency of either 3.3.1 or 3.3.2.
Top
Flandry
n00b
n00b
Posts: 52
Joined: Fri Feb 27, 2004 4:55 am
Location: Boston, MA

Weird

  • Quote

Post by Flandry » Wed Dec 29, 2004 4:41 pm

:oops:

Well, since my last post i emerged 3.3.2, and today i was fiddling around outside of KDE to see if audio worked there. I looked through all the options from amixer and discovered that two entries i hadn't seen before were there... and one called DAC (Digital-Analog Converter) was set to level 0. So... i raise the level and... voila!

:oops:

I guess this control was added or defaulted to 0 sometime in the updates i installed in the last few months. I have also fiddled with permissions and other stuff, but this was an obviously necessary adjustment. So there may have been more involved. But i'm just glad to have my audio back in linux!
Top
shredz
Apprentice
Apprentice
User avatar
Posts: 215
Joined: Thu Feb 05, 2004 3:13 am
Location: Antwerp

  • Quote

Post by shredz » Wed Dec 29, 2004 4:56 pm

lol I suggested volume a few posts higher... it's good to see how I waste my time helping people here :evil:
Top
Bob P
Advocate
Advocate
User avatar
Posts: 3374
Joined: Wed Oct 20, 2004 9:15 pm
Location: USA

  • Quote

Post by Bob P » Wed Dec 29, 2004 6:03 pm

shredz wrote:lol I suggested volume a few posts higher... it's good to see how I waste my time helping people here :evil:
well, volume only works as a solution if your volume controls are mis-set. so it seems that there is more than one problem in this thread.

one problem that remains: in my case, audio files play just fine. the problem is that the associations of audio files with the KDE system sounds has been lost. does anyone know how to set the sounds back to their defaults without having to edit the entire list by hand?
Top
duozmo
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 142
Joined: Sun Oct 05, 2003 8:20 am
Location: Ketchum, ID

  • Quote

Post by duozmo » Sat Jan 15, 2005 10:12 am

At first I tried etk's solution of adding the 'flac' use flag, but it turns out that didn't have any noticeable effect on my system (no essential packages used it). So I went with the knotifyrc file modification, which worked.
Top
shredz
Apprentice
Apprentice
User avatar
Posts: 215
Joined: Thu Feb 05, 2004 3:13 am
Location: Antwerp

  • Quote

Post by shredz » Mon Jan 17, 2005 10:18 am

Making that knotifyrc read-only might stop this error occuring if the kde people don't fix it.
Top
Ijo
n00b
n00b
Posts: 68
Joined: Tue Jul 22, 2003 5:42 pm

  • Quote

Post by Ijo » Tue Jan 18, 2005 5:15 pm

Today I found a similar problem that some people was describing here, however in my case the solution was so simple that you can't imagine. Please don't kill me, as this kind of things sometimes happens.

In my case:
- Sounds worked perfect in ALL applications.
- I was running openbox and so didn't use events sounds.
- Today I moved to KDE and wanted to test sound, but failed with:

------------------------------------------
Unable to start the sound server to
retrieve possible sound I/O methods,

only automatic detection enabled.
------------------------------------------

So, I read lots of threads in the forum, up until finding that It was really simple, next time I'll read carefully the error message :-).

Code: Select all

emerge arts
that's it.

PD: Btw, I've never needed to do it before, in other laptops, pc's. As soon as I emerged kde then arts was installed. Maybe it's because this one is AMD64...
Top
Inssomniak
n00b
n00b
Posts: 12
Joined: Tue Aug 03, 2004 6:18 pm

What about us NON arts users

  • Quote

Post by Inssomniak » Thu Jan 20, 2005 10:32 pm

I have no system notifications, and I use an external player ogg123 to play my system notifications. worked great, until I did emerge -uvD --newuse world. (amd64 unstable)

then they quit, sound works fully otherwise

problem lies somewhere in knotify, other options in knotify dont seem to work either (pop up window on event, etc)
Top
duozmo
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 142
Joined: Sun Oct 05, 2003 8:20 am
Location: Ketchum, ID

  • Quote

Post by duozmo » Thu Jan 20, 2005 11:39 pm

Ijo, although it's great that re-emerging arts worked for you, it's hard to imagine that's going to be the solution in the general case. I think what happened to you is probably something in arts broke, or it somehow got uninstalled, and re-emerging it fixed it. (Or perhaps re-emerging it fixed the config file issue that's discussed here.) Anyway, I would recommend people try changing the 1 little config file before they try re-emerging arts (which may not even help.)
Top
jhfry
n00b
n00b
Posts: 15
Joined: Wed Nov 03, 2004 5:51 am

  • Quote

Post by jhfry » Fri Jan 21, 2005 3:25 pm

Pojo, just to let you know, I agree that reemerging is not a elegant solution... however what ljo pointed out is that on AMD64 systems it doesn't appear that arts is emerged with x.org and kde... but must be manually emerged, or perhaps a USE flag must be set to trigger a dependancy on it...

I was having the same problem he described and that was exactly the solution... install arts!
Top
duozmo
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 142
Joined: Sun Oct 05, 2003 8:20 am
Location: Ketchum, ID

  • Quote

Post by duozmo » Fri Jan 21, 2005 10:49 pm

Ok, good call - I missed the note about it being AMD64 :oops: I just wanted to help sort out the various pieces of advice here for any new folks that might come along... also, that is a rather weird issue.
Top
Inssomniak
n00b
n00b
Posts: 12
Joined: Tue Aug 03, 2004 6:18 pm

No sounds? Not using arts?

  • Quote

Post by Inssomniak » Sat Jan 22, 2005 2:48 am

http://bugs.gentoo.org/show_bug.cgi?id=79029
Top
chetan13
Tux's lil' helper
Tux's lil' helper
Posts: 125
Joined: Wed Jul 02, 2003 4:00 pm
Location: chennai,india

  • Quote

Post by chetan13 » Sun Feb 06, 2005 3:43 pm

From the above bug
------- Additional Comment #6 From Rohan McGovern 2005-01-26 16:34 PST -------

(by the way, the 'breakage' of knotify is not just restricted to sound notifications. I don't even use knotify for sound notifications, I noticed the breakage because the knotify object disappears from DCOP, which sure as heck should not be caused by not building Arts support.)
i am using kde-3.4-beta1 without arts. even though sound notifications don't work with an external player, others like displaying message box does work.

chetan
Top
Post Reply

52 posts
  • Previous
  • 1
  • 2
  • 3
  • Next

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy