[ATrpms-users] XvMC, nVidia, MythTV, FC5

Axel Thimm Axel.Thimm at ATrpms.net
Wed Mar 7 23:12:04 CET 2007


On Tue, Mar 06, 2007 at 10:34:07AM +0000, John Pilkington wrote:
> John Pilkington wrote:
> > Axel Thimm wrote:
> >> On Mon, Mar 05, 2007 at 10:13:45AM +0000, John Pilkington wrote:
> >>> I'm running MythTV 0.21-154_trunk_r12854.fc5.at at i386 under kernel 
> >>> 2.6.19-1.2288.2.1.fc5 at i686 and nvidia-graphics9631, which is apparently 
> >>> the latest build that supports my graphics card, a GeForce4 Ti 4200 with 
> >>> AGP8X.
> >>>
> >>> The problems that I have reported earlier are no longer appearing: 
> >>> repeating 'cannot open demux device', hangups in MythTV cutlist editing 
> >>> and in Smart, and the system is working very well.  Thanks, Axel and all 
> >>> the devs!
> >>>
> >>> But it puzzles me that I still can't use the internal DVD player in 
> >>> Myth; the menu is displayed, with sound, but it hangs with repeating 
> >>> 'opening codec' reports when a title is selected, from both an iso image 
> >>> (Archive tools) or a real DVD.  There don't seem to be many other 
> >>> reports of this, so I looked more carefully at the frontend messages.
> >>>
> >>> I found this when an item was selected from the DVD menu, or from 'play 
> >>> recordings':
> >>>
> >>> XvMCWrapper: Could not load hardware specific XvMC library 
> >>> "libXvMCNVIDIA_dynamic.so.1 ".
> >>> libXvMCNVIDIA_dynamic.so.1 : cannot open shared object file: No such 
> >>> file or directory
> >>>
> >>> My /etc/X11/XvMCConfig contained just this file name, as suggested here:
> >>>
> >>> http://www.mythtv.org/wiki/index.php/XvMC#Configuration
> >>>
> >>> When I replaced this by the full path, (from Smart gui, 
> >>> nvidia-graphics9631-libs, content)
> >>>
> >>> /usr/lib/nvidia-graphics-1.0-9631/libXvMCNVIDIA_dynamic.so.1
> >>>
> >>> the warning message d/path/to/filename.mpg
> isappeared,
> >> Isn't /usr/lib/nvidia-graphics-1.0-9746 in /etc/ld.so.conf?
> > Yes:
> > /usr/lib/nvidia-graphics-1.0-9631
> > include ld.so.conf.d/*.conf> _______________________________________________
> > atrpms-users mailing list
> > atrpms-users at atrpms.net
> > http://lists.atrpms.net/mailman/listinfo/atrpms-users
> > 
> 
> 
> > 
> >> $ /sbin/ldconfig -p  | grep libXvMCNVIDIA_dynamic.so.1
> >>         libXvMCNVIDIA_dynamic.so.1 (libc6) => /usr/lib/nvidia-graphics-1.0-9746/libXvMCNVIDIA_dynamic.so.1
> > And Yes, making allowance for the different installed driver, I get:
> > 
> > [mythtv at localhost FC5]$ /sbin/ldconfig -p  | grep libXvMCNVIDIA_dynamic.so.1
> >          libXvMCNVIDIA_dynamic.so.1 (libc6) => 
> > /usr/lib/nvidia-graphics-1.0-9631/libXvMCNVIDIA_dynamic.so.1
> > 
> > but I still get the XvMCWrapper error message if I don't specify the 
> > full path in XvMCConfig.  Could it be that it can't be loaded because 
> > it's already active?  'Play recordings' works fine like this, and a 
> > second or overwritten instance of XvMC might perhaps explain the 
> > increase in CPU load(??)  Being able to use the internal player isn't 
> > vital, but it just looks like an indication that something isn't right.
> > 
> I've now tried the xine and mplayer commands suggested in the wiki 
> reference above, first with the short and then the long line in XvMCConfig.
> 
> xine -V xxmc /path/to/filename.mpg
> 
> mplayer -vo xvmc -vc ffmpeg12mc /path/to/filename.mpg
> 
> With xine, playback quality was fine in both cases.  The 'short' version 
> gave the 'could not load library' message and a CPU load of 12%; the 
> 'long' version gave no error message and a CPU load around 25%.
> 
> With mplayer, the 'short' version gave the 'could not load' message and 
> quit.  The 'long' version played well, with no message, but CPU load was 
> around 45%.
> 
> Neither xine nor mplayer had the stuttering sound, or the yet higher CPU 
> load, that I got in Myth.
> 
> So with my setup, at present, XvMC seems to offer no advantages and I 
> should perhaps just stop trying to use it.  I suppose YMMV?

It very much depends on what mplayer and xine package you used. There
is no xine package in ATrpms, so I cannot even guess if it supports
xvmc/xvmcw.

The easiest way to check on whether libXvMCNVIDIA is used or not is to
check the time stamp:

mplayer -vo xvmc abc-mpeg2.avi or similar
ls -ltrAdu `rpm -ql nvidia-graphics9746-libs`
-- 
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-users/attachments/20070307/574f0f40/attachment.bin 


More information about the atrpms-users mailing list