TV-Out and OpenGL with ATI 9000/9100 IGP

From MythTV Official Wiki
Jump to: navigation, search

TV Out and OpenGL on ATI Radeon 9000 and 9100 is described in this article. Most modern systems use Xorg 7.0, so only patching and compiling the ATI driver is needed. Xorg 6.9 does not support ATI's TV-Out, a patched X server must be installed. Without this patch, TV-Out is only synchronized correctly in terminal-mode and therefore not of much use with MythTV.

Mini How-to (Xorg 7.0)

The original author was Rune Petersen.

Please remember to check the paths to the current packages. The included terminal session is merely a sample for users to follow.

ATI driver

Grab a driver release from http://xorg.freedesktop.org/releases/individual/driver/ .

# wget http://xorg.freedesktop.org/releases/.../driver/xf86-video-ati-6.5.8.0.tar.bz2

Patch

Grab a matching patch from http://megahurts.dk/rune/tv_output.html .

# wget http://megahurts.dk/rune/stuff/xorg7-6.5.8.0-tv_output.patch.gz

Extract, patch

# tar xjvf xf86-video-ati-6.5.8.0.tar.bz2
# gunzip -c xorg7-6.5.8.0-tv_output.patch.gz | \
      patch -p1 -d xf86-video-ati-6.5.8.0

Compile

Please make sure you have installed the Xorg and X11 proto development packages for your distribution. Note: XORG_PREFIX/bin is where Xorg is located.

# export XORG_PREFIX="/usr"
# export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc --localstatedir=/var"
# ./configure $XORG_CONFIG --with-xorg-module-dir=$XORG_PREFIX/lib/X11/modules
# make

Install

# make install

Edit xorg.conf

Edit your /etc/X11/xorg.conf according to ./xf86-video-ati-6.5.8.0/src/README.out :

  • Set the resolution to 800 × 600 pixels
  • In the "Device" section, add:
    Option "MonitorLayout" "AUTO, NONE"
    Option "TVOutput"     "your_video_standard"

Note: replace "your_video_standard" with "PAL", "NTSC", etc..

Start X

Start X and rejoice.

# Xorg

Mini How-to (Xorg 6.9)

The original author was Eran Tromer.

Please remember to check the paths to the current packages. The included terminal session is merely a sample for users to follow.

X.org CVS

Grab a X.org CVS release from http://xorg.freedesktop.org/releases/ , (or grab a X.org CVS snapshot from http://xorg.freedesktop.org/snapshots ).

# wget http://xorg.freedesktop.org/releases/X11R6.9.0/src-single/X11R6.9.0-src.tar.bz2

Patch

Grab a matching patch from http://megahurts.dk/rune/tv_output.html .

# wget http://megahurts.dk/rune/stuff/xorg_CVS-20050420-tv_output.patch.gz

Extract, patch and compile

# tar xjvf xorg-x11-6.8.99.4.tar.bz2
# gunzip -c xorg_CVS-20050420-tv_output.patch.gz | \
     patch -p1 -d xc/programs/Xserver/hw/xfree86/drivers/ati
# mkdir xc-build
# cd xc-build
# lndir ../xc
# make World

Red Hat or Fedora Core

Red Hat and Fedora Core users must remove their current X.org installation; (expect RPM dependency hell).

# rpm -e xorg-x11

Install

# make install

Edit xorg.conf

Edit your /etc/X11/xorg.conf according to ./programs/Xserver/hw/xfree86/drivers/ati/README.out .

  • Set the resolution to 800 × 600 pixels
  • In the "Device" section, add:
    Option "TVOutput" "PAL"     (or "NTSC", etc.)

Start X

Start X and rejoice.

# Xorg

External links