You are not logged in.

#1 2008-07-09 00:15:15

JazzplayerL9
Member
Registered: 2006-03-31
Posts: 109

ALSA: snd-atiixp-modem and snd-atiixp

I get no sound in games (wesnoth, tremulous, padman, etc) if I let snd-atiixp-modem load during boot.  If I blacklist it, I get sound, but about 50% of the time snd-atiixp doesn't load and ALSA cannot find a sound card when it starts.  I have to reboot a few times and eventually it loads and works just fine. 

Does anyone know why this is happening?  I'm thinking about upgrading the alsa-driver to 1.0.17-rc3 to try that but I'm unsure how my system will react when the next kernel updates happen.  Any suggestions?

Offline

#2 2008-07-09 09:54:33

lldmer
Member
From: Amsterdam
Registered: 2008-05-17
Posts: 119

Re: ALSA: snd-atiixp-modem and snd-atiixp

Is your snd-atiixp-module being automatically loaded or do you have it explicitly loaded from the modules section in your rc.conf? If the former, I would try loading it explicitly from /etc/rc.conf:

MODULES=(snd-atiixp)

Also, what happens when you just modprobe snd-atiixp after it didn't get loaded on boot?


For lack of better words: chair, never, toothbrush, really. Ohw, and fish!

Offline

#3 2008-07-09 14:59:51

JazzplayerL9
Member
Registered: 2006-03-31
Posts: 109

Re: ALSA: snd-atiixp-modem and snd-atiixp

I have it explicitly loaded in /etc/rc.conf.  Here's what my hardware section looks like:

MOD_AUTOLOAD="yes"
MOD_BLACKLIST=(snd-atiixp-modem)
MODULES=(8139cp 8139too mii ath_hal ath_pci wlan ac97_bus snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-ac97-codec snd-atiixp snd-seq soundcore acpi-cpufreq cpufreq_ondemand cpufreq_powersave fuse tun vboxdrv)
USELVM="no"

and my DAEMONS line is this:

DAEMONS=(syslog-ng portmap @hal @fam dhcdbd networkmanager !network netfs @openntpd crond alsa !avahi-daemon !pulseaudio @cups @sshd @cpufreq @rc.vboxadd @rc.vboxfs @gdm)


When I modprobe snd-atiixp it doesn't say anything...when I check with lsmod it doesn't show it loaded.

Last edited by JazzplayerL9 (2008-07-09 15:01:37)

Offline

#4 2008-07-09 20:15:54

lldmer
Member
From: Amsterdam
Registered: 2008-05-17
Posts: 119

Re: ALSA: snd-atiixp-modem and snd-atiixp

Hmm... maybe it's a conflict between your snd_atiixp module and some other module. (so for example it won't load if module x is loaded before it). I think you could check this by comparing the output of lsmod on a boot with and a boot without sound, to see if some other module gets loaded "instead" of snd_atiixp. Just an idea, I don't really know much about this stuff...

Edit: My laptop uses the same module, I do however have sound also with the snd_atiixp_modem module loaded. Maybe it's some configuration error? Do you have only one soundcard?

Last edited by lldmer (2008-07-10 00:28:05)


For lack of better words: chair, never, toothbrush, really. Ohw, and fish!

Offline

#5 2008-07-10 01:40:04

JazzplayerL9
Member
Registered: 2006-03-31
Posts: 109

Re: ALSA: snd-atiixp-modem and snd-atiixp

Only one soundcard, yes. 

I'll give the lsmod comparison a look real quick and see if I notice anything.  To clarify, I get sound when snd-atiixp-modem is loaded in everything but games...when I play Wesnoth, Tremulous, WoP, tuxracer, etc...none of them have sound.  If I blacklist snd-atiixp-modem and the modules load correctly, I have sound in those games as well as everywhere else. 

I'll check the lsmod real quick and post up.

Offline

#6 2008-07-10 01:53:02

JazzplayerL9
Member
Registered: 2006-03-31
Posts: 109

Re: ALSA: snd-atiixp-modem and snd-atiixp

Ok...here are my good and bad lsmod's:

Good lsmod:

 Module                  Size  Used by
wlan_wep                6272  1 
radeon                127520  2 
drm                    72472  3 radeon
ext2                   64392  1 
joydev                 10048  0 
pcmcia                 33068  0 
parport_pc             34884  1 
ppdev                   7556  0 
yenta_socket           23436  1 
rsrc_nonstatic         11264  1 yenta_socket
pcmcia_core            33300  3 pcmcia,yenta_socket,rsrc_nonstatic
lp                      9444  0 
parport                31596  3 parport_pc,ppdev,lp
pcspkr                  2816  0 
psmouse                36752  0 
serio_raw               5508  0 
video                  16656  0 
output                  3200  1 video
container               3712  0 
sr_mod                 15300  0 
cdrom                  34080  1 sr_mod
ohci_hcd               21764  0 
ehci_hcd               33932  0 
i2c_piix4               8076  0 
i2c_core               19348  1 i2c_piix4
usbcore               129904  3 ohci_hcd,ehci_hcd
shpchp                 29588  0 
pci_hotplug            26276  1 shpchp
ati_agp                 7052  1 
agpgart                28244  2 drm,ati_agp
sg                     27188  0 
thermal                15260  0 
evdev                   9472  6 
fan                     4356  0 
button                  6416  0 
battery                10372  0 
ac                      4484  0 
vboxdrv                73792  0 
tun                     8704  0 
fuse                   42652  0 
cpufreq_powersave       1920  0 
cpufreq_ondemand        7180  1 
acpi_cpufreq            7692  0 
freq_table              4112  2 cpufreq_ondemand,acpi_cpufreq
processor              32096  2 thermal,acpi_cpufreq
snd_seq                48560  0 
snd_seq_device          6796  1 snd_seq
snd_atiixp             15756  0 
snd_ac97_codec         98084  1 snd_atiixp
snd_pcm_oss            38656  0 
snd_pcm                68228  3 snd_atiixp,snd_ac97_codec,snd_pcm_oss
snd_timer              19848  2 snd_seq,snd_pcm
snd_page_alloc          8072  2 snd_atiixp,snd_pcm
snd_mixer_oss          14848  1 snd_pcm_oss
snd                    46628  8 snd_seq,snd_seq_device,snd_atiixp,snd_ac97_codec,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               6496  1 snd
ac97_bus                2048  1 snd_ac97_codec
wlan_scan_sta          12672  1 
ath_rate_sample        14336  1 
ath_pci               184364  0 
wlan                  238064  5 wlan_wep,wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal               231136  3 ath_rate_sample,ath_pci
8139too                22784  0 
8139cp                 19328  0 
mii                     4992  2 8139too,8139cp
rtc_cmos                9120  0 
rtc_core               15516  1 rtc_cmos
rtc_lib                 2944  1 rtc_core
ext3                  124040  2 
jbd                    44052  1 ext3
mbcache                 7172  2 ext2,ext3
sd_mod                 23320  5 
pata_acpi               4992  0 
ata_generic             5636  0 
pata_atiixp             5760  4 
libata                142224  3 pata_acpi,ata_generic,pata_atiixp
scsi_mod               92332  4 sr_mod,sg,sd_mod,libata
dock                    7952  1 libata

BAD lsmod:

Module                  Size  Used by
wlan_wep                6272  1 
radeon                127520  2 
drm                    72472  3 radeon
ext2                   64392  1 
joydev                 10048  0 
pcmcia                 33068  0 
parport_pc             34884  1 
ppdev                   7556  0 
yenta_socket           23436  1 
rsrc_nonstatic         11264  1 yenta_socket
pcmcia_core            33300  3 pcmcia,yenta_socket,rsrc_nonstatic
lp                      9444  0 
parport                31596  3 parport_pc,ppdev,lp
pcspkr                  2816  0 
psmouse                36752  0 
serio_raw               5508  0 
video                  16656  0 
output                  3200  1 video
container               3712  0 
sr_mod                 15300  0 
cdrom                  34080  1 sr_mod
ehci_hcd               33932  0 
ohci_hcd               21764  0 
i2c_piix4               8076  0 
i2c_core               19348  1 i2c_piix4
usbcore               129904  3 ehci_hcd,ohci_hcd
ati_agp                 7052  1 
agpgart                28244  2 drm,ati_agp
shpchp                 29588  0 
pci_hotplug            26276  1 shpchp
sg                     27188  0 
thermal                15260  0 
evdev                   9472  6 
fan                     4356  0 
button                  6416  0 
battery                10372  0 
ac                      4484  0 
vboxdrv                73792  0 
tun                     8704  0 
fuse                   42652  0 
cpufreq_powersave       1920  0 
cpufreq_ondemand        7180  1 
acpi_cpufreq            7692  0 
freq_table              4112  2 cpufreq_ondemand,acpi_cpufreq
processor              32096  2 thermal,acpi_cpufreq
snd_seq                48560  0 
snd_seq_device          6796  1 snd_seq
snd_atiixp             15756  0 
snd_ac97_codec         98084  1 snd_atiixp
snd_pcm_oss            38656  0 
snd_pcm                68228  3 snd_atiixp,snd_ac97_codec,snd_pcm_oss
snd_timer              19848  2 snd_seq,snd_pcm
snd_page_alloc          8072  2 snd_atiixp,snd_pcm
snd_mixer_oss          14848  1 snd_pcm_oss
snd                    46628  8 snd_seq,snd_seq_device,snd_atiixp,snd_ac97_codec,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               6496  1 snd
ac97_bus                2048  1 snd_ac97_codec
wlan_scan_sta          12672  1 
ath_rate_sample        14336  1 
ath_pci               184364  0 
wlan                  238064  5 wlan_wep,wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal               231136  3 ath_rate_sample,ath_pci
8139too                22784  0 
8139cp                 19328  0 
mii                     4992  2 8139too,8139cp
rtc_cmos                9120  0 
rtc_core               15516  1 rtc_cmos
rtc_lib                 2944  1 rtc_core
ext3                  124040  2 
jbd                    44052  1 ext3
mbcache                 7172  2 ext2,ext3
sd_mod                 23320  5 
pata_acpi               4992  0 
ata_generic             5636  0 
pata_atiixp             5760  4 
libata                142224  3 pata_acpi,ata_generic,pata_atiixp
scsi_mod               92332  4 sr_mod,sg,sd_mod,libata
dock                    7952  1 libata

Some thing do load differently as can be seen.  Maybe that's the key...and if so I'm going to structure those modules differently and give it a try.

Offline

#7 2008-07-10 13:47:03

lldmer
Member
From: Amsterdam
Registered: 2008-05-17
Posts: 119

Re: ALSA: snd-atiixp-modem and snd-atiixp

What happens when you run the games when snd_atiixp_modem is loaded, with aoss in front of the game command? For example:

aoss wesnoth

For lack of better words: chair, never, toothbrush, really. Ohw, and fish!

Offline

#8 2008-07-10 14:56:18

JazzplayerL9
Member
Registered: 2006-03-31
Posts: 109

Re: ALSA: snd-atiixp-modem and snd-atiixp

command not found...haha I don't have alsa-oss installed...let me install it real quick.

EDIT:

well...perhaps I should have thought of that before I went through all the trouble.  Yeah using aoss works just fine.  Thanks for the help...it's always something simple that holds me up.

But, why am I having to use OSS compatibility to have sound work?  Still a problem with the modules...but I guess I'm happy now that it's working.

Last edited by JazzplayerL9 (2008-07-10 16:03:53)

Offline

#9 2008-07-10 16:18:32

lldmer
Member
From: Amsterdam
Registered: 2008-05-17
Posts: 119

Re: ALSA: snd-atiixp-modem and snd-atiixp

Nice to hear it's working:)

I'm not to sure, but I think these games either only support OSS, or are configured to use OSS by default. Maybe you can find some setting in the game to change this.

About your modules, I'm in the dark as well.


For lack of better words: chair, never, toothbrush, really. Ohw, and fish!

Offline

Board footer

Powered by FluxBB