Nvidia Ubuntu e Debian

Publicado por Edwal F. Paiva Filho em 26/02/2008

[ Hits: 12.136 ]

 


Nvidia Ubuntu e Debian



Escrevo esta dica porque é recorrente a briga para instalar driver nvidia no Ubuntu (Debian também). As perguntas chovem e as respostas bem intencionadas também...

Como eu faço para iniciar o Ubuntu em modo texto?
A solução é muito simples, mas é diferente das outras distros.

Não baixe o driver no site da nvidia porque não precisa. O driver nvidia do Ubuntu está no repositório do Ubuntu (do Debian também) e atende pelo nome de nvidia-glx se sua placa de vídeo for um museu, ou nvidia-glx-new se sua placa de vídeo for AGP, PCI X-press ou built in na placa mãe.

Algumas PCI podem usar o new.

Abra o Synaptic e instale:
  • nvidia-glx-new
  • nvidia-kernel-common
  • nvidia-kernel-source

Não, não instale o nvidia-xconfig. Esse comando já está no nvidia-glx-new e, o que é pior, um desinstala o outro.

Depois reinicie a máquina (não sei se precisa mas é bom fazer).

Rode o comando como root:

# nvidia-xconfig

Agora reinicie a máquina mandatoriamente.

Deve funcionar se o seu /etc/X11/xorg.conf não estiver muito depredado e estropiado pelas tentativas anteriores.

Outras dicas deste autor

Permissões práticas para usuários práticos

Linux não instala - SETUP CMOS

Ubuntu medibuntu

Como ocultar a barra de tarefas do GNOME no Ubuntu 14.04

Proteja os seus dados - criptografia

Leitura recomendada

Corrigindo instabilidade de conexão das placas de rede wireless Realtek RTL8188xx/8192xx/8723xx/8821xx

Debian Lenny 5.0 64Bits Lenny no Dell Vostro 1310

Configurando driver da placa ATI no DELL INSPIRON 5000 Series Special

Instalar placa de rede wireless D-Link DWA-525 no Ubuntu 10.10

Boot pelo disquete / root no pendrive

  

Comentários
[1] Comentário enviado por josef em 29/02/2008 - 09:37h

Como assim? Aqueles drivers para linux que tem no site da nvidia não devem ser instalados no ubuntu? é só eu baixar estes arquivos do site do ubuntu e a placa é reconhecida e dar o comando# nvidia-xconfig que a coisa funciona?
Por isso que eu instalo pelo drive da nvidia ele funciona mas depois se auto desinstala?

Cara se for isso os tutos por ai estão errados....

[2] Comentário enviado por nicolo em 04/03/2008 - 15:10h

Você pode instalar o drive baixado do site da nvidia ou do ubuntu, é o mesmo driver. O Ubuntu compilou o driver em *.deb e o debian também. Os procedimentos estão corretos, tanto da dica como os outros.
O procedimento popularmente descrito é genérico e funciona, já testei no kurumin e no slackware.
SÓ QUE:
Passar o Ubuntu para o modo texto é chato e difícil para muitos
É muito mais fácil e mais cômodo usar o procedimento da dica, que eu já testei e funciona.
O Ubuntu sempre dá algo mais. Escrevi essa dica porque há muitos iniciantes penando para resolver um problema fácil.
Estamos lidando com Linux, sempre há maneiras diferentes de fazer a mesma coisa.
O driver não reconhece a placa, ele simplesmente carrega porque é chamado pelo xorg.conf. Se tiver erro no xorg.conf dá pau.

[3] Comentário enviado por craucarvalho em 01/05/2008 - 19:25h

Tenho um notebook hp da linha tx1000, com placa de video Nvidia Geforce 6150 Go.

Nenhuma dessas dicas, inclusive a que está acima, funcionou.

Meu arquivo xorg.conf está transcrito abaixo. Não sou nem de perto um xpert em linux, apenas vou dando minhas orelhadas. Se alguém consegue perceber algum problema no arquivo, por favor, ajude-me.
=================
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder26) Thu Feb 14 18:13:41 PST 2008

# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by failsafeDexconf, using
# values from the debconf database and some overrides to use vesa mode.
#
# You should use dexconf or another such tool for creating a "real" xorg.conf
# For example:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Default Screen" 0 0
InputDevice "Generic Keyboard" "CoreKeyboard"
InputDevice "Configured Mouse" "CorePointer"
InputDevice "Synaptics Touchpad"
EndSection

Section "Files"
EndSection

Section "Module"
Load "glx"
Load "v4l"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "abnt2"
Option "XkbLayout" "us"
Option "XkbVariant" "intl"
Option "XkbOptions" "lv3:ralt_switch"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizEdgeScroll" "0"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
VendorName "Generic LCD Display"
ModelName "LCD Panel 1280x800"
HorizSync 31.5 - 50.0
VertRefresh 56.0 - 65.0
Gamma 1
ModeLine "640x480@60" 25.2 640 656 752 800 480 490 492 525 -hsync -vsync
ModeLine "800x600@56" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync
ModeLine "800x600@60" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
ModeLine "1024x768@60" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
EndSection

Section "Monitor"

#
Identifier "monitor1"
Gamma 1
EndSection

Section "Device"
Identifier "Configured Video Device"
Driver "nvidia"
BoardName "vesa"
BusID "PCI:0:5:0"
Screen 0
EndSection

Section "Device"

#
Identifier "device1"
Driver "vesa"
BoardName "vesa"
BusID "PCI:0:5:0"
Screen 1
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Configured Video Device"
Monitor "Configured Monitor"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768@60" "800x600@60" "800x600@56" "640x480@60"
EndSubSection
EndSection

Section "Screen"

#
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultDepth 24
EndSection
=================

Att,
Craucarvalho

[4] Comentário enviado por rvalentini em 14/05/2008 - 01:29h

bah, só pra lembrar que você PRECISA desmarcar a maldita opção de usar drivers restritos!!! eu fiz de tudo com ela marcada e não resolveu, e eu não sabia o q tava acontecendo....desinstalei os drivers restritos e foi uma BARBADA pra fazer funcionar tudo direitinho hehe, minha 6600le é simples mas é boa poxa :D

[5] Comentário enviado por james_avelar em 19/08/2008 - 21:48h

craucarvalho, ai em baixo tah o meu xorg.conf, nao tah lah essas maravilhas, mas como tenho um laptop da mesma serie e eles nao mudam qse nada entre si... como notei q tem umas coisas diferentes do meu olha ai com calma.

******************************************************************

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
# path to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection

Section "Device"
Identifier "nVidia Corporation C51 [Geforce 6150 Go]"
Driver "nv"
BusID "PCI:0:5:0"
EndSection

Section "Monitor"
Identifier "Monitor Genérico"
Option "DPMS"
HorizSync 28-64
VertRefresh 43-60
EndSection

Section "Screen"
Identifier "Default Screen"
Device "nVidia Corporation C51 [Geforce 6150 Go]"
Monitor "Monitor Genérico"
DefaultDepth 16
SubSection "Display"
Depth 1
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x800"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x800"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection

Section "DRI"
Mode 0666
EndSection

*************************************************


Agora eu to tentando colocar um outro monitor pra funcionar junto pq trabalhar o dia inteiro nessa telinha eh cruel.
Se alguem fez iss por ai dah uma forca.
ate



Contribuir com comentário




Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts