From owner-freebsd-questions@FreeBSD.ORG Thu May 7 23:13:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DABE106566C for ; Thu, 7 May 2009 23:13:57 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from relay.pcl-ipout01.plus.net (relay.pcl-ipout01.plus.net [212.159.7.99]) by mx1.freebsd.org (Postfix) with ESMTP id 9AB7A8FC14 for ; Thu, 7 May 2009 23:13:56 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAIgBA0rUnw6U/2dsb2JhbADQWYN/BQ Received: from fhw-relay07.plus.net ([212.159.14.148]) by relay.pcl-ipout01.plus.net with ESMTP; 07 May 2009 23:43:48 +0100 Received: from [84.92.153.232] (helo=curlew.milibyte.co.uk) by fhw-relay07.plus.net with esmtp (Exim) id 1M2CJc-0004ai-RO for freebsd-questions@freebsd.org; Thu, 07 May 2009 23:43:45 +0100 Received: by curlew.milibyte.co.uk with local (Exim 4.69) (envelope-from ) id 1M2CJf-0001V6-37 for freebsd-questions@freebsd.org; Thu, 07 May 2009 23:43:47 +0100 From: Mike Clarke Date: Thu, 7 May 2009 23:43:46 +0100 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Disposition: inline To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200905072343.46922.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: e69aa9eaf190b393d8d52b99b5b6f8f9 Subject: Problems after upgrading to xorg-7.4_1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 May 2009 23:13:57 -0000 I'm having a couple of problems getting X to work after upgrading to xorg-7.4_1 (on 6.4-RELEASE-p3) The first problem is that I can't get the nvidia driver to load. I ran "Xorg -configure" to create a new xorg.conf. This generated a file using the nv driver, which works but causes the display to be offset about 15mm to the right. Things were working fine with the nvidia driver prior to upgrading the ports so I then ran nvidia-xconfig to update xorg.conf to use the nvidia driver but then X won't start. The error message I get is: (EE) Failed to load /usr/local/lib/xorg/modules/drivers//nvidia_drv.so ... but it does exist curlew:/root# ls -l /usr/local/lib/xorg/modules/drivers//nvidia_drv.so -r--r--r-- 1 root wheel 1650756 Feb 16 11:18 /usr/local/lib/xorg/modules/drivers//nvidia_drv.so To get round this it looks like I either need to get the nv driver to position the display correctly or get the nvidia driver to load. I've included copies of xorg.conf and Xorg0.log at the end of this email. The second problem is that when I revert to the nv driver X treats my UK keyboard as a US one, even though it functions correctly as a UK keyboard in console mode before starting X. The original config file created by "X -configure" didn't detect my keyboard type and generated the following keyboard section: Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Then I added the following lines from my previous config file: Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "gb" ... but it still uses the US keymap. ----------------------------------------------------------------- xorg.conf ----------------------------------------------------------------- # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 1.0 (root@curlew.lan) Thu May 7 22:48:56 BST 2009 Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" 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 "extmod" Load "record" Load "dbe" Load "glx" Load "dri2" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbRules" "xorg" Option "XkbModel" "pc105" Option "XkbLayout" "gb" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" #DisplaySize 380 300 # mm Identifier "Monitor0" VendorName "SAM" ModelName "SyncMaster" HorizSync 30.0 - 81.0 VertRefresh 56.0 - 75.0 Option "DPMS" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "SWcursor" # [] #Option "HWcursor" # [] #Option "NoAccel" # [] #Option "ShadowFB" # [] #Option "UseFBDev" # [] #Option "Rotate" # [] #Option "VideoKey" # #Option "FlatPanel" # [] #Option "FPDither" # [] #Option "CrtcNumber" # #Option "FPScale" # [] #Option "FPTweak" # #Option "DualHead" # [] Identifier "Card0" Driver "nvidia" VendorName "nVidia Corporation" BoardName "C51PV [GeForce 6150]" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1280x1024" EndSubSection EndSection ----------------------------------------------------------------- Xorg0.log ----------------------------------------------------------------- _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/curlew.lan:0 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 X.Org X Server 1.6.0 Release Date: 2009-2-25 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 6.4-RELEASE-p3 i386 Current Operating System: FreeBSD curlew.lan 6.4-RELEASE-p3 FreeBSD 6.4-RELEASE-p3 #2: Mon Feb 16 11:27:38 GMT 2009 root@curlew.lan:/usr/obj/usr/src/sys/CURLEW i386 Build Date: 07 May 2009 02:16:52AM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Thu May 7 23:07:46 2009 (==) Using config file: "/etc/X11/xorg.conf" (==) ServerLayout "X.org Configured" (**) |-->Screen "Screen0" (0) (**) | |-->Monitor "Monitor0" (**) | |-->Device "Card0" (**) |-->Input Device "Mouse0" (**) |-->Input Device "Keyboard0" (==) Automatically adding devices (==) Automatically enabling devices (**) FontPath set to: /usr/local/lib/X11/fonts/misc/, /usr/local/lib/X11/fonts/TTF/, /usr/local/lib/X11/fonts/OTF, /usr/local/lib/X11/fonts/Type1/, /usr/local/lib/X11/fonts/100dpi/, /usr/local/lib/X11/fonts/75dpi/, /usr/local/lib/X11/fonts/misc/, /usr/local/lib/X11/fonts/TTF/, /usr/local/lib/X11/fonts/OTF, /usr/local/lib/X11/fonts/Type1/, /usr/local/lib/X11/fonts/100dpi/, /usr/local/lib/X11/fonts/75dpi/, built-ins (**) ModulePath set to "/usr/local/lib/xorg/modules" (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled. (WW) Disabling Mouse0 (WW) Disabling Keyboard0 (II) Loader magic: 0x1ae0 (II) Module ABI versions: X.Org ANSI C Emulation: 0.4 X.Org Video Driver: 5.0 X.Org XInput driver : 4.0 X.Org Server Extension : 2.0 (II) Loader running on freebsd (--) Using syscons driver with X support (version 2.0) (--) using VT number 9 (--) PCI:*(0@0:5:0) nVidia Corporation C51PV [GeForce 6150] rev 162, Mem @ 0xfc000000/16777216, 0xe0000000/268435456, 0xfb000000/16777216, BIOS @ 0x????????/65536 (II) System resource ranges: [0] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [1] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [2] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [3] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [4] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file. (II) "dbe" will be loaded. This was enabled by default and also specified in the config file. (II) "glx" will be loaded. This was enabled by default and also specified in the config file. (II) "record" will be loaded. This was enabled by default and also specified in the config file. (II) "dri" will be loaded by default. (II) "dri2" will be loaded. This was enabled by default and also specified in the config file. (II) LoadModule: "extmod" (II) Loading /usr/local/lib/xorg/modules/extensions//libextmod.so (II) Module extmod: vendor="X.Org Foundation" compiled for 1.6.0, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 2.0 (II) Loading extension MIT-SCREEN-SAVER (II) Loading extension XFree86-VidModeExtension (II) Loading extension XFree86-DGA (II) Loading extension DPMS (II) Loading extension XVideo (II) Loading extension XVideo-MotionCompensation (II) Loading extension X-Resource (II) LoadModule: "record" (II) Loading /usr/local/lib/xorg/modules/extensions//librecord.so (II) Module record: vendor="X.Org Foundation" compiled for 1.6.0, module version = 1.13.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 2.0 (II) Loading extension RECORD (II) LoadModule: "dbe" (II) Loading /usr/local/lib/xorg/modules/extensions//libdbe.so (II) Module dbe: vendor="X.Org Foundation" compiled for 1.6.0, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 2.0 (II) Loading extension DOUBLE-BUFFER (II) LoadModule: "glx" (II) Loading /usr/local/lib/xorg/modules/extensions//libglx.so (II) Module glx: vendor="X.Org Foundation" compiled for 1.6.0, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (==) AIGLX disabled (II) Loading extension GLX (II) LoadModule: "dri2" (II) Loading /usr/local/lib/xorg/modules/extensions//libdri2.so (II) Module dri2: vendor="X.Org Foundation" compiled for 1.6.0, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (II) Loading extension DRI2 (II) LoadModule: "dri" (II) Loading /usr/local/lib/xorg/modules/extensions//libdri.so (II) Module dri: vendor="X.Org Foundation" compiled for 1.6.0, module version = 1.0.0 ABI class: X.Org Server Extension, version 2.0 (II) Loading extension XFree86-DRI (II) LoadModule: "nvidia" (II) Loading /usr/local/lib/xorg/modules/drivers//nvidia_drv.so dlopen: /usr/local/lib/xorg/modules/drivers//nvidia_drv.so: Undefined symbol "PictureScreenPrivateIndex" (EE) Failed to load /usr/local/lib/xorg/modules/drivers//nvidia_drv.so (II) UnloadModule: "nvidia" (EE) Failed to load module "nvidia" (loader failed, 7) (EE) No drivers available. Fatal server error: no screens found Please consult the The X.Org Foundation support at http://wiki.x.org for help. Please also check the log file at "/var/log/Xorg.0.log" for additional information. -- Mike Clarke