Log in

View Full Version : major mencoder/mplayer panic bug with freebsd detected and fixed


morph166955
28th April 2006, 06:37
So i just spent a solid month trying to figure out why mplayer and mencoder were tanking my extremely stable and extremely powerful freebsd box (P4 3.2HT, 4G Ram, 2.0TB Raid5, 500G Video Scratch HDD). It turns out, mplayer and mencoder just love to use freebsd's rtc clock (/dev/rtc) to handle their calcualations. problem is, something mplayer and mencoder does causes the freebsd sio clock to do the fun panic 12 error, dump the kernel and die. alot of people were mentioning they saw this with the HZ option set in their kernel, saddly i tested this on several kernels with several options setup to no avail. after continually poking around i came to the conclusion that mplayer MUST be compiled with the --disable-rtc option set. thus far i havent had a single crash and ive loaded this thing down as much as i can (4x HD mencoder runs simultaniously using x264 with subq=6...)

I know i lost alot of hair over this so i hope that this helps anyone whos got this problem or if anyone is googling this looking for a fix.