View Single Post
Old 04-13-08, 05:42 AM   #1
Registered User
Join Date: Mar 2007
Posts: 6
Exclamation Nvidia FreeBSD 169.12 and 171.06 drivers fail to probe Viewsonic flat panels!

Hi Y'all
Thought I'd build myself some FreeBSD 6.3 Multimedia workstations:

1/ A Dell Precision 470, single Xeon 3.2, 2GB Ram Nvidia Quadro 3450, 1x Viewsonic VX912, 1x Viewsonic G810, 1x74GB WD Raptor HD, 1x250GB WD2500 Caviar HD, 1x Sony DVD RW DRU-720A

2/ An Intel SE7525GP2, Dual Xeon 3.6, 4GB Ram, Nvidia 6800GT, 2x Viewsonic VX912, 2x 250GB WD2500s Caviar HDs, 1x Intel SRCS16 Raid50 with 6x 250GB WD2500s Caviar HDs, SB Audigy2ZS, Pinnacle USB Video Capture device.

Installed FreeBSD 6.3 + Xorg + KDE 3.5.8 on both systems, cvsup'ed to 6.3 stable, rebuilt/reinstalled worlds/kernels to 6.3-STABLE (with SMP, compat5x, -O2, less devices & controllers, I don't have on these machines). To test the stability of machines, I set them up to "make -J8 buildworld" (to /tmp, then delete - loop) ~37% CPU for 48 hours, all OK!

Added my video(PAL) capture/edit apps to Mr GP2, hmm, Xorg with native "nv" driver a bit slow dropping frames etc, same with Mr 470. Oh, well off to to fetch latest 169.12 nvidia freebsd driver.

Untar, make install, nvidia-xconfig -twinview, reboot (we don't have to do this very often, do we, unlike a certain other OS, thanks to Beastie), startx, Uh? 640x480 16bit on primary monitor, 1280x1024 24bit on secondary monitor???

Checked dmesg, found
nvidia0: <Unknown> mem 0xfd000000-0xfdffffff,0xd0000000-0xdfffffff,0xfc000000-0xfcffffff irq 16 at device 0.0 on pci3
nvidia0: [GIANT-LOCKED]

Checked Xorg.0.log, found
NVIDIA: failed to set MTRR 0xd0000000, 0M (write-combining)
NVIDIA: failed to set MTRR 0xd0000000, 0M (write-combining)
NVIDIA: failed to set MTRR 0xd0000000, 0M (write-combining)
NVIDIA: failed to set MTRR 0xd0000000, 0M (write-combining)
NVIDIA: failed to set MTRR 0xd0000000, 0M (write-combining)

Whoops, TOO much ram! So I reduced ram that systems sees with ram spareing 4GB down to 2GB and those problems go away.
But still different resolutions on monitors, BUGGER!

Tried various xorg.conf options I could think of, I RTFM'ed, then more options, all I succeeded in doing was breaking sync on primary monitor (VX912).

Another look at Xorg.0.log, Xorg or Nvidia driver doesn't seem to be probing 1st VX912, maybe it's the video card, swapped cards, no change.

Reinstalled FreeBSD 6.3-RELEASE GENERIC on Mr GP2, to no avail, so its not the optimized world or kernel.

Disconnected 2nd monitor, commented out twinview stuff in xorg.conf, still can't get better than 640x480. with VX912.
Plugged in Viewsonic G810 CRT, it probes ok, will run at 1600x1200!

Neither machine seems to probe Viewsonic VX912 flatpanels as the primary on DVI, with nvidia freebsd drivers 169.12 or 171.06 single or dual head, but probes CRT's no worries, or have I just forgotten something and made a stupid mistake?

Maybe I'll try a Nvidia driver that worked last year, on Mr GP2, where did I leave my notes and backups?

Oh, before I forget, Nvidia AMD/EM64T FreeBSD drivers, where the bloody hell are ya!

My xorg.conf generated by "nvidia-xconfig -twinview"

Section "ServerLayout"
Identifier " Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"

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/"

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

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

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

Section "Monitor"

#DisplaySize 380 300 # mm
### Comment all HorizSync and VertRefresh values to use DDC:
Identifier "Monitor0"
VendorName "VSC"
ModelName "VX912"
HorizSync 30.0 - 82.0
VertRefresh 50.0 - 85.0
Option "DPMS"

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>
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV45GL [Quadro FX 3400/4400]"

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
Option "DualHead" "True" # [<bool>]
Option "TwinView" "True"
Option "MetaModes" "nvidia-auto-select, nvidia-auto-select"
Option "TwinViewOrientation" "RightOf"
SubSection "Display"
Viewport 0 0
SubSection "Display"
Viewport 0 0
Depth 4
SubSection "Display"
Viewport 0 0
Depth 8
SubSection "Display"
Viewport 0 0
Depth 15
SubSection "Display"
Viewport 0 0
Depth 16
SubSection "Display"
Viewport 0 0
Depth 24
salkillen is offline   Reply With Quote