LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   TV Output Configuration for Xorg (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/tv-output-configuration-for-xorg-513911/)

lebabyg 12-26-2006 08:07 PM

TV Output Configuration for Xorg
 
Hey Guys

I have a Radeon Xpress 200m video card, unfortunately, ATI are rubbish and the graphics card is impossible to configure from a GUI. I need to get TV output working. Here is the TV section of my xorg.conf file
Option "NoTV" "yes"
Option "TVStandard" "NTSC-M"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "0"
Option "TVVPosAdj" "0"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x06419064"
Option "GammaCorrectionII" "0x06419064"
I live in the UK, so what do i need to change the NTSC-M to, to stop the picture being black and white??
Cheers
Graham

runnerfrog 12-26-2006 10:06 PM

What about this?: Option "NoTV" "yes"; I'd change that to "no". I don't know the UK TV Standards for VHF or UHF, just guessing: is it PAL (I)?.
Quote:

ATI are rubbish
Was that really necessary?

lebabyg 12-27-2006 11:02 AM

I'll have a go at that then, just wondering if anybody knows the what the TV string is for the UK?? ATI are pretty rubbish when it comes to supporting linux. Yes they release proprietary 3D drivers, but i couldn't even install these on Fedora, and on Mandriva it takes me a good hour to resolve all dependencies and update the driver. The firegl control panel (admittedly a GUI) is laughable, and the supported modes (admittedly for my card) are a pale imitation of what is available under windows. I admit this is only my experience, but when my old laptop died, i was quite happy that the insurance company sent me a laptop with an ATI and not SIS (as previous) graphics chip. How wrong i was.... Thomas Winischofers opensource driver for SIS chips that he wrote without SIS help is vastly superior to the ATI proprietary drivers. Of course i thank ATI for their linux support, but compared to windows, it is as i said, RUBBISH.

sadiqdm 12-27-2006 11:19 PM

I can confirm that the standard for the UK is 625/50 PAL(I), so the XOrg config line will probably be:
Code:

Option "TVStandard" "PAL-I"
I haven't tried this, but it's on my to-do list. Let us know how you progress.

lebabyg 12-28-2006 04:35 AM

Cheers sadiqdm, i'll have a go tonight n let you know.

Edit: Sorted it 100%.
here is the output from my xorg.conf
Quote:

Section "ServerLayout"
Identifier "layout1"
Screen "screen1" 0 0
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "SynapticsMouse1" "AlwaysCore"
InputDevice "Mouse1" "CorePointer"
Option "SuspendTime" "0"
Option "OffTime" "0"
Option "StandbyTime" "0"
Option "BlankTime" "0"
EndSection

Section "Files"

# font server independent of the X server to render fonts.
# minimal fonts to allow X to run without xfs
FontPath "unix/:-1"
FontPath "/usr/share/fonts/misc:unscaled"
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
Load "dri" # direct rendering
EndSection

Section "ServerFlags"

#DontZap # disable <Crtl><Alt><BS> (server abort)
# allows the server to start up even if the mouse does not work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
Option "allowmouseopenfail"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
EndSection

Section "InputDevice"
Identifier "SynapticsMouse1"
Driver "synaptics"
Option "SHMConfig" "on"
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbModel" "hp2501"
Option "XkbLayout" "gb"
Option "XkbOptions" "compose:rwin"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "CMC-1707B"
HorizSync 30.0 - 69.0
VertRefresh 50.0 - 120.0
ModeLine "768x576" 50.0 768 832 846 1000 576 590 595 630
ModeLine "768x576" 63.1 768 800 960 1024 576 578 590 616
EndSection

Section "Monitor"
Identifier "monitor2"
VendorName "ATI Proprietary Driver"
ModelName "Generic Autodetecting Monitor"
EndSection

Section "Device"

# === Screen Management ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
Identifier "device1"
Driver "fglrx"
BoardName "ATI Radeon (fglrx)"
Option "DPMS"
# === disable PnP Monitor ===
#Option "NoDDC"
# === disable/enable XAA/DRI ===
Option "no_accel" "no"
Option "no_dri" "no"
# === FireGL DDX driver module specific settings ===
Option "DesktopSetup" "clone"
Option "MonitorLayout" "AUTO, AUTO"
Option "IgnoreEDID" "off"
Option "HSync2" "unspecified"
Option "VRefresh2" "unspecified"
Option "ScreenOverlap" "0"
# === TV-out Management ===
Option "NoTV" "yes"
Option "TVStandard" "PAL-B"
Option "TVHSizeAdj" "0"
Option "TVVSizeAdj" "0"
Option "TVHPosAdj" "-10"
Option "TVVPosAdj" "+10"
Option "TVHStartAdj" "0"
Option "TVColorAdj" "0"
Option "GammaCorrectionI" "0x06419064"
Option "GammaCorrectionII" "0x06419064"
# === OpenGL specific profiles/settings ===
Option "Capabilities" "0x20008000"
# === Video Overlay for the Xv extension ===
Option "VideoOverlay" "on"
# === OpenGL Overlay ===
Option "OpenGLOverlay" "off"
Option "CenterMode" "off"
# === QBS Support ===
Option "Stereo" "off"
Option "StereoSyncEnable" "1"
# === Misc Options ===
Option "UseFastTLS" "0"
Option "BlockSignalsOnLock" "on"
Option "UseInternalAGPGART" "no"
Option "ForceGenericCPU" "no"
# === FSAA ===
Option "FSAAScale" "1"
Option "FSAADisableGamma" "no"
Option "FSAACustomizeMSPos" "no"
Option "FSAAMSPosX0" "0.000000"
Option "FSAAMSPosY0" "0.000000"
Option "FSAAMSPosX1" "0.000000"
Option "FSAAMSPosY1" "0.000000"
Option "FSAAMSPosX2" "0.000000"
Option "FSAAMSPosY2" "0.000000"
Option "FSAAMSPosX3" "0.000000"
Option "FSAAMSPosY3" "0.000000"
Option "FSAAMSPosX4" "0.000000"
Option "FSAAMSPosY4" "0.000000"
Option "FSAAMSPosX5" "0.000000"
Option "FSAAMSPosY5" "0.000000"
Option "TVFormat" "PAL-B"
Option "OverlayOnCRTC2" "1"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultDepth 24
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubSection
EndSection
This gives me a clone mode configuration with videooverlay on the TV and not on the laptop (don't think that it is possible to have it on TV and Laptop as mirror mode doesn't work for my card)
As i have an ATI card i basically used the aticonfig command to set this up (eg aticonfig --overlay-on=1 puts the video on the TV and not on the laptop). The answer to my initial question though is the TV setting for the UK is PAL-B. Hope this helps Sadiq.

Edit: videooverlay works on both TV and Laptop when i run the screen in with drak3d (fglrx) active.

sadiqdm 12-29-2006 03:47 AM

Good to hear you got it working.

Just for the record, the UK standard is PAL-I, but the difference with PAL-B is in the transmitter channel spacing, and the offset between sound & vision carrier frequency. Since this setting in XOrg only effects the video you will get the correct scan frequencies.

lebabyg 12-29-2006 09:29 AM

Well well you learn a new thing everyday. Cheers for your help.


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