From owner-freebsd-x11@FreeBSD.ORG Mon Feb 9 03:33:51 2004 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DC9616A4CE; Mon, 9 Feb 2004 03:33:51 -0800 (PST) Received: from babyruth.hotpop.com (babyruth.hotpop.com [38.113.3.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF5A343D1F; Mon, 9 Feb 2004 03:33:50 -0800 (PST) (envelope-from rainbreath@hotpop.com) Received: from hotpop.com (kubrick.hotpop.com [38.113.3.103]) by babyruth.hotpop.com (Postfix) with SMTP id 0F09FFAC70; Mon, 9 Feb 2004 11:32:48 +0000 (UTC) Received: from breath.breath.home (unknown [213.59.159.63]) by smtp-1.hotpop.com (Postfix) with ESMTP id 709111A0179; Mon, 9 Feb 2004 11:11:31 +0000 (UTC) Date: Mon, 09 Feb 2004 14:30:20 +0300 To: Ulrich Spoerlein References: <20040201162804.GB614@einstein.lab> <20040201192118.GF614@einstein.lab> <20040207171500.GB805@galgenberg.net> From: Yuri Grebenkin Content-Type: multipart/mixed; boundary=----------hmlOdyN2xSfyn0rGDgbIJo MIME-Version: 1.0 Message-ID: In-Reply-To: <20040207171500.GB805@galgenberg.net> User-Agent: Opera7.23/FreeBSD M2 build 518 X-HotPOP: ----------------------------------------------- Sent By HotPOP.com FREE Email Get your FREE POP email at www.HotPOP.com ----------------------------------------------- cc: freebsd-x11@freebsd.org cc: freebsd-stable@freebsd.org Subject: Re: nVidia Riva TNT2 M64 problem on FreeBSD4.9 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2004 11:33:51 -0000 ------------hmlOdyN2xSfyn0rGDgbIJo Content-Type: text/plain; format=flowed; charset=iso-8859-1 Content-Transfer-Encoding: 8bit On Sat, 7 Feb 2004 18:15:00 +0100, Ulrich Spoerlein wrote: > On Mon, 02.02.2004 at 01:03:02 +0300, Yuri Grebenkin wrote: >> And could anyone receive my attachments, is it possible or I'm in >> trouble? >> Hell... |:-) > > Attachments get filtered. You would have to attach them inline. > > To your problem: Force AGP Mode to 1 (It won't make a difference > anyway), then try this: > > In kernel: add 'device agp', recompile > in /boot/loader/conf: remove agp_load="YES" > Recompile the port with WITH_FREEBSD_AGP > Edit XF86Config, add Option "NvAgp" "0" Hangs up as usual. > > If this does not work, do the following: > Remove 'device agp' from kernel, recompile > recompile the port without any options > Edit XF86Config, set NvAgp to 1. Hangs too. > > Just make sure, to never mix two AGP drivers (kernel + module + > XF86Config) > > Ulrich Spörlein I've probed to use all flags to make this nvidia-driver with your first configuration. For example, I used FORCE_AGP_RATE and set hw.nvidia...ReqAGPRate to 1 from 7. But still I get a hang up. I've attached my configuration simply as text files. But here is the strange thing: After 'kldload nvidia' I do 'sysctl -a -o | grep nvidia' and get the following output: hw.nvidia.agp.host-bridge.rates: 4x 2x 1x hw.nvidia.agp.host-bridge.fw: supported hw.nvidia.agp.host-bridge.sba: supported hw.nvidia.agp.host-bridge.registers: 0x1f000217:0x00000000 hw.nvidia.agp.card.rates: 4x 2x 1x hw.nvidia.agp.card.fw: not supported hw.nvidia.agp.card.sba: not supported hw.nvidia.agp.card.registers: 0x1f000007:0x00000000 hw.nvidia.agp.status.status: disabled hw.nvidia.agp.status.driver: n/a hw.nvidia.agp.status.rate: n/a hw.nvidia.agp.status.fw: n/a hw.nvidia.agp.status.sba: n/a hw.nvidia.version: NVIDIA FreeBSD x86 nvidia.ko Kernel Module 1.0-4365 Wed May 28 09:20:25 PDT 2003 hw.nvidia.registry.EnableVia4x: 0 hw.nvidia.registry.EnableALiAGP: 0 hw.nvidia.registry.ReqAGPRate: 7 hw.nvidia.registry.EnableAGPSBA: 0 hw.nvidia.registry.EnableAGPFW: 0 hw.nvidia.registry.SoftEDIDs: 1 hw.nvidia.registry.Mobile: 4294967295 hw.nvidia.registry.ResmanDebugLevel: 4294967295 hw.nvidia.registry.FlatPanelMode: 0 hw.nvidia.cards.0.model: RIVA TNT2 Model 64/Model 64 Pro hw.nvidia.cards.0.irq: 11 hw.nvidia.cards.0.vbios: ??.??.??.??.?? hw.nvidia.cards.0.type: AGP Isn't it strange that hw.nvidia.cards.0.vbios is set to ??.??.??.??.?? ? Maybe I just have a broken BIOS on my card? Besides I'm running it on VIA chipset motherboard that mentioned (even in this grep's output) as not a good combination with card in some way. But, you know, it runs normally on RH Linux, thus, probably it's a problem with the driver. And if hw.nvidia.cards.0.vbios must be set to some particular value and it don't seem to be so then It's possible to think that I have a wrong card BIOS. Please everybody, who have such a card, check out what value do you have and reply me! Thank you so much. Yuri. ------------hmlOdyN2xSfyn0rGDgbIJo Content-Disposition: attachment; filename=loader.conf Content-Type: application/octet-stream; name=loader.conf Content-Transfer-Encoding: 8bit # -- sysinstall generated deltas -- # userconfig_script_load="YES" ------------hmlOdyN2xSfyn0rGDgbIJo Content-Disposition: attachment; filename=XF86Config Content-Type: application/octet-stream; name=XF86Config Content-Transfer-Encoding: 8bit Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" 0 0 InputDevice "Keyboard0" "CoreKeyboard" InputDevice "Mouse0" "CorePointer" EndSection Section "Files" # FontPath "/usr/local/lib/pcemu/font/" EndSection Section "Module" Load "freetype" # Load "xtt" Load "extmod" Load "glx" #Load "dri" Load "dbe" #Load "record" #Load "xtrap" Load "type1" #Load "speedo" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "SysMouse" Option "Emulate3Buttons" Option "Device" "/dev/sysmouse" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" Option "XkbModel" "pc101" Option "XkbLayout" "us" EndSection Section "Monitor" Identifier "Monitor0" HorizSync 28.0 - 61.0 VertRefresh 48.0 - 75.0 EndSection Section "Device" Identifier "Card0" Driver "nvidia" Option "NvAgp" "0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" EndSubSection EndSection ------------hmlOdyN2xSfyn0rGDgbIJo Content-Disposition: attachment; filename=dmesg.txt Content-Type: text/plain; name=dmesg.txt Content-Transfer-Encoding: 8bit Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.9-RELEASE #3: Mon Feb 9 13:16:23 MSK 2004 breath@breath.breath.home:/usr/obj/usr/src/sys/Y20040205 Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1008053650 Hz CPU: Intel Celeron (1008.05-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383f9ff real memory = 134152192 (131008K bytes) avail memory = 126160896 (123204K bytes) Preloaded elf kernel "kernel" at 0xc044d000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 7 entries at 0xc00fdb10 acpi0: on motherboard acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_cpu0: on acpi0 acpi_button0: on acpi0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xd0000000-0xd3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xd000-0xd00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0xd400-0xd41f irq 9 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uaudio0: audio descriptors make no sense, error=4 device_probe_and_attach: uaudio0 attach returned 6 ugen0: Evolution Electronics Ltd. MK-361C USB MIDI keyboard, rev 1.00/2.52, addr 2 uhci1: port 0xd800-0xd81f irq 9 at device 7.3 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pci0: (vendor=0x1106, dev=0x3057) at 7.4 pcm0: port 0xe400-0xe403,0xe000-0xe003,0xdc00-0xdcff irq 5 at device 7.5 on pci0 pcm0: pcm1: mem 0xd8000000-0xd800ffff,0xd8010000-0xd8010fff irq 10 at device 10.0 on pci0 pcm1: orm0: