Autor Tópico: Placa de Vídeo Geforce G210M - Tela Dividida  (Lida 6682 vezes)

Offline hiposanchez

  • Usuário Ubuntu
  • *
  • Mensagens: 4
    • Ver perfil
Placa de Vídeo Geforce G210M - Tela Dividida
« Online: 15 de Maio de 2010, 00:33 »
Olá,
Utilizo Kubuntu desde 2006 e realmente não tenho paciência pra usar windows. Comprei um Vaio VPCCW13FB e logo instalei o Kubuntu 10.04 Lucid Lynx. Para instalar o driver nvidia tive vários contratempos, inclusive ativando nomodeset no boot e posteriormente gravando o EDID correspondente na pasta /etc/X11/.

Entretanto, se deixo o Driver "nvidia" ativo (no xorg.conf) e faço o boot normal, a tela aparece dividida em seis partes. Fica realmente desconfortável trabalhar desta forma e não é possível utilizar qualquer efeito 3d.
Já fazia dois anos que eu vinha utilizando um PC com placa ATI e sonhava em ter uma placa nvidia compatível com o linux. Fico bastante receioso de não ter suporte para a placa de vídeo de um computador que comprei com tanto esforço e não posso mais trocar.

Procedimentos que segui:
-> Instalei SoftMCCS no windows 7 que veio no PC e salvei o binário do EDID em /etc/X11/
->Com um liveCD e utilizando chroot: $ sudo apt-get remove --purge nvidia*
->Abri o arquivo /etc/modprobe.d/blacklist.conf e acrescentei:
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafbblacklist rivatv
-> $sudo apt-get install buil-essential linux-headers-$(uname -r)
-> Baixei do site da nvidia (NVIDIA-Linux-x86_64-195.36.24-pkg2.run) e instalei utilizando $ sh NVIDIA-Linux-x86_64-195.36.24-pkg2.run
     - Durante a instalação inclui a adição de bibliotecas compatíveis com OpenGL 32bits e selecionei Ok para edição do xorg.conf
-> $echo "alias char-major-195 nvidia" >> /etc/modules.conf
-> $echo "alias char-major-195 nvidia" >> /etc/modutils/aliases (não encontrou o arquivo)
-> Na Section Device do xorg.conf acrescentei as linhas:
    Option         "ConnectedMonitor" "DFP-0"
    Option         "CustomEDID" "DFP-0:/etc/X11/myBin.bin"

Quando dou reboot, o Sistema inicializa normal porém com as seis telas idênticas aparecendo simultaneamente no monitor. Só consigo utilizar o PC normalmente, ativando o driver "nv" e acrescentando "nomodeset" no boot.

Já formatei meu PC cinco vezes e testei outro driver da nvidia (NVIDIA-Linux-x86_64-190.42-pkg2.run), bem como tentei via $sudo apt-get install nvidia-glx-195. Entretanto o resultado varia entre uma tela completamente escura ou inicialização direto no terminal até a divisão da tela em seis partes que mencionei antes. Desde já agradeço a atenção.

Segue meu xorg.conf.
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder58)  Thu Apr 22 20:35:23 PDT 2010

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
#    Driver         "nv"
    VendorName     "NVIDIA Corporation"
    Option         "ConnectedMonitor" "DFP-0"
    Option         "CustomEDID" "DFP-0:/etc/X11/myBin.bin"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection


Offline hiposanchez

  • Usuário Ubuntu
  • *
  • Mensagens: 4
    • Ver perfil
Re: Placa de Vídeo Geforce G210M - Tela Dividida
« Resposta #1 Online: 26 de Maio de 2010, 10:30 »
Tentei seguir este howto e nada:
http://anykwhere.blogspot.com/2010/05/nvidia-1953624-auf-ubuntu-1004-lucid.html

nVidia 195.36.24 on Ubuntu 10.04 Lucid Lynx:
Ubuntu 10.04 is running Nouveau driver as default for nVidia-GPUs. If you need vdpau for Video-Encoding you have to install nVidias proprietary Driver.
Uninstall Noveau:
   → $ sudo apt-get remove nvidia*
   → $ apt-get remove xserver-xorg-video-nouveau
Add this lines to /etc/modprobe.d/blacklist.conf:
blacklist nouveau
blacklist nvidiafb
Install driver from Packet Source
Install nVidia driver from Ubuntu repository to later upgrade it to the latest Version. I know it's not a clean way, but after hours of trying this is a working.
   → $ apt-get install libvdpau-dev libvdpau1 nvidia-kernel-common nvidia-185-modaliases    → $ nvidia-glx-185 nvidia-settings
Download the latest driver from nVidia Support and extract them
   → $ wget http://de.download.nvidia.com/XFree86/Linux-x86_64/195.36.24/NVIDIA-Linux-x86_64-195.36.24-pkg2.run
   → $ chmod a+x NVIDIA-Linux-x86_64-195.36.24-pkg2.run
   → $ ./NVIDIA-Linux-x86_64-195.36.24-pkg2.run -x
You will also need your kernel headers. Download them if you haven't done yet.
   → $ sudo apt-get install linux-headers-`uname -r`
   → $ ln -s /usr/src/linux-headers-`uname -r` /usr/src/linux
You cannot install the nVidia drivers while X is running.
ERROR: You appear to be running an X server; please exit X before installing. For further details, please see the section INSTALLING THE NVIDIA DRIVER in the README available on the Linux driver download page at www.nvidia.com.
Let's switch the runlevel to kill X. The bootsplashscreen made some trouble for me so you'd better switch it off first and reboot.
Open /boot/grub/grub.cfg and find your first menuentry. In my case:
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set ba89659b-be12-4e7e-b075-5a5ffc80e65f
        linux   /vmlinuz-2.6.32-22-generic root=/dev/mapper/MAG-root ro   quiet splash
        initrd  /initrd.img-2.6.32-22-generic
}
remove "quiet splash", safe the file and reboot.
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
        recordfail
        insmod ext2
        set root='(hd0,1)'
        search --no-floppy --fs-uuid --set ba89659b-be12-4e7e-b075-5a5ffc80e65f
        linux   /vmlinuz-2.6.32-22-generic root=/dev/mapper/MAG-root ro
        initrd  /initrd.img-2.6.32-22-generic
}
Now you can open TTY1 by pressing [Ctrl] + [Alt] + [F1], login as root (or use sudo) and execute
   → $ init 1
Select "drop to a root shell" (you do not need networking). The nVidia installer doesn't like the single mode, so now go to
   → init 3
Now run NVIDIA-Linux-x86_64-195.36.24-pkg2.run! If you use 64bit, please see 32bit OpenGL Modules to fix.
   → $ ./NVIDIA-Linux-x86_64-195.36.24-pkg2/nvidia-installer

32bit OpenGL Modules
Warning: Unable to perform the runtime configuration check for 32-bit library 'libGL.so.1' ('/usr/lib32/libGL.so.195.36.24'); this is typically caused by the lack of a 32-bit compatibility environment. Assuming successful installation.
   → $ sudo apt-get install ia32-libs linux32 lib32asound2

Será que alguém na comunidade poderia apenas me dizer se existe outro caminho ou confirmar a impossibilidade de instalar tal driver no momento?

Offline hiposanchez

  • Usuário Ubuntu
  • *
  • Mensagens: 4
    • Ver perfil
Re: Placa de Vídeo Geforce G210M - Tela Dividida
« Resposta #2 Online: 01 de Julho de 2010, 13:13 »
Após 3 meses consegui resolver o problema com base no site: http://rabanetescebolas.blogspot.com/2010/05/instalando-o-drive-da-g210mg230m-no.html

Ocorre que ao invés de usar o SoftMCCS no Windows 7 (dá erro) devemos utilizar o Phoenix EDID Designer:
Outra coisa: Quando usamos o Phoenix EDID Designer não devemos salvar o edid como ".bin". É necessário clicar em exportar EDID e salvá-lo como ".raw" (depois não esqueça de salvar uma cópia em /etc/X11...).

Se o seu laptop está apresentando o problema da tela dividida como eu descrevi, tudo está certo, falta apenas substituir seu edid.bin pelo edid.raw como mencionei antes. O driver NVIDIA-Linux-x86_64-195.36.24-pkg2.run funciona corretamente com a G210m.

Recomendo ainda que evite um xorg.conf muito extenso para evitar erros. Basta escrever (nada além disso por enquanto):

Section "Device"
Identifier     "Device0"
Driver         "nvidia"
VendorName     "NVIDIA Corporation"
Option         "ConnectedMonitor"  "DFP-0"
Option         "CustomEDID"        "DFP-0:/etc/X11/edid.raw
EndSection

Segue o trecho do site que mencionei que descreve como obter o EDID corretamente:
Ao abrir o Phoenix, clique em Tools -> Extract Registry EDID, e clique duas vezes na linha que indica o seu monitor (provavelmente, só vai haver uma linha). Depois disso, vá em File -> Export (imagem ao lado) e selecione o tipo de arquivo .raw. Escolha o nome do seu arquivo, clique em salvar, e vá pra o Linux. Se estiver usando o softMCCS (o programa que eu disse que dava pau no Windows7), grave o arquivo no formate .bin. Esse é o formato que ele usa pra gravar EDIDs "de verdade" (o arquivo binário com as informações que a gente realmente quer).

Espero ter ajudado.
Abraços