Monday, December 17, 2007

Instalando driver de video NVIDIA no Debian (Compaq V6000)
(PORTUGUESE VERSION)

Escrevo esta dica para aqueles que estão tendo problemas com o Debian na hora de subir o X na inicialização.
Infelizmente, o driver Nvidia (nv) pré-compilado na instalação do Debian não é compatível com algumas placas gráfica da Nvidia. No meu caso, a placa não compatível é a 6150 Go!, em um notebook Compaq V6000.

Mãos na massa pessoal! Hora de trabalhar!

1)Instalar kernel-header de acordo com versão do kernel já compilado em sua máquina
#apt-get install build-essential linux-headers-$(uname-r)

2)Ir até o diretório dos fontes do kernel que acabamos de baixar
#cd /usr/src

3)Criar um link simbólico para o kernel-header
#ln -s linux-headers-$(uname -r) linux

4)Fazer download do driver oficial NVIDIA
#wget http://us.download.nvidia.com/XFree86/Linux-x86/100.14.23/NVIDIA-Linux-x86-100.14.23-pkg1.run

5)Parar o serviço do GDM (Gnome Desktop Manager)
#/etc/init.d/gdm stop

6)Iniciar a instalação do driver NVIDIA
#cd /usr/src && sh NVIDIA-Linux-x86-100.14.23-pkg1.run

7)Agora basta seguir os passos abaixo e continuar a instalação:
-NO - Para baixar um kernel interface
-YES - Para compilar o nosso proprio kernel

8)Com o nosso driver NVIDIA instalado, basta digitar:
#startx

Pronto! Chega de sofrimento, agora já pode desfrutar do seu Debian. Para maiores detalhes de configuração, um gerenciador de configurações também é instalado. Basta ir em Aplicações --> Ferramentas do Sistema --> NVIDIA X Server Settings.



Installing Nvidia module on Debian (Compaq V6000)
(ENGLISH VERSION)

I wrote this tip for those who is having troubles with Debian at the time to up the X server on the startup.
Unfortunately, the Nvidia driver (nv), that is pre-compiled on the debian default installation, is not acceptable for some nvidia graphic devices. In my case, my problem was with the 6150 Go! model, in a Compaq V6000 notebook.

Lets go! Lets work a little bit.

1)Install the kernel-header accoding to you kernel version
#apt-get install build-essential linux-headers-$(uname-r)

2)Go to the kernel-header fonts directory that we have just installed
#cd /usr/src

3)Download the NVIDIA official driver
#wget http://us.download.nvidia.com/XFree86/Linux-x86/100.14.23/NVIDIA-Linux-x86-100.14.23-pkg1.run

4)Stop the GDM service
#/etc/init.d/gdm stop

6)Start the NVIDIA driver setup
#cd /usr/src && sh NVIDIA-Linux-x86-100.14.23-pkg1.run

7)Now, just follow the steps below and move on the setup:
-NO - For download the kernel interface
-YES - For compile our own kernel

8)Our driver is installed succesfully! Now, type:
#startx


After all, the NVIDIA setup software installed a configuration manager, which is located in APPLICATIONS --> System tools --> NVIDIA X Server Settings.


Thank you,

Tiago Tavares