LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-12-2004, 04:08 PM   #1
OneManArmy
Member
 
Registered: Apr 2004
Location: Motherboard
Distribution: Debian GNU/Linux
Posts: 156

Rep: Reputation: 30
Sound problems after Upgrade? plz help


hello everybody,
recently I have upgraded my debian (woody) to sarge (testing).
I upgraded the kernel from 2.4 to 2.4. As well as from KDE 3.1
to KDE 3.2.
The problems is that while playing any musci using xmms for example
the sounds stops for a few seconds and then resumes upon opening
of any program or while browsing the internet.Even scrolling down a page
causes it to hang for 1 sec or so.
I really cant figure out the source of the problem since I upgraded alot
of stuff and the same time (Kernel, dist, and KDE).

Any help would really b appreciated !!!
 
Old 04-12-2004, 04:22 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Try in the KDE Control Center -> Sound & Multimedia -> Sound system and check the use real time priority and see if that helps. You may want to check and make sure DMA is enabled on the HD as well install hdparm and then hdparm /dev/hd? as root to check the settings on the drive.
 
Old 04-12-2004, 04:24 PM   #3
geekzen
Member
 
Registered: Mar 2004
Location: Canada. The Great white north.
Distribution: Debian Sid
Posts: 183

Rep: Reputation: 30
What sound system are you using (OSS, ALSA), and what specific kernel versions. This could be as simple as a missed module, or much more compilated. KDE uses aRTs. You need to make sure that arts is configured to use the proper sound daemon, and you also need to make sure that there is not another program blocking sound. (Xmms should be using arts output)
 
Old 04-12-2004, 04:45 PM   #4
OneManArmy
Member
 
Registered: Apr 2004
Location: Motherboard
Distribution: Debian GNU/Linux
Posts: 156

Original Poster
Rep: Reputation: 30
I am using kernel 2.6 and KDE 3.2. I am using OSS.
The xmms is configured to use OSS.
I have as well the DMA turned on for my HD.I check
it using hdparm -d1 /dev/hda
As for the arts I didnt understand what u meant or how to do it?
I am quite new to linux

thanx 4 ur help
 
Old 04-12-2004, 04:46 PM   #5
geekzen
Member
 
Registered: Mar 2004
Location: Canada. The Great white north.
Distribution: Debian Sid
Posts: 183

Rep: Reputation: 30
KDE uses a sound server, a daemon that runs in the background to prevent processes from fighting over the sound card. Usually it mixes the streams. Try running XMMS with the arts output plug in enabled.
 
Old 04-12-2004, 05:01 PM   #6
OneManArmy
Member
 
Registered: Apr 2004
Location: Motherboard
Distribution: Debian GNU/Linux
Posts: 156

Original Poster
Rep: Reputation: 30
I have xmms 1.2.9. I have checked the Audio I/O plugin tab in its preferences
and there is no such arts output plugin.I have only 4 plugins (esound,alsa,oss,diskwriter).
should I download it from somewhere?
The strange thing is that everything was just working fine be4 upgrading to KDE 3.2

thanx 4 ur help
 
Old 04-12-2004, 05:08 PM   #7
OneManArmy
Member
 
Registered: Apr 2004
Location: Motherboard
Distribution: Debian GNU/Linux
Posts: 156

Original Poster
Rep: Reputation: 30
I used apt-get install to install the xmms aRTS plugin and used it as
the o/p plugin but still the same problem. opening or loading any
program just messes up with the playing sound,it just hangs it 4 a few secs !!!
man even clicking some menu items or buttons causes the same problem.
 
Old 04-12-2004, 05:14 PM   #8
geekzen
Member
 
Registered: Mar 2004
Location: Canada. The Great white north.
Distribution: Debian Sid
Posts: 183

Rep: Reputation: 30
Well, my first gripe is that you are using OSS with a 2.6.x kernel series. OSS is very depreciated in that series. So... any action essentially makes sound burp right? It sounds as if XMMS is being starved for CPU cycles. Have you tried any other music players (apt-get install rhythmbox for my favorite).
 
Old 04-12-2004, 05:44 PM   #9
OneManArmy
Member
 
Registered: Apr 2004
Location: Motherboard
Distribution: Debian GNU/Linux
Posts: 156

Original Poster
Rep: Reputation: 30
I have downloaded rythmbox and its working very well.no sound glitches. but
I must say that it sound quality is way down below that of xmms. there is even no
equalizer . but I still dont understand whats the problem with xmms.

thanx 4 ur help
 
Old 04-12-2004, 06:09 PM   #10
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by OneManArmy
I have downloaded rythmbox and its working very well.no sound glitches. but
I must say that it sound quality is way down below that of xmms. there is even no
equalizer . but I still dont understand whats the problem with xmms.

thanx 4 ur help
Now that I see you are using a 2.6 kernel have you reniced X yet? You can edit the file /etc/X11/Xwrapper.config and change the -10 to 0 then restart the X server at the command line with /etc/init.d/kdm restart and can do the same in the menu option of the KDM login screen if you have uncommented the option for it in the /etc/kde3/kdm/kdmrc. What does the output of ps xa | grep arts look like could you post it here? You may also want to open a console window and run top to watch and see if any process is taking up a lot of the CPU when you are running xmms when the glitches happen.
 
Old 04-12-2004, 06:59 PM   #11
OneManArmy
Member
 
Registered: Apr 2004
Location: Motherboard
Distribution: Debian GNU/Linux
Posts: 156

Original Poster
Rep: Reputation: 30
Thanx HappyTux vry much for ur reply (as well 4 others).
reniceing X worked very well .there is no problems any more
with the sound from xmms.
But I would like if u could explain 2 me why this worked.
I know that nicing a job changes its priority but how did it
do the job in our case .

thanx 4 ur help,
this forum rocks
 
Old 04-12-2004, 07:07 PM   #12
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally posted by OneManArmy
Thanx HappyTux vry much for ur reply (as well 4 others).
reniceing X worked very well .there is no problems any more
with the sound from xmms.
But I would like if u could explain 2 me why this worked.
I know that nicing a job changes its priority but how did it
do the job in our case .

thanx 4 ur help,
this forum rocks
X was running at too high a priority so the graphics drawing that was going on had precedence in other words every thing else was getting slowed down by X taking the resources that should be available to them, good to hear you got it solved BTW.
 
Old 04-12-2004, 08:24 PM   #13
geekzen
Member
 
Registered: Mar 2004
Location: Canada. The Great white north.
Distribution: Debian Sid
Posts: 183

Rep: Reputation: 30
Well thats new to me too!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
sound problems plz help Squall__99 Mandriva 2 05-22-2005 05:07 AM
sound problems since Fedora upgrade agw Fedora 7 10-18-2004 07:21 AM
Sound problems after 2.6.2 kernel upgrade Jusitn S Linux - Hardware 4 02-11-2004 01:39 PM
Sound problems after 9.1 to 9.2 upgrade fane Mandriva 0 02-10-2004 03:18 PM
sound problems with upgrade... mxr Linux - Software 0 05-11-2002 02:47 PM

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

All times are GMT -5. The time now is 10:44 AM.

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