You are not logged in.

#1 2005-03-10 23:00:38

mercy
Member
Registered: 2004-04-24
Posts: 62

alsa and intel8x0-sndchip onboard AC97Audio troubles

well.. im experiencing heavy troubles...but couldnt yet figure out *what* is really causing the trouble...

the trouble is that only ONE app at a time is able to aquire the sound-device
(i already tried the wiki-page about configuring alsa for HW or SW mixer ... that didn't help)

and googeling for hours didn't result in any hint...

 
hwd -e
-snip-
8086    24d5    "snd-intel8x0"  "Intel Corp.|82801EB AC'97 Audio"
-snip-
lsmod:
Module                  Size  Used by
-snip-
snd_intel8x0           34336  1
snd_ac97_codec         78176  1 snd_intel8x0
snd_pcm_oss            56612  0
snd_pcm               101252  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              27140  1 snd_pcm
snd_page_alloc         10244  2 snd_intel8x0,snd_pcm
snd_mixer_oss          21120  1 snd_pcm_oss
snd                    59108  8 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore              10848  1 snd
-snip-

ideas?

Offline

#2 2005-03-11 06:09:32

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: alsa and intel8x0-sndchip onboard AC97Audio troubles

http://wiki2.archlinux.org/index.php/Al … 0at%20once

are you sure you have tried everything there? if you had a problem with any, ask.

if that doesnt do it, bad luck smile

iphitus

Offline

#3 2005-03-11 09:20:34

mercy
Member
Registered: 2004-04-24
Posts: 62

Re: alsa and intel8x0-sndchip onboard AC97Audio troubles

ah Thx!

i missed that wiki-page... didnt come up when i searched wiki for alsa  :oops:

ATM im at work... but i'll give that a shot asap and report ...

sidecomment|whining
id say the sound-driver itself should handle the SW-mixing if the HW doesn't do it  :evil:
only as a option it should be possible to deactivate it and use the mixer of his own desire  :?
/sidecomment|whining

Offline

#4 2005-03-13 13:56:04

droog
Member
Registered: 2004-11-18
Posts: 877

Re: alsa and intel8x0-sndchip onboard AC97Audio troubles

I would stick with alsa rather than those closed source drivers, i have the same soundcard and have had the mixing working in the past, so i know its possible with alsa, its not working atm though.  ill probably try to get it working again tomorrow, if i figure anything out ill let you know

Offline

#5 2005-03-13 16:34:25

mercy
Member
Registered: 2004-04-24
Posts: 62

Re: alsa and intel8x0-sndchip onboard AC97Audio troubles

well.. still no sucess :-/

either wiki and the alsa-project-page gave any sollution jet

this is getting really boring :-/

Offline

#6 2005-03-13 17:40:54

jerem
Member
From: France
Registered: 2005-01-15
Posts: 310

Re: alsa and intel8x0-sndchip onboard AC97Audio troubles

Compile the sound modules in your kernel instead of having hundreds of dependent modules for that.

Offline

#7 2005-03-13 19:29:40

LB06
Member
From: The Netherlands
Registered: 2003-10-29
Posts: 435

Re: alsa and intel8x0-sndchip onboard AC97Audio troubles

I'm using esd to play multiple sounds at once. Works fine with apps that can explicitly select ESD to output sound (xmms, bmp, gaim). But rhythmbox for example, complains it can't complains that /dev/dsp(OSS?) is already in use by another program. How do I get sound in rhythmbox, my favorite music player?

Btw if I stop ESD and play a sound with rhythmbox, it works just fine. I have a Acer Travelmate 4501LCi with a Intel 855GM (snd_intel8x0)

Offline

#8 2005-03-13 22:50:18

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: alsa and intel8x0-sndchip onboard AC97Audio troubles

droog wrote:

I would stick with alsa rather than those closed source drivers, i have the same soundcard and have had the mixing working in the past, so i know its possible with alsa, its not working atm though.  ill probably try to get it working again tomorrow, if i figure anything out ill let you know

I use the closed source drivers. Alsa's dmix doesnt handle OSS apps, so when one of them hits the soundcard, its locked up again.

Offline

#9 2005-03-13 23:55:58

mercy
Member
Registered: 2004-04-24
Posts: 62

Re: alsa and intel8x0-sndchip onboard AC97Audio troubles

well.. i solved my troubles...


the sollution ... ALSA just supports i8x0.. but i need ICH5 support which oss offers  roll

i got a preassembled box here..thats why i did never have a look at the exact HW.. till now... and what i saw there shoked me a bit...
my MOBO (P4TSP-D2 if somebody wants to google it) doesn't have a onboard-sound-chip as im used to it but uses the Intel Southbridge ICH5 and a freakin CODEC-chip - CMI9739A or CMI9761A - i don't know exactly (maybe i have a look later)

and that got wrongly identified by alsa and hwd wink
therefore i thought alsa and the module is OK.. until i had a look in the MOBO-spec and googeled and googeled and googeled.. roll

hwd:

HARDWARE DETECT ver 4.1.2
Starting...  : (simple mode)
  Kernel     : 2.6.10-ARCH
  CPU & Cache: Processor 0 is Intel(R) Pentium(R) 4 CPU 3.40GHz 3393MHz, 1024 KB Cache
Processor 1 is Intel(R) Pentium(R) 4 CPU 3.40GHz 3393MHz, 1024 KB Cache

  ALSA(sound): Intel Corp.|82801EB AC'97 Audio module: snd-intel8x0
  Video      : nVidia Corporation|NV36 [GeForce FX 5700LE] server: Xorg (vesa)
  Monitor    : GER5773 H:28.0-96.0kHz V:49-75Hz
  Mouse      : Logitech USB-PS/2 Optical Mouse device: /dev/input/mice

  HD(master) : ICneric USB Storage Device device: /dev/(null)
  HD(slave)  : WDC WD2000BB-22GUA0 device: /dev/hda
  SCSI       : No scsi disk
  Swap       : Swap found device: /dev/hda2
  Scanner    : No scanner
  CDROM      : _NEC DVD_RW ND-3500AG device: /dev/hdc
  Floppy     : No Floppy drive
  USB        : USB found module: ehci-hcd


  Ethernet   : Realtek|RTL-8139 module: 8139too device: eth0
  PCMCIA     : Detect PCMCIA cards run hwd -d
  Modem      : No pci modem

  Howto      : View howto run hwd -h
  Testing    : File /etc/X11/xorg.conf already exist!!
             : Read more in howto.

[root@Archmage ~]#
HARDWARE DETECT ver 4.1.2
Starting... (expert mode)
Detecting pci, usb, and pcmcia devices.

PCI DEVICE
VendID  DevID   Module          Description
0001    8139    10ec    8139    "8139too"       "|Realtek 8139"
10de    0343    "unknown"       "nVidia Corporation|NV36 [GeForce FX 5700LE]"
10ec    8139    "8139too"       "Realtek|RTL-8139"
8086    244e    "hw_random"     "Intel Corp.|82820 815e (Camino 2) Chipset PCI"
8086    24d0    "i810-tco"      "Intel Corp.|82801EB ISA Bridge (LPC)"
8086    24d1    "ata_piix"      "Intel Corp.|82801EB ICH5 IDE (SATA)"
8086    24d2    "usb-uhci"      "Intel Corp.|USB Controller"
8086    24d3    "i2c-i801"      "Intel Corp.|82801EB SMBus"
8086    24d4    "usb-uhci"      "Intel Corp.|USB Controller"
8086    24d5    "snd-intel8x0"  "Intel Corp.|82801EB AC'97 Audio"
8086    24d7    "usb-uhci"      "Intel Corp.|USB Controller"
8086    24db    "ata_piix"      "Intel Corp.|82801EB ICH5 IDE"
8086    24dd    "ehci-hcd"      "Intel Corp.|USB Enhanced Controller"
8086    24de    "unknown"       "Intel Corp.|82801EB USB EHCI Controller #2"
8086    2570    "intel-agp"     "Intel Corp.|82865G [Springdale-G] Chipset Host Bridge"
8086    2571    "unknown"       "Intel Corp.|82865G/PE/P Processor to AGP Controller"

PCMCIA DEVICE
no pcmcia driver in /proc/devices
VendID  DevID   Module          Description

USB DEVICE
VendID  DevID  Module  Description
045e    003c    "unknown"       "Microsoft Corp.|SideWinder Joystick"
046d    c00e    "unknown"       "Logitech Inc.|Optical Mouse"

Press any key to continue...

HD PARITIONS
/dev/hda  /dev/hda1  /dev/hda2  /dev/hda3  /dev/hdc
/dev/sda  /dev/sdb  /dev/sdc  /dev/sdd

MODULES
snd_intel8x0  snd_ac97_codec  snd_pcm  snd_timer  snd  soundcore  snd_page_alloc  i2c_i801  i2c_core  parport_pc  parport  osslinux  usb_storage  tsdev  joydev evdev  usbhid  uhci_hcd  usbcore  nvidia  8139too  mii

INFORMATION
hwd -s  - generates howto and sample X configure.

[root@Archmage ~]#

lspci

[root@Archmage bin]# lspci
00:00.0 Host bridge: Intel Corp.: Unknown device 2570 (rev 02)
00:01.0 PCI bridge: Intel Corp.: Unknown device 2571 (rev 02)
00:1d.0 USB Controller: Intel Corp.: Unknown device 24d2 (rev 02)
00:1d.1 USB Controller: Intel Corp.: Unknown device 24d4 (rev 02)
00:1d.2 USB Controller: Intel Corp.: Unknown device 24d7 (rev 02)
00:1d.3 USB Controller: Intel Corp.: Unknown device 24de (rev 02)
00:1d.7 USB Controller: Intel Corp.: Unknown device 24dd (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corp.: Unknown device 24d0 (rev 02)
00:1f.1 IDE interface: Intel Corp.: Unknown device 24db (rev 02)
00:1f.2 IDE interface: Intel Corp.: Unknown device 24d1 (rev 02)
00:1f.3 SMBus: Intel Corp.: Unknown device 24d3 (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp.: Unknown device 24d5 (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0343 (rev a1)
02:03.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
[root@Archmage bin]# 

lsdev

[root@Archmage bin]# lsdev
Device            DMA   IRQ  I/O Ports
------------------------------------------------
(24D5)                   17
(UART)                    5
0000:00:1d.0                 bc00-bc1f
0000:00:1d.1                 b000-b01f
0000:00:1d.2                 b400-b41f
0000:00:1d.3                 b800-b81f
0000:00:1f.0                 0400-047f 0480-04bf
0000:00:1f.1                 f000-f00f
0000:00:1f.2                 c000-c007 c400-c403 c800-c807 cc00-cc03 d000-d00f
0000:00:1f.3                 0500-051f
0000:00:1f.5                 d800-d8ff dc00-dc3f
0000:02:03.0                 a000-a0ff
8139too                        a000-a0ff
acpi                      9
cascade             4
dma                          0080-008f
dma1                         0000-001f
dma2                         00c0-00df
fpu                          00f0-00ff
GPE0_BLK                       0428-042f
i801-smbus                     0500-050f
i8042                     1
ICHAC97                        d800-d8ff
ICHAUDIOCTL                    dc00-dc3f
ide0                     14  01f0-01f7 03f6-03f6   f000-f007
ide1                     15  0170-0177 0376-0376   f008-f00f
keyboard                     0060-006f
libata                         c000-c007   c400-c403   c800-c807   cc00-cc03   d000-d00f
nvidia                   16
parport0                  7  0378-037a
PCI                          0cf8-0cff
pic1                         0020-0021
pic2                         00a0-00a1
PM1a_CNT_BLK                   0404-0405
PM1a_EVT_BLK                   0400-0403
PM_TMR                         0408-040b
serial                       02f8-02ff 03f8-03ff
timer                     0
timer0                       0040-0043
timer1                       0050-0053
uhci_hcd              18 19    b000-b01f   b400-b41f   b800-b81f   bc00-bc1f
vga+                         03c0-03df
[root@Archmage bin]# 


waho.. that was a tricky one.. im feeling like 10 years back in time when you had to guess together with isapnp what you got in your box  lol

the funny thing was that i HAD sound.. (cuz both are AC97) ... just shot me down when i wanted multible apps to access the sounddevice...

hope this helps others who experience such troubles too  wink

Offline

#10 2005-03-14 00:03:16

mercy
Member
Registered: 2004-04-24
Posts: 62

Re: alsa and intel8x0-sndchip onboard AC97Audio troubles

sidenote...

why compiling modules into the kernel? this wouldnt have much impact..

you just have to compile everytime a kernelupdate comes along to only have a shorter or emtpy lsmod... *shrug*


sidenote2...
*agree*iphitus
sticking to ALSA is fine.. if it works for you.. if not you have to use something else ...  wink

sidenote3...
esd, artsd, ... i didnt want to use a sounddeamon... just eats up performance and does not work for everything (eg. DooM3  wink ) .. beside.. it at least adds latency to sound leading to insync for DVD-playbacks eg.

sidenote4...
hopefully alsa supports "Southbridges" soon so i can switch back  lol

Offline

Board footer

Powered by FluxBB