Project

General

Profile

Actions

Bug #2067

open

sound/pcm: "play interrupt timeout, channel dead"

Added by matthiasr over 10 years ago. Updated 7 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Driver
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

this fixes a "pcm0:virtual:0:dsp0.2: play interrupt timeout, channel dead" error
and sound breaking off after a few seconds of playback I encountered on my
Thinkpad X40. It was discussed on freebsd-current in 20041 but that code is no
longer present in FreeBSD while we still have it.

The patch2 removes a line fixing a channel timeout to 1 tick instead of the
value calculated immediately beforehand, thus restoring the calculation.

[1] http://lists.freebsd.org/pipermail/freebsd-current/2004-
September/036805.html
[2]
http://gitweb.dragonflybsd.org/~matthiasr/dragonfly.git/commitdiff/4d3f6d0ed3435
46cbd7c8cfeaf0cce3f449122b6

Actions #1

Updated by matthiasr over 10 years ago

Interestingly, this problem is gone for me on master even with the forced timeout.

Actions #2

Updated by cnb about 7 years ago

  • Description updated (diff)
  • Category set to Driver
  • Target version set to 3.8

This error has reappeared in 3.8

Actions #3

Updated by dillon about 7 years ago

  • Assignee deleted (0)

There are multiple problems here not the least of which being that a timeout of 1 tick is too low anyway, because it can wind up happening 1ns later (the next tick interrupt). So the minimum is 2 and the calculation also needs to average-up fractional results. I will commit a fix which calculates it properly.

-Matt

Actions #4

Updated by dillon about 7 years ago

I've committed 29ca9567 to master and cherry-pick'd it over to the 4.0 release. Please test.

-Matt

Actions #5

Updated by cnb about 7 years ago

I just upgraded to 4.0 release, the error is still present.

pcm0:virtual:1:dsp0.3: play interrupt timeout, channel dead

Bests

Actions #6

Updated by cnb about 7 years ago

  • Target version changed from 3.8 to 4.0
Actions #7

Updated by tuxillo 7 months ago

  • Target version changed from 4.0 to 6.0
Actions

Also available in: Atom PDF