Red Hat Bugzilla – Bug 192254
does not create /etc/X11/XvMCConfig
Last modified: 2011-02-12 18:09:35 EST
Description of problem:
Not sure if this is a missing config in the X server that prevents it from
detecting XvMC or not, but because the library doesn't get a valid response from
the server, it needs to have the /etc/X11/XvMCConfig file present in order for
client programs to know which kind of XvMC to enable. I haven't tested with
other apps, but mythtv definitely needs this file present in order to enable
XvMC support at runtime.
Version-Release number of selected component (if applicable):
You have to create your own XvMCConfig. Having said that, the package should
still have ownership of the file. I will add a %ghost %config entry to the
package for this.
Maybe this is just a difference in versions, but looking back at the atrpms
package from before xvmcw was included in fedora, I see that the package did
create the XvMCConfig file:
But yes, at least owning the file would be good so I can add it as a requirement
to the mythtv package and get around some ugly cross-version compatibility issues.
I've added XvMC to the package manifest as follows:
%ghost %config(missingok,noreplace) %verify (not md5 size mtime)
This means that if the user creates their own XvMCConfig, the rpm package
now owns the file, and it is properly flagged as a config file, etc.
The user still has to create the file themselves however.
Added to libXvMC-1.0.2-1 in rawhide.
Er, I mean 1.0.2-2
I go to look at the /etc/X11/XvMCConfig file and it isn't there. You say you have to create it. But if you look in the:
Name : libXvMC Relocations: (not relocatable)
Version : 1.0.5 Vendor: Fedora Project
Release : 1.fc13 Build Date: Wed 07 Oct 2009 02:18:42 PM CDT
Install Date: Fri 22 Oct 2010 01:16:35 PM CDT Build Host: x86-7.fedora.phx.redhat.com
Group : System Environment/Libraries Source RPM: libXvMC-1.0.5-1.fc13.src.rpm
Size : 40799 License: MIT
Signature : RSA/SHA256, Tue 27 Jul 2010 05:36:43 AM CDT, Key ID 421caddb97a1071f
Packager : Fedora Project
URL : http://www.x.org
Summary : X.Org X11 libXvMC runtime library
X.Org X11 libXvMC runtime library
You see that the file is in the package. But when I install or reinstall the package, the file isn't there.