[mythtv-users] Xorg: TV Screen Resolution?

Shawn Haworth shawnuth at gmail.com
Sun May 6 17:49:58 UTC 2007


On 5/6/07, Denis Papathanasiou <denis.papathanasiou at gmail.com> wrote:
>
> > You'll want to setup your device and screen sections similar to this:
> >
> > Section "Device"
> >  Identifier "RADEON-TVOut"
> >  Driver "radeon"
> >  Option "AGPMode" "4"
> >
> >  Option "AGPFastWrite" "yes"
> >  Option "TVOutput" "NTSC"
> >  Option "IgnoreEDID" "true"
> >  Option "MonitorLayout" "NONE, CRT" #here it is!
> >
> >  EndSection
> >
> >  Section "Monitor"
> >  Identifier "TV Monitor"
> >  HorizSync 30.0 - 40.0
> >  VertRefresh 60
> >  Modeline "800x600" 40.00 800 840 968 1056 600 601 605 628
> >
> >  EndSection
> >
> >  Section "Screen"
> >  Identifier "TV Screen"
> >  Device "RADEON-TVOut"
> >  Monitor "TV Monitor"
> >  DefaultDepth 16
> >
> >  SubSection "Display"
> >  Depth 16
> >  Modes "800x600"
> >  EndSubSection
> >  EndSection
>
> Shawn, thanks for the quick reply and example xorg.conf entries.
>
>
>
> Other than trying random values in horizontal and vertical, what else can
> I try?
>
> Is there a way to capture the settings from initial boot (when the TV
> output is clear) and apply them to my xorg file?


Denis,

Going back in  the myth-users archives I found a post from me a while ago
where I posted my entire xorg.conf.  This was my configuration using a
regular CRT Tube RCA television with an Nvidia card.  Of course you'll have
to modify the driver options to suit your ATI card:

Section "Module"
    Load        "dbe"  	

    SubSection  "extmod"
    EndSubSection

    Load        "type1"
    Load        "freetype"
    Load        "glx"
EndSection

Section "Files"
    RgbPath	"/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/X11R6/lib/X11/fonts/local/"
    FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath   "/usr/X11R6/lib/X11/fonts/cyrillic/"
EndSection

Section "ServerFlags"


EndSection

Section "Extensions"
#Option "Composite" "Enable"
EndSection

Section "InputDevice"
    Identifier	"Keyboard"
    Driver	"kbd"
EndSection

Section "InputDevice"
    Identifier	"Mouse"
    Driver	"mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/mouse"
    Option "ZAxisMapping" "4 5"
    Option "Resolution" "1600"
EndSection

Section "Monitor"
    Identifier "RCA"
    HorizSync 30-50
    VertRefresh 60
EndSection

Section "Monitor"
    Identifier  "Acer"
    HorizSync   22-82
    VertRefresh 56-76
EndSection

Section "Device"
    Identifier  "NVidia 5500"
    Driver      "nvidia"
    Option      "NoLogo" "1"
    Option      "RenderAccel" "1"
    Option      "HWCursor" "1"
    Option      "CursorShadow" "1"
    Option      "AllowGLXWithComposite" "1"
EndSection


# TV Screen Setup
Section "Screen"
    Identifier  "TV"
    Device      "NVidia 5500"
    Monitor     "RCA"
    Option      "ConnectedMonitor" "TV"
    Option      "TVStandard"       "NTSC-M"
    Option      "TVOutFormat"      "SVIDEO"
    Option      "TVOverScan"       "1.0"
    DefaultDepth 24
    Subsection "Display"
	Depth 24
	Modes "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

Section "Screen"
    Identifier  "LCD"
    Device      "NVidia 5500"
    Monitor     "Acer"
    DefaultDepth 24
#   DefaultDepth 32
    Subsection "Display"
        Depth       24
        Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "LCD"
    InputDevice "Mouse" "CorePointer"
    InputDevice "Keyboard" "CoreKeyboard"
EndSection

Taken from: http://www.mythtv.org/pipermail/mythtv-users/2006-March/127849.html

There might be a slight difference in the way that I ran my distro, I
didn't use a login manager such as GDM or KDM when booting into X.

Most of the time when I needed to switch over to the TV-Output I would
change the "Screen" directive under "ServerLayout" to "TV"
instead of "LCD" and restart the X Server.

Hope this helps.

-Shawn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070506/22bf553f/attachment.htm 


More information about the mythtv-users mailing list