Myth BOX
The home of guides for Myth TV, IPTables, and other linux based phenomena.
HD version
General guides
Channel setup
Home automation
Product overview
Useful links
SD version
General guides
DVB Card
Myth TV
Broadband modem
Wireless network
Network shares
Network IDS
Extra security
EPIA specific guides
TV-Out cables
Audio/USB cables
Wireless network
EPIA Kernel
Openchrome drivers
Surround sound
Online store
Prebuilt mythbox
Useful links

Installing the Openchrome driver

The Openchrome driver comprises of several components:
  • 2D driver - This is the DDX driver which provides 2D acceleration, Xv, hardware initialisation, screen resolution, tv-out etc. This component is provided in the xf86-video-openchrome package.
  • DRI module - As well as the global DRM system module, DRI also requires the card specific module to operate within the DRM. The X server and DRI clients talk to the kernel modules through libdrm. This component is provided by kernel modules drm.ko and via.ko.
  • 3D driver - 3D acceleration is provided through which in turn utilises DRI. This accelerates OpenGL aware programs. The driver is required in order to interface between your hardware and This driver is provided in the mesa package.
  • MPEG2 decoding driver - Decoding of MPEG2 requires the driver, which uses DRI to talk to the hardware directly. This driver is also provided in the xf86-video-openchrome package.
  1. First things first, you will need to follow the EPIA kernel guide here. This ensures that you will have a kernel compiled with the necessary modules to get DRI up and running. It also allows you to test that you can get the basic TV-out driver working before going any further.
  2. I assume at this point that you are running Xorg 7.x. If you need help upgrading from Xorg 6.8, check out our migration guide.
  3. In your /etc/make.conf, add via openchrome to your VIDEO_CARDS and unichrome cle266 xvmc dri to your USE flags if you don't have them already.
  4. Install the drivers by doing emerge openchrome mesa.
  5. Ensure that the openchrome driver is selected for XvMC by doing eselect xvmc list. If openchrome isn't selected, use eselect xvmc set <number> where <number> corresponds to the openchrome option.
  6. Run revdep-rebuild to make sure your system is consistent.
  7. Jobs a good one!

Using the Openchrome driver

The openchrome driver includes support for Myth TV and Xine. To enable support in Myth TV, do the following:
  1. Ensure unichrome is in your USE flags.
  2. Do emerge -N mythtv.
  3. Run the mythfrontend and go into Setup.
  4. Go into TV Settings and select Playback.
  5. Navigate through the pages until you reach the Hardware Decoder screen. Select Use HW XVMC VLD Decoding (Via only).
  6. Your box should now use hardware decoding.
Xine hardware acceleration can be achieved as follows:
  1. Ensure xvmc cle266 are in your USE flags.
  2. Execute emerge -N xine-lib to emerge xine with the support.
  3. Run xine -V xxmc -A alsa.
  4. Bonsa!