LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   SuSE 9.1: partial sound loss after upgrade to KDE 3.3.2 (https://www.linuxquestions.org/questions/suse-opensuse-60/suse-9-1-partial-sound-loss-after-upgrade-to-kde-3-3-2-a-266505/)

darkmatter333 12-14-2004 10:17 PM

SuSE 9.1: partial sound loss after upgrade to KDE 3.3.2
 
Well, after spending alot of time tinkering after my last KDE update (actually managed to repair everything that broke:D ), I decided to upgrade to KDE3.3.2.

Guess what?... Something broke.:rolleyes:

The current problem is that, although I have sound with video and audio applications, I have no sound within KDE itself (no notifications, startup, logging...nada). This is something I cannot accept, as I have grown quite accustomed to KDE's sounds. They comfort me.;)

Has anyone else had a similar problem? I am completely perplexed by this particular problem, and any suggestions on how to fix would be greatly appreciated.

tw001_tw 12-15-2004 12:08 AM

As I have the same problem - yet unresolved I might add.

Apparently, for some people - logging out of KDE. renaming (or deleting)
your ~/.kde/share/config/knotifyrc file and then logging back into KDE works.

As for others, they just renamed thier entire ~/.kde directory and then
copied back some of thier KDE settings.
(not sure if that just does the same thing as deleting knotifyrc or
if there is something else that needs to changed for them)

Wish I was so lucky
-tw

darkmatter333 12-15-2004 02:01 AM

I'll give those two options a try myself and report back on the results.

EDIT: Just tried both options, no change. Looks like my luck's not any better than your's.:(

darkmatter333 12-15-2004 06:02 AM

Hear is the output from a cat I ran on the arts daemon, at least part with the error. Any ideas?

ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe
can't register Arts::MidiManager
There are already artsd objects registered, looking if they are active...
ALSA lib pcm_hw.c:563:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed: Broken pipe

famewolf 12-15-2004 02:47 PM

Kde 3.3.2 and sound
 
Update your alsa, alsa-devel and alsa-tools from the packman site or from apt and the problem goes away....or go into kde control center and select OSS as your sound server instead of "auto detect"

darkmatter333 12-15-2004 04:03 PM

No go on that idea either. I already tried the update from packman's site, as well as trying the mods to the sound system.

Any other suggestions?

darkmatter333 12-17-2004 09:29 AM

Arts was the problem. Problem solved.:D

For tw001_tw, and anyone who was experiencing the same sound problem as myself, downgrade to the arts package from version 3.3.1 of KDE. There seems to be a problem with the way arts was chatting with alsa. After changing from the arts-1.3.1 that's packaged with 3.3.2 to the arts-1.3.1 from 3.3.1, full audio is restored.

--a little experimenting never hurt anyone--

solop 12-20-2004 08:42 PM

Quote:

For tw001_tw, and anyone who was experiencing the same sound problem as myself, downgrade to the arts package from version 3.3.1 of KDE. There seems to be a problem with the way arts was chatting with alsa. After changing from the arts-1.3.1 that's packaged with 3.3.2 to the arts-1.3.1 from 3.3.1, full audio is restored.
Any suggestion where to find the 3.3.1 version of arts-1.3.1? The only thing I see on the ftp site is the arts-1.3.2 dated 12/10 -- i.e. part of the 3.3.2 release.

darkmatter333 12-20-2004 11:34 PM

The KDE mirrors have 3.3.1 for SuSE. Just have a look through one of the ftp servers, and you should find arts-1.3.1. It should solve the problem, but I can't promise anything.(worked on my sys, though)

--darkmatter--

solop 12-21-2004 10:54 AM

Ah! Didn't think to check the KDE mirrors.

Thanks, I'll give that a shot tonight. Hope they have packages for SuSE 9.2!

solop 12-21-2004 08:30 PM

I hate replying to my own posts...

Quote:

Hope they have packages for SuSE 9.2!
Answer: Nope. But I decided to be brave, and grabbed the packages for 9.1:

For anyone else running 9.2 who wants to try the fix, here's what I did:

Code:

1) Download the following packages from the KDE ftp server:
    arts-1.3.1-3.i586.rpm
    arts-devel-1.3.1-3.i586.rpm
    arts-gmcop-1.3.1-3.i586.rpm
2) Log out of the current session.  Leave the X session running, sitting at the login page.
3) Hit Alt-F2 and login as root.
4) Change to the directory where the rpms are sitting and install them with rpm -Uvh --force arts*.rpm
5) Restarted alsa with /etc/init.d/alsasound restart
6) Log out of the root account, hit Alt-F7 to return to the X login and log in as usual.

S.

joeyindy 12-23-2004 12:01 PM

partial sounds, will this break other programs.
 
Im running suse 9.2 with kde3.3.2 and except for system sounds all is well. I tried to go back to the older pagekage
but it says that i have to uninstall a lot of kde programs that depend on the new kde arts. So if i do what you say will
break my programs? like rythmbox or anything that may have been installed while running the 3.3.2 stuff.

solop 12-23-2004 12:36 PM

Joey, if you follow the steps I gave above, I don't think it'll break anything. Obviously, YMMV and all that, but I haven't had any problems, nor have I had to reinstall anything.

joeyindy 12-24-2004 01:27 PM

Still not working
 
Hi I did what you said but still no system sounds. i did however notice that after running the restart command that the last line said:

TiMidity starting in ALSA server mode
Opening sequencer port: 128:0 128:1 128:2 128:3

but it just sit there and didnt do anything so i had to do a Ctrl C to get the prompt again to log out.

solop 12-24-2004 03:51 PM

Odd indeed.

Unfortunately, I don't know anything about timidity, so I can't give you any direct help there. You might try restarting the computer, just to be sure that everything is actually starting cleanly.

Or if you would rather not do that, try (as root)
Code:

/etc/init.d/alsasound stop
wait a few seconds, and then do
Code:

/etc/init.d/alsasound start
. If you get the same hang after timidity runs, I'd suggest reinstalling timidity -- perhaps it's looking for something specific in the version of alsa you had installed when you installed timidity.

Sorry I can't be of more help than that.

S.

joeyindy 12-25-2004 09:33 AM

no such luck still not working
 
Well ok I guess I will have to just wait for kde to put out a fix. Do you no how kde does this? Will they put one out soon and on there site for us or will we have to wait till suse gets it from them and they do what ever they do and post it on there site? I dont mind not having system sounds except for Kopete its kinda hard noing if someone IM's you if you not looking at the screen lol. Hey its still better then windows junk. I am pretty much now using linux full time. All I need now is webcam and a few programs to replace my windows ones and Im set...Billly your going down heeeeeeeee

thank you for all your help NOW if you could just fly over here and show me how to recompye the kernal so i have webcam lol. Im learning tho


joey

leadazide 12-25-2004 11:00 AM

You use ARTS??? But Why??? :confused: :confused: :confused: :confused:
There's DMIX which does the same WITHOUT needing to run such a resource misuse piece like SOUND SERVER!

My advice:
Disable ARTS,
set up ALSA to use DMIX as a default output plugin (see http://alsa.opensrc.org)
set up KDE to play system sounds using aplay or mplayer (or whatever player you like, assuming it can use default alsa output and/or supports dmix and supports file format that your system sounds are - there can be some Ogg-Vorbis files among default system sounds on KDE which aplay doesn't handle correctly)

there you are!

now you can start timidity with timidity -aA and you'll hear both xmms (don't forget to setup it to use ALSA output)
and midi player;

there's also an oss wrapper script called aoss for applications that only support oss and block your sound card, but it doesn't work with all programs.

joeyindy 12-25-2004 01:00 PM

sounds nice but how ?
 
Sorry but Im new to linux and Im have no ideal how to do what you are saying. If you can give me a step by step how to ill try it.

leadazide 12-25-2004 01:11 PM

Ok, go to KDE control center,Sound & Multimedia, Sound system, Disable sound system. Then go to System messages, click Playback Settings and type 'aplay' into the edit field. However, you must change all .ogg system sounds to .wav ones, bacause aplay can't play .ogg files.
So now arts isn't blocking your sound card anymore.

joeyindy 12-26-2004 06:25 PM

Found a package fix
 
Hi guys I found a RPM package for suse 9.2 that fixes the sysem sounds problem. The link to the form was in kde here: http://bugs.kde.org/show_bug.cgi?id=94918

but the direct link to the rpm is here: http://www.freewebs.com/sbsoftea/arts.htm

it said to reboot and you should have sounds I however had not rebooted yet and my sounds are working but I will reboot hopfully they will still be working.

joey

hcostelha 01-26-2005 05:14 AM

If you rebuild the rpms you were using in the beginning it also works.
Just "rmbuild --rebuild arts-1.3.2-3.src.rpm" and install the resulting rpms in "/usr/src/packages/RPMS".

Hugo Costelha


All times are GMT -5. The time now is 11:51 AM.