Re: Linux Sound Issues

2003-12-21 Thread Remo Inverardi
Paul,

 (...) that is skips whenever I do anything that requires CPU
 resources. I've tried recompiling the kernel to make it more
 efficient and I've tried using the latest drivers from Creative.
Mmh, it's probably just your IDE drive which is *not* accessed in DMA 
mode. At least, that's what caused sound problems on my system. Before 
playing around with low latency and preemtive kernel patches, try 
the following:

Run hdparm -d {drive} and check wheter or not DMA mode is activated 
for your drive. If DMA mode is not activated, try hdparm -d 1 {drive}.

If hdparm is unable to enable DMA mode, chances are that your kernel 
does not support your IDE chipset. Run lspci and make sure your kernel 
was compiled with support for both your chipset and DMA mode.

Regards, Remo

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Linux Sound Issues

2003-12-04 Thread Paul Burkett
Hmm, I think hdparm did the trick...

turin:~# hdparm -t /dev/hdb

/dev/hdb:
 Timing buffered disk reads:8 MB in  3.76 seconds
=   2.13 MB/sec
turin:~# hdparm -d1 /dev/hdb

/dev/hdb:
 setting using_dma to 1 (on)
 using_dma=  1 (on)
turin:~# hdparm -t /dev/hdb

/dev/hdb:
 Timing buffered disk reads:  106 MB in  3.01 seconds
=  35.22 MB/sec

I thought of messing around with hdparm, never
realized how easy it was. So far I haven't noticed any
audio skipping when playing movies in kplayer or
playing mp3s while running find and apt-cache search
at the same time and didn't hear any skipping.
Although I've heard that enabling DMA on VIA686B could
cause data corruption and that's why it's disabled by
default, I guess I'm willing to take the risk. A very
big thank you to everyone that helped me.

=
- Paul Burkett

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Linux Sound Issues

2003-11-30 Thread ScruLoose
On Sat, Nov 29, 2003 at 04:37:08PM -0800, Paul Burkett wrote:

snip
 Could it
 be ext3 is just a lot slower than ext2 and can't
 handle it? Is there anything I can do to tweak this?
 Or should I move onto XFS or ResierFS? Should I buy a
 new sound card? Should I try ALSA? Any suggestions
 would be helpful. Thanks again guys and gals.
 
 System Info:
snip *more* than adequate hardware

I use alsa with an SB live value (5.1), also on ext3, and I
don't have this problem... I get a hiccup or two during an
apt[-get|itude] install, but not much else will make it skip.

So you might want to try alsa...
OR
It might be your HD settings... check hdparm, and make sure that uhh...
DMA (I think that's the parameter) is enabled.

Your hardware is twice as fast as mine, twice as much RAM, so it may be
the ALSA difference (no idea how likely that is) or it may be that
something's hitting your HD performance pretty hard... But it's
definitely not a question of needing more processor, RAM, or sound card.

Cheers!
-- 
,-.
  -ScruLoose-  |  I don't want to start any blasphemous rumours  
Please |but I think that God's got a sick sense of humour
 do not Cc me. |  - Depeche Mode 
`-'


pgp0.pgp
Description: PGP signature


Re: Linux Sound Issues

2003-11-30 Thread John Peter
Paul Burkett wrote:

I've been having a helluva time to get sound working
decently in Linux. The issue isn't so much quality
(though I do notice a slight difference in quality
compared to Windows, nothing to complain about) but
that fact that is skips whenever I do anything that
requires CPU resources. I've tried recompiling the
kernel to make it more efficient and I've tried using
the latest drivers from Creative. It doesn't skip as
much but there are times when it does skip when
playing an mp3. Usually it happens when I'm running
any apt tools. Now I don't know if it is so much the
fault of the CPU (an AMD Tbird 1GHz) or the soundcard
(a POS SB Live), but I do notice kjournald running in
the background when I check it out using top. Could it
be ext3 is just a lot slower than ext2 and can't
handle it? Is there anything I can do to tweak this?
Or should I move onto XFS or ResierFS? Should I buy a
new sound card? Should I try ALSA? Any suggestions
would be helpful. Thanks again guys and gals.
System Info:

AMD 1GHz Thunderbird
512MB of RAM
Running KDE
Ext3 Filesystem
Kernel 2.4.22 compiled for i686
Debian Unstable
40GB Maxtor 740DX HDD Dedicated to Linux
SB Live! Sound Card (OEM)
Via686B Chipset (Abit KT7A-RAID MB)
AFAIK I didn't have this problem in Mandrake 8 but
that was so long ago.
 

Hi, Paul

I also have the same card, 1.3Ghz processor and ATA 100 disk
and it does eventually hik up now and then...
I'm ussing the OSS drivers.
I think we have to fidlle with the priorities of the prog. processing sound.
I use noatun.
Still didn't have time to think about this subject but I think I'll give 
it a try.
I'll post if anything comes out of this ...

John

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Linux Sound Issues

2003-11-30 Thread Ismael Valladolid Torres
El sábado, 29 de noviembre de 2003, a las 16:37, Paul Burkett escribió:
 Should I buy a new sound card? Should I try ALSA? Any suggestions

Yes, you should try ALSA. You also can try recompiling your kernel
including one (or both) low latency patches. As you are running
unstable, you can easily do this using make-kpkg, as the patches are
packaged.

$ apt-cache show kernel-patch-2.4-lowlatency kernel-patch-2.4-preempt

Regards, Ismael
-- 
`Tout fourmille de commentaries; d'autheurs il en est grande cherté.'


signature.asc
Description: Digital signature


Re: Linux Sound Issues

2003-11-30 Thread Hugo Vanwoerkom
Paul Burkett wrote:
I've been having a helluva time to get sound working
decently in Linux. The issue isn't so much quality
(though I do notice a slight difference in quality
compared to Windows, nothing to complain about) but
that fact that is skips whenever I do anything that
requires CPU resources. 


I may be way off, of course, but I ran into this problem and it had 
nothing to do with sound but with the fact that did not have VIA82CXXX 
enabled under IDE, ATA and ATAPI Block Devices.
Result was that with any disk access the disk would hang for seconds 
and the sound would stop. You might look into that too...

Hugo





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Linux Sound Issues

2003-11-29 Thread Paul Burkett
I've been having a helluva time to get sound working
decently in Linux. The issue isn't so much quality
(though I do notice a slight difference in quality
compared to Windows, nothing to complain about) but
that fact that is skips whenever I do anything that
requires CPU resources. I've tried recompiling the
kernel to make it more efficient and I've tried using
the latest drivers from Creative. It doesn't skip as
much but there are times when it does skip when
playing an mp3. Usually it happens when I'm running
any apt tools. Now I don't know if it is so much the
fault of the CPU (an AMD Tbird 1GHz) or the soundcard
(a POS SB Live), but I do notice kjournald running in
the background when I check it out using top. Could it
be ext3 is just a lot slower than ext2 and can't
handle it? Is there anything I can do to tweak this?
Or should I move onto XFS or ResierFS? Should I buy a
new sound card? Should I try ALSA? Any suggestions
would be helpful. Thanks again guys and gals.

System Info:

AMD 1GHz Thunderbird
512MB of RAM
Running KDE
Ext3 Filesystem
Kernel 2.4.22 compiled for i686
Debian Unstable
40GB Maxtor 740DX HDD Dedicated to Linux
SB Live! Sound Card (OEM)
Via686B Chipset (Abit KT7A-RAID MB)

AFAIK I didn't have this problem in Mandrake 8 but
that was so long ago.

=
- Paul Burkett

__
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]