LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 12-26-2006, 08:07 PM   #1
lebabyg
Member
 
Registered: Mar 2006
Location: UK
Distribution: Ubuntu Feisty
Posts: 272

Rep: Reputation: 30
Exclamation 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
 
Old 12-26-2006, 10:06 PM   #2
runnerfrog
Member
 
Registered: Jul 2006
Location: Paraná, Argentina
Distribution: Frugalware 0.6 (Terminus) - Kubuntu 7.04 (Feisty Fawn Herd 5)
Posts: 217

Rep: Reputation: 31
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?
 
Old 12-27-2006, 11:02 AM   #3
lebabyg
Member
 
Registered: Mar 2006
Location: UK
Distribution: Ubuntu Feisty
Posts: 272

Original Poster
Rep: Reputation: 30
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.
 
Old 12-27-2006, 11:19 PM   #4
sadiqdm
Member
 
Registered: Nov 2003
Location: London, UK
Distribution: openSUSE, Ubuntu
Posts: 358

Rep: Reputation: 35
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.
 
Old 12-28-2006, 04:35 AM   #5
lebabyg
Member
 
Registered: Mar 2006
Location: UK
Distribution: Ubuntu Feisty
Posts: 272

Original Poster
Rep: Reputation: 30
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.

Last edited by lebabyg; 12-28-2006 at 11:18 AM.
 
Old 12-29-2006, 03:47 AM   #6
sadiqdm
Member
 
Registered: Nov 2003
Location: London, UK
Distribution: openSUSE, Ubuntu
Posts: 358

Rep: Reputation: 35
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.
 
Old 12-29-2006, 09:29 AM   #7
lebabyg
Member
 
Registered: Mar 2006
Location: UK
Distribution: Ubuntu Feisty
Posts: 272

Original Poster
Rep: Reputation: 30
Well well you learn a new thing everyday. Cheers for your help.
 
  


Reply



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
no tv output on ibook g4 xorg 7.1.1 changcheh Linux - Laptop and Netbook 0 11-16-2006 07:14 PM
xorg.conf help for PVR-350 video/audio output. james penguin Fedora 4 02-13-2006 01:13 AM
Output to TV-quality very poor-Need Xorg help. bob151 Linux - Software 5 07-05-2005 01:06 PM
Xorg configuration problem Coag Linux - Software 3 06-15-2005 11:02 PM
Xorg configuration NovaBurst Linux - Software 6 12-23-2004 12:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 10:31 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