From owner-freebsd-questions Sat Oct 28 10:46:32 2000 Delivered-To: freebsd-questions@freebsd.org Received: from heinz.jollem.com (c187104187.telekabel.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 5A57437B479 for ; Sat, 28 Oct 2000 10:45:54 -0700 (PDT) Received: (from ernst@localhost) by heinz.jollem.com (8.9.3/8.9.3) id TAA06079 for questions@freebsd.org; Sat, 28 Oct 2000 19:45:27 +0200 (CEST) (envelope-from ernst) Date: Sat, 28 Oct 2000 19:45:08 +0200 From: Ernst de Haan To: questions@freebsd.org Subject: XFree86 4.0.1 && RIVA TNT [Was: XFree86 4.0.1 port woes] Message-ID: <20001028194508.A6042@c187104187.telekabel.chello.nl> References: <20001028143322.A376@c187104187.telekabel.chello.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20001028143322.A376@c187104187.telekabel.chello.nl>; from ernst@jollem.com on Sat, Oct 28, 2000 at 02:33:22PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG After doing some further investigation, it seems the nVidia code is causing the core dump. I successfully tried running the X Server in standard VGA, 8 bit color. Is there anyone that has XFree86 4.0.1 running with an nVidia graphics accelerator card (preferrably the RIVA TNT) ? Ernst Ernst de Haan wrote: > Hi, > > I decided to try installing the XFree86 4.0.1 port over my `old' XFree86 > 3.3.6, because I was wondering if it would give me any performance > improvements. But it core dumps as soon as it starts up, somewhere in the > graphics card initialization code, it seems. Any hints would be greatly > appreciated. > > I upgraded my ports this week. This is how I start X: > > X :0 > > My system has the following characteristics: > > Pentium 2, 400 MHz, 100 MHz bus > 128 MB internal memory > Diamond Viper 550: NVidia RIVA TNT, 16 MB > Adaptec 2940 U2W-SCSI > IBM DNES-309170W harddisk (U2W) > TEAC CD-Writer > IDE on mainboard, IDE harddisk, ZIP drive and DVD player > 3,5" floppy drive > APM BIOS (how relevant can this info be ?! ;-) ) > > I have attached my XF86Config file (/usr/X11/XF86Config), there is nothing > spectacular in it, AFAICS. This is the full server output from > /var/log/XFree86.0.log: > > XFree86 Version 4.0.1 / X Window System > (protocol Version 11, revision 0, vendor release 6400) > Release Date: 1 July 2000 > If the server is older than 6-12 months, or if your card is newer > than the above date, look for a newer version before reporting > problems. (see http://www.XFree86.Org/FAQ) > Operating System: FreeBSD 4.1-STABLE i386 [ELF] > Module Loader present > (==) Log file: "/var/log/XFree86.0.log", Time: Sat Oct 28 14:22:02 2000 > (==) Using config file: "/etc/X11/XF86Config" > Markers: (--) probed, (**) from config file, (==) default setting, > (++) from command line, (!!) notice, (II) informational, > (WW) warning, (EE) error, (??) unknown. > (==) ServerLayout "Simple Layout" > (**) |-->Screen "Screen 1" (0) > (**) | |-->Monitor "Iiyama Vision Master 450" > (**) | |-->Device "Diamond Viper 550" > (**) |-->Input Device "Mouse1" > (**) |-->Input Device "Keyboard1" > (**) Option "AutoRepeat" "500 30" > (WW) Option "XkbCompat" requires an string value > (**) Option "XkbRules" "xfree86" > (**) XKB: rules: "xfree86" > (**) Option "XkbModel" "pc101" > (**) XKB: model: "pc101" > (**) Option "XkbLayout" "us" > (**) XKB: layout: "us" > (**) FontPath set to "/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/Speedo/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/" > (**) RgbPath set to "/usr/X11R6/lib/X11/rgb" > (==) ModulePath set to "/usr/X11R6/lib/modules" > (--) Using syscons driver with X support (version 2.0) > (--) using VT number 9 > > (II) Module ABI versions: > XFree86 ANSI C Emulation: 0.1 > XFree86 Video Driver: 0.2 > XFree86 XInput driver : 0.1 > XFree86 Server Extension : 0.1 > XFree86 Font Renderer : 0.1 > (II) Loader running on freebsd > (II) LoadModule: "bitmap" > (II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a > (II) Module bitmap: vendor="The XFree86 Project" > compiled for 4.0.1, module version = 1.0.0 > Module class: XFree86 Font Renderer > ABI class: XFree86 Font Renderer, version 0.1 > (II) Loading font Bitmap > (II) LoadModule: "pcidata" > (II) Loading /usr/X11R6/lib/modules/libpcidata.a > (II) Module pcidata: vendor="The XFree86 Project" > compiled for 4.0.1, module version = 0.1.0 > ABI class: XFree86 Video Driver, version 0.2 > (II) PCI: Probing config type using method 1 > (II) PCI: Config type is 1 > (II) PCI: stages = 0x03, oldVal1 = 0x80000058, mode1Res1 = 0x80000000 > (II) PCI: PCI scan (all values are in hex) > (II) PCI: 00:00:0: chip 8086,7190 card 0000,0000 rev 02 class 06,00,00 hdr 00 > (II) PCI: 00:01:0: chip 8086,7191 card 0000,0000 rev 02 class 06,04,00 hdr 01 > (II) PCI: 00:07:0: chip 8086,7110 card 0000,0000 rev 02 class 06,01,00 hdr 80 > (II) PCI: 00:07:1: chip 8086,7111 card 0000,0000 rev 01 class 01,01,80 hdr 00 > (II) PCI: 00:07:2: chip 8086,7112 card 0000,0000 rev 01 class 0c,03,00 hdr 00 > (II) PCI: 00:07:3: chip 8086,7113 card 0000,0000 rev 02 class 06,80,00 hdr 00 > (II) PCI: 00:0e:0: chip 0675,1702 card 1050,6692 rev 00 class 02,80,00 hdr 00 > (II) PCI: 00:10:0: chip 9005,0010 card 9005,a180 rev 00 class 01,00,00 hdr 00 > (II) PCI: 00:14:0: chip 1102,0002 card 1102,0021 rev 04 class 04,01,00 hdr 80 > (II) PCI: 00:14:1: chip 1102,7002 card 1102,0020 rev 01 class 09,80,00 hdr 80 > (II) PCI: 01:00:0: chip 10de,0020 card 1092,0550 rev 04 class 03,00,00 hdr 00 > (II) PCI: End of PCI scan > (II) LoadModule: "scanpci" > (II) Loading /usr/X11R6/lib/modules/libscanpci.a > (II) Module scanpci: vendor="The XFree86 Project" > compiled for 4.0.1, module version = 0.1.0 > ABI class: XFree86 Video Driver, version 0.2 > (II) UnloadModule: "scanpci" > (II) Unloading /usr/X11R6/lib/modules/libscanpci.a > (II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x88 (VGA_EN is set) > (II) Bus 1 I/O range: > [0] -1 0x0000c000 - 0x0000cfff (0x1000) IXB > (II) Bus 1 non-prefetchable memory range: > [0] -1 0xe8000000 - 0xe9ffffff (0x2000000) MXB > (II) Bus 1 prefetchable memory range: > [0] -1 0xea000000 - 0xeaffffff (0x1000000) MXB > (--) PCI:*(1:0:0) NVidia Riva TNT rev 4, Mem @ 0xe8000000/24, 0xea000000/24 > (II) Addressable bus resource ranges are > [0] -1 0x00000000 - 0xffffffff (0x0) MXB > [1] -1 0x00000000 - 0x0000ffff (0x10000) IXB > (II) OS-reported resource ranges: > [0] -1 0xffe00000 - 0xffffffff (0x200000) MXB(B) > [1] -1 0x00100000 - 0x3fffffff (0x3ff00000) MXBE(B) > [2] -1 0x000f0000 - 0x000fffff (0x10000) MXB > [3] -1 0x000c0000 - 0x000effff (0x30000) MXB > [4] -1 0x00000000 - 0x0009ffff (0xa0000) MXB > [5] -1 0x00000000 - 0x000001ff (0x200) IXBE > (II) Active PCI resource ranges: > [0] -1 0xeb000000 - 0xebffffff (0x1000000) MXBE > [1] -1 0xec001000 - 0xec001fff (0x1000) MXBE > [2] -1 0xe0000000 - 0xe7ffffff (0x8000000) MXBE > [3] -1 0xe9000000 - 0xe900ffff (0x10000) MXB(B) > [4] -1 0xea000000 - 0xeaffffff (0x1000000) MXB(B) > [5] -1 0xe8000000 - 0xe8ffffff (0x1000000) MXB(B) > [6] -1 0x0000e000 - 0x0000e0ff (0x100) IXBE > [7] -1 0x0000dc00 - 0x0000dcff (0x100) IXBE > [8] -1 0x0000d800 - 0x0000d8ff (0x100) IXBE > [9] -1 0x0000d400 - 0x0000d4ff (0x100) IXBE > [10] -1 0x0000d000 - 0x0000d0ff (0x100) IXBE > [11] -1 0x0000f000 - 0x0000f0ff (0x100) IXBE > (II) Active PCI resource ranges after removing overlaps: > [0] -1 0xeb000000 - 0xebffffff (0x1000000) MXBE > [1] -1 0xec001000 - 0xec001fff (0x1000) MXBE > [2] -1 0xe0000000 - 0xe7ffffff (0x8000000) MXBE > [3] -1 0xe9000000 - 0xe900ffff (0x10000) MXB(B) > [4] -1 0xea000000 - 0xeaffffff (0x1000000) MXB(B) > [5] -1 0xe8000000 - 0xe8ffffff (0x1000000) MXB(B) > [6] -1 0x0000e000 - 0x0000e0ff (0x100) IXBE > [7] -1 0x0000dc00 - 0x0000dcff (0x100) IXBE > [8] -1 0x0000d800 - 0x0000d8ff (0x100) IXBE > [9] -1 0x0000d400 - 0x0000d4ff (0x100) IXBE > [10] -1 0x0000d000 - 0x0000d0ff (0x100) IXBE > [11] -1 0x0000f000 - 0x0000f0ff (0x100) IXBE > (II) OS-reported resource ranges after removing overlaps with PCI: > [0] -1 0xffe00000 - 0xffffffff (0x200000) MXB(B) > [1] -1 0x00100000 - 0x3fffffff (0x3ff00000) MXBE(B) > [2] -1 0x000f0000 - 0x000fffff (0x10000) MXB > [3] -1 0x000c0000 - 0x000effff (0x30000) MXB > [4] -1 0x00000000 - 0x0009ffff (0xa0000) MXB > [5] -1 0x00000000 - 0x000001ff (0x200) IXBE > (II) All system resource ranges: > [0] -1 0xffe00000 - 0xffffffff (0x200000) MXB(B) > [1] -1 0x00100000 - 0x3fffffff (0x3ff00000) MXBE(B) > [2] -1 0x000f0000 - 0x000fffff (0x10000) MXB > [3] -1 0x000c0000 - 0x000effff (0x30000) MXB > [4] -1 0x00000000 - 0x0009ffff (0xa0000) MXB > [5] -1 0xeb000000 - 0xebffffff (0x1000000) MXBE > [6] -1 0xec001000 - 0xec001fff (0x1000) MXBE > [7] -1 0xe0000000 - 0xe7ffffff (0x8000000) MXBE > [8] -1 0xe9000000 - 0xe900ffff (0x10000) MXB(B) > [9] -1 0xea000000 - 0xeaffffff (0x1000000) MXB(B) > [10] -1 0xe8000000 - 0xe8ffffff (0x1000000) MXB(B) > [11] -1 0x00000000 - 0x000001ff (0x200) IXBE > [12] -1 0x0000e000 - 0x0000e0ff (0x100) IXBE > [13] -1 0x0000dc00 - 0x0000dcff (0x100) IXBE > [14] -1 0x0000d800 - 0x0000d8ff (0x100) IXBE > [15] -1 0x0000d400 - 0x0000d4ff (0x100) IXBE > [16] -1 0x0000d000 - 0x0000d0ff (0x100) IXBE > [17] -1 0x0000f000 - 0x0000f0ff (0x100) IXBE > (II) LoadModule: "dbe" > (II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a > (II) Module dbe: vendor="The XFree86 Project" > compiled for 4.0.1, module version = 1.0.0 > Module class: XFree86 Server Extension > ABI class: XFree86 Server Extension, version 0.1 > (II) Loading extension DOUBLE-BUFFER > (II) LoadModule: "extmod" > (II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a > (II) Module extmod: vendor="The XFree86 Project" > compiled for 4.0.1, module version = 1.0.0 > Module class: XFree86 Server Extension > ABI class: XFree86 Server Extension, version 0.1 > (II) Loading extension SHAPE > (II) Loading extension MIT-SUNDRY-NONSTANDARD > (II) Loading extension BIG-REQUESTS > (II) Loading extension SYNC > (II) Loading extension MIT-SCREEN-SAVER > (II) Loading extension XC-MISC > (II) Loading extension XFree86-VidModeExtension > (II) Loading extension XFree86-Misc > (II) Loading extension DPMS > (II) Loading extension FontCache > (II) Loading extension TOG-CUP > (II) Loading extension Extended-Visual-Information > (II) Loading extension XVideo > (II) LoadModule: "type1" > (II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a > (II) Module type1: vendor="The XFree86 Project" > compiled for 4.0.1, module version = 1.0.0 > Module class: XFree86 Font Renderer > ABI class: XFree86 Font Renderer, version 0.1 > (II) Loading font Type1 > (II) Loading font CID > (II) LoadModule: "freetype" > (II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a > (II) Module freetype: vendor="The XFree86 Project" > compiled for 4.0.1, module version = 1.1.7 > Module class: XFree86 Font Renderer > ABI class: XFree86 Font Renderer, version 0.1 > (II) Loading font FreeType > (II) LoadModule: "nv" > (II) Loading /usr/X11R6/lib/modules/drivers/nv_drv.o > (II) Module nv: vendor="The XFree86 Project" > compiled for 4.0.1, module version = 1.0.0 > Module class: XFree86 Video Driver > ABI class: XFree86 Video Driver, version 0.2 > (II) LoadModule: "mouse" > (II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o > (II) Module mouse: vendor="The XFree86 Project" > compiled for 4.0.1, module version = 1.0.0 > Module class: XFree86 XInput Driver > ABI class: XFree86 XInput driver, version 0.1 > (II) NV: driver for NVIDIA chipsets: RIVA128, RIVATNT, RIVATNT2, > RIVATNT2 (Ultra), RIVATNT2 (Vanta), RIVATNT2 M64, > RIVATNT2 (Integrated), GeForce 256, GeForce DDR, Quadro > (--) Assigning device section with no busID to primary device > (--) Chipset RIVATNT found > (II) resource ranges after xf86ClaimFixedResources() call: > [0] -1 0xffe00000 - 0xffffffff (0x200000) MXB(B) > [1] -1 0x00100000 - 0x3fffffff (0x3ff00000) MXBE(B) > [2] -1 0x000f0000 - 0x000fffff (0x10000) MXB > [3] -1 0x000c0000 - 0x000effff (0x30000) MXB > [4] -1 0x00000000 - 0x0009ffff (0xa0000) MXB > [5] -1 0xeb000000 - 0xebffffff (0x1000000) MXBE > [6] -1 0xec001000 - 0xec001fff (0x1000) MXBE > [7] -1 0xe0000000 - 0xe7ffffff (0x8000000) MXBE > [8] -1 0xe9000000 - 0xe900ffff (0x10000) MXB(B) > [9] -1 0xea000000 - 0xeaffffff (0x1000000) MXB(B) > [10] -1 0xe8000000 - 0xe8ffffff (0x1000000) MXB(B) > [11] -1 0x00000000 - 0x000001ff (0x200) IXBE > [12] -1 0x0000e000 - 0x0000e0ff (0x100) IXBE > [13] -1 0x0000dc00 - 0x0000dcff (0x100) IXBE > [14] -1 0x0000d800 - 0x0000d8ff (0x100) IXBE > [15] -1 0x0000d400 - 0x0000d4ff (0x100) IXBE > [16] -1 0x0000d000 - 0x0000d0ff (0x100) IXBE > [17] -1 0x0000f000 - 0x0000f0ff (0x100) IXBE > (II) resource ranges after probing: > [0] -1 0xffe00000 - 0xffffffff (0x200000) MXB(B) > [1] -1 0x00100000 - 0x3fffffff (0x3ff00000) MXBE(B) > [2] -1 0x000f0000 - 0x000fffff (0x10000) MXB > [3] -1 0x000c0000 - 0x000effff (0x30000) MXB > [4] -1 0x00000000 - 0x0009ffff (0xa0000) MXB > [5] -1 0xeb000000 - 0xebffffff (0x1000000) MXBE > [6] -1 0xec001000 - 0xec001fff (0x1000) MXBE > [7] -1 0xe0000000 - 0xe7ffffff (0x8000000) MXBE > [8] -1 0xe9000000 - 0xe900ffff (0x10000) MXB(B) > [9] -1 0xea000000 - 0xeaffffff (0x1000000) MXB(B) > [10] -1 0xe8000000 - 0xe8ffffff (0x1000000) MXB(B) > [11] 0 0x000a0000 - 0x000affff (0x10000) MSB > [12] 0 0x000b0000 - 0x000b7fff (0x8000) MSB > [13] 0 0x000b8000 - 0x000bffff (0x8000) MSB > [14] -1 0x00000000 - 0x000001ff (0x200) IXBE > [15] -1 0x0000e000 - 0x0000e0ff (0x100) IXBE > [16] -1 0x0000dc00 - 0x0000dcff (0x100) IXBE > [17] -1 0x0000d800 - 0x0000d8ff (0x100) IXBE > [18] -1 0x0000d400 - 0x0000d4ff (0x100) IXBE > [19] -1 0x0000d000 - 0x0000d0ff (0x100) IXBE > [20] -1 0x0000f000 - 0x0000f0ff (0x100) IXBE > [21] 0 0x000003b0 - 0x000003bb (0xc) ISB > [22] 0 0x000003c0 - 0x000003df (0x20) ISB > (II) Setting vga for screen 0. > (II) Loading sub module "int10" > (II) LoadModule: "int10" > (II) Loading /usr/X11R6/lib/modules/libint10.a > (II) Module int10: vendor="The XFree86 Project" > compiled for 4.0.1, module version = 1.0.0 > ABI class: XFree86 Video Driver, version 0.2 > (II) NV(0): Initializing int10 > (==) NV(0): Write-combining range (0xa0000,0x20000) was already clear > (==) NV(0): Write-combining range (0xf0000,0x10000) > > Fatal server error: > Caught signal 11. Server aborting > > > When reporting a problem related to a server crash, please send > the full server output, not just the last messages. > This can be found in the log file "/var/log/XFree86.0.log". > > # File generated by xf86config. > > # > # Copyright (c) 1999 by The XFree86 Project, Inc. > # > # Permission is hereby granted, free of charge, to any person obtaining a > # copy of this software and associated documentation files (the "Software"), > # to deal in the Software without restriction, including without limitation > # the rights to use, copy, modify, merge, publish, distribute, sublicense, > # and/or sell copies of the Software, and to permit persons to whom the > # Software is furnished to do so, subject to the following conditions: > # > # The above copyright notice and this permission notice shall be included in > # all copies or substantial portions of the Software. > # > # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR > # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, > # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL > # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, > # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF > # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE > # SOFTWARE. > # > # Except as contained in this notice, the name of the XFree86 Project shall > # not be used in advertising or otherwise to promote the sale, use or other > # dealings in this Software without prior written authorization from the > # XFree86 Project. > # > > # ********************************************************************** > # Refer to the XF86Config(4/5) man page for details about the format of > # this file. > # ********************************************************************** > > # ********************************************************************** > # Module section -- this section is used to specify > # which dynamically loadable modules to load. > # ********************************************************************** > # > Section "Module" > > # This loads the DBE extension module. > > Load "dbe" # Double buffer extension > > # This loads the miscellaneous extensions module, and disables > # initialisation of the XFree86-DGA extension within that module. > SubSection "extmod" > Option "omit xfree86-dga" # don't initialise the DGA extension > EndSubSection > > # This loads the Type1 and FreeType font modules > Load "type1" > Load "freetype" > > # This loads the GLX module > # Load "glx" > > EndSection > > # ********************************************************************** > # Files section. This allows default font and rgb paths to be set > # ********************************************************************** > > Section "Files" > > # The location of the RGB database. Note, this is the name of the > # file minus the extension (like ".txt" or ".db"). There is normally > # no need to change the default. > > RgbPath "/usr/X11R6/lib/X11/rgb" > > # Multiple FontPath entries are allowed (which are concatenated together), > # as well as specifying multiple comma-separated entries in one FontPath > # command (or a combination of both methods) > # > # If you don't have a floating point coprocessor and emacs, Mosaic or other > # programs take long to start up, try moving the Type1 and Speedo directory > # to the end of this list (or comment them out). > # > > FontPath "/usr/X11R6/lib/X11/fonts/local/" > FontPath "/usr/X11R6/lib/X11/fonts/misc/" > FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" > FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" > FontPath "/usr/X11R6/lib/X11/fonts/Type1/" > FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" > FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" > FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" > > # The module search path. The default path is shown here. > > # ModulePath "/usr/X11R6/lib/modules" > > EndSection > > # ********************************************************************** > # Server flags section. > # ********************************************************************** > > Section "ServerFlags" > > # Uncomment this to cause a core dump at the spot where a signal is > # received. This may leave the console in an unusable state, but may > # provide a better stack trace in the core dump to aid in debugging > > # Option "NoTrapSignals" > > # Uncomment this to disable the server abort sequence > # This allows clients to receive this key event. > > # Option "DontZap" > > # Uncomment this to disable the / mode switching > # sequences. This allows clients to receive these key events. > > # Option "Dont Zoom" > > # Uncomment this to disable tuning with the xvidtune client. With > # it the client can still run and fetch card and monitor attributes, > # but it will not be allowed to change them. If it tries it will > # receive a protocol error. > > # Option "DisableVidModeExtension" > > # Uncomment this to enable the use of a non-local xvidtune client. > > # Option "AllowNonLocalXvidtune" > > # Uncomment this to disable dynamically modifying the input device > # (mouse and keyboard) settings. > > # Option "DisableModInDev" > > # Uncomment this to enable the use of a non-local client to > # change the keyboard or mouse settings (currently only xset). > > # Option "AllowNonLocalModInDev" > > EndSection > > # ********************************************************************** > # Input devices > # ********************************************************************** > > # ********************************************************************** > # Core keyboard's InputDevice section > # ********************************************************************** > > Section "InputDevice" > > Identifier "Keyboard1" > Driver "Keyboard" > # For most OSs the protocol can be omitted (it defaults to "Standard"). > # When using XQUEUE (only for SVR3 and SVR4, but not Solaris), > # uncomment the following line. > > # Option "Protocol" "Xqueue" > > Option "AutoRepeat" "500 30" > > # Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) > # Option "Xleds" "1 2 3" > > # Option "LeftAlt" "Meta" > # Option "RightAlt" "ModeShift" > > # To customise the XKB settings to suit your keyboard, modify the > # lines below (which are the defaults). For example, for a non-U.S. > # keyboard, you will probably want to use: > # Option "XkbModel" "pc102" > # If you have a US Microsoft Natural keyboard, you can use: > # Option "XkbModel" "microsoft" > # > # Then to change the language, change the Layout setting. > # For example, a german layout can be obtained with: > # Option "XkbLayout" "de" > # or: > # Option "XkbLayout" "de" > # Option "XkbVariant" "nodeadkeys" > # > # If you'd like to switch the positions of your capslock and > # control keys, use: > # Option "XkbOptions" "ctrl:swapcaps" > > # These are the default XKB settings for XFree86 > # Option "XkbRules" "xfree86" > # Option "XkbModel" "pc101" > # Option "XkbLayout" "us" > # Option "XkbVariant" "" > # Option "XkbOptions" "" > > # Option "XkbDisable" > > Option "XkbRules" "xfree86" > Option "XkbModel" "pc101" > Option "XkbLayout" "us" > Option "XkbCompat" "" > > EndSection > > > # ********************************************************************** > # Core Pointer's InputDevice section > # ********************************************************************** > > Section "InputDevice" > > # Identifier and driver > > Identifier "Mouse1" > Driver "mouse" > Option "Protocol" "MouseSystems" > Option "Device" "/dev/sysmouse" > > # When using XQUEUE, comment out the above two lines, and uncomment > # the following line. > > # Option "Protocol" "Xqueue" > > # Baudrate and SampleRate are only for some Logitech mice. In > # almost every case these lines should be omitted. > > # Option "BaudRate" "9600" > # Option "SampleRate" "150" > > # Emulate3Buttons is an option for 2-button Microsoft mice > # Emulate3Timeout is the timeout in milliseconds (default is 50ms) > > # Option "Emulate3Buttons" > # Option "Emulate3Timeout" "50" > > # ChordMiddle is an option for some 3-button Logitech mice > > # Option "ChordMiddle" > > EndSection > > > # ********************************************************************** > # Other input device sections > # this is optional and is required only if you > # are using extended input devices. This is for example only. Refer > # to the XF86Config man page for a description of the options. > # ********************************************************************** > # > # Section "InputDevice" > # Identifier "Mouse2" > # Driver "mouse" > # Option "Protocol" "MouseMan" > # Option "Device" "/dev/mouse2" > # EndSection > # > # Section "InputDevice" > # Identifier "spaceball" > # Driver "magellan" > # Option "Device" "/dev/cua0" > # EndSection > # > # Section "InputDevice" > # Identifier "spaceball2" > # Driver "spaceorb" > # Option "Device" "/dev/cua0" > # EndSection > # > # Section "InputDevice" > # Identifier "touchscreen0" > # Driver "microtouch" > # Option "Device" "/dev/ttyS0" > # Option "MinX" "1412" > # Option "MaxX" "15184" > # Option "MinY" "15372" > # Option "MaxY" "1230" > # Option "ScreenNumber" "0" > # Option "ReportingMode" "Scaled" > # Option "ButtonNumber" "1" > # Option "SendCoreEvents" > # EndSection > # > # Section "InputDevice" > # Identifier "touchscreen1" > # Driver "elo2300" > # Option "Device" "/dev/ttyS0" > # Option "MinX" "231" > # Option "MaxX" "3868" > # Option "MinY" "3858" > # Option "MaxY" "272" > # Option "ScreenNumber" "0" > # Option "ReportingMode" "Scaled" > # Option "ButtonThreshold" "17" > # Option "ButtonNumber" "1" > # Option "SendCoreEvents" > # EndSection > > # ********************************************************************** > # Monitor section > # ********************************************************************** > > # Any number of monitor sections may be present > > Section "Monitor" > > Identifier "Iiyama Vision Master 450" > > # HorizSync is in kHz unless units are specified. > # HorizSync may be a comma separated list of discrete values, or a > # comma separated list of ranges of values. > # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S > # USER MANUAL FOR THE CORRECT NUMBERS. > > HorizSync 30-102 > > # HorizSync 30-64 # multisync > # HorizSync 31.5, 35.2 # multiple fixed sync frequencies > # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies > > # VertRefresh is in Hz unless units are specified. > # VertRefresh may be a comma separated list of discrete values, or a > # comma separated list of ranges of values. > # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S > # USER MANUAL FOR THE CORRECT NUMBERS. > > VertRefresh 50-160 > > EndSection > > > # ********************************************************************** > # Graphics device section > # ********************************************************************** > > # Any number of graphics device sections may be present > > # Standard VGA Device: > > Section "Device" > Identifier "Standard VGA" > VendorName "Unknown" > BoardName "Unknown" > > # The chipset line is optional in most cases. It can be used to override > # the driver's chipset detection, and should not normally be specified. > > # Chipset "generic" > > # The Driver line must be present. When using run-time loadable driver > # modules, this line instructs the server to load the specified driver > # module. Even when not using loadable driver modules, this line > # indicates which driver should interpret the information in this section. > > Driver "vga" > # The BusID line is used to specify which of possibly multiple devices > # this section is intended for. When this line isn't present, a device > # section can only match up with the primary video device. For PCI > # devices a line like the following could be used. This line should not > # normally be included unless there is more than one video device > # intalled. > > # BusID "PCI:0:10:0" > > # VideoRam 256 > > # Clocks 25.2 28.3 > > EndSection > > # Device configured by xf86config: > > Section "Device" > Identifier "Diamond Viper 550" > Driver "nv" > #VideoRam 16384 > # Insert Clocks lines here if appropriate > EndSection > > > # ********************************************************************** > # Screen sections > # ********************************************************************** > > # Any number of screen sections may be present. Each describes > # the configuration of a single screen. A single specific screen section > # may be specified from the X server command line with the "-screen" > # option. > Section "Screen" > Identifier "Screen 1" > Device "Diamond Viper 550" > Monitor "Iiyama Vision Master 450" > DefaultDepth 24 > > Subsection "Display" > Depth 8 > Modes "1600x1200" "1152x864" "1280x1024" "1024x768" > ViewPort 0 0 > Virtual 1600 1280 > EndSubsection > Subsection "Display" > Depth 16 > Modes "1600x1200" "1152x864" "1280x1024" "1024x768" > ViewPort 0 0 > Virtual 1280 1024 > EndSubsection > Subsection "Display" > Depth 24 > Modes "1600x1200" "1152x864" "1280x1024" "1024x768" > ViewPort 0 0 > Virtual 1152 900 > EndSubsection > EndSection > > # ********************************************************************** > # ServerLayout sections. > # ********************************************************************** > > # Any number of ServerLayout sections may be present. Each describes > # the way multiple screens are organised. A specific ServerLayout > # section may be specified from the X server command line with the > # "-layout" option. In the absence of this, the first section is used. > # When now ServerLayout section is present, the first Screen section > # is used alone. > > Section "ServerLayout" > > # The Identifier line must be present > Identifier "Simple Layout" > > # Each Screen line specifies a Screen section name, and optionally > # the relative position of other screens. The four names after > # primary screen name are the screens to the top, bottom, left and right > # of the primary screen. In this example, screen 2 is located to the > # right of screen 1. > > Screen "Screen 1" > > # Each InputDevice line specifies an InputDevice section name and > # optionally some options to specify the way the device is to be > # used. Those options include "CorePointer", "CoreKeyboard" and > # "SendCoreEvents". > > InputDevice "Mouse1" "CorePointer" > InputDevice "Keyboard1" "CoreKeyboard" > > EndSection > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message