RPMs for Via Epia motherboards


What is this all about ?

Here you can find some RPMs and SRPMs for Fedora Core 2, Core 3, Core 4 and Core 5.
They will allow you to run xine on an Via Epia board with accelerated MPEG-2 decompression.

Disclaimer

Everything is provided without any guarantee, in the hope it will be of some help. Don't complain if it kills your dog...

Status of the packages

Fedora Core 2 : Unmaintained.
Fedora Core 3 : Unmaintained. Include full monolithic xorg, up-to-date kernel module for via drm, libxvmc wrapper aware xine-lib, ImageMagick without deps on libDPS...
Fedora Core 4 : Unmaintained. Include full monolithic xorg, up-to-date kernel module for via drm, libxvmc wrapper aware xine-lib, ImageMagick without deps on libDPS...
Fedora Core 5 : Unmaintained. Only include openchrome driver for modular xorg, up-to-date kernel module for via drm.
Fedora Core 6 : Actively maintained. Only include openchrome driver for modular xorg.
Fedora Core 7 : Actively maintained. Include openchrome driver for modular xorg as well as a XvMC-VLD aware mplayer.

See Below for details on the different packages.

Provided packages

Make sure to configure yum properly (see below) before trying the following yum commands !!!

xorg-x11 packages

These packages are providing replacement for the original Fedora Core packages with unichrome enabled ones.
They are based on xorg-x11 SRPM from Fedora and patched with openchrome driver, libviaXvMC, libXvMC wrapper and with accelerated openGL support.

Install with : yum update xorg-x11\*

xorg version is currently : 6.9
unichrome driver version is currently : openchrome svn revision #189
!!! It needs Via DRM module 2.4 or later in your kernel !!! See kernel modules section below.

Warning : 3D support is currently broken in the RPMs. Use a binary snapshot or get the sources from Mesa and compile them.
3D support is fixed in 6.8.99.900 and above.

via drm kernel modules packages

These packages are providing the needed kernel modules to enable hardware MPEG2 acceleration and accelerated 3D driver. They enhance the functionalities of the original Fedora Core kernels without altering it. I'll try to update them for every kernel update and/or when via drm module version is increased. There are only i686 packages currently.

Install with : yum install kernel-module-via-drm-`uname -r`

via drm module is currently : 2.9.1

If the package matching your running kernel is not found, you can rebuild the source RPM located here. Don't be confused by the FC3 in the package name, it'll do fine for FC2 as well.
Rebuild with : rpmbuild --rebuild --target kernel_arch --define "kernel kernel_version-kernel_release" kernel-module-via-drm-kernel_version-via_drm_version-release.src.rpm
where kernel_arch match the arch of the kernel you are using (i386, i586, i686).
By default, the RPM will be rebuilt against the currently running kernel, so the --define "kernel blahblah" is not mandatory. Only use it if you want to build for a different kernel than the running one. If you're still into trouble, just drop me a line, I'll rebuild them for you.

WARNING : There's no kernel-module-via-drm package for kernel-2.6.11-1.14_FC3 as the drm support is broken upstream in kernel 2.6.11.x.

NOTE : Support for via drm is included in FC4 kernels since kernel-2.6.13-1.1526_FC4. It is not uptodate though. Things should get better with 2.6.14

xine-lib packages

xine-lib packages are based on xine-lib from Livna. I'm just rebuilding the SRPM from livna.org against the XvMC wrapper lib.
You'll need to have Livna repo enabled to fullfil the dependencies for xine-lib. Check Livna website for instruction to enable their repo.
Install with : yum install xine-lib

ImageMagick packages

These packages are latest version from Fedora rebuilt without libDPS support, which has been deprecated in the latest Xorg releases.
If you need ImageMagick, install with : yum update xorg-x11\* ImageMagick

Documentation

Sorry, you won't find a lot of docs here.
Be sure to browse through the openchrome project page.
openchrome-users mailing list is also a good place to look for help about the openchrome driver.

Yum repositories

For yum 2.0, add this into your /etc/yum.conf file :

[epia]
name=RPMs for Via Epia motherboards - Fedora Core $releasever - $basearch
baseurl=http://washington.kelkoo.net/epia/FC$releasever/$basearch
gpgcheck=0
enable=1

For yum 2.1 or later, just put the same into a dedicated /etc/yum.repos.d/epia.repo file.

For up2date, add one of the following to your /etc/sysconfig/rhn/sources file :

yum epia-fc2 http://washington.kelkoo.net/epia/FC2
yum epia-fc3 http://washington.kelkoo.net/epia/FC3
yum epia-fc4 http://washington.kelkoo.net/epia/FC4
yum epia-fc5 http://washington.kelkoo.net/epia/FC5
yum epia-fc6 http://washington.kelkoo.net/epia/FC6
yum epia-f7 http://washington.kelkoo.net/epia/F7

You can also browse the repositories manually :

RPMs for Fedora Core 2 are here.
SRPMs for fedora Core 2 are here.
Specs for fedora Core 2 are here.

i386 RPMs for Fedora Core 3 are here.
x86_64 RPMs for Fedora Core 3 are here.
SRPMs for fedora Core 3 are here.
Specs for fedora Core 3 are here.

i386 RPMs for Fedora Core 4 are here.
x86_64 RPMs for Fedora Core 4 are here.
SRPMs for fedora Core 4 are here.
Specs for fedora Core 4 are here.

i386 RPMs for Fedora Core 5 are here.
x86_64 RPMs for Fedora Core 5 are here.
SRPMs for fedora Core 5 are here.
Specs for fedora Core 5 are here.

i386 RPMs for Fedora Core 6 are here.
x86_64 RPMs for Fedora Core 6 are here.
SRPMs for fedora Core 6 are here.
Specs for fedora Core 6 are here.

i386 RPMs for Fedora Core 7 are here.
x86_64 RPMs for Fedora Core 7 are here.
SRPMs for fedora Core 7 are here.
Specs for fedora Core 7 are here.

Thanks :-)

All stuff here is heavily based on other people's work :
- Original source package for xorg comes from the Fedora Core Project.
- Source code for the drm modules comes from the Direct Rendering Open Source Project.
Original spec file was written by Terry Barnaby. Take a look at his site, it's full of useful unichrome related docs and stuff.
He also provides some alternate Fedora Core packages.
- Base Specs files for xine-lib comes from Livna.
- Added patches for xorg and xine comes from the Openchrome Project.
Many thx to you all :-)

Contact

Feel free to report problems, send suggestions, etc... about theses packages to : xavier AT bachelot DOT org

last updated : 26/01/2007
May the Force be with Free Software :-)