[mythtv-users] HD performance problems
Shawn Rutledge
shawn.t.rutledge at gmail.com
Sun Nov 26 06:26:51 UTC 2006
On 11/24/06, nik gibson <nik.gibson at gmail.com> wrote:
> To get XvMC to work I had to manually fix the links on the libraries. In
> particular /usr/lib/libGL.so.1
Thanks for the suggestion. I think this may have been a problem too,
but the problem underlying it all was that I forgot to choose "nvidia"
rather than "nv" as the driver in xorg.conf.
At the moment, if I take some 1920x1080 video which I previously
recorded in MythTV and play it back using xine, it scales nicely to
fit the screen and manages to take only 30-32% CPU time, and X is
taking almost no CPU time. (command line:
/usr/X11R6/bin/xinit /usr/bin/xine --video-driver xvmc -f
2121_20061125001005.mpg
It is very smooth, great audio etc. If I try to play the same video
from MythTV (not recording simultaneously or anything) it takes most
of the CPU time for the MythTV process, has choppy audio, dropped
frames etc. I have de-interlacing turned off, and using extra audio
buffering. I see plenty of messages in the log about XvMC so I think
Myth is using it successfully.
2006-11-25 23:10:07.987 VideoOutputXv: XvMC version: 1.1
2006-11-25 23:10:07.992 XvMCSurfaceTypes::find(w 1920, h 1080, chroma
1, vld 0, idct 1, mpeg2, sub-width 0, sub-height 0, disp, p<= 244,
2440 <=p, port, surfNum)
2006-11-25 23:10:07.993 Trying XvMC port 244
2006-11-25 23:10:07.996 Found a suitable XvMC surface 0
2006-11-25 23:10:07.997 XvMCSurfaceTypes::find(w 1920, h 1080, chroma
1, vld 0, idct 1, mpeg2, sub-width 0, sub-height 0, disp, p<= 244,
2440 <=p, port, surfNum)
2006-11-25 23:10:07.997 Trying XvMC port 244
2006-11-25 23:10:07.998 Found a suitable XvMC surface 0
2006-11-25 23:10:07.998 VideoOutputXv: XvMC surface found with IDCT
support on port 244
2006-11-25 23:10:08.014 AFD: Looking for decoder for MPEG2VIDEO_XVMC
2006-11-25 23:10:08.014 AFD: Opened codec 0x87c8af0,
id(MPEG2VIDEO_XVMC) type(Video)
2006-11-25 23:10:08.273 VideoOutputXv: XvMC version: 1.1
2006-11-25 23:10:08.274 VideoOutputXv: XvMCTex: Init failed
2006-11-25 23:10:08.275 XvMCSurfaceTypes::find(w 1920, h 1088, chroma
1, vld 0, idct 1, mpeg2, sub-width 0, sub-height 0, disp, p<= 244,
2440 <=p, port, surfNum)
etc.
More information about the mythtv-users
mailing list