Skip to contentSkip to conversation

: Audio still broken for Asus A8V-MX

ALSA - driver 0002087 [email protected] 1 participant 1 message May 10, 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=2087>
======================================================================
Reported By: myxie
Assigned To:
======================================================================

Project:                    ALSA - driver
Issue ID:                   2087
Category:                   PCI - via82xx
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               Debian
Kernel Version:             2.6.16
======================================================================
Date Submitted:             04-30-2006 23:33 CEST
Last Modified:              05-10-2006 16:14 CEST

======================================================================
Summary: Audio still broken for Asus A8V-MX
Description:
The patches integrated (see issue 0001622) into the latest release of ALSA make the on-board audio more usuable, but there are still significant issues.

Playing an audio file results in a freeze for 10 seconds, followed by a write error and then the audio continues normally. I noticed a second write error later on in the stream.

I am happy to try patches, turn on debugging flags etc. Let me know.

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

----------------------------------------------------------------------
myxie - 05-08-06 21:31
----------------------------------------------------------------------
A new kernel.

CONFIG_SND_VERBOSE_PROCFS=y
CONFIG_SND_VERBOSE_PRINTK=y
CONFIG_SND_DEBUG=y

Nothing terribly interesting in the logs (dmesg) after switching xrun_debug to 2.

If I let ogg123 get to the point of the write error, I see (dmesg):

ALSA sound/core/pcm_lib.c:2231: playback write error (DMA or IRQ trouble?)

More interesting, opening (not evening reading) from /proc/asound/card0/pcm0p/sub0/status is enough to get things flowing again with no write error.

So all I need to do now is run "while true; do :
</proc/asound/card0/pcm0p/sub0/status; done" in the background somewhere. :-)

----------------------------------------------------------------------
tiwai - 05-10-06 16:14
----------------------------------------------------------------------
As I mentioned, it's likely an IRQ problem. The driver isn't woken up at the right time. Usually it's a problem in more deeper point, often in ACPI.

The workaround via access to the proc file is a pure side-effect. When the proc file is accessed, the driver tries to update the status, and eventually updates the hw pointer that should have been done via interrupts.

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

04-30-06 23:33 myxie          New Issue                                    
04-30-06 23:33 myxie          Distribution              => Debian          
04-30-06 23:33 myxie          Kernel Version            => 2.6.16          
05-02-06 17:57 tiwai          Note Added: 0009562                          
05-05-06 18:40 myxie          Note Added: 0009628                          
05-05-06 19:58 myxie          File Added: lsof.ogg123                      
05-05-06 19:58 myxie          File Added: lsof.mplayer                     
05-05-06 19:59 myxie          Note Added: 0009629                          
05-05-06 20:59 karsten        Note Added: 0009630                          
05-05-06 21:29 myxie          File Added: lspci.txt                        
05-05-06 21:30 myxie          Note Added: 0009631                          
05-08-06 18:09 myxie          Note Added: 0009646                          
05-08-06 18:10 myxie          File Added: aadebug.txt                      
05-08-06 18:31 myxie          Note Added: 0009647                          
05-08-06 21:31 myxie          Note Added: 0009648                          
05-10-06 16:14 tiwai          Note Added: 0009721                          

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

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642