x.org server enters infinite loop with mplayer -vo xv

J.R. Oldroyd fbsd at opal.com
Sun Jan 6 22:13:12 UTC 2013

Just upgraded a laptop from 8.2-RELEASE to 9.1-RELEASE.

Everything, kernel, world and ports all recompiled from source.

Now have a problem in which the x.org server enters an infinite loop
whenever mplayer plays a video using the xv driver (most video formats
seem to cause this problem, but not wmv).

Problem is very reproducible, simply run mplayer with any .mpg video,
for example, and x.org server will enter infinite loop taking up 100%
CPU time immediately.

Can still move mouse on laptop, albeit very slowly and jerkily, but
mouse clicking and keyboard input no longer works.  Can ssh into laptop
from another machine and verify X server process is cpu-bound.  Cannot
kill X server process using kill -9.  Need to reboot computer and start

Problem does not happen when playing videos using mplayer -vo
drivers x11, gl or gl2.

Problem did not happen with x.org/mplayer versions on 8.2-RELEASE, or
earlier 8.1, 7.x either.

I have verified that all x.org, dri and mplayer ports and all
associated libraries were rebuilt during the upgrade (and even
re-rebuilt many of them to be sure).  I have created an up-to-date
xorg.conf file using this version of the server.

xorg.conf and Xorg.0.log and list of port versions are here:

Error message that appears in Xorg.0.log when problem occurs:
	[mi] EQ overflowing. The server is probably stuck in an
	infinite loop.

Any suggestions for a solution to this would be appreciated.  Using the
other vo drivers is a good work-around, but I don't like the fact that
running a common app with the default driver can cause a critical hang
like this.


More information about the freebsd-x11 mailing list