X (xorg.conf)

Xorg.conf com TV-OUT Nvidia

Categoria: X11

Software: X

[ Hits: 7.981 ]

Por: Renan Birck Pinheiro


Configuração do X para:
- Placa de vídeo NVidia
- TV-OUT
- Monitor LCD (eles têm uma faixa de refresh rates suportada, que geralmente é bem rigorosa).

Testado no Ubuntu 5.04 e no Slackware 10.1.
Certifique-se que você instalou os drivers da NVidia antes!


# Não mexa aqui a menos que saiba o que está fazendo.
Section "ServerLayout"
        Identifier "normal" 
   Screen      0  "Screen 1" 0 0
   InputDevice    "Mouse1" "CorePointer"
   InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

# Fontes.
# Não mexa aqui a menos que saiba o que está fazendo.
Section "Files"

 
        FontPath   "/home/renan/.fonts" # Aqui, mude o '/home/renan/' pelo seu home (/home/usuário).
   RgbPath      "/usr/X11R6/lib/X11/rgb"
   ModulePath   "/usr/X11R6/lib/modules"
   FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
   FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
   FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
   FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
   FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
   FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
   FontPath     "/usr/X11R6/lib/X11/fonts/local/"
   FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
   FontPath     "/usr/X11R6/lib/X11/fonts/TrueType/"
   FontPath     "/usr/X11R6/lib/X11/fonts/freefont/"
 
EndSection

# Módulos. Não é necessário mexer aqui.
Section "Module"
    Load        "bitmap"
    Load        "freetype"
    Load        "xtt"
   Load  "dbe"     # Extensão de buffer duplo
   SubSection "extmod"
      Option       "omit xfree86-dga"   # Não inicializa o DGA
   EndSubSection
   Load  "type1"
   Load  "glx" # OpenGL
   Load  "dri"
EndSection

# Teclado ABNT2.
Section "InputDevice"
   Identifier  "Keyboard1"
   Driver      "kbd"
   Option       "AutoRepeat" "500 30"
   Option       "XkbRules" "xorg"
   Option       "XkbModel" "abnt2"
   Option       "XkbLayout" "br"
EndSection

# Mouse PS/2.

Section "InputDevice"

   Identifier  "Mouse1"
   Driver      "mouse"
   Option       "Protocol" "auto"
   Option       "Device" "/dev/psaux"
   Option       "ZAxisMapping" "4 5"
EndSection

# Configuração do monitor, com modeline específica
# ativando HSync e VSync para melhor nitidez da imagem.
Section "Monitor"

   Identifier   "AOC LM520"
#   HorizSync    31.5 - 60.0
   ModeLine     "1024x768 75Hz" 78.8 1024 1040 1136 1312 768 769 772 800 +hsync +vsync
EndSection

# Placa de vídeo "dummy" para deixar o X satisfeito.
Section "Device"

   Identifier  "Standard VGA"
   Driver      "vga"
   VendorName  "Unknown"
   BoardName   "Unknown"
EndSection

# Placa de vídeo real.
Section "Device"

   Identifier  "GF5200"
   Driver      "nvidia"
   Option       "NoLogo" "true"
        VideoRam    131072
        Option  "TwinView"      "TRUE"  # [<bool>]
        Option  "TVStandard"    "PAL-M" # Se sua TV é NTSC, troque aqui. A maioria das TV's fabricadas no Brasil são PAL-M, mas alguns videocassetes são NTSC.
        Option  "TwinViewOrientation"   "CLONE"
        Option  "MetaModes"     "1024x768, 1024x768; 800x600, 800x600; 640x480, 640x480;"

        Option  "SecondMonitorVertRefresh"      "60"
        Option  "SecondMonitorHorizSync"        "30-50"
        Option  "TVOverScan"    "0.7"
        Option  "NvAGP" "1"

EndSection

Section "Screen"
   Identifier "Screen 1"
   Device     "GF5200"
   Monitor    "AOC LM520"
   DefaultDepth     24
   SubSection "Display"
      Viewport   0 0
      Depth     8
      Modes    "1024x768" "800x600" "640x480" "320x240"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     16
      Modes    "1024x768" "800x600" "640x480" "320x240"
   EndSubSection
   SubSection "Display"
      Viewport   0 0
      Depth     24
      Modes    "1024x768" "800x600" "640x480" "320x240" 
   EndSubSection
EndSection

  


Comentários

Nenhum coment�rio foi encontrado.


Contribuir com comentário

  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts