Re: Placa de Vídeo Zotac GeForce 5500

2009-08-11 Por tôpico Renato S. Yamane

Hudson Lacerda escreveu:

Renato S. Yamane escreveu:

Hudson Lacerda escreveu:

 Renato s. Yamane escreveu:

Edite o xorg.conf, removendo o Driver nv e inserindo o nvidia.


Já tentei. Nesse caso, o X não carrega, pois não encontra o módulo
nvidia.


Então você não compilou o driver.


É curioso, pois o log diz que o módulo foi compilado. O log (que
enviei à lista na primeira mensagem desta trilha) termina assim:

...20-pkg1/usr/src/nv/nvidia.ko
/tmp/selfgz12629/NVIDIA-Linux-x86-173.14.20-pkg
1/usr/src/nv/nvidia.o
/tmp/selfgz12629/NVIDIA-Linux-x86-173.14.20-pkg1/usr/s
rc/nv/nvidia.mod.o
NVIDIA: left KBUILD.
- done.
- Kernel module compilation complete.


Essa mensagem diz que o módulo foi compilado, mas não informa que ele 
foi instalado.


Depois dessa mensagem, ainda precisa aparecer:

- Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86' 
(185.18.14):

   executing: '/sbin/ldconfig'...
   executing: '/sbin/depmod -aq'...
- done.
- Driver file installation is complete.
- Running post-install sanity check:
- done.
- Post-install sanity check passed.
- Shared memory test passed.
- Running runtime sanity check:
- done.
- Runtime sanity check passed.
- Installation of the kernel module for the NVIDIA Accelerated Graphics 
Driver for Linux-x86 (version 185.18.14) is now complete.


Como é que você está tentando instalar esse módulo?

Att,
Renato


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Placa de Vídeo Zotac GeForce 5500

2009-08-10 Por tôpico Renato S. Yamane

Em 09-08-2009 00:08, Hudson Lacerda escreveu:

Agora o instalador compila silenciosamente, mas diz não poder carregar o
módulo. Pede para remover módulos como nvidiafb. Esse módulo de fato
está rodando, e não consigo removê-lo justamente por isso.


Você está compilando ele fora da interface gráfica, certo?
CTRL + ALT + F1

E lembre-se de parar o KDM/GDM.
#/etc/init.d/kdm stop (ou gdm no caso do Gnome).


Como fazer para não carregar esse módulo nvidiafb durente o boot? Já
removi a opção vga=791 do /boot/grub/menu.lst, mas o framebuffer
continua carregando no boot.


Edite o xorg.conf, removendo o Driver nv e inserindo o nvidia.

Att,
Renato


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Placa de Vídeo Zotac GeForce 5500

2009-08-10 Por tôpico Hudson Lacerda

Renato S. Yamane wrote:

Em 09-08-2009 00:08, Hudson Lacerda escreveu:

Agora o instalador compila silenciosamente, mas diz não poder carregar o
módulo. Pede para remover módulos como nvidiafb. Esse módulo de fato
está rodando, e não consigo removê-lo justamente por isso.


Você está compilando ele fora da interface gráfica, certo?
CTRL + ALT + F1


Certo:

CTRL+ALT+F2
(login como root)
telinit 3



E lembre-se de parar o KDM/GDM.
#/etc/init.d/kdm stop (ou gdm no caso do Gnome).


killall gdm -KILL




Como fazer para não carregar esse módulo nvidiafb durente o boot? Já
removi a opção vga=791 do /boot/grub/menu.lst, mas o framebuffer
continua carregando no boot.


Edite o xorg.conf, removendo o Driver nv e inserindo o nvidia.


Já tentei. Nesse caso, o X não carrega, pois não encontra o módulo nvidia.

Vou fazer mais umas tentativas depois, então retorno os resultados.

Pelo menos o driver nv está funcionando bem. Essa placa tem uma 
/performance/ muito superior à SIS-6326 16MB que eu usava. Mas ainda 
quero tentar compilar e instalar o driver para poder usar a aceleração.


Obrigado,
Hudson Lacerda



Att,
Renato





--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Placa de Vídeo Zotac GeForce 5500

2009-08-10 Por tôpico Hudson Lacerda

Diego Lacerda wrote:

Caro Hudson,

Já adicionou o módulo nvidiafb ao blacklist?

echo blacklist nvidiafb  /etc/modprobe.d/blacklist.conf


O efeito foi nulo. O framebuffer continua sendo ativado no boot. Parece 
aliás que esse arquivo blacklist.conf nem existia. Há um outro chamado 
apenas blacklist (sem .conf). Acrescentei a linha a ele. Vou ver o 
efeito no próximo boot.


Há outras opções a tentar, a partir da mensagem de erro do instalador da 
nVidia, que alertou para as seguintes possibilidades:


-- Versão incorreta do gcc (precisa ser 4.2 -- já desinstalei o 4.3 e 
fiz um link do /usr/bin/cc para o gcc-4.2);


-- Configurar o kernel (não tenho idéia de como fazer isso);

-- Remover módulos conflitantes (nvidiafb e um outro que não me lembro, 
mas acho que não tenho).


Quando puder, vou reiniciar a máquina e fazer mais tentativas.

Obrigado,
Hudson Lacerda



Att.,




--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Placa de Vídeo Zotac GeForce 5500

2009-08-10 Por tôpico Renato S. Yamane

Em 10-08-2009 09:37, Hudson Lacerda escreveu:

Edite o xorg.conf, removendo o Driver nv e inserindo o nvidia.


Já tentei. Nesse caso, o X não carrega, pois não encontra o módulo
nvidia.


Então você não compilou o driver.

Att,
Renato


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Placa de Vídeo Zotac GeForce 5500

2009-08-10 Por tôpico Hudson Lacerda

Renato S. Yamane wrote:

Em 10-08-2009 09:37, Hudson Lacerda escreveu:

Edite o xorg.conf, removendo o Driver nv e inserindo o nvidia.


Já tentei. Nesse caso, o X não carrega, pois não encontra o módulo
nvidia.


Então você não compilou o driver.


É curioso, pois o log diz que o módulo foi compilado. O log (que 
enviei à lista na primeira mensagem desta trilha) termina assim:


...20-pkg1/usr/src/nv/nvidia.ko 
/tmp/selfgz12629/NVIDIA-Linux-x86-173.14.20-pkg
   1/usr/src/nv/nvidia.o 
/tmp/selfgz12629/NVIDIA-Linux-x86-173.14.20-pkg1/usr/s

   rc/nv/nvidia.mod.o
   NVIDIA: left KBUILD.
- done.
- Kernel module compilation complete.

Vou ver se há alguma opção mais verborrágica do programa de instalação. 
De qualquer modo, a compilação parece ocorrer no diretório /tmp/, e 
portanto os arquivos são perdidos no reboot. Talvez o programa não acabe 
a instalação por não ter conseguido carregar o módulo.


O pior é que, com o driver 'nv' que estou usando, o vídeo está travando 
(congelando) após algum tempo de uso, se eu tento passar para um 
terminal. (Ou às vezes sozinho.)



Hudson Lacerda



--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Placa de Vídeo Zotac GeForce 5500

2009-08-10 Por tôpico Diego Lacerda
Ok,

Algum resultado com o blacklist (sem o .conf)?

Os drivers conflitantes costumam ser: nvidiafb, rivafb ou rivatv. 
Mais detalhes na documentação da NVidia:
http://us.download.nvidia.com/XFree86/Linux-x86/173.14.20/README/index.html


Você ainda pode extrair os arquivos do pacote via:

#sh NVIDIA-Linux-x86-173.14.20-pkg1.run --extract-only

Rodar o make para compilar o driver (mais depurado).

#cd NVIDIA-Linux-x86-173.14.20-pkg1/usr/src/nv/

#make module
#make install

Veja o resultado.

É importante verificar se o módulo foi corretamente instalado em
seu /lib/modules/ e também verificar o dmesg para mensagens da
inicialização.

Att.,

-- 
Diego Evaristo de Lacerda (diegolace...@gmail.com)
Analista de Projetos
LPIC Level III  Redhat Certified Engineer
Cisco Certified Network Associates  Cisco Certified Information
Security Specialist

On Mon, 2009-08-10 at 09:38 -0300, Hudson Lacerda wrote:
 Diego Lacerda wrote:
  Caro Hudson,
  
  Já adicionou o módulo nvidiafb ao blacklist?
  
  echo blacklist nvidiafb  /etc/modprobe.d/blacklist.conf
 
 O efeito foi nulo. O framebuffer continua sendo ativado no boot. Parece 
 aliás que esse arquivo blacklist.conf nem existia. Há um outro chamado 
 apenas blacklist (sem .conf). Acrescentei a linha a ele. Vou ver o 
 efeito no próximo boot.
 
 Há outras opções a tentar, a partir da mensagem de erro do instalador da 
 nVidia, que alertou para as seguintes possibilidades:
 
 -- Versão incorreta do gcc (precisa ser 4.2 -- já desinstalei o 4.3 e 
 fiz um link do /usr/bin/cc para o gcc-4.2);
 
 -- Configurar o kernel (não tenho idéia de como fazer isso);
 
 -- Remover módulos conflitantes (nvidiafb e um outro que não me lembro, 
 mas acho que não tenho).
 
 Quando puder, vou reiniciar a máquina e fazer mais tentativas.
 
 Obrigado,
 Hudson Lacerda
 
  
  Att.,
  
 


-- 
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Placa de Vídeo Zotac GeForce 5500

2009-08-09 Por tôpico Diego Lacerda
Caro Hudson,

Já adicionou o módulo nvidiafb ao blacklist?

echo blacklist nvidiafb  /etc/modprobe.d/blacklist.conf

Att.,

-- 
Diego Evaristo de Lacerda (diegolace...@gmail.com)
Analista de Projetos
LPIC Level III  Redhat Certified Engineer
Cisco Certified Network Associates  Cisco Certified Information Security
Specialist

URL: conectado.motime.com
On Sun, Aug 9, 2009 at 12:08 AM, Hudson Lacerda h...@brfree.com.br wrote:

 Olá,

 Comprei uma placa de vídeo nova, e ainda não tive sucesso em configurá-la.

 Baixei o instalador do sítio da nvidia. Tive que instalar fontes e
 cabeçalhos do Linux, e rebaixar a versão do gcc.

 Agora o instalador compila silenciosamente, mas diz não poder carregar o
 módulo. Pede para remover módulos como nvidiafb. Esse módulo de fato está
 rodando, e não consigo removê-lo justamente por isso.

 Como fazer para não carregar esse módulo nvidiafb durente o boot? Já removi
 a opção vga=791 do /boot/grub/menu.lst, mas o framebuffer continua
 carregando no boot.

 Ou o que devo fazer é alguma outra coisa? Alguma dica?

 Obrigado,
 Hudson Lacerda

 

 Abaixo segue o log do instalador ( /var/log/nvidia-installer.log ).

 nvidia-installer log file '/var/log/nvidia-installer.log'
 creation time: Sat Aug  8 23:13:17 2009
 installer version: 1.0.7

 option status:
  license pre-accepted: true
  update  : false
  force update: false
  expert  : false
  uninstall   : false
  driver info : false
  precompiled interfaces  : true
  no ncurses color: false
  query latest version: false
  OpenGL header files : true
  no questions: false
  silent  : false
  no recursion: false
  no backup   : false
  kernel module only  : false
  sanity  : false
  add this kernel : false
  no runlevel check   : false
  no network  : false
  no ABI note : false
  no RPMs : false
  no kernel module: false
  force SELinux   : default
  no X server check   : false
  no cc version check : false
  force tls   : (not specified)
  X install prefix: (not specified)
  X library install path  : (not specified)
  X module install path   : (not specified)
  OpenGL install prefix   : (not specified)
  OpenGL install libdir   : (not specified)
  utility install prefix  : (not specified)
  utility install libdir  : (not specified)
  doc install prefix  : (not specified)
  kernel name : (not specified)
  kernel include path : (not specified)
  kernel source path  : (not specified)
  kernel output path  : (not specified)
  kernel install path : (not specified)
  proc mount point: /proc
  ui  : (not specified)
  tmpdir  : /tmp
  ftp mirror  : ftp://download.nvidia.com
  RPM file list   : (not specified)

 Using: nvidia-installer ncurses user interface
 - License accepted by command line option.
 - Installing NVIDIA driver version 173.14.20.
 - No precompiled kernel interface was found to match your kernel; would
 you li
   ke the installer to attempt to download a kernel interface for your
 kernel f
   rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
 - No matching precompiled kernel interface was found on the NVIDIA ftp
 site;
   this means that the installer will need to compile a kernel interface for
   your kernel.
 - Performing CC sanity check with CC=cc.
 - Performing CC version check with CC=cc.
 - Kernel source path: '/usr/src/linux'
 - Kernel output path: '/usr/src/linux'
 - Performing rivafb check.
 - Performing nvidiafb check.
 - Performing Xen check.
 - Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
 - Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux
 SYSOUT=/usr/s
   rc/linux'...
   NVIDIA: calling KBUILD...
   make CC=cc  KBUILD_VERBOSE=1 -C /usr/src/linux
 SUBDIRS=/tmp/selfgz12629/NVID
   IA-Linux-x86-173.14.20-pkg1/usr/src/nv modules
   test -e include/linux/autoconf.h -a -e include/config/auto.conf || (
 \
echo;   \
echo   ERROR: Kernel configuration is invalid.;   \
echo  include/linux/autoconf.h or include/config/auto.conf
 are mis
   sing.;  \
echo  Run 'make oldconfig  make prepare' on kernel src to
 fix it
   .;  \
echo;   \
/bin/false)
   mkdir -p
 /tmp/selfgz12629/NVIDIA-Linux-x86-173.14.20-pkg1/usr/src/nv/.tmp_ve
   rsions
   rm -f
 /tmp/selfgz12629/NVIDIA-Linux-x86-173.14.20-pkg1/usr/src/nv/.tmp_versi
   ons/*
   make -f scripts/Makefile.build
 obj=/tmp/selfgz12629/NVIDIA-Linux-x86-173.14.
   20-pkg1/usr/src/nv
 cc
 

Placa de Vídeo Zotac GeForce 5500

2009-08-08 Por tôpico Hudson Lacerda

Olá,

Comprei uma placa de vídeo nova, e ainda não tive sucesso em configurá-la.

Baixei o instalador do sítio da nvidia. Tive que instalar fontes e 
cabeçalhos do Linux, e rebaixar a versão do gcc.


Agora o instalador compila silenciosamente, mas diz não poder carregar o 
módulo. Pede para remover módulos como nvidiafb. Esse módulo de fato 
está rodando, e não consigo removê-lo justamente por isso.


Como fazer para não carregar esse módulo nvidiafb durente o boot? Já 
removi a opção vga=791 do /boot/grub/menu.lst, mas o framebuffer 
continua carregando no boot.


Ou o que devo fazer é alguma outra coisa? Alguma dica?

Obrigado,
Hudson Lacerda



Abaixo segue o log do instalador ( /var/log/nvidia-installer.log ).

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Aug  8 23:13:17 2009
installer version: 1.0.7

option status:
  license pre-accepted: true
  update  : false
  force update: false
  expert  : false
  uninstall   : false
  driver info : false
  precompiled interfaces  : true
  no ncurses color: false
  query latest version: false
  OpenGL header files : true
  no questions: false
  silent  : false
  no recursion: false
  no backup   : false
  kernel module only  : false
  sanity  : false
  add this kernel : false
  no runlevel check   : false
  no network  : false
  no ABI note : false
  no RPMs : false
  no kernel module: false
  force SELinux   : default
  no X server check   : false
  no cc version check : false
  force tls   : (not specified)
  X install prefix: (not specified)
  X library install path  : (not specified)
  X module install path   : (not specified)
  OpenGL install prefix   : (not specified)
  OpenGL install libdir   : (not specified)
  utility install prefix  : (not specified)
  utility install libdir  : (not specified)
  doc install prefix  : (not specified)
  kernel name : (not specified)
  kernel include path : (not specified)
  kernel source path  : (not specified)
  kernel output path  : (not specified)
  kernel install path : (not specified)
  proc mount point: /proc
  ui  : (not specified)
  tmpdir  : /tmp
  ftp mirror  : ftp://download.nvidia.com
  RPM file list   : (not specified)

Using: nvidia-installer ncurses user interface
- License accepted by command line option.
- Installing NVIDIA driver version 173.14.20.
- No precompiled kernel interface was found to match your kernel; would 
you li
   ke the installer to attempt to download a kernel interface for your 
kernel f

   rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
- No matching precompiled kernel interface was found on the NVIDIA ftp 
site;
   this means that the installer will need to compile a kernel 
interface for

   your kernel.
- Performing CC sanity check with CC=cc.
- Performing CC version check with CC=cc.
- Kernel source path: '/usr/src/linux'
- Kernel output path: '/usr/src/linux'
- Performing rivafb check.
- Performing nvidiafb check.
- Performing Xen check.
- Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
- Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux 
SYSOUT=/usr/s

   rc/linux'...
   NVIDIA: calling KBUILD...
   make CC=cc  KBUILD_VERBOSE=1 -C /usr/src/linux 
SUBDIRS=/tmp/selfgz12629/NVID

   IA-Linux-x86-173.14.20-pkg1/usr/src/nv modules
   test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( 
\
echo;   \
echo   ERROR: Kernel configuration is invalid.; \
   	echo  include/linux/autoconf.h or include/config/auto.conf 
are mis

   sing.; \
   	echo  Run 'make oldconfig  make prepare' on kernel src 
to fix it

   .; \
echo;   \
/bin/false)
   mkdir -p 
/tmp/selfgz12629/NVIDIA-Linux-x86-173.14.20-pkg1/usr/src/nv/.tmp_ve

   rsions
   rm -f 
/tmp/selfgz12629/NVIDIA-Linux-x86-173.14.20-pkg1/usr/src/nv/.tmp_versi

   ons/*
   make -f scripts/Makefile.build 
obj=/tmp/selfgz12629/NVIDIA-Linux-x86-173.14.

   20-pkg1/usr/src/nv
 cc 
-Wp,-MD,/tmp/selfgz12629/NVIDIA-Linux-x86-173.14.20-pkg1/usr/src/nv/.nv
   .o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.2.4/include 
-D__KERNE
   L__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef 
-Wstrict-prot

   otypes -Wno-trigraphs -fno-strict-aliasing -fno
   -common -Os -pipe -msoft-float -mpreferred-stack-boundary=2 
-march=i586 -mt
   une=generic -mregparm=3 -freg-struct-return -ffreestanding 
-maccumulate-outg
   oing-args