[mythtv-users] XvMC and high CPU usage

Kevin Kuphal kuphal at dls.net
Wed Mar 22 14:33:28 UTC 2006


Tom Dombrosky wrote:
>
>     >
>     What X server version are you running?
>
>     Kevin
>
>
> Xorg 6.8.2.
Well, I updated (or downgraded I should say) to xorg 6.8.2 but I still 
have the same issue.  I also tried the -7676 packages from atrpms and 
the kernel upgrade that went with it but it still gives me the same 
issue.  I'm looking now at the linker output for mythfrontend (ldd 
/usr/bin/mythfrontend) and it is very different between my working and 
non-working system.  The one the works has (non-relevant parts snipped):

        libXv.so.1 => /usr/X11R6/lib/libXv.so.1 (0x413ad000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x413b2000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x41491000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x414a0000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x414a4000)
        libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x41523000)
        libqt-mt.so.3 => /usr/lib/qt-3.3/lib/libqt-mt.so.3 (0x415a0000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x41c80000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x41d9a000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x42136000)
        libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0x41da2000)

while the one that doesn't has

        libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x007a0000)
        libXv.so.1 => /usr/X11R6/lib/libXv.so.1 (0x007a3000)
        libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0x007a8000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x007ad000)
        libXvMCW.so.1 => /usr/X11R6/lib/libXvMCW.so.1 (0x007b1000)
        libXvMC.so.1 => /usr/X11R6/lib/libXvMC.so.1 (0x007b6000)
        libqt-mt.so.3 => /usr/lib/qt-3.3/lib/libqt-mt.so.3 (0x04353000)
        libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x009c7000)
        libGL.so.1 => /usr/X11R6/lib/libGL.so.1 (0x03422000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x007fd000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x007b9000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x0427d000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x00a6d000)

The thing that strikes me is that the one that is working has no 
libraries linked for XvMC.  I know, however, that when I compiled it, it 
linked in libXvMCNVIDIA.  What's even stranger is that the two 
libXvMCNVIDIA libraries I have on each system are of different sizes but 
report the same version. 

Working:
-rwxr-xr-x    1 root     root       170856 Dec 13 16:32 
libXvMCNVIDIA.so.1.0.7676

Not working:
-rwxr-xr-x    1 root     root       169828 Aug 29  2005 
libXvMCNVIDIA.so.1.0.7676

I'm curious, what does your ldd output and libXvMCNVIDIA look like?

Kevin


More information about the mythtv-users mailing list