ATI Proprietary Driver
- 1 Introduction
- 2 Version Information
- 3 TV-Out
- 4 Common problems and solutions
- 5 External links
- 6 User experiences
The ATI/AMD Proprietary Linux driver, or fglrx is the name of the Linux display driver used for ATI Radeon and FireGL family video adapters It contains open source and closed source parts. It can be downloaded from the AMD website.
ATI cards are not recommended at this point in time. ATI currently does not support running MythTV on their hardware, and have no timeline for when this might change. See this statement from ATI/AMD for more information.
Released on 20th December 2007
Versionnumbers policy has changed. 7.12 is successor of 8.42.3
Released on 24th October 2007
Support for X.org 7.3, Products older than Radeon(TM) 2x00 are now supported more
Released on 12th September 2007
The TV-out size and position now supports adjustments more
Released on 8th August 2007
TV out functionality is now available under the Linux operating system for ATI graphics cards that support TV Out (S-video, composite, and component video). The feature is part of the Catalyst Control Center LE and will provide a users with a variety of TV out adjustments. more
Check if your card is supported by the driver (read the release notes). Also check the specs of your card, some integrated ATI cards do not support dual screen, so it's either your monitor or your tv but not both.
You need to userstand what interface you are using to connect to your TV. See the list below..from the digital HDMI standard (best quality) to the analog Composite standard (lowest quality) more about this: Highly_Technical_Details
Attaching a computer monitor
When having a computer monitor attached, use the following in the 'Device' section of xorg.conf:
Option "VideoOverlay" "on" Option "OpenGLOverlay" "off"
This will enable VideoOverlaying, thus allowing you to watch TV and DVDs without any problem! Of course it is possible to enable OpenGLOverlay, but the driver will enable either one or the other. Turning both on does not work (strange but true...)
Attaching a TV
It is possible to attach a TV (using the TV-Out connector), but a bug in the driver makes the VideoOverlay mode useless :-(
Therefor, the only option left (for acceleration) is to use OpenGL. This gives the whole picture during TV or DVD playback, but needs a really fast box to be usefull. For those willing to give it a try... Use the following in the 'Device' section of xorg.conf:
Option "VideoOverlay" "off" Option "OpenGLOverlay" "on"
To use a (wide-screen) TV as monitor, please configure the 'Monitor' section of your xorg.conf to get it working. See XorgConfMonitorSectionForTV. If the basic TV configuration appears correctly, but the image does not fit exactly on your television set, you may need to adjust the so-called Overscan.
Common problems and solutions
Test image for colors etc
click image to enlarge
For users experiencing black-and-white TV output: please verify if the TVFormat option is set to the one valid for your country. All ATI cards I have seen default to the American TVStandard 'NTSC'. For a mythtv box in the Netherlands use the following option in the Device section in xorg.conf:
Option "TVFormat" "PAL-B"
Note that this can also happen because your TVout card has a physical jumper on it that's set wrong; sometimes (as on the Sapphire brand Radeon cards) this jumper is not labeled nor called out in the documentation.
Until at least fglrx-8.33.6 there are wrong colors with xv playback, E.g. faces look blue. In libs/libmythtv/videoout_xv.cpp you can uncomment
or with svn trunk after 13933 just
INSERT INTO settings (value, data, hostname) VALUES ("BrokenI420Hack", 1, "$YOUR_HOSTNAME");
Confirmed blue "smurf" vision (faces look blue) : fglrx-8.34.8. (Radeon X1950 Series / Ubuntu 7.04), fglrx-8.37.6. (Radeon X1950 Series / Ubuntu 7.10)
Enabling overlays with tvout
ATI proprietary drivers do have a bug in them which makes the combination of VideoOverlaying and TV-Out useless. If you have a display attached to the vga output connector, you will find the VideoOverlay mode fully functional. However when the TV-Out connector is used, you will see the top-half of the actual TV/DVD signal. Disabling this feature in the xorg.conf file (or use OpenGLOverlay instead) gives the whole TV/DVD signal, but may work slowly depending on the overall speed of the system you are using.
This bug can be worked around by forcing the driver to think that a crt is plugged into the primary, and mirror that onto the secondary (tv). To do this use these options in the device block in you /etx/X11/xorg.conf:
Option "ForceMonitors" "crt1,tv" Option "NoTV" "no" Option "OverlayOnCRTC2" "1" Option "DesktopSetup" "mirror" Option "VideoOverlay" "on" Option "OpenGLOverlay" "off"
More options may be required for you (ie setting pal/ntsc) but these are all the options I have running on my box (mythtv 0.20, ubuntu feisty, radeon 9550). This allows you to use the real video overlay on the tv without having the slowdown of opengl or texturedvideo, but it also forces your monitor to use 800x600 if you want one connected, but for myth-only boxes it works well.
Update: I first used this procedure to get the above ubuntu system working, it was running xorg 7.1 by memory. I've just tried duplicating it with a 9250 on a knoppmyth box running xfree86 and fglrx 8.28.8 and had no luck whatsoever.
Another way of enabling overlays with TV-out
The above method didn't work properly for me. I'd get stretched video and changing some options most of the time didn't give me any video at all, but the next solution does and actually makes sense:
Identifier "aticonfig-Device" Driver "fglrx" Option "ForceMonitors" "tv,none" Option "NoTV" "no" Option "VideoOverlay" "on" Option "OpenGLOverlay" "off" Option "TVFormat" "PAL-B" Option "UseInternalAGPGART" "no"
I get perfect TV-out and video on a Radeon 9600 TX (RV350 NF, and yes, this is TX, not XT...) Driver used is ATI Catalyst 8.1 (ati-driver-installer-8-01-x86.x86_64.run), OS is mythbuntu based on Ubuntu 7.10. TV-out seems to be at 1024x768. Since it works like no-one expects it is going to work I guess setting OpenGLOverlay to on will work too, but I haven't tried yet. Also I don't know if UseInternalAGPGART makes any difference at all. A friend of mine told me to use it and since he has been using an ati 9600 pro for ages I assumed he'd be right.
ATI has stated publicly that they don't support MythTV in their fglrx X11 driver: 737-26907: Unsupported Features with ATI Linux Drivers
Working: 2D and 3D, HDTV video is working smooth (HDCP was not tested)
Partially working: composite TV-Out, only working if I turn of the VGA. This is done by "sudo aticonfig --enable-monitor=tv". To turn the VGA back on (and the tv off) replace "tv" with "crt1"
Not working: Changing TV-Out functionality in the Catalyst control center. Only working via command-line.
Not yet tested: all other interfaces: HDMI, S-Video
Software: Ubuntu 7.10, ATI Catalyst 7.12 (installed with ATI Installer)
Hardware: Asus M2A-VM HDMI with onboard Radeon X1250, Resolution: 1024x768
Michel has experiences are with driver revision 8.28.8:
- ATI Radeon 9200SE (both composite and S-Video): partially works.
- ATI Radeon 9250 (composite): partially works.
On my personal (Athlon XP 1800+) mythtv system the TV/DVD playback functions are too slow, even with OpenGLOverlay mode active on the binary drivers. So for normal TV-Out functionality I went to the store and bought a NVidia card instead. My desktop system however (the 2nd mythfrontend :-) still functions perfectly with the ATI Radeon 9250. Attached to a monitor and with VideoOverlay active...
Moosylog worked with the ATI driver for more than two years. First did research on XGL / compiz and ATI and later got involved in the TV-OUT thing. In feb 2007 moosy gave up and switched to nvidia because of the buggy tv-out support from ati/amd. The TV-Out experience ends at version 8.33.6 on a ATI Radeon Xpress 200 (on board): partially works, frustrated, switched to Nvidia, read more Also check the user comments on this blog post about ATI and this one
Moloth worked on this over the past 7 hours trying to get it to work. Did succeed with ATI X300 + Proprietary Driver + Modified Myth Code DViCO_FusionHDTV_DVB-T_Dual_Digital_Installation#ATI_Radeon Here Although either the driver or the libmyth change caused unexpected X crashes and segfaults. So I am switching to NVidia Card.
zhapp tried mplayer with fglrx 8.37.6 running on debian etch (2.6.18) with a Radeon 9800Pro. I used the xorg.conf-settings from "Enabling overlays with tvout" which made TV-out and XV work without any cropping or other artifacts. Will try MythTV in a near future.
jdschwa Running Ubuntu Feisty (2.6.20, server+Mythtv, no gnome) fglrx 8.34.8. Radeon X300 using svideo out. The above hack for overlays works great for me.
Baylink 03:01, 12 August 2007 (UTC) is using 8.36.5 from the ATI yast repo on openSUSE 10.2 with the default 7.1.99 (7.2 RC) Xorg. I had the bug, NO_XV=1 mythfrontend proved it, the hack above solved it; nice work, dude. My card is a Sapphire Radeon (Mobility) 9600. The jumper on that card, BTW, is NTSC/PAL (mine came jumpered the wrong way).
xmeister 26/1/08 Graphics : ATI Radeon 9600pro TV Card : Technisat AirStar 2 DVB-T CPU : Intel P4 2.4G interface: S-Video Very happy to say that using the above settings (under "Enabling overlays with tvout") I finally have a mythtv box in working condition. Believe me I tried nearly every concievable config in my xorg.conf but this finally did it. I still need to do some fine tuning with overscan and some other odds n' ends. For SD the picture is quite acceptable and on a par with a STB I borrowed for testing purposes. Will keep this updated if I encounter any issues but so far things look good. Love your work dude.