[mythtv-users] Audio Buffer Underruns with XvMC and HD in 0.20

Randall Blecher randallb at gmail.com
Sat Sep 16 17:24:55 UTC 2006

I get the following output when I try to watch HD recordings or live HDTV:

2006-09-16 13:15:55.256 VideoOutputXv: XvMCTex: Init failed
2006-09-16 13:15:55.257 VideoOutputXv: XvMC Adaptor Name: 'NV17 Video
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  140
  Minor opcode:  14
  Resource id:  0x1e7
2006-09-16 13:15:55.433 TV: Changing from None to WatchingPreRecorded
QSettings::sync: filename is null/empty
2006-09-16 13:15:55.466 New DB connection, total: 3
2006-09-16 13:15:55.466 The realtime priority setting is not enabled.
XvMC: picture structure FRAME
2006-09-16 13:15:55.520 Connected to database 'mythconverg' at host:
2006-09-16 13:15:55.625 Video timing method: USleep with busy wait
2006-09-16 13:15:55.643 VideoOutputXv Error: ProcessFrameXvMC: Failed to get
OSD lock
2006-09-16 13:15:55.643 VideoOutputXv Error: ProcessFrameXvMC: Failed to get
OSD lock
2006-09-16 13:16:03.954 WriteAudio: buffer underrun
2006-09-16 13:16:03.997 WriteAudio: buffer underrun
and a lot more buffer underrun errors.

I tried to see if I could modify the source to increase the amount of "extra
audio buffering" but I couldn't find where to change that.

Thanks to anyone who can help me.

On 9/14/06, Randall Blecher <randallb at gmail.com> wrote:
> With 0.19, using XvMC to watch HD, I would only get an occasional buffer
> underrun normally (except when the GUI was on the screen, during which the
> underruns were annoying).
> Now with 0.20, the buffer underruns are much worse.  I can't watch HD wth
> XvMC without a lot of scrolling "WriteAudio: buffer underrun" errors.
> Turning on the "extra audio buffering" setting in the Playback Settings
> greatly reduces the amount of errors, but still not enough to make watching
> possible. I'm wondering if adding even more audio buffering (if such a
> setting existed) would fix this.  My CPU is still only around 40% (just as
> it was with 0.19) when watching HD with XvMC.
> Anyone else have this problem?
> My setup:
> Athlon XP 3200+
> 512MB RAM
> GeForce FX 5500
> Nvidia 1.0.8774
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060916/0b6f2398/attachment.htm 

More information about the mythtv-users mailing list