[FUG-BR] Resolvido! Problemas com nvidia Geforce 6200

Paulo Olivier Cavalcanti procavalcanti em gmail.com
Terça Fevereiro 14 10:41:54 BRST 2012


Consegui, pessoal! O driver da nvidia foi carregado e a aceleração via  
hardware habilitada.

Eu segui a dica do Mario Lobo[1] e tirei o agp do kernel. Após umas 10  
horas compilando o world+kernel eu não posso descrever o quanto fiquei  
aliviado! Estou no trabalho com os olhos fechando de tanto sono mas valeu  
a pena, risos...

Porém, nem tudo foram flores... em testes preliminares eu pude constatar  
que jogos em flash tiveram uma melhora quase nula, filmes em HD 720p  
parecem câmera lenta, assim como os vídeos do youtube... é verdade que eu  
testei rapidamente pois estava atrasado. Mais tarde eu vejo isso com mais  
calma e posto os detalhes.

Agradeço a todos os que me ajudaram, especialmente Cleyton e Mario Lobo!

[1] http://www.fug.com.br/historico/html/freebsd/2012-02/msg00190.html





Em Sun, 12 Feb 2012 17:29:33 -0200, Cleyton Agapito <cragapito em gmail.com>  
escreveu:

> Em 12 de fevereiro de 2012 17:06, Paulo Olivier Cavalcanti
> <procavalcanti em gmail.com> escreveu:
>> Em Sun, 12 Feb 2012 16:26:21 -0200, Cleyton Agapito  
>> <cragapito em gmail.com>
>> escreveu:
>>
>>
>>> Olha, a minha é uma 6200 AGP externa e pelo que vimos está com AGP no
>>> kernel, o meu está compilado por gosto (e porque não tive problemas),
>>> pra teste vai ter que ser o GENERIC mesmo, personalizado o pessoal nem
>>> gosta de comentar e já te manda pro GENERIC.
>>>
>>> Quanto ao driver pra 6200 é o 285.05.09 mesmo que é o que tenho. O
>>> hints se não me engano é quando dá problema depois dele carregado,
>>> também não acho que seja a saída.
>>>
>>> Estou achando estranha a linha:
>>>
>>> Feb 11 21:54:52 amd kernel: acpi0: <Nvidia AWRDACPI> on motherboard
>>
>>
>> Isto é porque a placa-mãe é com chipset Nvidia, Cleyton. Inclusive os
>> controladores ACPI são feitos por ela. Procure na internet por ABIT  
>> NF7-S2
>> e confira as especificações - é uma ótima placa.
>>
>>
>>> De qualquer forma tenta mandar a partida detalhada do kernel antes da
>>> linha:
>>>
>>> amd kernel: CPU: AMD Athlon(tm) XP (1100.03-MHz 686-class CPU)
>>>
>>> Essa parte vai mostrar algum problema específico com o loarder.
>>>
>>> Como o driver tem algumas dependências dos ports e carrega antes mesmo
>>> do kernel pode ter alguma coisa quebrada no meio, acho que
>>> recompililar forçado as dependências do driver ainda é a saída mais
>>> provável. No kernel tem a agp_nvidia que pode ser o canal do driver,
>>> como o kernel é GENERIC estamos assumindo que a userland não foi
>>> compilada também, porque se foi vai ter que sincronizar tudo,
>>> inclusive o driver.
>>>
>>> A boa notícia é que a minha é igual a sua e está funcionando, então a
>>> tua vai ter que funcionar também.
>>
>> Bem, até agora só estou tendo frustrações, mas obrigado pela força,
>> Cleyton... também estou com fé que um dia vou fazer funcionar. Aí está o
>> meu /var/log messages completo:
>>
>>
>> Feb 12 14:32:26 amd syslogd: kernel boot file is /boot/kernel/kernel
>> Feb 12 14:32:26 amd kernel: mptable_probe: MP Config Table has bad
>> signature: ô Copyright (c) 1992-2012 The FreeBSD Project.
>> Feb 12 14:32:26 amd kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988,
>> 1989, 1991, 1992, 1993, 1994
>> Feb 12 14:32:26 amd kernel: The Regents of the University of California.
>> All rights reserved.
>> Feb 12 14:32:26 amd kernel: FreeBSD is a registered trademark of The
>> FreeBSD Foundation.
>> Feb 12 14:32:26 amd kernel: FreeBSD 9.0-RELEASE #0 r230201: Mon Jan 16
>> 11:03:57 CET 2012
>> Feb 12 14:32:26 amd kernel:
>> root em box.vx.sk:/usr/obj/i386.i386/bsd/releng_9_0/sys/GENERIC i386
>> Feb 12 14:32:26 amd kernel: CPU: AMD Athlon(tm) XP (1100.03-MHz  
>> 686-class
>> CPU)
>> Feb 12 14:32:26 amd kernel: Origin = "AuthenticAMD"  Id = 0x681  Family  
>> =
>> 6  Model = 8  Stepping = 1
>> Feb 12 14:32:26 amd kernel:
>> Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
>> Feb 12 14:32:26 amd kernel: AMD
>> Features=0xc0480800<SYSCALL,MP,MMX+,3DNow!+,3DNow!>
>> Feb 12 14:32:26 amd kernel: real memory  = 1073741824 (1024 MB)
>> Feb 12 14:32:26 amd kernel: avail memory = 1027448832 (979 MB)
>> Feb 12 14:32:26 amd kernel: kbd1 at kbdmux0
>> Feb 12 14:32:26 amd kernel: acpi0: <Nvidia AWRDACPI> on motherboard
>> Feb 12 14:32:26 amd kernel: acpi0: Power Button (fixed)
>> Feb 12 14:32:26 amd kernel: Timecounter "ACPI-fast" frequency 3579545 Hz
>> quality 900
>> Feb 12 14:32:26 amd kernel: acpi_timer0: <24-bit timer at 3.579545MHz>
>> port 0x4008-0x400b on acpi0
>> Feb 12 14:32:26 amd kernel: cpu0: <ACPI CPU> on acpi0
>> Feb 12 14:32:26 amd kernel: acpi_button0: <Power Button> on acpi0
>> Feb 12 14:32:26 amd kernel: pcib0: <ACPI Host-PCI bridge> port
>> 0xcf8-0xcff,0xcf0-0xcf3 on acpi0
>> Feb 12 14:32:26 amd kernel: pci0: <ACPI PCI bus> on pcib0
>> Feb 12 14:32:26 amd kernel: agp0: <NVIDIA nForce2 AGP Controller> on  
>> hostb0
>> Feb 12 14:32:26 amd kernel: pci0: <memory, RAM> at device 0.1 (no driver
>> attached)
>> Feb 12 14:32:26 amd kernel: pci0: <memory, RAM> at device 0.2 (no driver
>> attached)
>> Feb 12 14:32:26 amd kernel: pci0: <memory, RAM> at device 0.3 (no driver
>> attached)
>> Feb 12 14:32:26 amd kernel: pci0: <memory, RAM> at device 0.4 (no driver
>> attached)
>> Feb 12 14:32:26 amd kernel: pci0: <memory, RAM> at device 0.5 (no driver
>> attached)
>> Feb 12 14:32:26 amd kernel: isab0: <PCI-ISA bridge> at device 1.0 on  
>> pci0
>> Feb 12 14:32:26 amd kernel: isa0: <ISA bus> on isab0
>> Feb 12 14:32:26 amd kernel: pci0: <serial bus, SMBus> at device 1.1 (no
>> driver attached)
>> Feb 12 14:32:26 amd kernel: ohci0: <OHCI (generic) USB controller> mem
>> 0xec002000-0xec002fff irq 3 at device 2.0 on pci0
>> Feb 12 14:32:26 amd kernel: usbus0: <OHCI (generic) USB controller> on
>> ohci0
>> Feb 12 14:32:26 amd kernel: ohci1: <OHCI (generic) USB controller> mem
>> 0xec003000-0xec003fff irq 11 at device 2.1 on pci0
>> Feb 12 14:32:26 amd kernel: usbus1: <OHCI (generic) USB controller> on
>> ohci1
>> Feb 12 14:32:26 amd kernel: ehci0: <NVIDIA nForce2 Ultra 400 USB 2.0
>> controller> mem 0xec004000-0xec0040ff irq 9 at device 2.2 on pci0
>> Feb 12 14:32:26 amd kernel: usbus2: EHCI version 1.0
>> Feb 12 14:32:26 amd kernel: usbus2: <NVIDIA nForce2 Ultra 400 USB 2.0
>> controller> on ehci0
>> Feb 12 14:32:26 amd kernel: pcm0: <nVidia nForce2 400> port
>> 0xd800-0xd8ff,0xdc00-0xdc7f mem 0xec005000-0xec005fff irq 5 at device  
>> 6.0
>> on pci0
>> Feb 12 14:32:26 amd kernel: pcm0: <Avance Logic ALC658 AC97 Codec>
>> Feb 12 14:32:26 amd kernel: pcib1: <ACPI PCI-PCI bridge> at device 8.0  
>> on
>> pci0
>> Feb 12 14:32:26 amd kernel: pci2: <ACPI PCI bus> on pcib1
>> Feb 12 14:32:26 amd kernel: vr0: <VIA VT6102 Rhine II 10/100BaseTX> port
>> 0xb000-0xb0ff mem 0xe8000000-0xe80000ff irq 10 at device 11.0 on pci2
>> Feb 12 14:32:26 amd kernel: vr0: Quirks: 0x0
>> Feb 12 14:32:26 amd kernel: vr0: Revision: 0x8d
>> Feb 12 14:32:26 amd kernel: miibus0: <MII bus> on vr0
>> Feb 12 14:32:26 amd kernel: ukphy0: <Generic IEEE 802.3u media  
>> interface>
>> PHY 1 on miibus0
>> Feb 12 14:32:26 amd kernel: ukphy0:  none, 10baseT, 10baseT-FDX,
>> 100baseTX, 100baseTX-FDX, auto
>> Feb 12 14:32:26 amd kernel: vr0: Ethernet address: 00:50:8d:69:47:63
>> Feb 12 14:32:26 amd kernel: atapci0: <nVidia nForce2 Pro UDMA133
>> controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at
>> device 9.0 on pci0
>> Feb 12 14:32:26 amd kernel: ata0: <ATA channel 0> on atapci0
>> Feb 12 14:32:26 amd kernel: ata1: <ATA channel 1> on atapci0
>> Feb 12 14:32:26 amd kernel: atapci1: <nVidia nForce2 Pro SATA150
>> controller> port
>> 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xcc00-0xcc0f,0xd000-0xd07f
>> irq 11 at device 11.0 on pci0
>> Feb 12 14:32:26 amd kernel: ata2: <ATA channel 0> on atapci1
>> Feb 12 14:32:26 amd kernel: ata3: <ATA channel 1> on atapci1
>> Feb 12 14:32:26 amd kernel: pcib2: <ACPI PCI-PCI bridge> at device 30.0  
>> on
>> pci0
>> Feb 12 14:32:26 amd kernel: pci1: <ACPI PCI bus> on pcib2
>> Feb 12 14:32:26 amd kernel: vgapci0: <VGA-compatible display> mem
>> 0xe9000000-0xe9ffffff,0xd0000000-0xdfffffff,0xea000000-0xeaffffff irq 12
>> at device 0.0 on pci1
>> Feb 12 14:32:26 amd kernel: acpi_tz0: <Thermal Zone> on acpi0
>> Feb 12 14:32:26 amd kernel: attimer0: <AT timer> port 0x40-0x43 irq 0 on
>> acpi0
>> Feb 12 14:32:26 amd kernel: Timecounter "i8254" frequency 1193182 Hz
>> quality 0
>> Feb 12 14:32:26 amd kernel: Event timer "i8254" frequency 1193182 Hz
>> quality 100
>> Feb 12 14:32:26 amd kernel: atrtc0: <AT realtime clock> port 0x70-0x73  
>> irq
>> 8 on acpi0
>> Feb 12 14:32:26 amd kernel: Event timer "RTC" frequency 32768 Hz  
>> quality 0
>> Feb 12 14:32:26 amd kernel: fdc0: <floppy drive controller> port
>> 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
>> Feb 12 14:32:26 amd kernel: uart0: <16550 or compatible> port  
>> 0x3f8-0x3ff
>> irq 4 flags 0x10 on acpi0
>> Feb 12 14:32:26 amd kernel: ppc0: <Parallel port> port
>> 0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0
>> Feb 12 14:32:26 amd kernel: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE)  
>> in
>> COMPATIBLE mode
>> Feb 12 14:32:26 amd kernel: ppc0: FIFO with 16/16/9 bytes threshold
>> Feb 12 14:32:26 amd kernel: ppbus0: <Parallel port bus> on ppc0
>> Feb 12 14:32:26 amd kernel: plip0: <PLIP network interface> on ppbus0
>> Feb 12 14:32:26 amd kernel: lpt0: <Printer> on ppbus0
>> Feb 12 14:32:26 amd kernel: lpt0: Interrupt-driven port
>> Feb 12 14:32:26 amd kernel: ppi0: <Parallel I/O> on ppbus0
>> Feb 12 14:32:26 amd kernel: atkbdc0: <Keyboard controller (i8042)> port
>> 0x60,0x64 irq 1 on acpi0
>> Feb 12 14:32:26 amd kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
>> Feb 12 14:32:26 amd kernel: kbd0 at atkbd0
>> Feb 12 14:32:26 amd kernel: atkbd0: [GIANT-LOCKED]
>> Feb 12 14:32:26 amd kernel: pmtimer0 on isa0
>> Feb 12 14:32:26 amd kernel: sc0: <System console> at flags 0x100 on isa0
>> Feb 12 14:32:26 amd kernel: sc0: VGA <16 virtual consoles, flags=0x300>
>> Feb 12 14:32:26 amd kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df
>> iomem 0xa0000-0xbffff on isa0
>> Feb 12 14:32:26 amd kernel: ZFS NOTICE: Prefetch is disabled by default  
>> on
>> i386 -- to enable,
>> Feb 12 14:32:26 amd kernel: add "vfs.zfs.prefetch_disable=0" to
>> /boot/loader.conf.
>> Feb 12 14:32:26 amd kernel: ZFS filesystem version 5
>> Feb 12 14:32:26 amd kernel: ZFS storage pool version 28
>> Feb 12 14:32:26 amd kernel: Timecounters tick every 1.000 msec
>> Feb 12 14:32:26 amd kernel: usbus0: 12Mbps Full Speed USB v1.0
>> Feb 12 14:32:26 amd kernel: usbus1: 12Mbps Full Speed USB v1.0
>> Feb 12 14:32:26 amd kernel: usbus2: 480Mbps High Speed USB v2.0
>> Feb 12 14:32:26 amd kernel: ugen0.1: <nVidia> at usbus0
>> Feb 12 14:32:26 amd kernel: uhub0: <nVidia OHCI root HUB, class 9/0, rev
>> 1.00/1.00, addr 1> on usbus0
>> Feb 12 14:32:26 amd kernel: ugen1.1: <nVidia> at usbus1
>> Feb 12 14:32:26 amd kernel: uhub1: <nVidia OHCI root HUB, class 9/0, rev
>> 1.00/1.00, addr 1> on usbus1
>> Feb 12 14:32:26 amd kernel: ugen2.1: <nVidia> at usbus2
>> Feb 12 14:32:26 amd kernel: uhub2: <nVidia EHCI root HUB, class 9/0, rev
>> 2.00/1.00, addr 1> on usbus2
>> Feb 12 14:32:26 amd kernel: uhub0: 4 ports with 4 removable, self  
>> powered
>> Feb 12 14:32:26 amd kernel: uhub1: 4 ports with 4 removable, self  
>> powered
>> Feb 12 14:32:26 amd kernel: uhub2: 8 ports with 8 removable, self  
>> powered
>> Feb 12 14:32:26 amd kernel: ada0 at ata0 bus 0 scbus0 target 0 lun 0
>> Feb 12 14:32:26 amd kernel: ada0: <ST3200827A 3.AAH> ATA-7 device
>> Feb 12 14:32:26 amd kernel: ada0: 100.000MB/s transfers (UDMA5, PIO
>> 8192bytes)
>> Feb 12 14:32:26 amd kernel: ada0: 190781MB (390719855 512 byte sectors:
>> 16H 63S/T 16383C)
>> Feb 12 14:32:26 amd kernel: ada0: Previously was known as ad0
>> Feb 12 14:32:26 amd kernel: Timecounter "TSC" frequency 1100026364 Hz
>> quality 800
>> Feb 12 14:32:26 amd kernel: Trying to mount root from zfs:tank/root  
>> []...
>> Feb 12 14:32:26 amd kernel: usb_alloc_device: set address 2 failed
>> (USB_ERR_IOERROR, ignored)
>> Feb 12 14:32:26 amd kernel: usbd_setup_device_desc: getting device
>> descriptor at addr 2 failed, USB_ERR_IOERROR
>> Feb 12 14:32:26 amd kernel: ugen1.2: <Microsoft> at usbus1
>> Feb 12 14:32:26 amd kernel: ums0: <Microsoft Basic Optical Mouse, class
>> 0/0, rev 1.10/0.00, addr 2> on usbus1
>> Feb 12 14:32:26 amd kernel: ums0: 3 buttons and [XYZ] coordinates ID=0
>> Feb 12 14:32:26 amd kernel: usbd_req_re_enumerate: addr=2, set address
>> failed! (USB_ERR_IOERROR, ignored)
>> Feb 12 14:32:26 amd kernel: usbd_setup_device_desc: getting device
>> descriptor at addr 2 failed, USB_ERR_IOERROR
>> Feb 12 14:32:26 amd kernel: usbd_req_re_enumerate: addr=2, set address
>> failed! (USB_ERR_IOERROR, ignored)
>> Feb 12 14:32:26 amd kernel: usbd_setup_device_desc: getting device
>> descriptor at addr 2 failed, USB_ERR_IOERROR
>> Feb 12 14:32:26 amd kernel: ugen0.2: <Unknown> at usbus0 (disconnected)
>> Feb 12 14:32:26 amd kernel: uhub_reattach_port: could not allocate new
>> device
>> Feb 12 14:32:28 amd kernel: keyrate font8x16 font8x14 font8x8 blanktime
>> screensaver.
>>
>>
>> --
>> http://about.me/paulocavalcanti
>> -------------------------
>> Histórico: http://www.fug.com.br/historico/html/freebsd/
>> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
>
> Legal, não conhecia chipset nvidia! Só esse mouse aí que é do mal, vai
> que é ele que está empatando a placa :-)
>
> Assim, no menu de boot aperte 7 pro modo verbose ir pra YES e daí
> enter, depois lá no dmesg (no messages também) vai aparecer depois de
> "FreeBSD is a registered trademark of The FreeBSD Foundation." a
> versão do kernel e algumas linhas tipo "Preloaded elf module ... at
> ...", que são os módulos chamados no loader.conf, espero que aí
> apareça o motivo do driver não carregar.
>
> Teria o dtrace também, mas o meu está desabilitado e mesmo que não
> tivesse não sei usar :-)
>
> []'s
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd


-- 
http://about.me/paulocavalcanti


Mais detalhes sobre a lista de discussão freebsd