Go Back   nV News Forums > Linux Support Forums > NVIDIA FreeBSD

Newegg Daily Deals

Reply
 
Thread Tools
Old 11-01-06, 09:14 PM   #1
Malus
Registered User
 
Join Date: Apr 2004
Posts: 7
Default Nvidia driver under 7.0-CURRENT. . .

Hey all,

This week I attempted to updated to FreeBSD 7.0 on my main machine. However, I am having some trouble with the Nvidia driver. While it does compile and load, my experience under X is a bit flaky. I am now at the point where I can actually get into X without crashing immediately. However, if I try to quit out of X or attempt to run a program which utilizes GLX, my machine hardlocks and shuts itself off soon after. I think there are some other actions which can cause a hardlock, such as changing the resolution. I'm assuming that it has panicked, but there is no way for me to see what the error is. Upon one of the crashes, I did see an error in the console before it shutoff. I did not read the whole error, but it was something along the lines of "NVRM: Xid " followed by a lot of numbers. It did work fine in 6.2, but that doesn't really help to pinpoint the problem.

I don't think it is an IRQ sharing problem, since the card does not appear to be sharing any IRQs with other devices (though it is supposed to be sharing it with the first USB controller). I lowered AGP rate to 4x and it does seem to crash less, though it doesn't fix the problem.

Here is some info pertaining to my system:

Specifications:
FreeBSD 7.0
Xorg 7.x Modular
Nvidia driver 1.0-9625 compile without FreeBSD AGP support
Athlon 64 X2 3800+
2 GB PC3200 DDR
Asus A8V-MX w/ newest available BIOS
Nvidia 6800GT (though it doesn't work with a Quadro 4 XGL either)

Code:
sysctl -a | grep nvidia
hw.nvidia.agp.card.rates: 8x 4x 
hw.nvidia.agp.card.fw: supported
hw.nvidia.agp.card.sba: supported
hw.nvidia.agp.card.registers: 0xff000e1b:0x1f000301
hw.nvidia.agp.status.status: enabled
hw.nvidia.agp.status.driver: nvidia
hw.nvidia.agp.status.rate: 4x
hw.nvidia.agp.status.fw: disabled
hw.nvidia.agp.status.sba: enabled
hw.nvidia.version: NVIDIA FreeBSD x86 Kernel Module  1.0-9625  Thu Sep 14 15:34:07 PDT 2
006
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 1
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.registry.DevicesConnected: 0
hw.nvidia.registry.RmLogonRC: 1
hw.nvidia.registry.DetectPrimaryVga: 1
hw.nvidia.registry.dwords: 
hw.nvidia.cards.0.model: GeForce 6800 GT
hw.nvidia.cards.0.irq: 16
hw.nvidia.cards.0.vbios: 05.40.02.32.00
hw.nvidia.cards.0.type: AGP
dev.nvidia.0.%desc: GeForce 6800 GT
dev.nvidia.0.%driver: nvidia
dev.nvidia.0.%location: slot=0 function=0
dev.nvidia.0.%pnpinfo: vendor=0x10de device=0x0045 subvendor=0x107d subdevice=0x2996 cla
ss=0x030000
dev.nvidia.0.%parent: pci1
Code:
vmstat -i
interrupt                          total       rate
irq6: fdc0                             8          0
irq14: ata0                           81          0
irq16: nvidia0                    640234        136
irq17: skc0                        48058         10
irq20: uhci0                       57448         12
irq21: atapci0+                   277366         58
irq22: uhci1 ehci0                     7          0
cpu0: timer                      9406784       1999
cpu1: timer                      9399452       1998
Total                           19829438       4215
Seems to interrupt an awful lot but I assume that is normal, since my laptop seems to have a lot of Nvidia interrupts too.

I have also attached the output of dmesg and my xorg.conf. If you need anything else, I can easily provide it. Any suggestions would be greatly appreciated.
Attached Files
File Type: txt dmesg.txt (6.8 KB, 187 views)
File Type: txt xorg.conf.txt (3.5 KB, 200 views)
File Type: txt Xorg.0.log.txt (23.4 KB, 188 views)
File Type: txt mptable.txt (2.5 KB, 172 views)

Last edited by Malus; 11-02-06 at 03:55 PM. Reason: Added Xorg.0.log to the post.
Malus is offline   Reply With Quote
Old 11-05-06, 08:59 PM   #2
Malus
Registered User
 
Join Date: Apr 2004
Posts: 7
Default Re: Nvidia driver under 7.0-CURRENT. . .

Had another crash when running mplayer:

Code:
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x0
fault code              = supervisor write, page not present
instruction pointer     = 0x20:0xc0592537
stack pointer           = 0x28:0xe7ec3a14
frame pointer           = 0x28:0xe7ec3a2c
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 28199 (mplayer)
trap number             = 12
panic: page fault
cpuid = 0
Uptime: 1h8m29s
Unfortunately, it reboots before I can run a stack trace or do any serious debugging. I'll see if I can get more of the fault errors which result from doing different things in X.
Malus is offline   Reply With Quote
Old 11-11-06, 10:06 PM   #3
boow
Registered User
 
Join Date: Sep 2006
Posts: 23
Default Re: Nvidia driver under 7.0-CURRENT. . .

I think the problem is the nv driver doesn't support the 6x or 7x geforces. vesa works and nvidia's driver for these cards.
boow is offline   Reply With Quote
Old 12-09-06, 01:14 PM   #4
nicblais
Registered User
 
Join Date: Dec 2006
Posts: 3
Default Re: Nvidia driver under 7.0-CURRENT. . .

Malus, I am having the same problems as you are having. Everything was fine with 1.0.8776 but now I get freezes when I CTRL-ALT-F(x) out to a terminal or when I exit nvidia-settings.

If you find a solution, please post!

Code:
(II) NVIDIA dlloader X Driver  1.0-9631  Thu Nov  9 17:40:39 PST 2006
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01:00:0
(--) Assigning device section with no busID to primary device
(--) Chipset NVIDIA GPU found
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
	compiled for 6.9.0, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.2
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.so
(II) Module ramdac: vendor="X.Org Foundation"
	compiled for 6.9.0, module version = 0.1.0
	ABI class: X.Org Video Driver, version 0.8
(II) resource ranges after xf86ClaimFixedResources() call:
	[0] -1	0	0xffe00000 - 0xffffffff (0x200000) MX[b](B)
	[1] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[b]E(B)
	[2] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[b]
	[3] -1	0	0x000c0000 - 0x000effff (0x30000) MX[b]
	[4] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[b]
	[5] -1	0	0xf9e00000 - 0xf9efffff (0x100000) MX[b]E
	[6] -1	0	0xf9c00000 - 0xf9dfffff (0x200000) MX[b]E
	[7] -1	0	0xdff00000 - 0xdfffffff (0x100000) MX[b]E
	[8] -1	0	0xf9900000 - 0xf99fffff (0x100000) MX[b]E
	[9] -1	0	0xf9a00000 - 0xf9bfffff (0x200000) MX[b]E
	[10] -1	0	0xf9800000 - 0xf98fffff (0x100000) MX[b]E
	[11] -1	0	0xd8000000 - 0xd7ffffff (0x0) MX[b]EO
	[12] -1	0	0xf9f00000 - 0xf9f1ffff (0x20000) MX[b](B)
	[13] -1	0	0xfa000000 - 0xfaffffff (0x1000000) MX[b](B)
	[14] -1	0	0xe0000000 - 0xefffffff (0x10000000) MX[b](B)
	[15] -1	0	0xfb000000 - 0xfbffffff (0x1000000) MX[b](B)
	[16] -1	0	0xdfe00000 - 0xdfe00fff (0x1000) MX[b](B)
	[17] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[b]
	[18] -1	0	0x00000000 - 0x000000ff (0x100) IX[b]
	[19] -1	0	0x0000e800 - 0x0000e8ff (0x100) IX[b]E
	[20] -1	0	0x0000e400 - 0x0000e4ff (0x100) IX[b]E
	[21] -1	0	0x0000e000 - 0x0000e0ff (0x100) IX[b]E
	[22] -1	0	0x0000d800 - 0x0000d8ff (0x100) IX[b]E
	[23] -1	0	0x0000d400 - 0x0000d4ff (0x100) IX[b]E
	[24] -1	0	0x0000fc00 - 0x0000fcff (0x100) IX[b]E
	[25] -1	0	0x0000b400 - 0x0000b4ff (0x100) IX[b]E
	[26] -1	0	0x0000b800 - 0x0000b8ff (0x100) IX[b]E
	[27] -1	0	0x0000c000 - 0x0000c0ff (0x100) IX[b]E
	[28] -1	0	0x0000c400 - 0x0000c4ff (0x100) IX[b]E
	[29] -1	0	0x0000c800 - 0x0000c8ff (0x100) IX[b]E
	[30] -1	0	0x0000d000 - 0x0000d0ff (0x100) IX[b]E
	[31] -1	0	0x0000b000 - 0x0000b0ff (0x100) IX[b]E
	[32] -1	0	0x0000a000 - 0x0000a0ff (0x100) IX[b]E
	[33] -1	0	0x0000a400 - 0x0000a4ff (0x100) IX[b]E
	[34] -1	0	0x0000a800 - 0x0000a8ff (0x100) IX[b]E
	[35] -1	0	0x00009800 - 0x000098ff (0x100) IX[b]E
(II) resource ranges after probing:
	[0] -1	0	0xffe00000 - 0xffffffff (0x200000) MX[b](B)
	[1] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[b]E(B)
	[2] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[b]
	[3] -1	0	0x000c0000 - 0x000effff (0x30000) MX[b]
	[4] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[b]
	[5] -1	0	0xf9e00000 - 0xf9efffff (0x100000) MX[b]E
	[6] -1	0	0xf9c00000 - 0xf9dfffff (0x200000) MX[b]E
	[7] -1	0	0xdff00000 - 0xdfffffff (0x100000) MX[b]E
	[8] -1	0	0xf9900000 - 0xf99fffff (0x100000) MX[b]E
	[9] -1	0	0xf9a00000 - 0xf9bfffff (0x200000) MX[b]E
	[10] -1	0	0xf9800000 - 0xf98fffff (0x100000) MX[b]E
	[11] -1	0	0xd8000000 - 0xd7ffffff (0x0) MX[b]EO
	[12] -1	0	0xf9f00000 - 0xf9f1ffff (0x20000) MX[b](B)
	[13] -1	0	0xfa000000 - 0xfaffffff (0x1000000) MX[b](B)
	[14] -1	0	0xe0000000 - 0xefffffff (0x10000000) MX[b](B)
	[15] -1	0	0xfb000000 - 0xfbffffff (0x1000000) MX[b](B)
	[16] -1	0	0xdfe00000 - 0xdfe00fff (0x1000) MX[b](B)
	[17] 0	0	0x000a0000 - 0x000affff (0x10000) MS[b]
	[18] 0	0	0x000b0000 - 0x000b7fff (0x8000) MS[b]
	[19] 0	0	0x000b8000 - 0x000bffff (0x8000) MS[b]
	[20] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[b]
	[21] -1	0	0x00000000 - 0x000000ff (0x100) IX[b]
	[22] -1	0	0x0000e800 - 0x0000e8ff (0x100) IX[b]E
	[23] -1	0	0x0000e400 - 0x0000e4ff (0x100) IX[b]E
	[24] -1	0	0x0000e000 - 0x0000e0ff (0x100) IX[b]E
	[25] -1	0	0x0000d800 - 0x0000d8ff (0x100) IX[b]E
	[26] -1	0	0x0000d400 - 0x0000d4ff (0x100) IX[b]E
	[27] -1	0	0x0000fc00 - 0x0000fcff (0x100) IX[b]E
	[28] -1	0	0x0000b400 - 0x0000b4ff (0x100) IX[b]E
	[29] -1	0	0x0000b800 - 0x0000b8ff (0x100) IX[b]E
	[30] -1	0	0x0000c000 - 0x0000c0ff (0x100) IX[b]E
	[31] -1	0	0x0000c400 - 0x0000c4ff (0x100) IX[b]E
	[32] -1	0	0x0000c800 - 0x0000c8ff (0x100) IX[b]E
	[33] -1	0	0x0000d000 - 0x0000d0ff (0x100) IX[b]E
	[34] -1	0	0x0000b000 - 0x0000b0ff (0x100) IX[b]E
	[35] -1	0	0x0000a000 - 0x0000a0ff (0x100) IX[b]E
	[36] -1	0	0x0000a400 - 0x0000a4ff (0x100) IX[b]E
	[37] -1	0	0x0000a800 - 0x0000a8ff (0x100) IX[b]E
	[38] -1	0	0x00009800 - 0x000098ff (0x100) IX[b]E
	[39] 0	0	0x000003b0 - 0x000003bb (0xc) IS[b]
	[40] 0	0	0x000003c0 - 0x000003df (0x20) IS[b]
(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "TVStandard" "NTSC-M"
(**) NVIDIA(0): Option "Coolbits" "1"
(**) NVIDIA(0): Option "UseDisplayDevice" "DFP"
(**) NVIDIA(0): Enabling RENDER acceleration
(**) NVIDIA(0): TV Standard string: "NTSC-M"
(II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) NVIDIA(0):     enabled.
(II) NVIDIA(0): NVIDIA GPU GeForce 6600 LE at PCI:1:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 262144 kBytes
(--) NVIDIA(0): VideoBIOS: 05.43.02.66.01
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce 6600 LE at PCI:1:0:0:
(--) NVIDIA(0):     Samsung SyncMaster (CRT-1)
(--) NVIDIA(0): Samsung SyncMaster (CRT-1): 400.0 MHz maximum pixel clock
(WW) NVIDIA(0): Option "UseDisplayDevice" requested "DFP", but no unused DFPs
(WW) NVIDIA(0):     are available.
(II) NVIDIA(0): Option "UseDisplayDevice" "DFP" converted to "".
(WW) NVIDIA(0): Unable to find any of the requested display device "" in the
(WW) NVIDIA(0):     list of available display devices "CRT-1".
(II) NVIDIA(0): Assigned Display Device: CRT-1
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):     "1280x1024"
(II) NVIDIA(0):     "1024x768"
(II) NVIDIA(0):     "800x600"
(II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(--) NVIDIA(0): DPI set to (95, 96); computed from "UseEdidDpi" X config
(--) NVIDIA(0):     option
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
	[0] 0	0	0xfa000000 - 0xfaffffff (0x1000000) MX[b]
	[1] 0	0	0xe0000000 - 0xefffffff (0x10000000) MX[b]
	[2] 0	0	0xfb000000 - 0xfbffffff (0x1000000) MX[b]
	[3] -1	0	0xffe00000 - 0xffffffff (0x200000) MX[b](B)
	[4] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[b]E(B)
	[5] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[b]
	[6] -1	0	0x000c0000 - 0x000effff (0x30000) MX[b]
	[7] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[b]
	[8] -1	0	0xf9e00000 - 0xf9efffff (0x100000) MX[b]E
	[9] -1	0	0xf9c00000 - 0xf9dfffff (0x200000) MX[b]E
	[10] -1	0	0xdff00000 - 0xdfffffff (0x100000) MX[b]E
	[11] -1	0	0xf9900000 - 0xf99fffff (0x100000) MX[b]E
	[12] -1	0	0xf9a00000 - 0xf9bfffff (0x200000) MX[b]E
	[13] -1	0	0xf9800000 - 0xf98fffff (0x100000) MX[b]E
	[14] -1	0	0xd8000000 - 0xd7ffffff (0x0) MX[b]EO
	[15] -1	0	0xf9f00000 - 0xf9f1ffff (0x20000) MX[b](B)
	[16] -1	0	0xfa000000 - 0xfaffffff (0x1000000) MX[b](B)
	[17] -1	0	0xe0000000 - 0xefffffff (0x10000000) MX[b](B)
	[18] -1	0	0xfb000000 - 0xfbffffff (0x1000000) MX[b](B)
	[19] -1	0	0xdfe00000 - 0xdfe00fff (0x1000) MX[b](B)
	[20] 0	0	0x000a0000 - 0x000affff (0x10000) MS[b](OprD)
	[21] 0	0	0x000b0000 - 0x000b7fff (0x8000) MS[b](OprD)
	[22] 0	0	0x000b8000 - 0x000bffff (0x8000) MS[b](OprD)
	[23] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[b]
	[24] -1	0	0x00000000 - 0x000000ff (0x100) IX[b]
	[25] -1	0	0x0000e800 - 0x0000e8ff (0x100) IX[b]E
	[26] -1	0	0x0000e400 - 0x0000e4ff (0x100) IX[b]E
	[27] -1	0	0x0000e000 - 0x0000e0ff (0x100) IX[b]E
	[28] -1	0	0x0000d800 - 0x0000d8ff (0x100) IX[b]E
	[29] -1	0	0x0000d400 - 0x0000d4ff (0x100) IX[b]E
	[30] -1	0	0x0000fc00 - 0x0000fcff (0x100) IX[b]E
	[31] -1	0	0x0000b400 - 0x0000b4ff (0x100) IX[b]E
	[32] -1	0	0x0000b800 - 0x0000b8ff (0x100) IX[b]E
	[33] -1	0	0x0000c000 - 0x0000c0ff (0x100) IX[b]E
	[34] -1	0	0x0000c400 - 0x0000c4ff (0x100) IX[b]E
	[35] -1	0	0x0000c800 - 0x0000c8ff (0x100) IX[b]E
	[36] -1	0	0x0000d000 - 0x0000d0ff (0x100) IX[b]E
	[37] -1	0	0x0000b000 - 0x0000b0ff (0x100) IX[b]E
	[38] -1	0	0x0000a000 - 0x0000a0ff (0x100) IX[b]E
	[39] -1	0	0x0000a400 - 0x0000a4ff (0x100) IX[b]E
	[40] -1	0	0x0000a800 - 0x0000a8ff (0x100) IX[b]E
	[41] -1	0	0x00009800 - 0x000098ff (0x100) IX[b]E
	[42] 0	0	0x000003b0 - 0x000003bb (0xc) IS[b](OprU)
	[43] 0	0	0x000003c0 - 0x000003df (0x20) IS[b](OprU)
(II) NVIDIA(0): Setting mode "1280x1024"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) Option "dpms"
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
(II) Initializing extension GLX
(**) Option "Protocol" "Auto"
(**) Mouse0: Device: "/dev/sysmouse"
(**) Mouse0: Protocol: "Auto"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/sysmouse"
(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9
(**) Option "CoreKeyboard"
(**) Keyboard0: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard0: XkbRules: "xorg"
(**) Keyboard0: XkbModel: "pc104"
(**) Option "XkbLayout" "ca"
(**) Keyboard0: XkbLayout: "ca"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) XINPUT: Adding extended input device "NVIDIA Damage Notification Manager" (type: Other)
(II) XINPUT: Adding extended input device "NVIDIA Kernel RC Handler" (type: Other)
(II) XINPUT: Adding extended input device "NVIDIA Event Handler" (type: Other)
(II) Mouse0: SetupAuto: hw.iftype is 4, hw.model is 0
(II) Mouse0: SetupAuto: protocol is SysMouse
Code:
sysctl -a | grep nvidia
hw.nvidia.agp.card.rates: 8x 4x
hw.nvidia.agp.card.fw: supported
hw.nvidia.agp.card.sba: supported
hw.nvidia.agp.card.registers: 0xff000e1b:0x00000000
hw.nvidia.agp.status.status: disabled
hw.nvidia.agp.status.driver: n/a (unused)
hw.nvidia.agp.status.rate: n/a (disabled)
hw.nvidia.agp.status.fw: n/a (disabled)
hw.nvidia.agp.status.sba: n/a (disabled)
hw.nvidia.version: NVIDIA FreeBSD x86 Kernel Module  1.0-9631  Thu Nov  9 17:38:06 PST 2006
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 1
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.registry.DevicesConnected: 0
hw.nvidia.registry.RmLogonRC: 1
hw.nvidia.registry.DetectPrimaryVga: 1
hw.nvidia.registry.dwords:
hw.nvidia.cards.0.model: GeForce 6600 LE
hw.nvidia.cards.0.irq: 16
hw.nvidia.cards.0.vbios: 05.43.02.66.01
hw.nvidia.cards.0.type: AGP
dev.nvidia.0.%desc: GeForce 6600 LE
dev.nvidia.0.%driver: nvidia
dev.nvidia.0.%location: slot=0 function=0
dev.nvidia.0.%pnpinfo: vendor=0x10de device=0x00f4 subvendor=0x0000 subdevice=0x0285 class=0x030000
dev.nvidia.0.%parent: pci1
nicblais is offline   Reply With Quote
Old 12-11-06, 01:46 PM   #5
adamk75
Registered User
 
Join Date: Nov 2006
Posts: 228
Default Re: Nvidia driver under 7.0-CURRENT. . .

I get similar problems with the 9*** series on -CURRENT. If I startx with gnome-session, I get an immediate lockup of X and the machine pretty quickly crashes. If I startx with fvwm2, I can use the machine without problems till I try and run an GL application. Most of the time, the GL application runs fine. However, even after I close the application, the process never stops running. Within a few minutes, the machine crashes. It will also crash if I try and launch a second GL app.

Adam
adamk75 is offline   Reply With Quote
Old 12-11-06, 08:10 PM   #6
Malus
Registered User
 
Join Date: Apr 2004
Posts: 7
Default Re: Nvidia driver under 7.0-CURRENT. . .

Unfortunately, I have downgraded to 6-STABLE, so I cannot really comment on how later versions of the driver work on it. Hopefully they can fix the issues with it, since I was getting excellent performance with 7-CURRENT (especially with the reimplementation of malloc).
Malus is offline   Reply With Quote
Old 12-12-06, 08:20 AM   #7
adamk75
Registered User
 
Join Date: Nov 2006
Posts: 228
Default Re: Nvidia driver under 7.0-CURRENT. . .

If anyone from nVidia is interested, this is the crash:

login: NVRM: detected agp.ko, aborting NVIDIA AGP setup!
Kernel page fault with the following non-sleepable locks held:
exclusive sleep mutex cdev r = 0 (0xc0a29984) locked @ /usr/src/sys/kern/kern_conf.c:61
KDB: stack backtrace:
db_trace_self_wrapper(c092dba0) at db_trace_self_wrapper+0x25
kdb_backtrace(1,c4433460,c,c42ea380,e64439c8,...) at kdb_backtrace+0x29
witness_warn(5,0,c09530c0) at witness_warn+0x192
trap(8,28,c0920028,c484bb00,66666667,...) at trap+0x108
calltrap() at calltrap+0x5
--- trap 0xc, eip = 0xc068cdf3, esp = 0xe6443a10, ebp = 0xe6443a24 ---
destroy_devl(c484bb00,e6443a54,c0f37bf4,c484bb00,c 496c680,...) at destroy_devl+0x23b
destroy_dev(c484bb00,c496c680,c109ea00,0,c484bb00, ...) at destroy_dev+0x10
nvidia_dev_close(c484bb00,3,2000,c42ea380,c0a2ad48 ,0,c0926b72,11b) at nvidia_dev_close+0x94
giant_close(c484bb00,3,2000,c42ea380,c414702c,...) at giant_close+0x30
devfs_close(e6443b00) at devfs_close+0x32c
VOP_CLOSE_APV(c09cab00,e6443b00) at VOP_CLOSE_APV+0x7e
vn_close(c499ca78,3,c46b7480,c42ea380) at vn_close+0x95
vn_closefile(c4664e58,c42ea380,e6443bb8,c06951b0,c 4664e58,...) at vn_closefile+0xca
devfs_close_f(c4664e58,c42ea380) at devfs_close_f+0xf
fdrop_locked(c4664e58,c42ea380,c3bf33b8,0,c09275cc ,...) at fdrop_locked+0x88
fdrop(c4664e58,c42ea380,6ba,c0a319f4,0,...) at fdrop+0x24
closef(c4664e58,c42ea380,0,0,0,...) at closef+0x367
kern_close(c42ea380,7,e6443d30,c08aafe2,c42ea380,. ..) at kern_close+0x1b6
close(c42ea380,e6443d04) at close+0x10
syscall(3b,3b,842003b,0,0,...) at syscall+0x256
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (6, FreeBSD ELF32, close), eip = 0x283b72fb, esp = 0xbfbfe61c, ebp = 0xbfbfe638 ---


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0x0
fault code = supervisor read, page not present
instruction pointer = 0x20:0xc068cdf3
stack pointer = 0x28:0xe6443a10
frame pointer = 0x28:0xe6443a24
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 1447 (glxgears)
[thread pid 1447 tid 100107 ]
Stopped at destroy_devl+0x23b: cmpl %ebx,0(%eax)
db> bt
Tracing pid 1447 tid 100107 td 0xc42ea380
destroy_devl(c484bb00,e6443a54,c0f37bf4,c484bb00,c 496c680,...) at destroy_devl+0x23b
destroy_dev(c484bb00,c496c680,c109ea00,0,c484bb00, ...) at destroy_dev+0x10
nvidia_dev_close(c484bb00,3,2000,c42ea380,c0a2ad48 ,0,c0926b72,11b) at nvidia_dev_close+0x94
giant_close(c484bb00,3,2000,c42ea380,c414702c,...) at giant_close+0x30
devfs_close(e6443b00) at devfs_close+0x32c
VOP_CLOSE_APV(c09cab00,e6443b00) at VOP_CLOSE_APV+0x7e
vn_close(c499ca78,3,c46b7480,c42ea380) at vn_close+0x95
vn_closefile(c4664e58,c42ea380,e6443bb8,c06951b0,c 4664e58,...) at vn_closefile+0xca
devfs_close_f(c4664e58,c42ea380) at devfs_close_f+0xf
fdrop_locked(c4664e58,c42ea380,c3bf33b8,0,c09275cc ,...) at fdrop_locked+0x88
fdrop(c4664e58,c42ea380,6ba,c0a319f4,0,...) at fdrop+0x24
closef(c4664e58,c42ea380,0,0,0,...) at closef+0x367
kern_close(c42ea380,7,e6443d30,c08aafe2,c42ea380,. ..) at kern_close+0x1b6
close(c42ea380,e6443d04) at close+0x10
syscall(3b,3b,842003b,0,0,...) at syscall+0x256
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (6, FreeBSD ELF32, close), eip = 0x283b72fb, esp = 0xbfbfe61c, ebp = 0xbfbfe638 ---
db> reboot

I am not using NVIDIA's AGP support in this crash, but I get the same results even if I switch.

Adam
adamk75 is offline   Reply With Quote
Old 12-12-06, 12:23 PM   #8
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Nvidia driver under 7.0-CURRENT. . .

@adamk75: do you only see this with 1.0-9xxx series drivers or does the crash also happen with 1.0-87xx?
zander is offline   Reply With Quote

Old 12-12-06, 12:49 PM   #9
adamk75
Registered User
 
Join Date: Nov 2006
Posts: 228
Default Re: Nvidia driver under 7.0-CURRENT. . .

Everything works fine with the 1.0-8776 drivers.

Adam
adamk75 is offline   Reply With Quote
Old 12-12-06, 12:59 PM   #10
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Nvidia driver under 7.0-CURRENT. . .

@adamk75: without having looked at this problem, my guess is that the problems are due to an interaction problem between the logic in 1.0-9xxx+ that takes advantage of the device cloning mechanism and 7.0-CURRENT kernels. Do you know if this is a recent regression?
zander is offline   Reply With Quote
Old 12-12-06, 01:12 PM   #11
adamk75
Registered User
 
Join Date: Nov 2006
Posts: 228
Default Re: Nvidia driver under 7.0-CURRENT. . .

Sorry, I couldn't say. I only recently (in the last month) installed FreeBSD on these machines and went straight from a fresh 6.2 RC1 install to -CURRENT. I used 8776 from the ports tree for a while and only tried the newer 9*** drivers when they showed up in the ports tree recently.
adamk75 is offline   Reply With Quote
Old 12-12-06, 02:17 PM   #12
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Nvidia driver under 7.0-CURRENT. . .

OK, thanks.
zander is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
Current NVIDIA Solaris graphics driver releases AaronP NVIDIA Solaris 0 10-21-10 10:56 AM
Current NVIDIA FreeBSD graphics driver releases zander NVIDIA FreeBSD 0 01-27-09 05:22 PM
Current NVIDIA Linux graphics driver releases AaronP NVIDIA Linux 0 11-06-08 04:39 PM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM

All times are GMT -5. The time now is 11:56 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.