Subject: pkg/5523: KDE kwmsound wastes cpu resources
To: None <gnats-bugs@gnats.netbsd.org>
From: Urban Boquist <boquist@cs.chalmers.se>
List: netbsd-bugs
Date: 06/01/1998 17:32:09
>Number:         5523
>Category:       pkg
>Synopsis:       kwmsound loops trying to talk to non-existant audio server
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun  1 08:35:00 1998
>Last-Modified:
>Originator:     Urban Boquist
>Organization:
Dept. of CS, Chalmers, Sweden
>Release:        NetBSD-current 980601
>Environment:
System: NetBSD beavis 1.3E NetBSD 1.3E (BEAVIS) #0: Wed May 27 00:21:52 CEST 1998 root@beavis:/usr/src/sys/arch/i386/compile/BEAVIS i386


>Description:
KDE sounds seem unsupported under NetBSD. This is noticed by the
"kaudioserver" program which exits cleanly, but not by "kwmsound" which
seems to loop, consuming unnecessary resources.

I noticed that a machine running KDE was having a "load average" well
over one even if noone was using it. Not starting kwmsound made the
load go down to 0.0x.

>How-To-Repeat:
Install KDE and run the "startkde" script.

>Fix:
Add the following patch to the x11/kdebase package.

--- kfm/startkde.orig	Mon Jun  1 17:05:24 1998
+++ kfm/startkde	Mon Jun  1 17:06:06 1998
@@ -1,8 +1,5 @@
 #!/bin/sh
 
-kaudioserver &
-kwmsound &
-
 kfm &
 kcontrol -init &
 
>Audit-Trail:
>Unformatted: