sexta-feira, dezembro 23, 2005

Instalar driver ati no debian

Tive muitas dificuldades para instalar o driver da ati, mas aqui vai um resumo

Configure um dos repositórios abaixo no seu  /etc/apt/sources.list

You can download these packages with apt by adding one of the following lines to your /etc/apt/sources.list file:

deb     http://xoomer.virgilio.it/flavio.stanchina/debian-fglrx-modules/ /
deb http://stanchina.sesse.net/debian-fglrx-modules/ / #thanks to Steinar
configure também o testing e o unstable para contrib e non-free

Altere o seu arquivo de configuração do X (serve para xorg.conf também)

Configure X

The driver package provides an automatic configuration tool called fglrxconfig. Just don't use it, OK? fglrxconfig is useful if you want a dual-head setup, but before you try that please make sure that a single-head setup works by editing your X server configuration file as outlined below. Also note that fglrxconfig will overwrite your existing X server configuration file!

Edit your /etc/X11/XF86Config-4:

Section "Module"
...
# These modules are required for 3D acceleration
Load "GLcore"
Load "glx"
Load "dri"
...
# Load "extmod" but omit DGA extension
# (the DGA extension is broken in the fglrx driver)
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
...
EndSection

Section "Device"
Identifier "ATI"
Driver "fglrx" # this is the important bit

# If X refuses to use the screen resolution you asked for,
# uncomment this; see "Bugs and Workarounds" for details.
#Option "NoDDC"

# === Video Overlay for the Xv extension ===
Option "VideoOverlay" "on"
# === OpenGL Overlay ===
# Note: When OpenGL Overlay is enabled, Video Overlay
# will be disabled automatically
Option "OpenGLOverlay" "off"
# === Use internal AGP GART support? ===
# If OpenGL acceleration doesn't work, try using "yes" here
# and disable the kernel agpgart driver.
Option "UseInternalAGPGART" "no"
EndSection

Section "Screen"
Identifier "your screen"
Device "ATI"
Monitor "your monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1280x960" # this is only an example,
# use your preferred resolution here
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection

Altere o /etc/fstab adicionando essa linha antes do /dev/proc

/dev/shm /dev/shm tmpfs defaults 0 0
--
=========================
Alexandre Miguel de Andrade Souza
Visite meu blog http://alexandremas.blogspot.com/
Sobre php, linux e afins

Nenhum comentário: