2D driver installation
It is strongly advised to use the openchrome packages provided by your distribution or alternatively contributed binaries if openchrome is not officially shipped in your distro.
- Ark Linux:
- Ark Linux includes and uses OpenChrome by default. There is no need to install external packages.
- Official package: xserver-xorg-video-openchrome
- Fedora Core 2 up to Fedora Core 6: http://washington.kelkoo.net/epia (Dead link).
- Fedora 7 and newer: just run 'yum install xorg-x11-drv-openchrome'.
- Fedora 9 and newer: openchrome is the default driver for VIA IGPs.
- Available in the portage: http://packages.gentoo.org/package/x11-drivers/xf86-video-openchrome
- PCLinuxOS 2005:
- Sabayon Linux:
- Sabayon Linux ships and uses OpenChrome by default. Package information here
- Slackware 12.2 and newer includes by default (xf86-video-openchrome).
- Slackware 12.1 and previous see in linuxpackages.net (Unofficial package).
- SUSE and OpenSUSE:
- http://www.logix.cz/michal/devel/suse-openchrome - RPMS for OpenSUSE 10.1, 10.2 and 10.3, both i386 and x86-64
- T2 SDE:
- http://www.t2-project.org/packages/xf86-video-openchrome.html - T2 SDE trunk package information
- Ubuntu 8.04 Hardy and newer includes and uses OpenChrome by default.
- http://gamesplace.info/opensource/openchrome/dapper-binaries/ (Dapper)
Install from a release tarball * type:
If your distribution is not shipping openchrome or is shipping and old version and you want to upgrade, this is the recommended method. Don't use the GIT sources unless you absolutely need to.
Get the latest xf86-video-openchrome release tarball from http://xorg.freedesktop.org/archive/individual/driver/, decompress it then build and install the driver:
wget http://xorg.freedesktop.org/archive/individual/driver/xf86-video-openchrome-<version number>.tar.bz2 tar xvjf xf86-video-openchrome-<version number>.tar.bz2 cd xf86-video-openchrome-<version number> ./configure --prefix=/usr make sudo make install
Install from GIT
If you want to use the very latest, not yet released code, this is what you need. Be warned that although the code in trunk should build at any time, the driver you will obtain might be a bit rough on the edges. The code in the branches might not even compile. You've been warned. Happy hacking :-)
For Debian based distributions (Debian, Ubuntu, Mint), go to webpage related to build the openchrome driver.
First make backups of your current /usr/lib/xorg/modules/drivers/openchrome_drv.so and /usr/lib/libchromeXvMC*so* files — these will be overwritten during 'make install' below.
git clone git://anongit.freedesktop.org/openchrome/xf86-video-openchrome cd xf86-video-openchrome ./autogen.sh --prefix=/usr --enable-debug --enable-xv-debug make
su -c 'make install'
sudo make install
Source installation build dependencies
In order to build openchrome from sources, you will need to install some build dependencies. Here are some distro specific instructions on how to get them easily :
- Debian/Ubuntu/Mint :
sudo apt-get build-dep xserver-xorg-video-openchrome
to get dependency packages:
libdrm-dev libx11-dev x11proto-xf86dri-dev libxext-dev libxvmc-dev x11proto-gl-dev mesa-common-devOpenchrome build instructions
- Fedora/RHEL and RHEL clones :
dnf builddep xorg-x11-drv-openchrome
Other components installation
Building the DRM kernel modules On modern kernels (2.6.22 and later) the DRM is up-to-date. Compile these modules yourself only if your kernel is older. When your libdrm is older than 2.3.0, you also need to build the drm library from source, and when your kernel is older than 2.6.22, also the drm.ko and via.ko kernel modules.
Get the source
git clone git://anongit.freedesktop.org/git/mesa/drm cd drm
Install libdrm Do this part only if your libdrm is older than 2.3.0.
./autogen.sh make make install
Install kernel modules
cd linux-core make LINUXDIR=/lib/modules/`uname -r`/build DRM_MODULES=via cp *.ko /lib/modules/`uname -r`/kernel/drivers/char/drm/ depmod -ae