LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-16-2005, 01:37 PM   #1
PEACEYALL
Member
 
Registered: Jan 2005
Posts: 41

Rep: Reputation: 15
HOWTO Make TV Out work under ati chips


This is a tutorial on how to get your tv out to work on ati chips...
I saw a lot of posts asking on how to fix my tv out on ati blablabla... so ...
After about 2 weeks of googling i have finally found the answer to fixing the tv out on ati radeon.
I think this method should work on all ati chips that work with fglrx...

1. First get the fglrx drivers and install them.
This is a very good tutorial on how to do that : http://xoomer.virgilio.it/flavio.sta...installer.html
2. After all that make sure you reboot youre system because sometimes restarting X wont help that much.
3. Now in terminal run "fglrxconfig" without quotes.
Here is what i did in it:

---------------------------------------

peaceyall@Asspinter:~$ fglrxconfig


==============================================================================
ATI - FireGL - WORKSTATION GRAPHICS ACCELERATOR
==============================================================================

This program will create the ATI "XF86Config-4" file
- based on your selections - for the following video cards...

- ATI Radeon 8500 / 9100
- ATI FireGL 8700 / 8800 / E1
- ATI FireGL T2
- ATI Radeon 9000
- ATI Radeon 9200
- ATI Radeon 9500
- ATI Radeon 9600
- ATI Radeon 9700
- ATI Radeon 9800
- ATI FireGL Z1 / X1 / X2
- ATI Mobility M9
- ATI Mobility FireGL 9000
- ATI Mobility M9PLUS
- ATI FireGL V3100 / V5100 / V7100

The "XF86Config-4" file usually resides in /etc/X11.


Press [Enter] to continue, press 'q'&[Enter] or [Ctrl]+'c' to abort.


==============================================================================
Mouse
==============================================================================

Specify the mouse port type. Choose one from the following list:

1. Serial Port
2. PS/2 or USB with PS/2 protocol
3. Inport Bus

Enter the number for your port type: [2] 2


Specify the mouse model. Choose one from the following list:

1. PS/2 Mouse (X11 generic ps/2 mouse driver)
2. PS/2 Wheel Mouse (X11 generic ps/2 wheel mouse driver)
3. Microsoft Intellimouse (PS2)
4. Microsoft IntelliMouse Explorer (PS2)
5. Kensington ThinkingMouse (PS2)
6. Logitech MouseManPlus (PS2)
7. Alps Glidepoint PS/2 Touchpad
8. Genius NetMouse
9. Genius NetScroll

Enter the number for your mouse model: [2] 2


If your mouse has only two buttons, it is recommended that you enable
Emulate3Buttons.

Do you want to enable Emulate3Buttons (y/n)? [n] y

Now give the full device name that the mouse is connected to, for example
/dev/tty00 or /dev/mouse or /dev/psaux (includes IBM Laptops).

Mouse device: [/dev/mouse] /dev/psaux




==============================================================================
Keyboard
==============================================================================

Please select one of the following keyboard types that is the better
description of your keyboard. If nothing really matches,
choose 1 (Generic 101-key PC)

1. Generic 101-key PC
2. Generic 102-key (Intl) PC
3. Generic 104-key PC
4. Generic 105-key (Intl) PC
5. Dell 101-key PC
6. Everex STEPnote
7. Keytronic FlexPro
8. Microsoft Natural
9. Northgate OmniKey 101
10. Winbook Model XP5
11. Japanese 106-key
12. PC-98xx Series

Enter a number to choose the keyboard type: [1] 1


Please select the layout corresponding to your keyboard

1. U.S. English
2. U.S. English w/ISO9995-3
3. Belgian
4. Bulgarian
5. Canadian
6. Czechoslovakian
7. German
8. Swiss German
9. Danish
10. Spanish
11. Finnish
12. French
13. Swiss French
14. United Kingdom
15. Hungarian
16. Italian
17. Japanese
18. Norwegian

Press [Enter] for the next page or
enter the number for your keyboard layout country: 1


==============================================================================
FireGL Display Settings
==============================================================================

Quad Buffer Stereo ("Active Stereo"):

This driver does support Quad Buffer Stereo ("Active Stereo")
in combination with a CRT monitor (refresh rate about 100 to 120 Hz)
and the appropiate stereo viewing subsystem hardware. For example, this can
be a shutter glasses system (infrared or wired) or an active
polarisation device paired with passive stereo polarization glasses.

Do you want to enable "Quad Buffer Stereo" (y/n)? [n] n


==============================================================================
TV out Configuration
==============================================================================

Do you want to enable TV out (y/n)? [n] y

Note:
If you want the display of your monitor duplicated on the TV screen, select
Clone Mode as your monitor configuration.
TV standard selection

1. NTSC-M
2. NTSC-N
3. NTSC-JPN
4. PAL-B
5. PAL-D
6. PAL-G
7. PAL-H
8. PAL-I
9. PAL-K
10. PAL-L
11. PAL-N
12. PAL-M
13. PAL-SCART
14. PAL-CN
15. PAL-K1

Enter your choice (1-16): [1] 1

==============================================================================
FireGL Screen Layout
==============================================================================

------------------------------------------------------------------------------
| Maximum resolution for OpenGL operation |
| |
| - R200 chip family (Radeon 8500-9100 Pro, FireGL 8700/8800/E1): |
| 2048x2048 |
| - R300 chip family (Radeon 9500-9700 Pro, FireGL T2/Z1/X1/X2): |
| 2560x2560 |
------------------------------------------------------------------------------

Choose configuration from the list below

1. Single Head (1 screen, second dark)
2. Laptop Mode (Ability to toggle between internal / external screen)
3. Clone Mode (2 screens - same content)
4. Big Desktop (2 screens - one framebuffer)
5. Dual Head (2 screens - two drivers)

Enter the number for your configuration: [1] 3 ( Make sure you choose Clone Mode )

==============================================================================
Clone Mode selected
==============================================================================

==============================================================================
Monitor Settings
==============================================================================

Please select the connected primary (p) and secondary (s) display devices.
NOTE: A connected digital display is always the primary display.

1. (p) auto detect - (s) auto detect
2. (p) CRT display device - (s) CRT display device
3. (p) DVI display device - (s) CRT display device
4. (p) DVI display device - (s) DVI display device (FireGL Z1/X1/X2 only!)
5. (p) Laptop Panel device - (s) CRT display device (Laptops w. M9/M10 only!)
6. (p) Laptop Panel device - (s) DVI display device (Laptops w. M9/M10 only!)
7. (p) auto detect - (s) TV out
8. (p) CRT display device - (s) TV out
9. (p) DVI display device - (s) TV out
10. (p) Laptop Panel device - (s) TV out
11. (p) TV out - (s) auto detect

Enter your choice (1-12): [1] 1 ( 7 would work too but eh no use :/ )

Now we want to set the specifications of the monitor(s). The two critical
parameters are the vertical refresh rate, which is the rate at which the
the whole screen is refreshed, and most importantly the horizontal sync rate,
which is the rate at which scanlines are displayed.

The valid range for horizontal sync and vertical sync should be documented
in the manual of your monitor. If in doubt, check the monitor database
/usr/X11R6/lib/X11/doc/Monitors to see if your monitor is there.

Press [Enter] to continue, press 'q'&[Enter] or [Ctrl]+'c' to abort.

==============================================================================
Monitor Settings - First Monitor
==============================================================================

You must indicate the horizontal sync range of your monitor. You can either
select one of the predefined ranges below that correspond to industry-
standard monitor types, or give a specific range.

It is VERY IMPORTANT that you do not specify a monitor type with a horizontal
sync range that is beyond the capabilities of your monitor. If in doubt,
choose a conservative setting.

hsync in kHz; monitor type with characteristic modes
1. 31.5 ; up to 640x480 @ 60 Hz (VGA)
2. 31.5 - 37.9; up to 800x600 @ 60 Hz (SVGA)
3. 31.5 - 48.4; up to 1024x768 @ 60 Hz (XGA)
4. 31.5 - 60.0; up to 1024x768 @ 75 Hz (XGA)
5. 31.5 - 68.7; up to 1024x768 @ 85 Hz (XGA)
6. 31.5 - 80.5; up to 1280x1024 @ 75 Hz (SXGA)
7. 31.5 - 91.1; up to 1280x1024 @ 85 Hz (SXGA)
8. Enter your own horizontal sync range

Enter your choice (1-8): [1] 6


You must indicate the vertical sync range of your monitor. You can either
select one of the predefined ranges below or give a specific range.

1. 20 - 60 (e.g. slow scan flat panels with DVI cable)
2. 50 - 70 (VGA)
3. 60 - 75
4. 60 - 85
5. 60 - 100
6. Specify your own vertical sync range

Enter your choice: [1] 3

==============================================================================
Monitor Settings - Second Monitor
==============================================================================

You must indicate the horizontal sync range of your monitor. You can either
select one of the predefined ranges below that correspond to industry-
standard monitor types, or give a specific range.

It is VERY IMPORTANT that you do not specify a monitor type with a horizontal
sync range that is beyond the capabilities of your monitor. If in doubt,
choose a conservative setting.

hsync in kHz; monitor type with characteristic modes
1. 31.5 ; up to 640x480 @ 60 Hz (VGA)
2. 31.5 - 37.9; up to 800x600 @ 60 Hz (SVGA)
3. 31.5 - 48.4; up to 1024x768 @ 60 Hz (XGA)
4. 31.5 - 60.0; up to 1024x768 @ 75 Hz (XGA)
5. 31.5 - 68.7; up to 1024x768 @ 85 Hz (XGA)
6. 31.5 - 80.5; up to 1280x1024 @ 75 Hz (SXGA)
7. 31.5 - 91.1; up to 1280x1024 @ 85 Hz (SXGA)
8. Specify your own horizontal sync range

Enter your choice (1-8): [1] 6

You must indicate the vertical sync range of your monitor. You can either
select one of the predefined ranges below or give a specific range.

1. 20 - 60 (e.g. slow scan flat panels with DVI cable)
2. 50 - 70 (VGA)
3. 60 - 75
4. 60 - 85
5. 60 - 100
6. Specify your own vertical sync range

Enter your choice: [1] 3

==============================================================================
Display Modes
==============================================================================

The default resolution that the server will start-up with will be the first
listed mode that can be supported by the monitor and card.
Currently it is set to:

"640x480" for 24-bit

Modes that cannot be supported due to monitor or clock constraints will
be automatically skipped by the server.

1. Change the modes for 24-bit (24-bit color)
2. The modes are OK, continue.

Enter your choice: 1

Select your modes from the following list:

1 "640x480"
2 "800x600"
3 "1024x768"
4 "1152x864"
5 "1280x960"
6 "1280x1024"
7 "1400x1050"
8 "1600x1200"
9 "1792x1344"

Please list the digits and characters for the modes that you want to use.
For example, '632' selects "1280x1024" "1024x768" "800x600", with
the default mode of "1280x1024".

Which modes do you want? 76321 ( You can do it to watever you like )

The default resolution that the server will start-up with will be the first
listed mode that can be supported by the monitor and card.
Currently it is set to:

"1400x1050" "1280x1024" "1024x768" "800x600" "640x480" for 24-bit

Modes that cannot be supported due to monitor or clock constraints will
be automatically skipped by the server.

1. Change the modes for 24-bit (24-bit color)
2. The modes are OK, continue.

Enter your choice: 2

You can have a virtual screen (desktop), which is screen area that is larger
than the physical screen and which is panned by moving the mouse to the edge
of the screen. The largest resolution in the modelist is used for any of the
listed resolution with less dimensions. Each color depth can have a
differently-sized virtual screen. Virtual screens resolutions are set
for each color depth separately.


Note: This graphics adapter will always select the maximum
x and y resolution as the default virtual desktop resolution.
This complies with general X11 specifications. see "man XF86Config".

Do you want to use a virtual desktop where the dimensions are bigger
than your maximum x and y screen resolution? (y/n) [n] n

==============================================================================
Direct Rendering Interface Restrictions
==============================================================================

Please specify which restriction sheme you want to implement:

1. no restrictions - any user has access to the OpenGL ICD
2. limited to group 'users' - only group members can access the OpenGL ICD
3. limited to group 'root' - only group members can access the OpenGL ICD
4. limited to group 'video' - only group members can access the OpenGL ICD
5. limited to group 'dri' - only group members can access the OpenGL ICD

Enter the number for your default user restrictions: [1] 1

==============================================================================
Application Profiles
==============================================================================

Please select application specific profile:

1. Default
2. Individual Configuration of Capabilities
3. Maya
4. SOFTIMAGE|XSI
5. SOFTIMAGE|3D
6. Houdini 4.0
7. Houdini 5.0
8. Houdini 5.5

Enter the number for your profile: [1] 1


==============================================================================
Advanced Graphics Features Settings
==============================================================================

Do you want to initialize xfree86-dga (y/n)? [n] y

Do you want to export pseudo color visuals (y/n)? [n] n

Do you want to synchronize buffer swaps
with the vertical sync signal (y/n)? [n] y

==============================================================================
Full Scene Anti Aliasing (FSAA)
==============================================================================

Please select multi sample visuals you want to share:

1 = All (Visuals for 2,4 and 6 Samples per Pixel)
2 = Visuals for 2 Samples per Pixel
4 = Visuals for 4 Samples per Pixel
6 = Visuals for 6 Samples per Pixel

Please enter: [1] 2

Do you want to force multi sample visuals
for every OpenGL application? (y/n)? [n] n

Disable FSAA Gamma (y/n)? [n] n

Customize FSAA Multi Sample Position (y/n)? [n] n

==============================================================================
Advanced OS Settings
==============================================================================

External AGPGART module:

It is possible (but not recommended) to turn off the usage of
built-in agp support of the provided fglrx kernel module and
use the external AGP GART module (agpgart.o) of the Linux kernel.
If you want to use the external module then ensure that it loads
prior to the drivers full startup. In order to manually load the
external agpgart module execute this on the commandline (as root):
/sbin/insmod agpgart
or alternatively configure your system to auto load the module.

Do you want to use the external AGP GART module (y/n)? [n] n

AGP Locked User Pages

The graphics driver is able to read and write textures and bitmaps trough AGP
mapped and locked views of the main memory for the application's mem space.
Performing those mapping task depends on several successfull interaction steps
with the Linux kernel. A failure in this process might lead to some messages
in the kernel log. If these kernel functions are failing silently or in case
of other heavy incompatibility (e.g. a new kernel memory manger) then there
is a high chance that the system will hang as soon as the graphics adpater
wants to read from assumed but nor really mapped memory location.

If you do see that the advanced fgl_glxgears application halts your session
whilst the simple glxgears does run nicely then please disable this feature.

If you do see lots of notifications about failed kernel calls for mem locking
then please disable this feature and re-check the kernel message log.

Do you want to enable "AGP Locked User Pages" (y/n)? [y] n


TLS Method: *** this only applies to the FireGL workstation boards ***

The graphics driver supports two different methods of thread local storage.
The first method is fast but might immediately abort when used with
WineX, VM emulators or some other advanced programming tools.
The second method is up to 10% slower in a few rendering cases
but does cope nicely with any sort of exotic software.

For more details on this topic, please see the readme.

If not totally sure about your needs, then please select "0 - default".

0 - default (FireGL workstation boards: fast)
1 - fast operation only for standard gnu C/C++ OpenGL applications)
2 - compatible operation (for WineX, VM emulators and some profilers)

Which storage method do you want to use? [0] 0

==============================================================================
Finish
==============================================================================

I am going to write the XF86Config-4 file now. Make sure you don't accidently
overwrite a previously configured one.

Do you want it written to the current directory as 'XF86Config-4'? (y/n) y

---------------------------------

Thats all of it well except for the gay spaces between evrything :P
Now type "sudo mv XF86Config-4 /etc/X11" or su then "mv XF86Config-4 /etc/X11"

Ok now restart X , if you don't know how then :
1. Press Ctrl + Alt+ F1 and then login ...
2. Type "sudo killall gdm" or su then "killall gdm"
3. Type "sudo gdm" or su then "gdm"

Now gnome display manager should start, if it doesnt start then you mustve touched your XF86Config-4 after moving it. Didnt you huh??

Ok now we now that you have fglrx configured and working!
Now if you want log in or you can do this from terminal, it doesnt matter... Open XF86Config-4 in nano if your in terminal or in gedit or w/e you like... Make sure youre root!! Now find this line:
Option "MonitorLayout" "AUTO, STV"

It might be AUTO, AUTO or soemthign else but just find it then change the "AUTO, AUTO" or w/e to "NONE, AUTO" , OK...
Now plug in the S-Video out cable and restart X server and look at the magic on your TV!!!!!!!
Now if you log in and then you start moving your mouse and the screen starts moving, thats becaus the resolution. To change it on your laptop or pc or w/e press CTRL + ALT + F1 and login if necesary and then edit /etc/X11/XF86Config-4 with nano , again mak sure you type sudo or su. And go down until this:
--------------------
Section "Screen"
Identifier "Screen0"
Device "ATI Graphics Adapter"
Monitor "Monitor0"
DefaultDepth 24
#Option "backingstore"

Subsection "Display"
Depth 24
Modes "1400x1050" "1024x768" "800x600" "640x480"
ViewPort 0 0 # initial origin if mode is smaller than desktop
# Virtual 1280 1024
EndSubsection
EndSection
-----------------

And change the Modes to what your TV can take, mine can take 1024x768 so i would do this:
Modes "1024x768" "800x600" "640x480"

But some screens take 800x600 so you would take out 1024x768 and some can only take 640x480 so ... gah you get my point :/
Then press ctrl + o then enter to save it and exit with ctrl + z. Now restart X and look at the magic on your TV!!!!

Thats it :P Have Fun!!

Last edited by PEACEYALL; 08-16-2005 at 01:39 PM.
 
Old 08-17-2005, 09:58 PM   #2
PEACEYALL
Member
 
Registered: Jan 2005
Posts: 41

Original Poster
Rep: Reputation: 15
And one more thing, when u do the NONE, AUTO and restart your xserver and it still doesnt work. Sometimes it helps to restart your laptop/pc wih the video out cable plugged in
 
Old 05-18-2006, 12:16 AM   #3
Mrpeepers310
LQ Newbie
 
Registered: May 2005
Distribution: Suse 10.1
Posts: 23

Rep: Reputation: 15
Can i see your xorg.conf file on how you got the tv out to work cause if i use the fglrxconfig command then i loose the 3d capabillity. Im using suse 10.0 so i did the readme and did the sax command to get the 3d working. so please post your xorg.conf file that would truely help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ATI TV Card - Howto make it work? Micah Linux - Hardware 1 06-17-2005 08:53 AM
How do I make a change to a current kernel? Would 'make oldconfig' work... jtp51 Slackware 11 11-02-2004 12:02 AM
A wierd problem( Howto make programms work under normal user) k0ljat Linux - Software 2 09-01-2004 01:11 AM
howto make work cgi moonloader Slackware 1 08-19-2004 02:04 PM
trying to make my ATI 9600XT Work in MDK9.2 apu95 Mandriva 4 04-21-2004 10:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration