<div style="direction: ltr;">Hi folks,<br><br>I&#39;ve recently done some upgrading of my myth setup -- gone to<br>slackware 11 from 10.2, and myth 0.20a from 0.19. I&#39;d had XvMC working<br>reasonably well under 0.19 -- I seem to have lost the magic in the
<br>shuffle. I end up with slow, choppy playback, and the color OSD clues<br>me into the lack of XvMC. I&#39;ve tried various combinations of<br>deinterlacing and opengl vsync in the frontend setup with no notable<br>difference in playback speed.
<br><br>I&#39;d tried upgrading to the latest nvidia driver, but since backed off<br>to 8756 since that&#39;s what the wiki still seems to suggest works.<br><br>I can use mplayer to play back my recordings just fine with XvMC, so I
<br>can tell the nvidia xorg driver and XvMC support are at least working<br>on some level. I&#39;ve gone through the wiki troubleshooting steps<br>including editing /etc/X11/XvMCConfig, though on my setup myth seems<br>
to want it at /usr/X11R6/lib/X11/XvMCConfig.
<br><br>my XvMCConfig contains:<br># cat /usr/X11R6/lib/X11/XvMCConfig<br>/usr/X11R6/lib/libXvMCNVIDIA_dynamic.so.1<br><br>which points to:<br># ls -l /usr/X11R6/lib/libXvMCNVIDIA_dynamic.so.1<br>lrwxrwxrwx 1 root root 25 Dec 28 15:51
<br>/usr/X11R6/lib/libXvMCNVIDIA_dynamic.so.1 -&gt; libXvMCNVIDIA.so.1.0.8756<br><br>Attempting to play back a hd recording in mythfrontend with -v playback yields:<br>...<br>2006-12-28 18:33:08.604 DPMS Deactivated<br>0: start_time: 
7887.014 duration: 329.099<br>1: start_time: 7886.992 duration: 329.098<br>stream: start_time: 87633.240 duration: 3656.906 bitrate=15380 kb/s<br>2006-12-28 18:33:10.265 AFD: Stream #0, has id 0x2112 codec id<br>MPEG2VIDEO, type Video, bitrate 65000000 at 0x0x83f3b40
<br>2006-12-28 18:33:12.825 Display Rect &nbsp;left: 0, top: 0, width: 0,<br>height: 0, aspect: 1.33333<br>2006-12-28 18:33:12.826 Video Rect &nbsp; &nbsp;left: 0, top: 0, width: 1920,<br>height: 1080, aspect: 1.77778<br>2006-12-28 18:33:
12.826 NVP: ClearAfterSeek(1)<br>2006-12-28 18:33:12.826 NVP: Exited decoder loop.<br>2006-12-28 18:33:12.827 ~VideoOutputNull()<br>2006-12-28 18:33:13.837 VideoOutputXv: XvMC version: 1.1<br>2006-12-28 18:33:13.863 XvMCSurfaceTypes::find(w 1920, h 1080, chroma
<br>1, vld 0, idct 1, mpeg2, sub-width 0, sub-height 0, disp, p&lt;= 244,<br>2440 &lt;=p, port, surfNum)<br>2006-12-28 18:33:13.864 Trying XvMC port 244<br>2006-12-28 18:33:13.936 Found a suitable XvMC surface 0<br>2006-12-28 18:33:
13.936 VideoOutputXv: @ j=1 Looking for flag[s]: XvInputMask<br>2006-12-28 18:33:13.937 VideoOutputXv: Adaptor#0: NV17 Video Overlay<br>has flag[s]: XvInputMask XvImageMask<br>2006-12-28 18:33:13.937 XvMCSurfaceTypes::find(w 1920, h 1080, chroma
<br>1, vld 0, idct 1, mpeg2, sub-width 0, sub-height 0, disp, p&lt;= 244,<br>2440 &lt;=p, port, surfNum)<br>2006-12-28 18:33:13.937 Trying XvMC port 244<br>2006-12-28 18:33:13.937 Found a suitable XvMC surface 0<br>2006-12-28 18:33:
13.937 VideoOutputXv: Grabbed xv port 244<br>2006-12-28 18:33:13.937 VideoOutputXv: XvMC surface found with IDCT<br>support on port 244<br>2006-12-28 18:33:13.976 VideoOutputXv: Closing XVideo port 244<br>2006-12-28 18:33:
13.991 detectInterlace(Detect Scan, Interlaced Scan,<br>29.97, 1088) -&gt;Interlaced Scan<br>2006-12-28 18:33:13.991 AFD: Looking for decoder for MPEG2VIDEO_XVMC<br>2006-12-28 18:33:14.002 AFD: Opened codec 0x850e770,<br>

id(MPEG2VIDEO_XVMC) type(Video)<br>2006-12-28 18:33:14.002 AFD: Stream #1, has id 0x2113 codec id AC3,<br>type Audio, bitrate 384000 at 0x0x8442d40<br>2006-12-28 18:33:14.002 AFD: Looking for decoder for AC3<br>2006-12-28 18:33:
14.003 AFD: Opened codec 0x850eac0, id(AC3) type(Audio)<br>2006-12-28 18:33:14.003 RingBuf(/mnt/store/3005_20061221210000.mpg):<br>CalcReadAheadThresh(65384 KB)<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -&gt; threshhold(2394 KB) min read(32 KB) blk size(512 KB)
<br>2006-12-28 18:33:14.096 Opening OSS audio device &#39;/dev/dsp&#39;.<br>2006-12-28 18:33:14.100 Dec: Trying to select track (w/lang)<br>2006-12-28 18:33:14.101 Dec: Selecting first track<br>2006-12-28 18:33:14.101 Dec: Selected track #1 in the Unknown language(0)
<br>2006-12-28 18:33:14.110 Resyncing position map. posmapStarted = 0<br>livetv(0) watchingRec(0)<br>2006-12-28 18:33:14.533 Position map filled from DB to: 96618<br>2006-12-28 18:33:14.534 SyncPositionMap prerecorded, from DB: 6626 entries
<br>2006-12-28 18:33:14.535 SyncPositionMap, new totframes: 96618, new<br>length: 3223, posMap size: 6626<br>2006-12-28 18:33:14.535 AFD: Position map found<br>2006-12-28 18:33:14.535 AFD: Successfully opened decoder for file:
<br>&quot;/mnt/store/3005_20061221210000.mpg&quot;. novideo(0)<br>2006-12-28 18:33:14.546 VideoOutputXv: ctor<br>2006-12-28 18:33:14.547 Over/underscan. V: 0, H: 0, XOff: 0, YOff: 0<br>2006-12-28 18:33:14.548 Snapping width to avoid scaling: width: 1920, left: 0
<br>2006-12-28 18:33:14.548 Display Rect &nbsp;left: 0, top: 135, width: 1920,<br>height: 810, aspect: 1.33333<br>2006-12-28 18:33:14.548 Video Rect &nbsp; &nbsp;left: 0, top: 0, width: 1920,<br>height: 1080, aspect: 1.77778<br>2006-12-28 18:33:
14.548 VideoOutputXv: Pixel dimensions: Screen<br>1920x1080, window 1920x1080<br>2006-12-28 18:33:14.548 VideoOutputXv: Estimated display dimensions:<br>827x465 mm &nbsp;Aspect: 1.77849<br>2006-12-28 18:33:14.548 VideoOutputXv: Estimated window dimensions:
<br>827x465 mm &nbsp;Aspect: 1.77849<br>2006-12-28 18:33:14.549 VideoOutputXv: XvMC version: 1.1<br>2006-12-28 18:33:14.549 VideoOutputXv: XvMCTex: Init failed<br>2006-12-28 18:33:14.550 VideoOutputXv: @ j=1 Looking for flag[s]: XvInputMask
<br>2006-12-28 18:33:14.550 VideoOutputXv: Adaptor#0: NV17 Video Overlay<br>has flag[s]: XvInputMask XvImageMask<br>2006-12-28 18:33:14.550 XvMCSurfaceTypes::find(w 1920, h 1088, chroma<br>1, vld 0, idct 1, mpeg2, sub-width 0, sub-height 0, disp, p&lt;= 244,
<br>2440 &lt;=p, port, surfNum)<br>2006-12-28 18:33:14.550 Trying XvMC port 244<br>2006-12-28 18:33:14.550 Found a suitable XvMC surface 0<br>2006-12-28 18:33:14.550 VideoOutputXv: Grabbed xv port 244<br>2006-12-28 18:33:
14.550 VideoOutputXv: XvMC surface found with IDCT<br>support on port 244<br>2006-12-28 18:33:14.550 VideoOutputXv: XvMC Adaptor Name: &#39;NV17 Video Overlay&#39;<br>2006-12-28 18:33:14.709 Snapping height to avoid scaling: height: 1080, top: 0
<br>2006-12-28 18:33:14.709 Snapping width to avoid scaling: width: 1920, left: 0<br>2006-12-28 18:33:14.709 Display Rect &nbsp;left: 0, top: 0, width: 1920,<br>height: 1080, aspect: 1.77778<br>2006-12-28 18:33:14.709 Video Rect &nbsp; &nbsp;left: 0, top: 0, width: 1920,
<br>height: 1080, aspect: 1.77778<br>2006-12-28 18:33:16.029 NVP: ClearAfterSeek(1)<br>2006-12-28 18:33:16.030 VideoOutputXv: ClearAfterSeek()<br>2006-12-28 18:33:16.030 VideoOutputXv: DiscardFrames(0)<br>2006-12-28 18:33:
16.030 VideoOutputXv: DiscardFrames() 1: AAAAAAAA<br>2006-12-28 18:33:16.030 VideoOutputXv: DiscardFrames() 3: AAAAAAAA -- done()<br>2006-12-28 18:33:16.030 VideoOutputXv: DiscardFrames(1)<br>2006-12-28 18:33:16.031 VideoOutputXv: DiscardFrames() 1: AAAAAAAA
<br>2006-12-28 18:33:16.031 VideoOutputXv: DiscardFrames() 2: AAAAAAAA<br>2006-12-28 18:33:16.031 VideoOutputXv: DiscardFrames() 3: AAAAAAAA -- done()<br>2006-12-28 18:33:16.031 TV: StartPlayer(): took 6853 ms to start player.
<br>2006-12-28 18:33:16.032 TV: Changing from None to WatchingPreRecorded<br>2006-12-28 18:33:16.091 Using realtime priority.<br>XvMC: picture structure FRAME<br>2006-12-28 18:33:16.187 nVidiaVideoSync: VBlank ioctl did not work,
<br>unimplemented in this driver?<br>2006-12-28 18:33:16.187 DRMVideoSync: Could not open device<br>/dev/dri/card0, No such file or directory<br>2006-12-28 18:33:16.187 RTCVideoSync: Could not open /dev/rtc, No such<br>file or directory.
<br>2006-12-28 18:33:16.188 Using audio as timebase<br>2006-12-28 18:33:16.188 Video timing method: USleep with busy wait<br>2006-12-28 18:33:16.188 Refresh rate: 16683, frame interval: 33366<br>2006-12-28 18:33:16.188 NVP: Waiting for prebuffer.. 0 uLAAAAAA
<br>2006-12-28 18:33:16.768 NVP: Video is 3.38881 frames behind audio (too<br>slow), skipping A/V wait.<br>2006-12-28 18:33:16.861 NVP: Video is 3.63553 frames behind audio (too<br>slow), skipping A/V wait.<br>2006-12-28 18:33:
16.953 NVP: Video is 3.90299 frames behind audio (too<br>slow), skipping A/V wait.<br>2006-12-28 18:33:17.049 NVP: Video is 4.02116 frames behind audio (too<br>slow), skipping A/V wait.<br>2006-12-28 18:33:17.141 NVP: Video is 
4.19969 frames behind audio (too<br>slow), skipping A/V wait.<br>2006-12-28 18:33:17.229 NVP: Video is 4.21372 frames behind audio (too<br>slow), skipping A/V wait.<br>2006-12-28 18:33:17.321 NVP: Video is 4.09687 frames behind audio (too
<br>slow), skipping A/V wait.<br>2006-12-28 18:33:17.413 NVP: Video is 3.95678 frames behind audio (too<br>slow), skipping A/V wait.<br>2006-12-28 18:33:17.509 NVP: Video is 3.76179 frames behind audio (too<br>slow), skipping A/V wait.
<br>2006-12-28 18:33:17.605 NVP: Video is 3.75793 frames behind audio (too<br>slow), skipping A/V wait.<br>2006-12-28 18:33:17.698 NVP: Video is 3.65012 frames behind audio (too<br>slow), skipping A/V wait.<br>2006-12-28 18:33:
17.793 NVP: Video is 3.59174 frames behind audio (too<br>slow), skipping A/V wait.<br>2006-12-28 18:33:17.885 NVP: Video is 3.43556 frames behind audio (too<br>slow), skipping A/V wait.<br>2006-12-28 18:33:17.981 NVP: Video is 
3.40086 frames behind audio (too<br>slow), skipping A/V wait.<br>2006-12-28 18:33:18.073 NVP: Video is 3.31487 frames behind audio (too<br>slow), skipping A/V wait.<br>2006-12-28 18:33:18.165 NVP: Video is 3.31035 frames behind audio (too
<br>slow), skipping A/V wait.<br>2006-12-28 18:33:18.257 NVP: Video is 3.19454 frames behind audio (too<br>slow), skipping A/V wait.<br>2006-12-28 18:33:18.257 NVP: prebuffering pause<br>...<br><br>I&#39;m configuring the myth build as follows:
<br>$ ./configure --tune=athlon --cpu=athlon --enable-xvmc --enable-dvb
<br>--enable-opengl-vsync --enable-joystick-menu --enable-proc-opt<br># Basic Settings<br>Compile type &nbsp; &nbsp; release<br>Compiler cache &nbsp; yes<br>DistCC &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; yes<br>Install prefix &nbsp; /usr/local<br>CPU &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;x86 (athlon)
<br>Big Endian &nbsp; &nbsp; &nbsp; no<br>MMX enabled &nbsp; &nbsp; &nbsp;yes<br><br># Input Support<br>Joystick menu &nbsp; &nbsp;yes<br>lirc support &nbsp; &nbsp; yes<br>Apple Remote &nbsp; &nbsp; no<br>Video4Linux sup. yes<br>ivtv support &nbsp; &nbsp; yes<br>FireWire support no<br>DVB support &nbsp; &nbsp; &nbsp;yes [/usr/include]
<br>DBox2 support &nbsp; &nbsp;yes<br>HDHomeRun sup. &nbsp; yes<br>CRC Ip Rec sup. &nbsp;yes<br>FreeBox support &nbsp;yes<br><br># Sound Output Support<br>OSS support &nbsp; &nbsp; &nbsp;yes<br>ALSA support &nbsp; &nbsp; yes<br>aRts support &nbsp; &nbsp; yes<br>JACK support &nbsp; &nbsp; yes
<br>DTS passthrough &nbsp;no<br><br># Video Output Support<br>x11 support &nbsp; &nbsp; &nbsp;yes<br>xrandr support &nbsp; yes<br>xv support &nbsp; &nbsp; &nbsp; yes<br>XvMC support &nbsp; &nbsp; yes<br>XvMC VLD support yes<br>XvMC pro support no<br>XvMC OpenGL sup. no<br>

XvMC libs &nbsp; &nbsp; &nbsp; &nbsp;-lXvMCW<br>Mac accel. &nbsp; &nbsp; &nbsp; no<br>OpenGL vsync &nbsp; &nbsp; yes<br>DirectFB &nbsp; &nbsp; &nbsp; &nbsp; no<br><br># Misc Features<br>Frontend &nbsp; &nbsp; &nbsp; &nbsp; yes<br>Backend &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;yes<br><br># Bindings<br>bindings_perl &nbsp; &nbsp;no<br>Creating libs/libmyth/mythconfig.h and libs/libmyth/mythconfig.mak
<br><br>WARNING: When using --enable-proc-opt you must include the<br> &nbsp; &nbsp; &nbsp; &nbsp; output of ./configure along with any bug report.<br><br><br>I&#39;m at a loss of what to try next to debug this, so any<br>ideas/suggestions would be greatly appreciated.
<br><br>Regards,<br></div><span><br> &nbsp; &nbsp;- Joe</span>