Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(solved) alsa/oss sound advice?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Fenster
Apprentice
Apprentice


Joined: 26 Oct 2004
Posts: 172
Location: Purgatory

PostPosted: Fri Jul 15, 2005 10:29 pm    Post subject: (solved) alsa/oss sound advice? Reply with quote

I've compiled in and configured alsa and oss sound and configured alsa and per the instructions on the alsa sound, but its still coming out terrible, I hate to say-its coming out with very low volme, and filled with static/popping sounds. I'd post my configs right away, but I'm currently working in OSX.

Until I could that, is there any advice to be had on configuring snd-powermac?


Last edited by Fenster on Mon Jul 18, 2005 3:16 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43542
Location: 56N 3W

PostPosted: Fri Jul 15, 2005 10:35 pm    Post subject: Reply with quote

Fenster,

You can have ALSA or OSS buut not both, However, ALSA can emulate OSS.
Its always a Bad Thing to install two drivers for the same piece of hardware.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Fenster
Apprentice
Apprentice


Joined: 26 Oct 2004
Posts: 172
Location: Purgatory

PostPosted: Fri Jul 15, 2005 10:40 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Fenster,

You can have ALSA or OSS buut not both, However, ALSA can emulate OSS.
Its always a Bad Thing to install two drivers for the same piece of hardware.


Once again, I curse myself for not being clearer. I meant Alsa+OSS emulation
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43542
Location: 56N 3W

PostPosted: Sat Jul 16, 2005 12:05 pm    Post subject: Reply with quote

Fenster,

By all means post your settings. It would be good to see your lspci output at the same time and to know the make and model of your motherboard/sound card

Meanwhile, here are some guesses to be going on with:-
1. Your speakers are plugged into the wrong place, so you are listening to the crosstalk.
2. Some things are noy unmuted/set properlu in alsa mixer
3. You are using the wrong driver (unlikely)
4. Your sound application is not configured correctly.

What sound application are you using for testing and have you tried both is OSS and Alsa outputs ?

I have some ideas on the clicks and pops too but I'll save them until I know your hardware.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Fenster
Apprentice
Apprentice


Joined: 26 Oct 2004
Posts: 172
Location: Purgatory

PostPosted: Sun Jul 17, 2005 12:59 am    Post subject: Reply with quote

I haven't had a chance before now to post these.

First off, lspci doesn't list my sound controller, no matter how I compile my kernel. However, alsaconf still detects it and gives it the module snd-powermac:

Code:
0000:00:0b.0 Host bridge: Apple Computer Inc. UniNorth/Pangea AGP
0000:00:10.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M7 LW [Radeon Mobility 7500]
0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth/Pangea PCI
0001:10:17.0 Class ff00: Apple Computer Inc. KeyLargo/Pangea Mac I/O
0001:10:18.0 USB Controller: Apple Computer Inc. KeyLargo/Pangea USB
0001:10:19.0 USB Controller: Apple Computer Inc. KeyLargo/Pangea USB
0002:20:0b.0 Host bridge: Apple Computer Inc. UniNorth/Pangea Internal PCI
0002:20:0e.0 FireWire (IEEE 1394): Apple Computer Inc. UniNorth/Pangea FireWire
0002:20:0f.0 Ethernet controller: Apple Computer Inc. UniNorth/Pangea GMAC (Sun GEM)


/etc/modules.d/alsa after running alsaconf:

Code:
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsa-modules.conf-rc,v 1.4 2004/11/16 01:31:22 eradicator Exp $

# ALSA portion
# OSS/Free portion

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.9a ---
options snd  device_mode=0666
alias snd-card-0 snd-powermac
alias sound-slot-0 snd-powermac
# --- END: Generated by ALSACONF, do not edit. ---


/etc/conf.d/alsa

Code:
# ENABLE_OSS_EMUL:
# Do you want to enable in-kernel oss emulation?
# no - Do not load oss emul drivers
# yes - Load oss emul drivers if they're found

ENABLE_OSS_EMUL="yes"

# RESTORE_ON_START:
# Do you want to restore your mixer settings?  If not, your cards will be
# muted.
# no - Do not restore state
# yes - Restore state

RESTORE_ON_START="yes"

# SAVE_ON_STOP:
# Do you want to save changes made to your mixer volumes when alsasound
# stops?
# no - Do not save state
# yes - Save state

SAVE_ON_STOP="yes"


I won't add a .asoundrc, as I've tried several with no difference.
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Sun Jul 17, 2005 2:56 am    Post subject: Reply with quote

I and several other people on the ppc forum used to have that strange poping
sound trouble.

It turns that in alsamixer there is a column on the far right called "DRC range".
Putting it to 100% made of all my noise and blank problem magically
disappear!
Try it.

Cheers,
Francois
Back to top
View user's profile Send private message
Fenster
Apprentice
Apprentice


Joined: 26 Oct 2004
Posts: 172
Location: Purgatory

PostPosted: Mon Jul 18, 2005 2:38 am    Post subject: Reply with quote

fb wrote:
I and several other people on the ppc forum used to have that strange poping
sound trouble.

It turns that in alsamixer there is a column on the far right called "DRC range".
Putting it to 100% made of all my noise and blank problem magically
disappear!
Try it.

Cheers,
Francois


Aye, that fixed the popping, but my sound is awfully crackly still-like I'm using bad .asoundrc settings. I've tried several .asoundrc configs, with no discernable difference.
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Mon Jul 18, 2005 2:51 am    Post subject: Reply with quote

Strange. I suppose the sound is clean under OSX so you can eliminate the possibility
of broken hardware. I personally don't have a .asoundrc on my iMac G4, I have a
/etc/asound.state that I should modify one day and no real problem at the moment.

One thing I have noticed on my iMac is that a lot of app don't work well directly with
alsa but will use alsa-oss without problems (arts come to mind, if I force it to alsa I can
say goodbye to sound in Juk, xmms is happy with alsa on the other hand).

Sorry I cannot help much more.
Francois
Back to top
View user's profile Send private message
Fenster
Apprentice
Apprentice


Joined: 26 Oct 2004
Posts: 172
Location: Purgatory

PostPosted: Mon Jul 18, 2005 3:08 pm    Post subject: Reply with quote

Solved it, I think.

I switched to OSS emulation and then noticed that the PCM volume was maxed. I cut it down to half and the crackling went away.
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Mon Jul 18, 2005 10:12 pm    Post subject: Reply with quote

Yes speaker don't always like to be maxed out. But it must have been very loud as well?
Or do you like your stuff LOUD :wink: ?

Francois
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum