Bug 152500 - [hdac] play interrupt timeout, channel dead
Summary: [hdac] play interrupt timeout, channel dead
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 8.1-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-22 23:00 UTC by snthibaud
Modified: 2017-12-31 22:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description snthibaud 2010-11-22 23:00:20 UTC
My sound hardware consists of the following:

hdac0: <NVidia MCP78 High Definition Audio Controller> mem 0xc0000000-0xc0003fff irq 19 at device 7.0 on pci0
hdac0: HDA Driver Revision: 20100226_0142
hdac0: [ITHREAD]
hdac0: HDA Codec #0: Conexant CX20561 (Hermosa)
hdac0: HDA Codec #3: NVidia MCP78 HDMI

Whenever I try to play some sound and my machine is doing something else at the same time (like changing the wallpaper in KDE4 automatically while playing a song in Amarok) the sound hangs and dmesg reports the following:

pcm0: chn_write(): pcm0:virtual:dsp0.vp0: play interrupt timeout, channel dead

How-To-Repeat: Just boot the machine and the startup sound is already distorted (that is - one small sample is played repeatedly during the duration of the sound).
Comment 1 Andriy Gapon freebsd_committer freebsd_triage 2010-12-05 13:35:05 UTC
Alexander,
perhaps you have a suggestion here?
Maybe this is related to msi, nVidia chipset seemed to frequently have problems
in that department.
-- 
Andriy Gapon
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2010-12-20 08:49:18 UTC
Responsible Changed
From-To: freebsd-amd64->freebsd-multimedia

reclassify.
Comment 3 gildororonar 2012-04-16 13:27:12 UTC
I see this buggy behavior but with a very different sound
device, on 9.0-RELEASE. Sound play for 3 seconds and stop with:

pcm0: chn_write(): pcm0:play:dsp0.p1: play interrupt timeout, channel dead


The device is SiS 7018, using snd_t4dwave driver. I also tried to turn off
ACPI without luck. Perhaps my problem is related?

For your information this problem is reported on ES1370 too:
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/129604

mpg123 fails. Tried "dd if=/dev/random of=/dev/dsp"
too, getting same behavior. Do you think it helpful if I post more info
like dmesg and various hardware data?

mpg123 output follows.

$ mpg123 Downloads/In\ The\ Shadow\ Of\ The\ Valley.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
          version 1.13.4; written and copyright by Michael Hipp and others
          free software (LGPL/GPL) without any warranty but with best wishes

Directory: Downloads/
Playing MPEG stream 1 of 1: In The Shadow Of The Valley.mp3 ...
Title:   In The Shadow Of The Valley     Artist: American Music Club
Comment: WWW.TOP100.CN                   Album:  San Francisco
Year:    3/1/2003 12:00:00 AM            Genre:  Pop
MPEG 1.0 layer III, 128 kbit/s, 44100 Hz stereo
[audio.c:598] error: Error in writing audio (Invalid argument?)!
[mpg123.c:651] error: Deep trouble! Cannot flush to my output anymore!
Comment 4 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:12 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped