XFree86 Configuration Problems

    by Steve LeBlanc © 2003.6.22

Installed FreeBSD for first time. Text login was fine. NIC worked. Did a telnet and ftp to computers on the Internet. All seemed to work except for configuring XFree86. No screen found when I did startx. Below are the details:

The full files: XF86Config.txt and XFreelog.txt

Settings

XFree86 Ver:4.2.1 (protocol Version 11, revision 0, vendor release 6600)
Release Date: 3 September 2002
Motherboard: ECS K7S5A, 40GB drive, 256 Ram
OS: FreeBSD 5.0 RELEASE
Video: S3 Savage2000 (generic) 64MB, 3D
Monitor: Cornea MT1700 17" LCD H: 31.5-80, V: 56-75


After install I tried both: xf86cfg -textmode and xf86config to reconfigure. I read the docs deeply and redid this 15 times, using the various command line tools. Each of the last 10 times, I typed in my settings and selected my Graphics card from the list. I just can't get startx to work. Below are my XF86Config file and my XFree log file, with comments removed.


XF86Config

# # # # # # # # #
Section "ServerLayout"
Identifier "Simple Layout"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
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/"
EndSection

Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"# This loads the GLX module
EndSection

Section "InputDevice"
# # Identifier "Keyboard1"
Driver "Keyboard"
Option "AutoRepeat" "500 30"# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
Option "XkbRules" "xfree86"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/sysmouse"# When using XQUEUE, comment out the above two lines, and uncomment
Option "Emulate3Buttons"# Option "Emulate3Timeout" "50"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "Monitor"
Identifier "Cornea CT1700"
HorizSync 31.5 - 80.0
VertRefresh 56.0 - 75.0
EndSection

Section "Device"
Identifier "Standard VGA"
Driver "vga"
VendorName "Unknown"
BoardName "Unknown"
EndSection

Section "Device"
Identifier "MyNext S3 Savage 2000"
Driver "savage"
ChipSet "Savage2000"
Card "S3 Savage2000"
EndSection

Section "Screen"
Identifier "Screen0"
Device "MyNext S3 Savage 2000"
Monitor "Cornea CT1700"
DefaultDepth 8
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection



XFree log


XFree86 Version 4.2.1 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 3 September 2002
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/)
Build Operating System: FreeBSD 5.0-RC i386 [ELF]
Module Loader present
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/XFree86.0.log", Time: Sun Jun 22 11:57:58 2003
(==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "Simple Layout"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(**) Option "AutoRepeat" "500 30"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc101"
(**) XKB: model: "pc101"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled
(WW) `fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/local/".
Entry deleted from font path.
(Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/local/").
(**) FontPath set to "/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.5
XFree86 XInput driver : 0.3
XFree86 Server Extension : 0.1
XFree86 Font Renderer : 0.3
(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.2.1, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.3
(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.2.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1039,0735 card 0000,0000 rev 01 class 06,00,00 hdr 80
(II) PCI: 00:01:0: chip 1039,0001 card 0000,0000 rev 00 class 06,04,00 hdr 01
(II) PCI: 00:02:0: chip 1039,0008 card 0000,0000 rev 00 class 06,01,00 hdr 80
(II) PCI: 00:02:2: chip 1039,7001 card 1019,0a14 rev 07 class 0c,03,10 hdr 00
(II) PCI: 00:02:3: chip 1039,7001 card 1019,0a14 rev 07 class 0c,03,10 hdr 00
(II) PCI: 00:02:5: chip 1039,5513 card 1039,5513 rev d0 class 01,01,80 hdr 80
(II) PCI: 00:02:7: chip 1039,7012 card 13f6,0300 rev a0 class 04,01,00 hdr 00
(II) PCI: 00:0d:0: chip 1186,1300 card 1186,1301 rev 10 class 02,00,00 hdr 00
(II) PCI: 01:00:0: chip 5333,9102 card 1092,5934 rev 02 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.2.1, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) PCI-to-ISA bridge:
(II) PCI-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1 0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1 0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x0a (VGA_EN is set)
(II) Bus 1 I/O range:
(II) Bus 1 non-prefetchable memory range:
[0] -1 0xb7d00000 - 0xcfefffff (0x18200000) MX[B]
(II) Bus 1 prefetchable memory range:
[0] -1 0xafb00000 - 0xb7bfffff (0x8100000) MX[B]
(II) Bus -1: bridge is at (0:2:0), (0,-1,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus -1 I/O range:
(II) Bus -1 non-prefetchable memory range:
(II) Bus -1 prefetchable memory range:
(--) PCI:*(1:0:0) S3 Savage2000 rev 2, Mem @ 0xcfe80000/19, 0xb0000000/26, 0xc8000000/26, 0xc4000000/26, 0xc0000000/26, BIOS @ 0xcfe70000/16
(II) Addressable bus resource ranges are
[0] -1 0x00000000 - 0xffffffff (0x0) MX[B]
[1] -1 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
[0] -1 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0x0000ffff - 0x0000ffff (0x1) IX[B]
[6] -1 0x00000000 - 0x000000ff (0x100) IX[B]
(II) Active PCI resource ranges:
[0] -1 0xcfffdf00 - 0xcfffdfff (0x100) MX[B]E
[1] -1 0xcffff000 - 0xcfffffff (0x1000) MX[B]E
[2] -1 0xcfffe000 - 0xcfffffff (0x2000) MX[B]E
[3] -1 0xd0000000 - 0xdfffffff (0x10000000) MX[B]E
[4] -1 0xcfe70000 - 0xcfe7ffff (0x10000) MX[B](B)
[5] -1 0xc0000000 - 0xc3ffffff (0x4000000) MX[B](B)
[6] -1 0xc4000000 - 0xc7ffffff (0x4000000) MX[B](B)
[7] -1 0xc8000000 - 0xcbffffff (0x4000000) MX[B](B)
[8] -1 0xb0000000 - 0xb3ffffff (0x4000000) MX[B](B)
[9] -1 0xcfe80000 - 0xcfefffff (0x80000) MX[B](B)
[10] -1 0x0000d400 - 0x0000d4ff (0x100) IX[B]E
[11] -1 0x0000d800 - 0x0000d8ff (0x100) IX[B]E
[12] -1 0x0000dc00 - 0x0000dcff (0x100) IX[B]E
[13] -1 0x0000ff00 - 0x0000ffff (0x100) IX[B]E
(II) PCI Memory resource overlap reduced 0xcfffe000 from 0xcfffffff to 0xcfffefff
(II) Active PCI resource ranges after removing overlaps:
[0] -1 0xcfffdf00 - 0xcfffdfff (0x100) MX[B]E
[1] -1 0xcffff000 - 0xcfffffff (0x1000) MX[B]E
[2] -1 0xcfffe000 - 0xcfffefff (0x1000) MX[B]E
[3] -1 0xd0000000 - 0xdfffffff (0x10000000) MX[B]E
[4] -1 0xcfe70000 - 0xcfe7ffff (0x10000) MX[B](B)
[5] -1 0xc0000000 - 0xc3ffffff (0x4000000) MX[B](B)
[6] -1 0xc4000000 - 0xc7ffffff (0x4000000) MX[B](B)
[7] -1 0xc8000000 - 0xcbffffff (0x4000000) MX[B](B)
[8] -1 0xb0000000 - 0xb3ffffff (0x4000000) MX[B](B)
[9] -1 0xcfe80000 - 0xcfefffff (0x80000) MX[B](B)
[10] -1 0x0000d400 - 0x0000d4ff (0x100) IX[B]E
[11] -1 0x0000d800 - 0x0000d8ff (0x100) IX[B]E
[12] -1 0x0000dc00 - 0x0000dcff (0x100) IX[B]E
[13] -1 0x0000ff00 - 0x0000ffff (0x100) IX[B]E
(II) OS-reported resource ranges after removing overlaps with PCI:
[0] -1 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0x0000ffff - 0x0000ffff (0x1) IX[B]
[6] -1 0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
[0] -1 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0xcfffdf00 - 0xcfffdfff (0x100) MX[B]E
[6] -1 0xcffff000 - 0xcfffffff (0x1000) MX[B]E
[7] -1 0xcfffe000 - 0xcfffefff (0x1000) MX[B]E
[8] -1 0xd0000000 - 0xdfffffff (0x10000000) MX[B]E
[9] -1 0xcfe70000 - 0xcfe7ffff (0x10000) MX[B](B)
[10] -1 0xc0000000 - 0xc3ffffff (0x4000000) MX[B](B)
[11] -1 0xc4000000 - 0xc7ffffff (0x4000000) MX[B](B)
[12] -1 0xc8000000 - 0xcbffffff (0x4000000) MX[B](B)
[13] -1 0xb0000000 - 0xb3ffffff (0x4000000) MX[B](B)
[14] -1 0xcfe80000 - 0xcfefffff (0x80000) MX[B](B)
[15] -1 0x0000ffff - 0x0000ffff (0x1) IX[B]
[16] -1 0x00000000 - 0x000000ff (0x100) IX[B]
[17] -1 0x0000d400 - 0x0000d4ff (0x100) IX[B]E
[18] -1 0x0000d800 - 0x0000d8ff (0x100) IX[B]E
[19] -1 0x0000dc00 - 0x0000dcff (0x100) IX[B]E
[20] -1 0x0000ff00 - 0x0000ffff (0x100) IX[B]E
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
compiled for 4.2.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.2.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) Loading extension XVideo-MotionCompensation
(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
compiled for 4.2.1, module version = 1.0.1
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.3
(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.2.1, module version = 1.1.10
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font FreeType
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
compiled for 4.2.1, module version = 1.0.0
Module class: XFree86 XInput Driver
ABI class: XFree86 XInput driver, version 0.3
(EE) No drivers available.

Fatal server error:
no screens found

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".
Please report problems to xfree86@xfree86.org.



questions@FreeBSD.org Thanks for prompt reply, guys. I enjoy this community, but hate the install.

While I didn't mention it in my email, I did try this as well:
> > # XFree86 -configure
And it didn't work. Gave me X cursor in gray screen and could not get out.

As for checking for multiple config files, how would I know? Where would I find them? What would I do with them all, just rm them? What if I found more than one? How do I know which one is being used? Why so many config utils? Why are there so many possible locations?

This is my first install of BSD, and while I've installed Linux a dozen times, I don't know where to find things in BSD. I'm overwhelmed and frustrated. Please walk me through the steps before I give up on BSD.

I wonder if my S3 Savage 2000 video card is supported, even though it was on the list. I saw many posts about S3 problems, none with obvious solutions. I could use the FreeBSD 5.1 Release if that would help. I saw this link about S3 Savage at http://www.xfree86.org/support.html a private developer at http://www.probo.com/timr/savage40.html where he says: "xvideo on the Savage2000 still seems to be broken. I don't know when I'll be able to get around to this."

Thus far, the install process is overly complicated and not inviting to new users. I could provide specific feedback on this if anyone wants it.


From Viktor Lazlo on 23 Jun 2003:

>
>
> On Sun, 22 Jun 2003 bsd@sleve.mailshell.com wrote:
>
https://cgisleve.tripod.com/bsd/xfreebad.html is a
web page of this info.
> >
> > XFree86 Configuration Problems
> > by Steve LeBlanc © 2003.6.22
> > Installed FreeBSD for first time. Text login was fine. NIC worked.
> Did a telnet and ftp to computers on the Internet. All seemed to work
> except for configuring XFree86. No screen found when I did startx. Below
> are the details:
> >
> > The full commented files: XF86Config.txt and XFreelog.txt
> >
> > Settings
> > XFree86 Ver:4.2.1
> > Release Date: 3 September 2002
> > OS: FreeBSD 5.0 RELEASE
> > Video: S3 Savage2000 (generic) 64MB, 3D
> > Monitor: Cornea MT1700 17" LCD H: 31.5-80, V: 56-75
> >
> >
> > After install I tried both: xf86cfg -textmode and xf86config to
> > reconfigure. I read the docs deeply and redid this 15 times, using the
> > various command line tools. Each of the last 10 times, I typed in my
> > settings and selected my Graphics card from the list. I just can't get
> > startx to work. Below are my XF86Config file and my XFree log file,
> with comments removed.
> >
> > Fatal server error:
> > no screens found
>
> Check the handbook:
>
> 5.4.2 Configuring XFree86 4.X
>
> Configuration of XFree86 4.X is a multi-step process. The first step
>
> is to build an initial configuration file with the -configure option to
> XFree86. As the super user, simply run:
>
> # XFree86 -configure
>
> Cheers,
>
> Viktor

Home | Top of page | Back

1. Settings
2. XF86Config
3. XFree log


Converted by the.pl by S. LeBlanc © 6/24/2003 11:21