Skip to contentSkip to conversation

: ALSA sound cuts out w/ message: ALSA sound/pci/via82xx.c:737: invalid via82xx_cur_ptr, using last valid pointer

ALSA - driver 0000671 [email protected] 1 participant 1 message Dec 7, 2004

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=671>
======================================================================
Reported By: brentcfisher
Assigned To:
======================================================================

Project:                    ALSA - driver
Issue ID:                   671
Category:                   PCI - via82xx
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Distribution:               Gentoo
Kernel Version:             2.6.8.1
======================================================================
Date Submitted:             11-24-2004 06:36 CET
Last Modified:              12-07-2004 18:24 CET

======================================================================
Summary: ALSA sound cuts out w/ message: ALSA
sound/pci/via82xx.c:737: invalid via82xx_cur_ptr, using last valid pointer Description:
Particularily noticeable when watching a DVD via xine using AC3 Pass Through. Sound will cut out momentarily (usually for no more than a second). The skip is always accompanied by multiples of this message in the /var/log/messages file:

Nov 23 22:33:06 hostname ALSA sound/pci/via82xx.c:737: invalid
via82xx_cur_ptr, using last valid pointer
Nov 23 22:33:06 hostname ALSA sound/pci/via82xx.c:737: invalid
via82xx_cur_ptr, using last valid pointer
Nov 23 22:33:06 hostname ALSA sound/pci/via82xx.c:737: invalid

via82xx_cur_ptr, using last valid pointer

These messages appear in the log file once or twice a minute although the sound only noticable cuts out every few minutes . Very annoying on an HTPC.
======================================================================

----------------------------------------------------------------------
brentcfisher - 12-06-04 02:24
----------------------------------------------------------------------
tiwai,

Thanks for looking into this. The information that you requested is below
- captured while playing back a DVD. Hopefully this is helpful...

# cat /proc/asound/card0/pcm0p/sub0/hw_params
closed

Here is a snippit from /var/log/message with POINTER_DEBUG enabled:

Dec  5 18:20:23 samwise fail: idx = 0/16, lastpos = 0x1000, bufsize2 =
0x8000, offsize = 0x0, size = 0x1000, count = 0xfe0
Dec  5 18:20:23 samwise ALSA sound/pci/via82xx.c:738: invalid
via82xx_cur_ptr, using last valid pointer
Dec  5 18:20:23 samwise fail: idx = 0/16, lastpos = 0x1000, bufsize2 =
0x8000, offsize = 0x0, size = 0x1000, count = 0xfe0
Dec  5 18:20:23 samwise ALSA sound/pci/via82xx.c:738: invalid
via82xx_cur_ptr, using last valid pointer
Dec  5 18:20:23 samwise fail: idx = 0/16, lastpos = 0x1000, bufsize2 =
0x8000, offsize = 0x0, size = 0x1000, count = 0xfe0
Dec  5 18:20:23 samwise ALSA sound/pci/via82xx.c:738: invalid
via82xx_cur_ptr, using last valid pointer
Dec  5 18:20:23 samwise fail: idx = 0/16, lastpos = 0x1000, bufsize2 =
0x8000, offsize = 0x0, size = 0x1000, count = 0xfe0
Dec  5 18:20:23 samwise ALSA sound/pci/via82xx.c:738: invalid
via82xx_cur_ptr, using last valid pointer
Dec  5 18:20:23 samwise fail: idx = 0/16, lastpos = 0x1000, bufsize2 =
0x8000, offsize = 0x0, size = 0x1000, count = 0xfc0
Dec  5 18:20:23 samwise ALSA sound/pci/via82xx.c:738: invalid

via82xx_cur_ptr, using last valid pointer

Thanks again,
-Brent

----------------------------------------------------------------------
tiwai - 12-07-04 18:24
----------------------------------------------------------------------
Could you try the attached patch?

(hw_params proc file can be read only when you're playing sounds, BTW)

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

11-24-04 06:36 brentcfisher   New Issue                                    
11-24-04 06:36 brentcfisher   Distribution              => Gentoo          
11-24-04 06:36 brentcfisher   Kernel Version            => 2.6.8.1         
11-24-04 06:47 brentcfisher   Note Added: 0002541                          
11-24-04 06:48 brentcfisher   Issue Monitored: brentcfisher                    
11-24-04 23:50 squarooticus   Note Added: 0002584                          
11-25-04 01:59 brentcfisher   Note Added: 0002585                          
11-25-04 06:45 squarooticus   Note Added: 0002586                          
12-02-04 19:34 tiwai          Note Added: 0002694                          
12-06-04 02:24 brentcfisher   Note Added: 0002725                          
12-07-04 18:24 tiwai          Note Added: 0002753                          

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

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/