nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA FreeBSD (http://www.nvnews.net/vbulletin/forumdisplay.php?f=47)
-   -   Severe issues with NVIDIA x86 Kernel Module 169.12 (Quadro FX 3450/4000 SDI) (http://www.nvnews.net/vbulletin/showthread.php?t=110666)

sancho5 03-27-08 10:51 PM

Severe issues with NVIDIA x86 Kernel Module 169.12 (Quadro FX 3450/4000 SDI)
 
Greetings,

I'm experiencing severe issues with the FreeBSD NVIDIA driver for my Quadro FX 3450/4000 SDI. New installation of FreeBSD 7.0 i386, updated to 7.0-STABLE Mon Mar 17 18:04:24 MST 2008. This is the standard GENERIC kernel. I also experienced similar issues using a slightly older driver release under FreeBSD 6.3.

Attempting to use the nvidia-driver-169.12 package from ports.
NVIDIA(0): NVIDIA GPU Quadro FX 3450/4000 SDI (NV41GL) at PCI:7:0:0

When I start X using the Xorg 'nv' driver it starts successfully. Base xorg.conf created using 'X -configure' and X started using 'X -config /path/to/xorg.conf.new'. Using nvidia-xconfig to activate the 'nvidia' driver and starting X with this config results in the X server attempting to start up and choking; the Nvidia logo appears after a few seconds and remains for a minute or more, and a pixelated black and green screen remains; the X display never loads correctly. During attempted startup and when using CTRL+ALT+BKSP to kill the server the Xorg process drives CPU usage to 100%:. I never get a proper display.

PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
1203 root 1 118 0 28168K 23960K CPU1 1 1:21 100.00% Xorg

Several errors are written to output during the failed X startup:

NVIDIA: failed to set MTRR 0xc0000000, 0M (write-combining)
NVIDIA: failed to set MTRR 0xc0000000, 0M (write-combining)
NVIDIA: failed to set MTRR 0xc0000000, 0M (write-combining)
NVIDIA: failed to set MTRR 0xc0000000, 0M (write-combining)
NVRM: Xid (0007:00): 1, Channel 00000001 Method 00000000 Data bfef0005
NVIDIA: failed to set MTRR 0xc0000000, 0M (write-combining)
NVIDIA: failed to set MTRR 0xc0000000, 0M (write-combining)

I've sent various details to freebsd-gfx-bugs@nvidia.com i.e. loaded modules, dmesg, xorg.conf, Xorg log, hw.nvidia sysctl values, xorg* and nvidia* package versions, etc. but this forum won't handle more than 15000 characters for pasting all of it.

Are there known issues with this card/chip? Any further troubleshooting I can attempt or information I can provide?

$ kldstat
Id Refs Address Size Name
1 25 0xc0400000 9119f4 kernel
2 1 0xc0d12000 8460 linprocfs.ko
3 3 0xc0d1b000 28678 linux.ko
4 1 0xc0d44000 14324 snd_hda.ko
5 2 0xc0d59000 4a5ac sound.ko
6 1 0xc0da4000 22e40 smbfs.ko
7 3 0xc0dc7000 49b8 libiconv.ko
8 3 0xc0dcc000 2c70 libmchain.ko
9 1 0xc0dcf000 4d20 atapicam.ko
10 1 0xc0dd4000 80dc6c nvidia.ko
11 1 0xc15e2000 6a2c4 acpi.ko
12 1 0xc72e8000 3000 pflog.ko
13 1 0xc72eb000 33000 pf.ko

$ kldstat -v
Id Refs Address Size Name
1 25 0xc0400000 9119f4 kernel
Contains modules:
...
422 hostb/agp_ali
423 hostb/agp_amd
424 hostb/agp_amd64
425 hostb/agp_ati
426 vgapci/agp_i810
427 hostb/agp_intel
428 hostb/agp_nvidia
429 hostb/agp_sis
430 hostb/agp_via
10 1 0xc0dd4000 80dc6c nvidia.ko
Contains modules:
Id Name
13 pci/nvidia

$ dmesg | grep nvidia
nvidia0: <Quadro FX 3450/4000 SDI> mem
0xdd000000-0xddffffff,0xc0000000-0xcfffffff,0xde000000-0xdeffffff irq
16 at device 0.0 on pci7
nvidia0: [GIANT-LOCKED]
nvidia0: [ITHREAD]

$ ls -l /dev/nvidia*
crw-rw-rw- 1 root wheel 0, 43 Mar 17 21:01 /dev/nvidia0
crw-rw-rw- 1 root wheel 0, 44 Mar 17 21:01 /dev/nvidiactl

$ ls -d1 /var/db/pkg/{xorg-*,nvidia-*}
/var/db/pkg/nvidia-driver-169.12
/var/db/pkg/nvidia-xconfig-1.0_2
/var/db/pkg/xorg-7.3_1
/var/db/pkg/xorg-apps-7.3
/var/db/pkg/xorg-docs-1.4,1
/var/db/pkg/xorg-drivers-7.3
/var/db/pkg/xorg-fonts-100dpi-7.3
/var/db/pkg/xorg-fonts-7.3
/var/db/pkg/xorg-fonts-75dpi-7.3
/var/db/pkg/xorg-fonts-cyrillic-7.3
/var/db/pkg/xorg-fonts-miscbitmaps-7.3
/var/db/pkg/xorg-fonts-truetype-7.3
/var/db/pkg/xorg-fonts-type1-7.3
/var/db/pkg/xorg-libraries-7.3_1
/var/db/pkg/xorg-protos-7.3
/var/db/pkg/xorg-server-1.4_4,1

$ sysctl hw.nvidia
hw.nvidia.version: NVIDIA UNIX x86 Kernel Module 169.12 Thu Feb 14
15:42:45 PST 2008
hw.nvidia.registry.EnableVia4x: 0
hw.nvidia.registry.EnableALiAGP: 0
hw.nvidia.registry.NvAGP: 1
hw.nvidia.registry.ReqAGPRate: 15
hw.nvidia.registry.EnableAGPSBA: 0
hw.nvidia.registry.EnableAGPFW: 0
hw.nvidia.registry.Mobile: 4294967295
hw.nvidia.registry.ResmanDebugLevel: 4294967295
hw.nvidia.registry.RmLogonRC: 1
hw.nvidia.registry.ModifyDeviceFiles: 1
hw.nvidia.registry.DeviceFileUID: 0
hw.nvidia.registry.DeviceFileGID: 0
hw.nvidia.registry.DeviceFileMode: 438
hw.nvidia.registry.RemapLimit: 0
hw.nvidia.registry.UseCPA: 4294967295
hw.nvidia.registry.UseVBios: 1
hw.nvidia.registry.RMEdgeIntrCheck: 1
hw.nvidia.registry.dwords:
hw.nvidia.cards.0.model: Quadro FX 3450/4000 SDI
hw.nvidia.cards.0.irq: 16
hw.nvidia.cards.0.vbios: ??.??.??.??.??
hw.nvidia.cards.0.type: PCI-E


## xorg.conf.new.nvidia: ##

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (root@jail-15) Thu Feb 28 18:44:31 UTC 2008

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/local/share/X11/rgb"
ModulePath "/usr/local/lib/xorg/modules"
FontPath "/usr/local/lib/X11/fonts/misc/"
FontPath "/usr/local/lib/X11/fonts/TTF/"
FontPath "/usr/local/lib/X11/fonts/OTF"
FontPath "/usr/local/lib/X11/fonts/Type1/"
FontPath "/usr/local/lib/X11/fonts/100dpi/"
FontPath "/usr/local/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "glx"
Load "record"
Load "xtrap"
Load "freetype"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"

#DisplaySize 410 310 # mm
### Comment all HorizSync and VertRefresh values to use DDC:
Identifier "Monitor0"
VendorName "DEL"
ModelName "DELL 2001FP"
HorizSync 31.0 - 80.0
VertRefresh 56.0 - 76.0
Option "DPMS"
EndSection

Section "Device"

### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "FPDither" # [<bool>]
#Option "CrtcNumber" # <i>
#Option "FPScale" # [<bool>]
#Option "FPTweak" # <i>
#Option "DualHead" # [<bool>]
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV41 [Quadro FX 3450/4000 SDI]"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

zander 03-28-08 12:30 PM

Re: Severe issues with NVIDIA x86 Kernel Module 169.12 (Quadro FX 3450/4000 SDI)
 
Please generate/attach an nvidia-bug-report.log file. If you have a lot of memory installed in the system, it may be a worthwhile experiment to check if the problems persist if you only use e.g. 1GB.

salkillen 04-13-08 12:08 AM

Re: Severe issues with NVIDIA x86 Kernel Module 169.12 (Quadro FX 3450/4000 SDI)
 
Hi, I have simular MTRR issues when I try the nvidia 169.12 or 171.06 drivers!

This error message goes away when i reduce the amount of ram from 4GB to 2GB.
The machine is a dual Xeon 3.6 on an Intel SE7525GP2 mobo with 4GB ram, with a NV Quadro FX 3450 PCIE, so I just enable memory sparing in the bios and FreeBSD 6.3 only "sees" 2GB!

Dualhead X windows run fine on two monitors when I use the "nv" driver from the FreeBSD 6.3 RELEASE disks (only had to add the option "Dualhead" "True" in /etc/X11/xorg.conf to it), but no Open GL, so very slowwwww.

However when I try the "nvidia-xconfig -twinview" modified xorg.conf, running the Nvidia drivers, the primary monitor doesn't seem to be probed and only comes up in vga mode (640x480/16 bit colour) whereas the second monitor comes up in 1280x1024 24bit mode! No matter what options or settings i've tried so far will get the primary monitor to come up in a reasonable resolution!

I hope that dropping the ram in your system, solves your problem.

Scott_K


All times are GMT -5. The time now is 07:09 PM.

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