[PC-BSD Testing] PCBSD 8.0-RC2-x86 & Nvidia Legacy Drivers
Arthur Koziol
A-Koziol at neiu.edu
Tue Feb 16 12:32:14 PST 2010
On 02/16/2010 2:15 PM, Kris Moore wrote:
> On 02/15/2010 13:27, Ian Robinson wrote:
>
>> -RC2 x64 with Nvidia 192.22 is behaving very nicely for me, but -RC2 and
>> legacy drivers caused grief when I did a fresh install of -RC2-x86 on an
>> older computer. The older computer uses an Nvidia GeoForce 4 card (a Ti
>> 4200) and the legacy driver installed is 96.43.13 The 96.43.xx series is the
>> correct driver according to Nvidia and is the most current in ports.
>>
>> The 96.43.xx driver worked well under PCBSD 7.1.1. Under PCBSD 8.0-Alpha,
>> it worked but not without some screen corruption such as random speckled
>> dots across the display and an occasional but not major horizontal line or
>> two distorting the text or graphic which would go away if you scrolled the
>> item beneath them up or down off the screen and brought it back. I have not
>> tested this computer with 8.0-BETA or 8.0-RC. The behavior in -RC2 is worse
>> that the Alpha series.
>>
>> The first error I noticed was the random speckled dots. However, I also
>> began to get system freezes. I could not move the mouse cursor. I could
>> not get to console after the freeze (Ctrl-Alt-F1)
>>
>> After some hard reboots and restarting the video configuration option (#7 on
>> the Welcome screen) I was able to get to console before completing the
>> process. It was there that I saw the error message, "NVRM: detected
>> agp.ko, aborting nvidia AGP Setup. Furthermore, after completing the video
>> setup and starting nvidia-settings in a terminal, the Display Configuration
>> page would not show anything except an error message saying "Unable to load
>> X Server Display Configuration Page: failed to query NoScanout for screen
>> 0."
>>
>> The conflict between the Nvidia kernel module and the FreeBSD kernel module
>> agp.ko and how to configure one or the other is well documented. kldstat
>> does not show agp.ko as loaded, and I cannot see where agp.ko is loading at
>> all.
>>
>> After the passage of some minutes, the screen corrupts badly with thick
>> black horizontal bands across the display. Ultimately, the system will
>> freeze.
>>
>> I tried other drivers with varying degrees of success. nv would not work.
>> vesa did, but limited me to resolution of 1024x768. I tried the nouveau
>> driver from ports xf86-video-nouveau with patches which installed fine and
>> let me get greater resolution. It, however, had screen corruption after
>> being awakened from sleep.
>>
>> I also attempted to install the newest 96.43.16 tarball from Nvidia. I
>> followed the instructions in the README, but the "make install" failed with
>> an error message saying that it did not work with "8.0-CURRENT".
>>
>> I wonder if that is part of the problem? We all know that FreeBSD is at
>> RELEASE stage. Given that Nvidia 96.43.16 is newer than 96.43.13, are they
>> both living in a FreeBSD 7.x world rather than FreeBSD 8.0? That would
>> explain why the drivers worked great with FreeBSD 7.x and did not work with
>> FreeBSD 8.0. There could be other reasons, though. Is PCBSD 8.0-RC2
>> breaking something because of its recent upgrade to xorg-server 1.6.1?
>>
>> For what it is worth, I will provide the contents of /etc/X11/xorg.cong and
>> the output of the Xorg logfile:
>> ===============================================
>> ---> here is the output of the xorg.conf:
>>
>> Section "ServerLayout"
>> Identifier "XFree86 Configured"
>> Screen 0 "Screen0" 0 0
>> InputDevice "Mouse0" "CorePointer"
>> InputDevice "Keyboard0" "CoreKeyboard"
>> EndSection
>>
>> Section "Files"
>> ModulePath "/usr/local/lib/xorg/modules"
>> FontPath "/Programs/fonts/"
>> FontPath "/usr/local/lib/X11/fonts/cyrillic/"
>> FontPath "/usr/local/lib/X11/fonts/TrueType/"
>> FontPath "/usr/local/lib/X11/fonts/webfonts/"
>> FontPath "/usr/local/lib/X11/fonts/misc/"
>> FontPath "/usr/local/lib/X11/fonts/TTF/"
>> FontPath "/usr/local/lib/X11/fonts/Type1/"
>> FontPath "/usr/local/lib/X11/fonts/CID/"
>> FontPath "/usr/local/lib/X11/fonts/75dpi/"
>> FontPath "/usr/local/lib/X11/fonts/100dpi/"
>> FontPath "/usr/local/lib/X11/fonts/dejavu/"
>> FontPath "/usr/local/lib/X11/fonts/local/"
>> EndSection
>>
>> Section "Module"
>> Load "ddc"
>> Load "dbe"
>> Load "extmod"
>> Load "glx"
>> EndSection
>>
>> Section "ServerFlags"
>> Option "AutoAddDevices" "False"
>> Option "AllowEmptyInput" "Off"
>> EndSection
>>
>> Section "InputDevice"
>> Identifier "Keyboard0"
>> Driver "keyboard"
>> Option "XkbModel" "pc105"
>> Option "XkbLayout" "us"
>> Option "XkbVariant" ""
>> EndSection
>>
>> Section "InputDevice"
>> Identifier "Mouse0"
>> Driver "mouse"
>> Option "Protocol" "auto"
>> Option "Device" "/dev/sysmouse"
>> Option "Buttons" "6"
>> Option "ZAxisMapping" "4 5"
>> Option "Emulate3Buttons"
>> EndSection
>>
>> Section "Monitor"
>> Identifier "Monitor0"
>> VendorName "Monitor Vendor"
>> ModelName "Monitor Model"
>> HorizSync 30.0 - 70.0
>> VertRefresh 48.0 - 120.0
>> EndSection
>>
>> Section "Device"
>>
>> # Option "AllowGLXWithComposite" "true"
>> # Option "RenderAccel" "true"
>> # Option "AddARGBGLXVisuals" "true"
>> # Option "UseEvents" "false"
>> # Option "TripleBuffer" "1"
>> # Option "DamageEvents" "1"
>> # Option "BackingStore" "1"
>> # Option "PixmapCacheSize" "70000"
>> # Option "OnDemandVBlankInterrupts" "true"
>> # Option "XAANoOffscreenPixmaps" "true"
>> Option "UseDisplayDevice" "CRT-0"
>> Identifier "NV AGP"
>> VendorName "nvidia"
>> Driver "nvidia"
>> BusID "PCI:2:0:0"
>> EndSection
>>
>> Section "Screen"
>> Identifier "Screen0"
>> Device "NV AGP"
>> Monitor "Monitor0"
>> DefaultDepth 24
>> Option "NoLogo" "True"
>> SubSection "Display"
>> Depth 24
>> Modes "1280x1024"
>> EndSubSection
>> EndSection
>>
>> Section "Extensions"
>> Option "Composite" "Enable"
>> EndSection
>>
>>
>>
>> ---> here is the output of the Xorg logfile:
>> xorg.log
>>
>> Information
>> Information X.Org X Server 1.6.5
>> Information Release Date: 2009-10-11
>> Information X Protocol Version 11, Revision 0
>> Information Build Operating System: FreeBSD 8.0-RC3 i386
>> Information Current Operating System: FreeBSD pcbsd-1436
>> 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #4: Thu Jan 7 09:20:42 PST 2010
>> root at build8x32.pcbsd.org:/usr/obj/usr/pcbsd-build80/fbsd-source/8.0-src/sys/PCBSD
>> i386
>> Information Build Date: 08 February 2010 06:12:23PM
>> Information
>> Information Before reporting problems, check http://wiki.x.org
>> Information to make sure that you have the latest version.
>> Information Markers: (--) probed, (**) from config file, (==) default
>> setting,
>> Information (++) from command line, (!!) notice, (II)
>> informational,
>> Information (WW) warning, (EE) error, (NI) not implemented, (??)
>> unknown.
>> Default setting Log file: "/var/log/Xorg.0.log", Time: Sun Feb 14
>> 07:21:20 2010
>> Default setting Using config file: "/etc/X11/xorg.conf"
>> Default setting ServerLayout "XFree86 Configured"
>> From config file |-->Screen "Screen0" (0)
>> From config file | |-->Monitor "Monitor0"
>> From config file | |-->Device "Card0"
>> From config file |-->Input Device "Mouse0"
>> From config file |-->Input Device "Keyboard0"
>> From config file Option "AllowEmptyInput" "Off"
>> From config file Option "AutoAddDevices" "False"
>> From config file Not automatically adding devices
>> Default setting Automatically enabling devices
>> Warning `fonts.dir' not found (or not valid) in "/Programs/fonts/".
>> Information Entry deleted from font path.
>> Information (Run 'mkfontdir' on "/Programs/fonts/").
>> Warning The directory "/usr/local/lib/X11/fonts/webfonts/" does not
>> exist.
>> Information Entry deleted from font path.
>> Warning The directory "/usr/local/lib/X11/fonts/CID/" does not exist.
>> Information Entry deleted from font path.
>> Warning `fonts.dir' not found (or not valid) in
>> "/usr/local/lib/X11/fonts/dejavu/".
>> Information Entry deleted from font path.
>> Information (Run 'mkfontdir' on
>> "/usr/local/lib/X11/fonts/dejavu/").
>> Warning `fonts.dir' not found (or not valid) in
>> "/usr/local/lib/X11/fonts/local/".
>> Information Entry deleted from font path.
>> Information (Run 'mkfontdir' on
>> "/usr/local/lib/X11/fonts/local/").
>> From config file FontPath set to:
>> Information /usr/local/lib/X11/fonts/cyrillic/,
>> Information /usr/local/lib/X11/fonts/TrueType/,
>> Information /usr/local/lib/X11/fonts/misc/,
>> Information /usr/local/lib/X11/fonts/TTF/,
>> Information /usr/local/lib/X11/fonts/Type1/,
>> Information /usr/local/lib/X11/fonts/75dpi/,
>> Information /usr/local/lib/X11/fonts/100dpi/,
>> Information /usr/local/lib/X11/fonts/misc/,
>> Information /usr/local/lib/X11/fonts/TTF/,
>> Information /usr/local/lib/X11/fonts/OTF,
>> Information /usr/local/lib/X11/fonts/Type1/,
>> Information /usr/local/lib/X11/fonts/100dpi/,
>> Information /usr/local/lib/X11/fonts/75dpi/
>> From config file ModulePath set to "/usr/local/lib/xorg/modules"
>> From config file Extension "Composite" is enabled
>> Information Loader magic: 0x7a0
>> Information Module ABI versions:
>> Information X.Org ANSI C Emulation: 0.4
>> Information X.Org Video Driver: 5.0
>> Information X.Org XInput driver : 4.0
>> Information X.Org Server Extension : 2.0
>> Information Loader running on freebsd
>> Probed Using syscons driver with X support (version 2.0)
>> Probed using VT number 9
>> Information
>> Probed PCI:*(0:2:0:0) 10de:0253:0000:0000 nVidia Corporation NV25
>> [GeForce4 Ti 4200] rev 163, Mem @ 0xe4000000/16777216, 0xf0000000/67108864,
>> 0xec000000/524288, BIOS @ 0x????????/65536
>> Information System resource ranges:
>> Information [0] -1 0 0x000f0000 - 0x000fffff (0x10000)
>> MX[B]
>> Information [1] -1 0 0x000c0000 - 0x000effff (0x30000)
>> MX[B]
>> Information [2] -1 0 0x00000000 - 0x0009ffff (0xa0000)
>> MX[B]
>> Information [3] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
>> Information [4] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
>> Information "extmod" will be loaded. This was enabled by default and
>> also specified in the config file.
>> Information "dbe" will be loaded. This was enabled by default and
>> also specified in the config file.
>> Information "glx" will be loaded. This was enabled by default and
>> also specified in the config file.
>> Information "record" will be loaded by default.
>> Information "dri" will be loaded by default.
>> Information "dri2" will be loaded by default.
>> Information LoadModule: "ddc"
>> Information Module "ddc" already built-in
>> Information LoadModule: "dbe"
>> Information Loading /usr/local/lib/xorg/modules/extensions//libdbe.so
>> Information Module dbe: vendor="X.Org Foundation"
>> Information compiled for 1.6.5, module version = 1.0.0
>> Information Module class: X.Org Server Extension
>> Information ABI class: X.Org Server Extension, version 2.0
>> Information Loading extension DOUBLE-BUFFER
>> Information LoadModule: "extmod"
>> Information Loading
>> /usr/local/lib/xorg/modules/extensions//libextmod.so
>> Information Module extmod: vendor="X.Org Foundation"
>> Information compiled for 1.6.5, module version = 1.0.0
>> Information Module class: X.Org Server Extension
>> Information ABI class: X.Org Server Extension, version 2.0
>> Information Loading extension MIT-SCREEN-SAVER
>> Information Loading extension XFree86-VidModeExtension
>> Information Loading extension XFree86-DGA
>> Information Loading extension DPMS
>> Information Loading extension XVideo
>> Information Loading extension XVideo-MotionCompensation
>> Information Loading extension X-Resource
>> Information LoadModule: "glx"
>> Information Loading /usr/local/lib/xorg/modules/extensions//libglx.so
>> Information Module glx: vendor="NVIDIA Corporation"
>> Information compiled for 4.0.2, module version = 1.0.0
>> Information Module class: X.Org Server Extension
>> Information NVIDIA GLX Module 96.43.13 Thu Jun 25 18:09:05 PDT 2009
>> Information Loading extension GLX
>> Information LoadModule: "record"
>> Information Loading
>> /usr/local/lib/xorg/modules/extensions//librecord.so
>> Information Module record: vendor="X.Org Foundation"
>> Information compiled for 1.6.5, module version = 1.13.0
>> Information Module class: X.Org Server Extension
>> Information ABI class: X.Org Server Extension, version 2.0
>> Information Loading extension RECORD
>> Information LoadModule: "dri"
>> Information Loading /usr/local/lib/xorg/modules/extensions//libdri.so
>> Information Module dri: vendor="X.Org Foundation"
>> Information compiled for 1.6.5, module version = 1.0.0
>> Information ABI class: X.Org Server Extension, version 2.0
>> Information Loading extension XFree86-DRI
>> Information LoadModule: "dri2"
>> Information Loading
>> /usr/local/lib/xorg/modules/extensions//libdri2.so
>> Information Module dri2: vendor="X.Org Foundation"
>> Information compiled for 1.6.5, module version = 1.1.0
>> Information ABI class: X.Org Server Extension, version 2.0
>> Information Loading extension DRI2
>> Information LoadModule: "nvidia"
>> Information Loading
>> /usr/local/lib/xorg/modules/drivers//nvidia_drv.so
>> Information Module nvidia: vendor="NVIDIA Corporation"
>> Information compiled for 4.0.2, module version = 1.0.0
>> Information Module class: X.Org Video Driver
>> Information LoadModule: "mouse"
>> Information Loading /usr/local/lib/xorg/modules/input//mouse_drv.so
>> Information Module mouse: vendor="X.Org Foundation"
>> Information compiled for 1.6.5, module version = 1.4.0
>> Information Module class: X.Org XInput Driver
>> Information ABI class: X.Org XInput driver, version 4.0
>> Information LoadModule: "kbd"
>> Information Loading /usr/local/lib/xorg/modules/input//kbd_drv.so
>> Information Module kbd: vendor="X.Org Foundation"
>> Information compiled for 1.6.5, module version = 1.3.2
>> Information Module class: X.Org XInput Driver
>> Information ABI class: X.Org XInput driver, version 4.0
>> Information NVIDIA dlloader X Driver 96.43.13 Thu Jun 25 17:57:40
>> PDT 2009
>> Information NVIDIA Unified Driver for all Supported NVIDIA GPUs
>> Information Primary Device is: PCI 02 at 00:00:0
>> Information Loading sub module "fb"
>> Information LoadModule: "fb"
>> Information Loading /usr/local/lib/xorg/modules//libfb.so
>> Information Module fb: vendor="X.Org Foundation"
>> Information compiled for 1.6.5, module version = 1.0.0
>> Information ABI class: X.Org ANSI C Emulation, version 0.4
>> Information Loading sub module "ramdac"
>> Information LoadModule: "ramdac"
>> Information Module "ramdac" already built-in
>> Information resource ranges after probing:
>> Information [0] -1 0 0x000f0000 - 0x000fffff (0x10000)
>> MX[B]
>> Information [1] -1 0 0x000c0000 - 0x000effff (0x30000)
>> MX[B]
>> Information [2] -1 0 0x00000000 - 0x0009ffff (0xa0000)
>> MX[B]
>> Information [3] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
>> Information [4] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
>> From config file NVIDIA(0): Depth 24, (--) framebuffer bpp 32
>> Default setting NVIDIA(0): RGB weight 888
>> Default setting NVIDIA(0): Default visual is TrueColor
>> Default setting NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
>> From config file NVIDIA(0): Option "NoLogo" "True"
>> From config file NVIDIA(0): Enabling RENDER acceleration
>> Information NVIDIA(0): Support for GLX with the Damage and Composite
>> X extensions is
>> Information NVIDIA(0): enabled.
>> Information NVIDIA(0): NVIDIA GPU GeForce4 Ti 4200 at PCI:2:0:0
>> (GPU-0)
>> Probed NVIDIA(0): Memory: 65536 kBytes
>> Probed NVIDIA(0): VideoBIOS: 04.25.00.30.00
>> Information NVIDIA(0): Detected AGP rate: 4X
>> Probed NVIDIA(0): Interlaced video modes are supported on this GPU
>> Probed NVIDIA(0): Connected display device(s) on GeForce4 Ti 4200 at
>> PCI:2:0:0:
>> Probed NVIDIA(0): SONY HMD-A200 (CRT-1)
>> Probed NVIDIA(0): SONY HMD-A200 (CRT-1): 350.0 MHz maximum pixel
>> clock
>> Information NVIDIA(0): Assigned Display Device: CRT-1
>> Information NVIDIA(0): Validated modes:
>> Information NVIDIA(0): "1280x1024"
>> Information NVIDIA(0): Virtual screen size determined to be 1280 x
>> 1024
>> Probed NVIDIA(0): DPI set to (98, 108); computed from "UseEdidDpi" X
>> config
>> Probed NVIDIA(0): option
>> Probed Depth 24 pixmap format is 32 bpp
>> Information do I need RAC? No, I don't.
>> Information resource ranges after preInit:
>> Information [0] -1 0 0x000f0000 - 0x000fffff (0x10000)
>> MX[B]
>> Information [1] -1 0 0x000c0000 - 0x000effff (0x30000)
>> MX[B]
>> Information [2] -1 0 0x00000000 - 0x0009ffff (0xa0000)
>> MX[B]
>> Information [3] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B]
>> Information [4] -1 0 0x00000000 - 0x000000ff (0x100) IX[B]
>> Information NVIDIA(0): Initialized GART.
>> Information NVIDIA(0): Setting mode "1280x1024"
>> Information Loading extension NV-GLX
>> Information NVIDIA(0): NVIDIA 3D Acceleration Architecture
>> Initialized
>> Information NVIDIA(0): Using the NVIDIA 2D acceleration architecture
>> Default setting NVIDIA(0): Backing store disabled
>> Default setting NVIDIA(0): Silken mouse enabled
>> Information NVIDIA(0): DPMS enabled
>> Information Loading extension NV-CONTROL
>> Default setting RandR enabled
>> Information Initializing built-in extension Generic Event Extension
>> Information Initializing built-in extension SHAPE
>> Information Initializing built-in extension MIT-SHM
>> Information Initializing built-in extension XInputExtension
>> Information Initializing built-in extension XTEST
>> Information Initializing built-in extension BIG-REQUESTS
>> Information Initializing built-in extension SYNC
>> Information Initializing built-in extension XKEYBOARD
>> Information Initializing built-in extension XC-MISC
>> Information Initializing built-in extension XINERAMA
>> Information Initializing built-in extension XFIXES
>> Information Initializing built-in extension RENDER
>> Information Initializing built-in extension RANDR
>> Information Initializing built-in extension COMPOSITE
>> Information Initializing built-in extension DAMAGE
>> Information Initializing extension GLX
>> From config file Option "Protocol" "auto"
>> From config file Mouse0: Device: "/dev/sysmouse"
>> From config file Mouse0: Protocol: "auto"
>> From config file Option "CorePointer"
>> From config file Mouse0: always reports core events
>> From config file Option "Device" "/dev/sysmouse"
>> From config file Option "Buttons" "6"
>> From config file Option "Emulate3Buttons"
>> From config file Mouse0: Emulate3Buttons, Emulate3Timeout: 50
>> From config file Option "ZAxisMapping" "4 5"
>> From config file Mouse0: ZAxisMapping: buttons 4 and 5
>> From config file Mouse0: Buttons: 10
>> From config file Mouse0: Sensitivity: 1
>> Information XINPUT: Adding extended input device "Mouse0" (type:
>> MOUSE)
>> From config file Mouse0: (accel) keeping acceleration scheme 1
>> From config file Mouse0: (accel) filter chain progression: 2.00
>> From config file Mouse0: (accel) filter stage 0: 20.00 ms
>> From config file Mouse0: (accel) set acceleration profile 0
>> Information Mouse0: SetupAuto: hw.iftype is 4, hw.model is 0
>> Information Mouse0: SetupAuto: protocol is SysMouse
>> From config file Option "CoreKeyboard"
>> From config file Keyboard0: always reports core events
>> From config file Option "Protocol" "standard"
>> From config file Keyboard0: Protocol: standard
>> From config file Option "AutoRepeat" "500 30"
>> From config file Option "XkbRules" "xorg"
>> From config file Keyboard0: XkbRules: "xorg"
>> From config file Option "XkbModel" "pc105"
>> From config file Keyboard0: XkbModel: "pc105"
>> From config file Option "XkbLayout" "us"
>> From config file Keyboard0: XkbLayout: "us"
>> Warning Option "XkbVariant" requires an string value
>> From config file Option "CustomKeycodes" "off"
>> From config file Keyboard0: CustomKeycodes disabled
>> Information XINPUT: Adding extended input device "Keyboard0" (type:
>> KEYBOARD)
>> Information config/hal: Adding input device Wireless Mouse
>> Error config/hal: NewInputDeviceRequest failed (8)
>> Information config/hal: Adding input device AT Keyboard
>> Error config/hal: NewInputDeviceRequest failed (8)
>>
>>
>> ===============================================
>> Having spent the larger part of Sunday on this problem, I capitulated and
>> removed the Nvidia card and replaced it with an older ATI card (Radeon
>> VE/7000) which works well under -RC2. However, I would be happy to put the
>> Nvidia card back in an provide you with any information you request.
>>
>>
>> Ian Robinson
>> Salem, Ohio
>>
> Ian,
>
> Since the driver actually installs and starts to work at first, I'm
> guessing its a compat issue with the FreeBSD 8.0 base, or the new
> xorg-server 1.6.5. If you want, you can grab a copy of 8.0-RC, which has
> the older Xorg-server, that way we can narrow it down to the system itself.
>
> I've not gone to the trouble to update to 96.43.16 yet, since it only
> adds support for xorg-server 1.7, which we don't have yet. However, if
> you want to grab the driver from nvidia and test it, feel free, maybe it
> fixes more issues than the notes say :)
>
Kris,
Just so you know, on Nov. 17th, these drivers had a bump to x.x.14 to
support xorg-server 1.7 too
(http://www.nvidia.com/object/freebsd_display_96.43.14.html) so one must
wonder what the bump to x.x.16 was really about since it states the same
thing in the release highlights. Just an FYI.
Arthur
More information about the Testing
mailing list