On 06/29/2011 05:26 PM, Ted Unangst wrote:
> On Wed, 29 Jun 2011, Rares Aioanei wrote:
>
>> I have an audio biggie with my old laptop, which can't seem to play
>> audio (mp3,ogg) or video (the sound part) (flv) with mplayer , mpg321
>> , xmms or mp3blaster. The sound is choppy, all I get is noise. From what
>> I've read (google) there were some issues of the kind a few years ago, but
>> no recent problem reports similar to mine exist. I start aucat as root
>> with "nice -n 20 aucat -l -b 7000 -m play -f /dev/audio0" then "mplayer
>> (or other players) <filename>" . I searched the misc@ archives to no end.
>> Even if I start aucat only with the -l flag (without the other options), the
>> result is the same. The CPU load does not spike while playing, nor after.
>> I've played audio/video on this machine in the past without issues, even
>> though it's somewhat underpowered. Here's the dmesg and sorry if I wasn't
>> clear enough.
Try disabling CPU Power Management on the BIOS.
> It's been a long time, but there's something wrong with clcs that causes
> this. I'm not sure if it's the chip or the driver, but the interrupts
> don't seem to be synced right. IIRC, sometimes rebooting will work. Or
> was it that it only worked after a cold boot? Something like that.
>
I run -current on a T22 and still get some write/read fail codec when
suspending or returning from sleep.
When I get those errors after a resume and I try mplayer or anything
that uses sound I get flooded with errors on dmesg and the computer just
hangs for a bit until I kill the program that was using the sound card.
These are the errors:
clcs0: AC97 read prob
clcs0: AC97 write fail
The "fix" for me is to suspend it again and normally on the next resume
it's gone.
Cheers,
--rodolfo