Freevo

- User Documentation

# Hardware/AtiCards

Site Index:

1. Radeon 7000
   1. Easy
   2. Harder
2. Radeon 7500
   1. fbdev
   2. GATOS
3. Radeon 8500
   1. Radeonfb
4. ATI closed source drivers

## Radeon 7000

From TJ O'Connor's email:

Reference the radeon TV-Out issue:

I've got a complex and an easy solution for you:

### Easy

Replace the line driver="radeon" in your `XF86Config-4` file with driver="vesa". In the display section, ensure you have modes of "800x600" and "640x480" at least for output to tv (my tv can take an 800x600 but when running through my vcr, I can only display 640x480.)

In your /etc/lilo.conf set your vga=791 and run lilo. Or make the same change in your grub.conf if you use grub as a bootloader. Then turn off your machine and restart with the tv plugged in and turned on. Once logged in change to "800x600", using CTRL-ALT-MINUS to change to the applicable resolution.

When you get to one of the modes such as "800x600", you should see the display on your screen. Then run freevo fullscreen and it should look pretty.

### Harder

Same concept. But run 2 separate X Servers. One with your normal resolution such as 1400x1050 or whatever. Then run a second X Server on virtual terminal 8 using only an 800x600 mode in the "display" section. You can then leave freevo running fulltime on vt8 and do your normal work on vt7. Switch between the two screens using CTRL-ALT-F7/F8.

For an added benefit, buy a cheap IR receiver from Zapway or Irman and program power button on your universal television remote control to use the command '/usr/bin/switchto vt8' to "power on freevo." Then tag the off button on the remote to '/usr/bin/switchto vt7', which will not be visible on the tv screen. Anyways, hope it make sense.

Here is a Radeon7000SimpleConfig for `/etc/X11/XF86Config-4` that will work only in "800x600", you can modify it from there.

## Radeon 7500

### fbdev

I managed to use the ATI Radeon (fbdev) driver, setting my monitor to 800x600 @ 60Hz and setting my screen resolution to 800x600 - 16bit (max allowed). Note this particular driver will not allow 3D Hardware Acceleration, so older machines will lag when viewing videos. Also video players like Mplayer and XINE might need some tweaking to work in Framebuffer mode. This worked fine going first through a VCR then to my television. Enjoy!

Andrew Paranczuk (andrew dot paranczuk at utoronto dot ca)

### GATOS

I manage to get it working with Gatos ( http://gatos.sf.net) ati.2 driver & Debian (testing). 3D and tv ouput are working. I run 2 separate X server, 1 for my monitor and the other for the TV. Some hacks necessery to get GATOS working. i.e. commenting undefined R200 cards.I also manage to get TV working with km, but there's a PAL freeze bug that has not been fix :(.

To get tv ouput and 3D working, get debian, xserver-xfree86 source and dpkg-build in preparation to build ati.2. Then follow instruction from http://www.realh.co.uk/linux_tv_howto/ar01s04.html

Here is a Radeon7500SimpleConfig for `/etc/X11/XF86Config-4` with 2 layout for a monitor and a TV output.You can try it out with this command

# XFree86 -layout <Identifier>

Khairulmizam Samsudin (xource at users dot sourceforge dot net)

## Radeon 8500

### Radeonfb

In the first half of 2003, radeonfb was becoming stable. The cards are fast, but TV-out with the radeonfb was basically impossible due to licensing of Macrovision etc. A fine card if you don't want TV-out or you accept going with X+TV-out in previous section.

## ATI closed source drivers

ATI have released binary X drivers at https://support.ati.com/ics/support/default.asp?deptID=894 which support TV-out on RADEON 8500 and later AGP or PCI Express, as well as FireGL 8700 and later. The drivers will be available for most distros - try a google search. Run "man radeon" for more info about the tv-out options. You will need a device section similar to the following in your /etc/X11/xorg.conf or /etc/X11/XF86config file.

    Section "Device"
            Identifier "ATI Technologies, Inc. Radeon 9200 Pro (RV280)"
            Driver "fglrx"
            Option "no_accel"            "no"
            Option "no_dri"              "no"
            Option "mtrr"                "off"   # disable DRI mtrr mapper, driver has its own code for mtrr
            Option "DesktopSetup"        "0x00000100" # this sets up "clone" mode - both TV and CRT see the same image
            Option "MonitorLayout"       "CRT,STV"   # this enables the CRT and TV-out interfaces
            Option "NoTV"                "no"    # enable tv-out
            Option "TVStandard"          "PAL-B" # change this as required
            Option "TVHSizeAdj"          "0"
            Option "TVVSizeAdj"          "0"
            Option "TVHPosAdj"           "0"
            Option "TVVPosAdj"           "0"
            Option "TVHStartAdj"         "0"
            Option "TVColorAdj"          "0"
            Option "GammaCorrectionI"    "0x00000000"
            Option "GammaCorrectionII"   "0x00000000"
            Option "Capabilities"        "0x00000000"
            Option "VideoOverlay"        "on"
            Option "OpenGLOverlay"       "off"
            Option "UseFastTLS"          "0"
            Option "BlockSignalsOnLock"  "on"
            Option "UseInternalAGPGART"  "yes"
            Option "ForceGenericCPU"     "no"
            Option "OverlayOnCRTC2"      "on"    # This enables XV on your secondary device
            Option "MergedFB"            "on"
            BusID  "PCI:1:0:0"
    EndSection

The important option here is OverlayOnCRTC2. If you only have a TV connected and no CRT, the TV seems to always be the secondary devicem no matter what your MonitorLayout section is set to. You want to enable XV on your TV device, otherwise you'll only see mplayer/xine output on your CRT, and the TV will show a dark blue rectangle. If you disable XV (Option "no_dri" "yes") then mplayer/xine will be very very slow.

Note: the man page states that the OverlayOnCRTC2 has been replaced by the XV attribute called XV_SWITCHCRT. Apparently you can run "xvattr -a XV_SWITCHCRT -v 0" and "xvattr -a XV_SWITCHCRT -v 1" to switch the overlay between the first and second display adapters. This didnt work for me however it may work for you.

- Darryl Young (dizfvo at youngs-home dot net)

last edited 2005-04-23 13:55:55 by AndrewParanczuk
current version: http://freevo.sourceforge.net/cgi-bin/doc/Hardware/AtiCards