Difference between revisions of "TV-Out and OpenGL with ATI 9000/9100 IGP"

From MythTV Official Wiki
Jump to: navigation, search
(External links: http://xorg.freedesktop.org/wiki/)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Information about this has been found at:
+
'''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.
  
http://megahurts.dk/rune/tv_output.html
+
==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.
  
Mini-howto:
+
===ATI driver===
 +
Grab a driver release from http://xorg.freedesktop.org/releases/individual/driver/ .
 +
<pre>
 +
# wget http://xorg.freedesktop.org/releases/.../driver/xf86-video-ati-6.5.8.0.tar.bz2
 +
</pre>
  
#author: Eran Tromer
+
===Patch===
# Grab a X.org CVS release from http://xorg.freedesktop.org/releases/ :
+
Grab a matching patch from http://megahurts.dk/rune/tv_output.html .
wget http://xorg.freedesktop.org/releases/X11R6.9.0/src-single/X11R6.9.0-src.tar.bz2
+
<pre>
 +
# wget http://megahurts.dk/rune/stuff/xorg7-6.5.8.0-tv_output.patch.gz
 +
</pre>
  
# Or grab a X.org CVS snapshot from http://xorg.freedesktop.org/snapshots :
+
===Extract, patch===
 +
<pre>
 +
# 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
 +
</pre>
  
# Grab a matching patch from http://megahurts.dk/rune/tv_output.html :
+
===Compile===
wget http://megahurts.dk/rune/stuff/xorg_CVS-20050420-tv_output.patch.gz
+
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.
 +
<pre>
 +
# 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
 +
</pre>
  
# Extract, patch and compile:
+
===Install===
tar xjvf xorg-x11-6.8.99.4.tar.bz2
+
<pre>
gunzip -c xorg_CVS-20050420-tv_output.patch.gz | patch -p1 -d xc/programs/Xserver/hw/xfree86/drivers/ati
+
# make install
mkdir xc-build
+
</pre>
cd xc-build
 
lndir ../xc
 
make World
 
  
#For Red Hat / Fedora Core users
+
===Edit xorg.conf===
#Remove your current X.org installation (Expect RPM dependency hell.)
+
Edit your /etc/X11/xorg.conf according to ./xf86-video-ati-6.5.8.0/src/README.out :
rpm -e xorg-x11
+
*Set the resolution to 800 &times; 600 pixels
 +
*In the "Device" section, add:
 +
<pre>
 +
    Option "MonitorLayout" "AUTO, NONE"
 +
    Option "TVOutput"    "your_video_standard"
 +
</pre>
 +
Note: replace ''"your_video_standard"'' with "PAL", "NTSC", etc..
  
# Install:
+
===Start X===
make install
+
Start X and rejoice.
 +
<pre>
 +
# Xorg
 +
</pre>
  
# Edit your /etc/X11/xorg.conf according to
+
==Mini How-to (Xorg 6.9)==
# ./programs/Xserver/hw/xfree86/drivers/ati/README.out :
+
The original author was Eran Tromer.
# * Set the resolution to 800x600
+
 
# * In the "Device" section, add:
+
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 ).
 +
<pre>
 +
# wget http://xorg.freedesktop.org/releases/X11R6.9.0/src-single/X11R6.9.0-src.tar.bz2
 +
</pre>
 +
 
 +
===Patch===
 +
Grab a matching patch from http://megahurts.dk/rune/tv_output.html .
 +
<pre>
 +
# wget http://megahurts.dk/rune/stuff/xorg_CVS-20050420-tv_output.patch.gz
 +
</pre>
 +
 
 +
===Extract, patch and compile===
 +
<pre>
 +
# 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
 +
</pre>
 +
 
 +
===Red Hat or Fedora Core===
 +
Red Hat and Fedora Core users must remove their current X.org installation; (expect RPM dependency hell).
 +
<pre>
 +
# rpm -e xorg-x11
 +
</pre>
 +
 
 +
===Install===
 +
<pre>
 +
# make install
 +
</pre>
 +
 
 +
===Edit xorg.conf===
 +
Edit your /etc/X11/xorg.conf according to ./programs/Xserver/hw/xfree86/drivers/ati/README.out .
 +
*Set the resolution to 800 &times; 600 pixels
 +
*In the "Device" section, add:
 +
<pre>
 
     Option "TVOutput" "PAL"    (or "NTSC", etc.)
 
     Option "TVOutput" "PAL"    (or "NTSC", etc.)
 +
</pre>
 +
 +
===Start X===
 +
Start X and rejoice.
 +
<pre>
 +
# Xorg
 +
</pre>
 +
 +
==External links==
 +
*http://megahurts.dk/rune/tv_output.html
 +
*http://xorg.freedesktop.org/wiki/
  
# Start X and rejoice.
+
[[Category:HOWTO]]
Xorg
 

Latest revision as of 21:42, 7 December 2006

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