Ati dapper

De Guia Ubuntu PT


É este guia que tenho usado. se houver problemas mandem um mail ou falem comigo (iGama)

Tabela de conteúdo

Instalar

NOTA: O driver fglrx não suporta : FireGL 8800/9200, Radeon 8500/9000/9100/9200/9250, and Mobility Radeon 9000/9200.

Suporta Radeon 9500 até a Serie X X1900.

Se tens uma placa inferior vê #Placas abaixo da radeon 9500 ( Placas R200 ).


Método 1 : Instalar o Driver (8.25.18)

Vejam se têm o repositorio restricted activado no /etc/apt/sources.list ou isto não ira funcionar. Vejam como adicionar repositorios no Guia do Dapper

sudo apt-get update
sudo apt-get install linux-restricted-modules-$(uname -r)
sudo apt-get install xorg-driver-fglrx
sudo aticonfig --initial
sudo aticonfig --overlay-type=Xv

Uma alternativa ao comando aticonfig --initial é editar o /etc/X11/xorg.conf e substituir a string "ati" por "fglrx" na secção "Device". Desta forma não perdes as tuas configurações antigas do "Screen" e "Monitor"

Depois podes usar o aticonfig para definir o overlay etc.

Reiniciar

Confirmar que funciona

$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9700 Generic
OpenGL version string: 2.0.5695 (8.23.7)[/code]

Problemas Método 1

  • Pode ser necessario criar um symlink para ter acelaraçao OpenGL:
 sudo ln -s /usr/lib/dri /usr/lib/xorg/modules/dri
  • Podes forçar o aranque do modulo fglrx ao adiciona-lo a /etc/modules
  • Para ter a certesa que tens automaticamente a versão actual do linux-restricted-modules com os updates do kernel, deves instalar o pacote linux-restricted-modules-??? referente ao teu tipo de kernel (sem o numero da versão), ex. linux-restricted-modules-386, linux-restricted-modules-686 ou linux-restricted-modules-k7.
  • Pode ser preciso adicionar ao xorg.conf na secão "Device" : ( se depois de instalar ouvir som, mas nada de imagem )

Option "MonitorLayout" "LVDS,TMDS"


Método 2: Criar e Instalar pacotes Drivers 8.28.8 para o Ubuntu Dapper Manualmente

Important Change: Installation of this driver no longer requires removing the linux-restricted-modules package in order to work. There is a new blacklist feature in Ubuntu Dapper that you can use to go around this.

Blacklist old fglrx module from linux-restricted-modules

As ubuntu's linux-restricted-modules package includes the fglrx module from an old driver version (8.25.18), we have to blacklist this module to make sure the new kernel module which is needed by the new driver will be used instead.

sudo gedit /etc/default/linux-restricted-modules-common

Altera o DISABLED_MODULES para incluir o fglrx

DISABLED_MODULES="fglrx"

Instalar o Novo Driver

Download the ATI driver installer: ati-driver-installer-8.28.8.run (this installer is for 32bit and 64bit systems)

This guide refers to the 32bit version of the driver. The installation procedure for 64bit should be the same as for 32bit, except the filenames of the created .deb packages will differ slightly and you have to install the ia32-libs package which can be done with apt-get or synaptic.

Change to the download directory. Make sure that you have the universe and multiverse repositories enabled in /etc/apt/sources.list before doing these steps.

Instalar pacores necessários:

sudo apt-get update
sudo apt-get install module-assistant build-essential 
sudo apt-get install fakeroot dh-make debconf libstdc++5 linux-headers-$(uname -r)

Create .deb packages:

bash ati-driver-installer-8.28.8.run --buildpkg Ubuntu/dapper

Instalar pacotes .deb:

Arquitetura 34 bits

sudo dpkg -i xorg-driver-fglrx_8.28.8-1_i386.deb
sudo dpkg -i fglrx-kernel-source_8.28.8-1_i386.deb
sudo dpkg -i fglrx-control_8.28.8-1_i386.deb

Arquitetura 64 bits

sudo dpkg -i xorg-driver-fglrx_8.28.8-1_amd64.deb
sudo dpkg -i xorg-driver-fglrx-dev_8.28.8-1_amd64.deb
sudo dpkg -i fglrx-kernel-source_8.28.8-1_amd64.deb
sudo dpkg -i fglrx-sources_8.28.8-1_amd64.deb
sudo dpkg -i fglrx-control_8.28.8-1_amd64.deb

Remove any old fglrx debs from /usr/src/:

sudo rm /usr/src/fglrx-kernel*.deb

Compile the kernel module:

sudo module-assistant prepare
sudo module-assistant update
sudo module-assistant build fglrx
sudo module-assistant install fglrx
sudo depmod -a

Note: You have to recompile the kernel module after each kernel update!

Update the xorg.conf file:

sudo aticonfig --initial
sudo aticonfig --overlay-type=Xv

Reboot:

sudo shutdown -r now

Confirm that it worked

$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9700 Generic
OpenGL version string: 2.0.6011 (8.28.8)


Placas abaixo da radeon 9500 ( Placas R200 )

Se tens uma placa abaixo da 9500 (9200 por exemplo), depois de seguir os passos anteriores, deve instalar as drivers antigas ou usar as OpenSource 'ATI' que vêm de base configuradas no Ubuntu.

Para tal, faça o download de http://www.guiaubuntupt.org/files/libGL.so.1.2 para a sua pasta pessoal.

wget http://www.guiaubuntupt.org/files/libGL.so.1.2

E substitua as drivers recentes pelas antigas.

sudo cp libGL.so.1.2 /usr/lib/libGL.so.1.2

Se tudo correr bem, ao fazer fglrxinfo, deve aparecer o seguinte por exemplo:

k@carai:~$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9250/9200 Series DDR Generic
OpenGL version string: 1.3.1072 (X4.3.0-8.25.18)

Problemas Gerais

Desktop CD não Arranca

Este problema acontece a quem tem uma gráfica da serie X, pois os drivers no CD não suportam essas gráficas. Aqui vai uma forma de dar a volta.

  • Fazer Download do Alternate CD - Este cd faz a instalação em modo Texto, logo não precisa dos drivers para a gráfica durante a instalação.
  • Depois de instalar, Reiniciar e entrar em Modo Segurança.
  • Fazer download da sources.list completa:
wget http://www.guiaubuntupt.org/files/sources.list_pt

Mover e Actualizar lista de pacotes disponiveis:

sudo mv sources.list_pt /etc/apt/sources.list
sudo apt-get update


2D speed

Se ficaste com uma velocidade 2D lenta pode ajudar se definires:

Option		"XaaNoOffscreenPixmaps"

na secção fglrx no /etc/X11/xorg.conf


HP Notebook dv5029us / zv6000

Se tens um HP Notebook Computer (ou Compaq) como o HP dv5029us ou serie zv6000, é necessário modificar a configuração da BIOS. Parece que por alguma razão usar a memória da placa ( só a memória presente na placa ) leva a um aparente crash do sistema, apesar disso, os logs mostram uma inicialização com sucesso do DRI. É necessário correr o ecra de configuração da BIOS, vai as opções de memória e selecciona UMA+Sideport memory e atribui um valor a ele ( Por exemplo adicionar um extra 128MBs da ram do sistema). Reinicia o computador e o driver fglrx vai funcionar. Versão FGLRX é 8.24.8 numa instalação i386 Ubuntu Dapper.

  • Os Drivers Ubuntu FGLRX 8.25.18, não funcionam correctamente no dv5029us (Radeon Xpress 200M) quando este guia foi escrito (5/30/2006). É necessário reverter para o 8.24.8 para este computador específico para poder ter uma acelaração 3D adquada.
  • o ATI Driver 8.26.18, does not work with the Radeon Express 200M. Some HP/Compaq laptops only have working 3D support with ONLY UMA video memory( Sideport+UMA won't work ). This is due to a 1 year old flaw in the ATI driver. If you want to use your onboard/Sideport memory, you can only get 2D support by adding [ Option "no_dri" "yes"] to the fglrx driver section of /etc/X11/xorg.conf


HP zt3000 / Compaq nx7000

Começando com o driver ATI 8.19, os drivers falham na detecção correcta de linhas modelo que são compativeis com o ecrã LCD do HP zt3000 (e equivalente Compaq nx7000 model), e devem ser inseridas no xorg.conf manualmente.

Para o ecrã LCD 1680x1050, inserir as seguintes linhas modelo na secção "Monitor" funciona:

      Modeline "640x350"  119.12  640 1728 1760 1840  350 1052 1058 1080
      Modeline "640x400"  119.12  640 1728 1760 1840  400 1052 1058 1080
      Modeline "720x400"  119.12  720 1728 1760 1840  400 1052 1058 1080
      Modeline "640x480"  119.12  640 1728 1760 1840  480 1052 1058 1080
      Modeline "800x600"  119.12  800 1728 1760 1840  600 1052 1058 1080
      Modeline "1024x768"  119.12  1024 1728 1760 1840  768 1052 1058 1080
      Modeline "1152x864"  119.12  1152 1728 1760 1840  864 1052 1058 1080
      Modeline "1280x960"  119.12  1280 1728 1760 1840  960 1052 1058 1080
      Modeline "1280x1024"  119.12  1280 1728 1760 1840  1024 1052 1058 1080
      Modeline "832x624"  119.12  832 1728 1760 1840  624 1052 1058 1080
      Modeline "1280x768"  119.12  1280 1728 1760 1840  768 1052 1058 1080
      Modeline "1280x800"  119.12  1280 1728 1760 1840  800 1052 1058 1080
      Modeline "1152x768"  119.12  1152 1728 1760 1840  768 1052 1058 1080
      Modeline "1400x1050"  119.12  1400 1728 1760 1840  1050 1052 1058 1080
      Modeline "1440x900"  119.12  1440 1728 1760 1840  900 1052 1058 1080
      Modeline "1600x1024"  119.12  1600 1728 1760 1840  1024 1052 1058 1080
      Modeline "1680x1050"  119.12  1680 1728 1760 1840  1050 1052 1058 1080

Se tens a versão "1920x1200" do HP zt3000 a linha modelo é:

      Modeline "1920x1200" 150.75 1920 2016 2048 2185  1200 1202 1208 1235

Se tens um Compaq nx7010 com o ecrã 1280x800, então usa as seguintes modelines que devem funcionar:

      Modeline "1280x800" 70.875 1280 1320 1352 1456 800 801 804 820 +hsync +vsync
      

Foram obtidas usando o programa PowerStrip em Windows.

Usando o Compax NX7010 Radeon (R250Lf Mobility M9) com ecrã 1650x1050, o PowerStrop devolve os seguintes parametros, usa a seguinte modeline:

      ModeLine "1650x1050" 121.500 1680 1712 1800 1872 1050 1051 1054 1065 +Hsync +Vsync

No Compaq NX7010, copia o 8.24.8 libGL.so.1.2 como no mencionado no [# Placas abaixo da radeon 9500 ( Placas R200 )]

Reverter o driver Xorg

Se por alguma razão a instalação do fglrx falhar, podes sempre referter para o driver xord ao executar:

sudo dpkg-reconfigure xserver-xorg

e seleccionar o driver "ati", ou simplesmente restaurar a versão anterior do /etc/X11/xorg.conf ( se fizeste um backup ).


You also need to remove the xorg-driver-fglrx or your manually installed drivers to get the 3D acceleration back, since it is provided by file /usr/lib/libGL.so.1.2 which belongs to libgl1-mesa package and which is moved to backup and replaced at the installation of xorg-driver-fglrx (or the manually built) package. In case the removal of the fglrx drivers fails to restore the file from libgl1-mesa, you have to reinstall the package by running:

sudo apt-get install --reinstall libgl1-mesa
Ferramentas pessoais