Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ 1 [2] >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Getting alsa loaded on HD Install..., how does one execute "dsl alsa" on HD?< Next Oldest | Next Newest >
tempestuous Offline





Group: Members
Posts: 259
Joined: Aug. 2004
Posted: Mar. 14 2005,10:29 QUOTE

Your Cyrix Xpress 16 sound card is an oddity.  Apparently it's embedded within your PC's Cyrix MediaGX main processor.
(You haven't mentioned what laptop you have, I suspect it's a Compaq.)
It's partially SoundBlaster compatible, but not completely.  Compaq has a unique Windows95 driver available for it at http://h18000.www1.hp.com/support/files/codrus.html

I can't give you a complete solution, just some pointers ...
There are 2 basic "familes" of Linux sound drivers - the old OSS drivers, and newer ALSA drivers.  The OSS drivers are already present in DSL.
Your quote -
"I added the necessary line "modprobe sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330"
This will load the OSS SoundBlaster driver (sb.o), not ALSA.
It sounds like you might be loading BOTH sets of drivers, and this might explain why your laptop is slow.

I would first try to get the OSS driver working properly.  Remove the "alsa" boot option and your OSS driver might start behaving.
Don't use the boot option "modprobe sb ...", load it manually after DSL has fully loaded, and later add it to your /opt/bootlocal.sh file.
Check your bios to see if the irq and dma settings are correct.

If this doesn't work, then try the ALSA driver.  After initialising the drivers with the boot option "alsa", ALSA attempts to autodetect your card.
But it's probably better to manually load the ALSA driver as such -
modprobe snd-sb16 isapnp=0 port=0x220 mpu_port=0x330 fm_port=0x388 irq=5 dma8=1 dma16=5
Again, I'm a little unsure about the accuracy of these settings.  Perhaps try alsaconf instead.  If successful, this will set up your /etc/modprobe.conf file and the driver should then load correctly every time.
Finally, it may still appear that sound doesn't work, because mixer settings are muted by default with ALSA. Run -
alsamixer
and unmute the master volume by pressing "m".
Craig S
Back to top
Profile PM 
geodescent Offline





Group: Members
Posts: 11
Joined: Mar. 2005
Posted: Mar. 24 2005,00:25 QUOTE

I actually had the modprobe line in my bootlocal.sh, so I kept it in and removed the "alsa" line from my lilo.conf and sound still works like a charm. I have verified it against BIOS settings and the main beef I have is a 233MHz proc's inability to handle high video bitrates that are common today. MPlayer can drop frames but you can imagine what the result looks like. Can't complain though.

My laptop is a CTX EzBook 700G. It is so rare you're hard-pressed to find specs on it. I have them somewhere but essentially we're talking 233MHz Cyrix you mentioned above, 128MB ram, 2Gig HD, craptastic built-in audio described above, and also some integrated video as well, further stealing proc cycles.

But unlike Window$ 98, DSL doesn't crash every time I do, well, anything.
Back to top
Profile PM 
thebufenator Offline





Group: Members
Posts: 11
Joined: April 2005
Posted: April 05 2005,20:53 QUOTE

well, I have a P200MMX with 32mb ram.......boo
still working on geting sound working. I also have 256mb in the mail.

What audio drivers are better? the OSS ones or the ALSA one?
Back to top
Profile PM 
tempestuous Offline





Group: Members
Posts: 259
Joined: Aug. 2004
Posted: April 10 2005,00:57 QUOTE

geodescent,
I have a modestly powered laptop similar in spec to yours.  Higher bitrates are not generally at fault for poor video performance.  The problem is resolution + framerate + codec-complexity (plus another factor I will mention later).  These consume your processing power.
The full standard-definition PAL video spec of 720x576 pixels, 25 fps is simply not possible with our laptops.  The best we can do is approx 540x400 pixels, 12 or 15 fps, XviD or DivX or MPEG2.
AND the other factor which will help to make your video performance stutter-free is to reduce the audio sample rate to 22050 Hz (or 32000 Hz for MPEG2).  It seems that our sound cards really drain processor resources, both with OSS and ALSA, and reducing the demand on the sound card makes a large difference.
And don't blame DSL's TinyX graphics drivers.  The full XFree86 drivers will achieve fullscreen playback, but they won't allow any larger source resolutions to be used.

thebufenator,
ALSA drivers are newer and more sophisticated than OSS.  If you have a professional sound card like an MAudio Delta there's no choice, you must use ALSA.
But for older sound cards ALSA can't do much better than the OSS drivers.  I should know, I dual-boot my old Sony VAIO between 2 Linux distributions - one configured for OSS and one configured for ALSA.
Craig S
Back to top
Profile PM 
geodescent Offline





Group: Members
Posts: 11
Joined: Mar. 2005
Posted: April 10 2005,05:09 QUOTE

I don't doubt the videodrivers are more than capable. But watching the CPU go at 100% just for video playback pretty much speaks for itself.  :-P  Still nice to see that laptop turn into a stable, quick little surfing machine. Now if I could just get a functional battery. Even the brand new ones are DOA (working with eRecycler to get them RMA'd nearly as soon asI receive a replacement)
Back to top
Profile PM 
9 replies since Mar. 13 2005,00:27 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ 1 [2] >/
reply to topic new topic new poll
Quick Reply: Getting alsa loaded on HD Install...

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code