Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Sound Troubles
beinkken
post Feb 10 2004, 10:21 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 26-January 04
Member No.: 2,242



Hello,

I am running SuSE 9.0 and kde 3.1 I am having troubel with playing mp3's through xmms. When I play music it works for a few seconds and then it sortof jumps and skips a bit, then it is normal again, then it skips and bumps. It is almost as if everytime I run another aplication or even move the mouse the sound gets distorted. Has anyone heard of similar problems, and if so what is the solution. Thanks I am very new to linux and not sure how to fix this by myself!
Go to the top of the page
 
+Quote Post
Corey
post Feb 11 2004, 02:09 PM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3



This normally happens with the lack of memory or processing power to use everything at once.

What kind of processor do you have? How much memory? This could very well be the cause.

If you have a higher-end box, then we may need to check other things.


--------------------
Corey Quilliam
(former) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

--
Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
 
+Quote Post
beinkken
post Feb 11 2004, 04:11 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 26-January 04
Member No.: 2,242



I have a pentium 4 with a 2.4 Ghz processor and 512 MB or ram. My sound card works fine in windows and it was fine in red hat before I made the switch to SuSE. It is not necessarily when I am donig other things on the computer either. Within the past few days I have noticed that it seems to happen within the first ten seconds or so when I load a song always. That is the only pattern I can see, otherwise it jsut does it regardless of whether other apps are running or not. Any other ideas?
Go to the top of the page
 
+Quote Post
hughesjr
post Feb 11 2004, 09:56 PM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



That is a good machine ... it seems very strange that it would have problems ...

what is the output of the commands (run as root):

hdparm -v /dev/hda

hdparm -i /dev/hda

hdparm -t /dev/hda


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post
beinkken
post Feb 12 2004, 10:03 PM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 5
Joined: 26-January 04
Member No.: 2,242



okay i tried those commands and here is what I got.

u143n141:~ # hdparm -v /dev/hda

/dev/hda:
multcount = 16 (on)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 9729/255/63, sectors = 156301488, start = 0
u143n141:~ #
-------------------------------------------------------------------------------------------------------------------
u143n141:~ # hdparm -i /dev/hda

/dev/hda:

Model=WDC WD800BB-00CAA1, FwRev=17.07W17, SerialNo=WD-WMA8E3925400
Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
RawCHS=16383/16/63, TrkSize=57600, SectSize=600, ECCbytes=40
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=156301488
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=no WriteCache=enabled
Drive conforms to: device does not report version:

* signifies the current active mode

u143n141:~ #
------------------------------------------------------------------------------------------------------------------------------------------
u143n141:~ # hdparm -t /dev/hda

/dev/hda:
Timing buffered disk reads: 70 MB in 3.02 seconds = 23.19 MB/sec
u143n141:~ #
------------------------------------------------------------------------------------------------------------------------------------

I dont' know what any of that stuff means, but I hope it will help solve my problem.
Go to the top of the page
 
+Quote Post
hughesjr
post Feb 13 2004, 06:41 AM
Post #6


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151



The commands give hard drive information .... some things I wanted to check for were:

dma for the hard drives is on (it is *udma5 ... which is the best available)

I am assuming you are playing the files from the local hard drive (Primary Master - hda) ... is that correct (or are you playing them from another machine via a network connection ... or maybe from a cd ... or from a second hard drive?)

You can make an adjustment tha tmight help your transfer rate just a bit ....

try the command (as root):

hdparm -u1 -c3 -a16 /dev/hda

It should give you the best performance for your hard drive ...

The changes are:

-u1 (turns on unmask IRQ for IDE controller - very little effect, slight increase in performance)

-c3 (turns on IDE 32-bit IO - This can increase hard drive performance by 10-15%)

-a16 (increases the read ahead cache from 8 to 16 - I find this setting slightly better when streaming movies or mp3s ... but it is a slight increase in performance).

The biggest thing, by far, is dma_on ... which was already enabled on your drive.

Try xmms with after issuing the above command and see if there is any difference...


if you have any secondary drives, post the same 3 commands (in my first post) for them.....if this helps your situation


--------------------
Johnny Hughes
hughesjr@linuxhelp.net
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 14th December 2017 - 09:42 PM