Xorg (xorg.conf)

xorg.conf para placa ATI com driver livre

Categoria: Hardware

Software: Xorg

[ Hits: 6.349 ]

Por: Alberto Federman Neto.


Geralmente o driver livre para placas de vídeo ATI (em Sabayon/Gentoo, se chama xf86-video-ati) não necessita de arquivo /etc/X11/xorg.conf.

Porém, caso você necessite ou quiser testar, pode usar ou modificar este, que encontrei na rede (para esse driver livre, são relativamente raros, por isso o estou publicando).

Dependências: necessita pacotes mesa e drm, atualizados (senão não funciona).

Informo que o procedimento e arquivo não são meus. São de autoria de Exershio, reportados no site Phoronix:

http://phoronix.com/forums/showthread.php?16969-Radeon-9550-xf86-video-ati-Crash


# Arquivo /etc/X11/xorg.conf para placas de vídeo ATI, com driver Livre xf86-video-ati.
# Autoria de: Exershio (2009), Site Phoronix:
# http : //phoronix.com/forums/showthread.php?16969-Radeon-9550-xf86-video-ati-Crash
# modificado por Albfneto, Brasil (2015).

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "ServerFlags"
    Option  "DontZap"   "False"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

# Em versões de XORG novas, sessão não necessária. Módulos controlados no diretório /etc/X11/xorg.conf.d
# Descomente se for usar ou testar:

#Section "Module"
    #Load  "dri2"
    #Load  "record"
    #Load  "extmod"
    #Load  "dbe"
    #Load  "glx"
    #Load  "dri"
#EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option      "Device" "/dev/input/mice"
    Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Synaps"
    ModelName    "LCD Monitor"
    HorizSync    30.0 - 130.0
    VertRefresh  50.0 - 100.0
    Option      "DPMS"  "True"
EndSection

Section "Device"
        Option     "AGPMode"    "4"
        Option     "ColorTiling"    "True"
    Identifier  "Card0"
    Driver      "radeon"
    VendorName  "ATI Technologies Inc"
# Substitua por sua placa, marca e modelo
    BoardName   "RV350 AS [Radeon 9550]"
# Substitua pelo BusID da sua placa, veja com o comando "sudo lspci | grep -i vga"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes "1280x1024" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

# Observação, Altere no arquivo adequado, depois remova:

# Em certos sistemas, pode ser necessário deixar as linhas do arquivo /etc/X11/xorg.conf.d/20opengl.conf, assim,
# Carregando as Bibliotecas de 64 Bits antes.
#Section "Files"
    #ModulePath "/usr/lib64/xorg/modules"
    #ModulePath "/usr/lib64/opengl/ati"
    #ModulePath "/usr/lib32/xorg/modules"
#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