Skip to contentSkip to conversation

: lack of full duplex operation for ati-ixp chipset.

ALSA - driver 0002147 [email protected] 1 participant 1 message May 30, 2006

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2147>
======================================================================

Reported By:                Gene Heskett
Assigned To:                tiwai
======================================================================
Project:                    ALSA - driver
Issue ID:                   2147
Category:                   PCI - atiixp
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Distribution:               FC5, uptodate
Kernel Version:             2.6.16-1.2111_FC5
======================================================================
Date Submitted:             05-23-2006 03:52 CEST
Last Modified:              05-30-2006 03:46 CEST

======================================================================
Summary: lack of full duplex operation for ati-ixp chipset.
Description:
skype, ekiga, audacity, and generally any program that needs to both transmit and receive, using isolated paths, fails in playback when recording. In skype, I sound great at the far end, but reception may or may not work, with emphasis on the not. What I hear in the phones, or in the speakers, sounds like what you would get if you took a sentence of spoken words, break it up into say 5ms pieces, and play them at maybe 10 of these little snippets per second, so that the resultant sound is broken up to the point of no comprehension, and stretched in time by a considerable amount.

In audacity, simultanious playback, or play one track while recording another, likewise fails in that only very short snippets of the played track are output to the phones or speakers.

Likewise, ekiga suffers from this same effect, I'm told I sound great on teh other end, but I can't hear more than half a word occasionally.
======================================================================

----------------------------------------------------------------------
sprocketboy - 05-29-06 21:24
----------------------------------------------------------------------
This is a "me too" type of post, but maybe I can add some more useful information.

I have tried to record while playing (overdub) in audacity as well, and have never gotten it to work. The default audacity-1.2.3 RPM for Mandriva is compiled with the portaudio=v18 flag set, which means that audacity looks for an OSS driver, or in the case of ALSA, an OSS emulator. I have tried compiling both the stable audacity-1.2.3 and the beta 1.3.0 versions with the portaudio=v19 flag set. In both cases, the "ALSA ATI IXP" driver appears as a device selection in audacity's "Preferences" dialog, but if I select the ALSA driver for input and output and try to record, audacity locks up the kernel.

Here is the relevant output for 'lspci -v' on my system. I am using the Mandriva kernel 2.6.12-22mdk, custom compiled with support for SMP, 4GB himem, hyperthreading (I have a dual-core processor on a Toshiba laptop), and pre-emptible kernel. Do any of those settings break the ati-ixp driver?

00:14.5 Multimedia audio controller: ATI Technologies Inc IXP150 AC'97 Audio Controller (rev 01)
Subsystem: Toshiba America Info Systems: Unknown device ff01
Flags: bus master, 66Mhz, slow devsel, latency 64, IRQ 17 Memory at e8004400 (32-bit, non-prefetchable) [size=256]

----------------------------------------------------------------------
Raymond - 05-30-06 03:46
----------------------------------------------------------------------
strace -e trace=open aplay any.wav

This tell you where do alsa-lib search and open those conf files ?

The device "default" is used whenever you don't specify -D device for those alsa-util

aplay -v any.wav

Plug PCM: Direct Stream Mixing PCM <--- dmix
Hardware PCM card 0 'ATI IXP' device 0 subdevice 0 <---- hw

hw is the slave pcm of dmix in ATIIXP.conf

Refer to the changelog in README.txt of audacity-src-1.2.4b

Changes in 1.2.2:

* Added support for Software Playthrough (listen to what you're recording while recording it, or while monitoring using a VU meter) - this makes it possible, for example, to record using one audio device while listening to it play through a separate device.

Issue History
Date Modified Username Field Change
======================================================================

05-23-06 03:52 Gene Heskett   New Issue                                    
05-23-06 03:52 Gene Heskett   Distribution              => FC5, uptodate   
05-23-06 03:52 Gene Heskett   Kernel Version            => 2.6.16-1.2111_FC5
05-23-06 15:01 tiwai          Note Added: 0009934                          
05-23-06 16:46 Gene Heskett   Note Added: 0009938                          
05-23-06 17:24 tiwai          Note Added: 0009941                          
05-23-06 18:07 Gene Heskett   Note Added: 0009943                          
05-23-06 19:14 tiwai          Note Added: 0009947                          
05-28-06 03:08 Gene Heskett   Note Added: 0009985                          
05-28-06 03:20 Gene Heskett   Note Added: 0009986                          
05-28-06 03:22 rlrevell       Note Added: 0009987                          
05-28-06 03:58 Raymond        Note Added: 0009988                          
05-28-06 04:04 Raymond        Note Edited: 0009988                         
05-28-06 04:05 Raymond        Note Edited: 0009988                         
05-28-06 04:24 rlrevell       Note Added: 0009989                          
05-28-06 04:51 Gene Heskett   Note Added: 0009990                          
05-28-06 05:10 rlrevell       Note Added: 0009991                          
05-28-06 05:27 Gene Heskett   Note Added: 0009992                          
05-28-06 05:34 rlrevell       Note Added: 0009993                          
05-28-06 05:37 Gene Heskett   Note Added: 0009994                          
05-28-06 06:13 rlrevell       Note Added: 0009995                          
05-28-06 06:29 Gene Heskett   Note Added: 0009998                          
05-28-06 06:35 rlrevell       Note Added: 0009999                          
05-28-06 08:22 Raymond        Note Added: 0010000                          
05-28-06 08:32 Raymond        Note Added: 0010001                          
05-28-06 13:17 Gene Heskett   Note Added: 0010002                          
05-29-06 03:13 Raymond        Note Added: 0010005                          
05-29-06 04:24 Gene Heskett   Note Added: 0010006                          
05-29-06 11:41 Raymond        Note Added: 0010010                          
05-29-06 14:56 Raymond        Note Edited: 0010005                         
05-29-06 15:34 Raymond        Note Added: 0010011                          
05-29-06 15:55 Gene Heskett   Note Added: 0010012                          
05-29-06 21:16 sprocketboy    Issue Monitored: sprocketboy                    
05-29-06 21:24 sprocketboy    Note Added: 0010013                          
05-30-06 03:46 Raymond        Note Added: 0010016                          

======================================================================