View Single Post
Old 02-07-07, 08:25 PM   #6
roddierod
Registered User
 
Join Date: Sep 2005
Posts: 12
Default Re: FreeBSD 7.0 Current with Xorg 7rc3 Modular and nvidia driver.

OK, I finally got the 9746 version of the driver to work on current with modular xorg. With the patch from Zanders post.

I have to modify a few of the make files to place the extensions and drivers in /usr/local/lib/xorg/modules/drivers and /usr/local/lib/xorg/modules/extensions.

The only problem I have now is the GLX module doesn't seem to load, but I'm not sure what the problem is. According to the log it look to me like if fails but then is loaded, not sure.

The card is an XFX GeForce 7800GTX with two displays using TwinView.
One Display is an LG 20" widescreen and the other is a Viewsonic 19", both LCD screens.

Here is the portion of the xorg.o.log.

Code:
(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 "NvAGP" "2"
(**) NVIDIA(0): Option "RenderAccel" "True"
(**) NVIDIA(0): Option "TwinView" "1"
(**) NVIDIA(0): Option "MetaModes" "CRT: nvidia-auto-select +1680+0, DFP: 1680x1050 +0+0"
(**) NVIDIA(0): Option "AllowGLXWithComposite" "True"
(**) NVIDIA(0): Option "TripleBuffer" "True"
(**) NVIDIA(0): Enabling RENDER acceleration
(**) NVIDIA(0): TwinView enabled
(**) NVIDIA(0): Use of AGPGART requested
(EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
(EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
(EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
(EE) NVIDIA(0):     you continue to encounter problems, Please try
(EE) NVIDIA(0):     reinstalling the NVIDIA driver.
(II) NVIDIA(0): NVIDIA GPU GeForce 7800 GTX at PCI:2:0:0 (GPU-0)
(--) NVIDIA(0): Memory: 262144 kBytes
(--) NVIDIA(0): VideoBIOS: 05.70.02.11.18
(II) NVIDIA(0): Detected PCI Express Link width: 16X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(--) NVIDIA(0): Connected display device(s) on GeForce 7800 GTX at PCI:2:0:0:
(--) NVIDIA(0):     ViewSonic VA902b (CRT-0)
(--) NVIDIA(0):     LG L203WTX (DFP-1)
(--) NVIDIA(0): ViewSonic VA902b (CRT-0): 400.0 MHz maximum pixel clock
(--) NVIDIA(0): LG L203WTX (DFP-1): 155.0 MHz maximum pixel clock
(--) NVIDIA(0): LG L203WTX (DFP-1): Internal Single Link TMDS
(II) NVIDIA(0): Display Devices found referenced in MetaMode: CRT-0, DFP-1
(II) NVIDIA(0): Assigned Display Devices: CRT-0, DFP-1
(II) NVIDIA(0): Validated modes:
(II) NVIDIA(0):     "CRT:nvidia-auto-select+1680+0,DFP:1680x1050+0+0"
(II) NVIDIA(0): Virtual screen size determined to be 2960 x 1050
(--) NVIDIA(0): DPI set to (85, 86); 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	0xb1000000 - 0xb1ffffff (0x1000000) MX[b]
	[1] 0	0	0xc0000000 - 0xcfffffff (0x10000000) MX[b]
	[2] 0	0	0xb2000000 - 0xb2ffffff (0x1000000) MX[b]
	[3] -1	0	0x00100000 - 0x3fffffff (0x3ff00000) MX[b]E(B)
	[4] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[b]
	[5] -1	0	0x000c0000 - 0x000effff (0x30000) MX[b]
	[6] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[b]
	[7] -1	0	0xd0700000 - 0xd07fffff (0x100000) MX[b]E
	[8] -1	0	0xd0300000 - 0xd03fffff (0x100000) MX[b]E
	[9] -1	0	0xd0400000 - 0xd05fffff (0x200000) MX[b]E
	[10] -1	0	0xd0100000 - 0xd01fffff (0x100000) MX[b]E
	[11] -1	0	0xd0200000 - 0xd02fffff (0x100000) MX[b]E
	[12] -1	0	0xd0001000 - 0xd0001fff (0x1000) MX[b]E
	[13] -1	0	0xd0000000 - 0xd0000fff (0x1000) MX[b]E
	[14] -1	0	0xb0100000 - 0xb0103fff (0x4000) MX[b]E
	[15] -1	0	0xb0104000 - 0xb0107fff (0x4000) MX[b]E
	[16] -1	0	0xb0005000 - 0xb0005fff (0x1000) MX[b]E
	[17] -1	0	0xb0004000 - 0xb0004fff (0x1000) MX[b]E
	[18] -1	0	0xb0003000 - 0xb0003fff (0x1000) MX[b]E
	[19] -1	0	0xb0002000 - 0xb0002fff (0x1000) MX[b]E
	[20] -1	0	0xb0001000 - 0xb0001fff (0x1000) MX[b]E
	[21] -1	0	0xb0000000 - 0xb0000fff (0x1000) MX[b]E
	[22] -1	0	0xb1000000 - 0xb1ffffff (0x1000000) MX[b](B)
	[23] -1	0	0xc0000000 - 0xcfffffff (0x10000000) MX[b](B)
	[24] -1	0	0xb2000000 - 0xb2ffffff (0x1000000) MX[b](B)
	[25] 0	0	0x000a0000 - 0x000affff (0x10000) MS[b](OprD)
	[26] 0	0	0x000b0000 - 0x000b7fff (0x8000) MS[b](OprD)
	[27] 0	0	0x000b8000 - 0x000bffff (0x8000) MS[b](OprD)
	[28] 0	0	0x00002000 - 0x0000207f (0x80) IX[b]
	[29] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[b]
	[30] -1	0	0x00000000 - 0x000000ff (0x100) IX[b]
	[31] -1	0	0x00003400 - 0x000034ff (0x100) IX[b]E
	[32] -1	0	0x00003000 - 0x000030ff (0x100) IX[b]E
	[33] -1	0	0x00001c60 - 0x00001c7f (0x20) IX[b]E
	[34] -1	0	0x00001c20 - 0x00001c2f (0x10) IX[b]E
	[35] -1	0	0x00001c48 - 0x00001c4b (0x4) IX[b]E
	[36] -1	0	0x00001c50 - 0x00001c57 (0x8) IX[b]E
	[37] -1	0	0x00001c4c - 0x00001c4f (0x4) IX[b]E
	[38] -1	0	0x00001c58 - 0x00001c5f (0x8) IX[b]E
	[39] -1	0	0x00001c10 - 0x00001c1f (0x10) IX[b]E
	[40] -1	0	0x00001c30 - 0x00001c33 (0x4) IX[b]E
	[41] -1	0	0x00001c38 - 0x00001c3f (0x8) IX[b]E
	[42] -1	0	0x00001c34 - 0x00001c37 (0x4) IX[b]E
	[43] -1	0	0x00001c40 - 0x00001c47 (0x8) IX[b]E
	[44] -1	0	0x00001c00 - 0x00001c0f (0x10) IX[b]E
	[45] -1	0	0x00001400 - 0x000014ff (0x100) IX[b]E
	[46] -1	0	0x00001800 - 0x000018ff (0x100) IX[b]E
	[47] -1	0	0x0000a040 - 0x0000a07f (0x40) IX[b]E
	[48] -1	0	0x0000a000 - 0x0000a03f (0x40) IX[b]E
	[49] -1	0	0x00008c00 - 0x00008cff (0x100) IX[b]E
	[50] -1	0	0x00002000 - 0x0000207f (0x80) IX[b](B)
	[51] 0	0	0x000003b0 - 0x000003bb (0xc) IS[b](OprU)
	[52] 0	0	0x000003c0 - 0x000003df (0x20) IS[b](OprU)
(II) NVIDIA(0): Setting mode
(II) NVIDIA(0):     "CRT:nvidia-auto-select+1680+0,DFP:1680x1050+0+0"
(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
(II) Loading extension XINERAMA
(WW) NVIDIA(0): Option "AddRGBGLXVisuals" is not used
(==) 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 XAccessControlExtension
(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) Loading local sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/local/lib/xorg/modules/extensions//libGLcore.so
(II) Module GLcore: vendor="X.Org Foundation"
	compiled for 7.2.0, module version = 1.0.0
	ABI class: X.Org Server Extension, version 0.3
(II) GLX: Initialized MESA-PROXY GL provider for screen 0
(**) Option "CoreKeyboard"
(**) Keyboard0: Core Keyboard
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xorg"
(**) Keyboard0: XkbRules: "xorg"
(**) Option "XkbModel" "pc105"
(**) Keyboard0: XkbModel: "pc105"
(**) Option "XkbLayout" "us"
(**) Keyboard0: XkbLayout: "us"
(**) Option "CustomKeycodes" "off"
(**) Keyboard0: CustomKeycodes disabled
(**) Option "Protocol" "auto"
(**) Mouse0: Device: "/dev/sysmouse"
(**) Mouse0: Protocol: "auto"
(**) Option "CorePointer"
(**) Mouse0: Core Pointer
(**) Option "Device" "/dev/sysmouse"
(**) Option "Emulate3Buttons" "no"
(**) Option "ZAxisMapping" "4 5"
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) Mouse0: SetupAuto: hw.iftype is 4, hw.model is 0
(II) Mouse0: SetupAuto: protocol is SysMouse
roddierod is offline   Reply With Quote