[mythtv-users] My Perennial Problems with XvMC

Dylan Semler dylan.semler at gmail.com
Fri Sep 15 04:00:25 UTC 2006


On 9/14/06, Norm Dugas <normdugas at yahoo.ca> wrote:
>  On Thu, 2006-09-14 at 19:08 -0400, Dylan Semler wrote:
> >
> > Just to see if anyone finds a correlation,
> > OS: FC6T3 (although had the same problem on FC4)
> > Kernel: 2.6.17-1.2630.fc6 (again, I've experienced this throughout
> > many kernels)
> > Driver: nvidia 8776
> > Arch: P4 2.26 GHz i686
> > GPU: Nvidia GeForce 6200 and 4200
> > MythTV:  SVN 0.20.20060828-3
> > I'm also running TwinView at the moment but have had this problem
> > without it.
> >
>
> Have you verified that the xvmc library exists as typed?  As well, are
> you sure that your X server is using the nvidia driver?  Have you
> checked xdpyinfo?  I had to check and double check everything to because
> I ended up with a typo somewhere in my setup.  As well, I had
> accidentally stomped my xorg config so it reverted back to the default
> "nv" driver.  When you launch mythfrontend from an xterm, do you see any
> error when trying to view HD?  I'd like to help out if I can.
> OS: 2.6.17-gentoo-r2
> Driver: Nvidia 8762
> Arch: i686 AMD Athlon(tm) XP 2500+
> GPU: GeForce FX 5500
> MythTV: 0.19_p10505
> Pulling HD from Moto DCT6412 via firewire and getting analog via PVR350.
> My VGA connection goes to a Samsung 26" LCD HDTV running at 1280x768?
>
> Here's what my libXvMC info looks like:
> pvrbox ~ # cat /etc/X11/XvMCConfig
> /usr/lib/libXvMCNVIDIA_dynamic.so.1
> pvrbox ~ # ls -l /usr/lib/libXvMCNVIDIA_dynamic.so.1
> lrwxrwxrwx 1 root root 25 Sep 14
> 08:47 /usr/lib/libXvMCNVIDIA_dynamic.so.1 -> libXvMCNVIDIA.so.1.0.8762
> pvrbox ~ # ls -l /usr/lib/libXvMCNVIDIA.so.1.0.8762
> -rwxr-xr-x 1 root root 170732 Sep 14
> 08:47 /usr/lib/libXvMCNVIDIA.so.1.0.8762
>
> I'd check xdpyinfo but I'm not in front of that box right now, I'm ssh'd
> in.  I'd give those a whirl.  Don't despair, I was able to get my setup
> working, so I'm sure you will too.
>
> Norm

Thank you very much for your details, it's great you're trying to
help.  The libraries seem to be set up just like yours:

boron ~]$ ls -l `cat /etc/X11/XvMCConfig`
lrwxrwxrwx 1 root root 25 Sep 12 19:29
/usr/lib/libXvMCNVIDIA_dynamic.so.1 ->  libXvMCNVIDIA.so.1.0.8774
boron ~]$ ls -l /usr/lib/libXvMCNVIDIA.so.1.0.8774
-rwxr-xr-x 1 root root 170732 Sep 12 19:29 /usr/lib/libXvMCNVIDIA.so.1.0.8774


Using xdpyinfo for the first time here.  It gives me a lot of output,
hopefully this is all that is useful:
boron ~]$ xdpyinfo | grep XVideo
    XVideo
    XVideo-MotionCompensation

xorg.conf is using nvidia:
boron ~]$ grep nvidia /etc/X11/xorg.conf
        Driver      "nvidia"

I did see many errors when viewing HD whith XvMC.  I've reported them
in my first post so I won't repeat them, but they aren't very
intuitive.  Checking again however, I see that there are some at the
begining of LiveTV that I left out, so here they are:

22006-09-14 23:42:09.968 TV: Attempting to change from None to WatchingLiveTV
2006-09-14 23:42:09.969 Using protocol version 30
2006-09-14 23:42:10.855 DPMS Deactivated
006-09-14 23:42:11.067 NVP: Disabling Audio, params(-1,2,44100)
2006-09-14 23:42:11.138 VideoOutputXv: XvMCTex: Init failed
2006-09-14 23:42:11.139 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video Texture'
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  141
  Minor opcode:  14
  Resource id:  0x1dc
2006-09-14 23:42:16.762 TV: Changing from None to WatchingLiveTV
2006-09-14 23:42:17.043 New DB connection, total: 3
2006-09-14 23:42:17.044 New DB connection, total: 4
2006-09-14 23:42:17.319 Connected to database 'mythconverg' at host:
192.168.1.105
2006-09-14 23:42:17.397 Connected to database 'mythconverg' at host:
192.168.1.105
2006-09-14 23:42:17.399 Realtime priority would require SUID as root.
2006-09-14 23:42:17.579 Video timing method: USleep with busy wait
2006-09-14 23:42:18.539 VideoOutputXv: XvMCTex: Init failed
2006-09-14 23:42:18.540 VideoOutputXv: XvMC Adaptor Name: 'NV17 Video Texture'
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  141
  Minor opcode:  14
  Resource id:  0x1dc
2006-09-14 23:42:20.215 VideoOutputXv: ProcessFrameXvMC: Tried to
reuse frame but failed
2006-09-14 23:42:20.215 VideoOutputXv: ProcessFrameXvMC: Called without frame
2006-09-14 23:42:20.263 AFD: Opened codec 0xd1305e0,
id(MPEG2VIDEO_XVMC) type(Video)
2006-09-14 23:42:20.400 VideoOutputXv: ProcessFrameXvMC: Tried to
reuse frame but failed
2006-09-14 23:42:20.400 VideoOutputXv: ProcessFrameXvMC: Called without frame
2006-09-14 23:42:20.489 AFD: Opened codec 0xddcf640, id(AC3) type(Audio)
2006-09-14 23:42:20.502 AFD: Opened codec 0xddcf990, id(AC3) type(Audio)
2006-09-14 23:42:20.588 VideoOutputXv: ProcessFrameXvMC: Tried to
reuse frame but failed
2006-09-14 23:42:20.588 VideoOutputXv: ProcessFrameXvMC: Called without frame
2006-09-14 23:42:20.634 Opening OSS audio device '/dev/dsp'.
2006-09-14 23:42:20.641 NVP: Enabling Audio
2006-09-14 23:42:20.768 VideoOutputXv: ProcessFrameXvMC: Tried to
reuse frame but failed
2006-09-14 23:42:20.768 VideoOutputXv: ProcessFrameXvMC: Called without frame
2006-09-14 23:42:20.948 VideoOutputXv: ProcessFrameXvMC: Tried to
reuse frame but failed
2006-09-14 23:42:20.948 VideoOutputXv: ProcessFrameXvMC: Called without frame
2006-09-14 23:42:21.128 VideoOutputXv: ProcessFrameXvMC: Tried to
reuse frame but failed
2006-09-14 23:42:21.128 VideoOutputXv: ProcessFrameXvMC: Called without frame
2006-09-14 23:42:21.268 NVP: Prebuffer wait timed out 10 times.
2006-09-14 23:42:21.310 VideoOutputXv: ProcessFrameXvMC: Tried to
reuse frame but failed
2006-09-14 23:42:21.310 VideoOutputXv: ProcessFrameXvMC: Called without frame
2006-09-14 23:42:21.493 VideoOutputXv: ProcessFrameXvMC: Tried to
reuse frame but failed
2006-09-14 23:42:21.493 VideoOutputXv: ProcessFrameXvMC: Called without frame
XvMC: picture structure FRAME
2006-09-14 23:42:22.756 NVP: Prebuffer wait timed out 10 times.
2006-09-14 23:42:25.702 NVP: prebuffering pause
2006-09-14 23:42:26.134 NVP: prebuffering pause
2006-09-14 23:42:26.334 NVP: prebuffering pause
[mpegvideo_xvmc @ 0x193b304]00 motion_type at 63 64
[mpegvideo_xvmc @ 0x193b304]ac-tex damaged at 65 66
[mpegvideo_xvmc @ 0x193b304]Warning MVs not available

and the rest is filled with prebuffering pauses and mpegvideo_xvmc errors


I really appreciate your help and the details that you provided.
Certainly discovering what isn't causing the problem is valuable in
determining the root cause of this.

Cheers,
Dylan


More information about the mythtv-users mailing list