Audio repeats on MSI K8T Master2 with VIA VT8237 and AC97 codec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have not been able to get either the 2.4.21 kernel via82cxxx_audio or
the ALSA snd-via82xx modules to work properly on this system.

I installed the amd64 version of Tao Linux (built from the RHEL source
RPMs) on this machine and the audio is not working properly when I use
the driver module that comes as part of this distribution. When I use
mpg123 to play an mp3, what seems to happen is that the first second or
so gets repeated over and over. The mpg123 program normally displays the
current frame and the number remaining, along with times and other
information. The frame counts and times get updated in real time as the
file plays. I get the following static display:

$ mpg123 -vv /Music/Mp3s/Zager&Evans/IntheYear2525.mp3 
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59s-mh4 (2000/Oct/27). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!

Audio capabilities:
        |  s16  |  u16  |  u8   |  s8   | ulaw  | alaw  |
 --------------------------------------------------------
  8000  |  M/S  |       |  M/S  |       |       |       |
 11025  |  M/S  |       |  M/S  |       |       |       |
 12000  |  M/S  |       |  M/S  |       |       |       |
 16000  |  M/S  |       |  M/S  |       |       |       |
 22050  |  M/S  |       |  M/S  |       |       |       |
 24000  |  M/S  |       |  M/S  |       |       |       |
 32000  |  M/S  |       |  M/S  |       |       |       |
 44100  |  M/S  |       |  M/S  |       |       |       |
 48000  |  M/S  |       |  M/S  |       |       |       |


Directory: /Music/Mp3s/Zager & Evans/
Playing MPEG stream from In the Year 2525.mp3 ...
MPEG 1.0, Layer: III, Freq: 44100, mode: Dual-Channel, modext: 0, BPF : 835
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0.
Bitrate: 256 Kbits/s, Extension value: 0
Audio: 1:1 conversion, rate: 44100, encoding: signed 16 bit, channels: 2
Frame#    30 [ 7609], Time: 00:00.78 [03:18.76], Bitrate 256

Also, if I cat a file onto /dev/dsp0, I get a continuous sound that goes
on for at least several minutes (I've never been willing to let it go
longer than that), even for a file four bytes long.

If I use the ALSA driver, I get almost the same behavior, except that
the repeating second of music slowly advances. The frame# display in
mpg123 will start out around frame 16, then advance from there usually
every 9 seconds, sometimes 18 seconds, perhaps longer. The following is
a typical sequence for current frame:

16,21,34,38,41,45,48,52,55,59...

This hardware is built onto the motherboard, and I have a second sound
card in the system that does work properly using the ALSA ICE1712
driver.

This machine also has NetBSD amd64 2.0 beta installed on it, and their
driver for the VIA audio works properly.

So, does anybody have either of these VIA drivers working on amd64? Is
it possibly a quirk in my hardware? And does anybody know if the problem
is likely to be in the VIA driver itself or in the ac97 codec?

Here are modules loaded:

For kernel 2.4.21:
=================
via82cxxx_audio        23980   1 
ac97_codec             16872   0  [via82cxxx_audio]
uart401                 8792   0  [via82cxxx_audio]
sound                  81888   0  [via82cxxx_audio uart401]
soundcore               7524   4  [via82cxxx_audio sound]

For ALSA:
========
snd-via82xx            20868   0  (unused)
snd-ac97-codec         78720   0  [snd-via82xx]
snd-pcm                97952   0  [snd-via82xx]
snd-timer              22704   0  [snd-pcm]
gameport                4092   0  [snd-via82xx]
snd-mpu401-uart         6688   0  [snd-via82xx]
snd-rawmidi            21632   0  [snd-mpu401-uart]
snd-seq-device          7652   0  [snd-rawmidi]
snd                    55528   0  [snd-via82xx snd-ac97-codec snd-pcm
snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore               7524   0  [snd]
snd-page-alloc          9624   0  [snd-via82xx snd-pcm snd-timer
snd-rawmidi
snd-seq-device snd]

Thanks for your help.

-- 
C. Linus Hicks <lhicks@xxxxxxxxx>


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux