RE: Configuring X

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



RedHat 7.3 does support both versions, and the Xconfigurator has
a --preferx3 | --preferx4 switch.  Both files XF86Config and XF86Config-4
automatically get built in /etc/X11.

I had concentarated my efforts on the V3 file, at your previous
recommendation.  Upon focusing on your suggestions for v4, I now have a
config file that is presented below.

I am still unsuccessful, based upon the log which follows.  One question...
After hacking the config file, what are the manual commands for starting the
X server?  Is it just "startx" from the console?

<START CONFIG>
[root@whistler X11]# cat XF86Config-4
# XFree86 4.2.0 configuration generated by Xconfigurator 4.10.7

Section "ServerLayout"
        Identifier "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

# Red Hat Linux 6.0 and later use the xfs font server for improved
# interactive performance

Section "Files"
        FontPath "unix/:7100"
EndSection

# Module loading section

Section "Module"
        Load  "dbe"             # Double-buffering
        Load  "GLcore"          # OpenGL support
        Load  "dri"             # Direct rendering infrastructure
        Load  "glx"             # OpenGL X protocol interface
        Load  "extmod"          # Misc. required extensions
        Load  "v4l"             # Video4Linux
        # Load  "record"        # X event recorder
        # You only need the following two modules if you do not use xfs.
        # Load  "freetype"       # TrueType font handler
        # Load  "type1"         # Adobe Type 1 font handler
EndSection

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

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Device" "/dev/mouse"
        Option      "Protocol" "PS/2"
        Option      "Emulate3Buttons" "on"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
        Identifier "Compaq P75 Color Monitor"
        VendorName "Unknown"
        ModelName  "Unknown"
        HorizSync 30.0-85.0
        VertRefresh 50.0-150.0
        Option "dpms"
EndSection

Section "Device"
        Identifier      "my vga"
        VendorName      "unknown"
        BoardName       "unknown"
        Driver          "vga"
EndSection

Section "Device"
        Identifier "Linux Frame Buffer"
        Driver "fbdev"
        BoardName "Unknown"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device "my vga"
        Monitor "Compaq P75 Color Monitor"
        DefaultDepth 8
        Subsection "Display"
                Depth 8
                Modes "640x480"
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection
<END CONFIG>

and a log that looks like:

<START LOG>
[root@whistler log]# cat XFree86.0.log

XFree86 Version 4.2.0 (Red Hat Linux release: 4.2.0-8) / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 23 January 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: Linux 2.4.17-0.13smp i686 [ELF]
Build Host: daffy.perf.redhat.com

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: Wed Sep 18 05:09:40 2002
(==) Using config file: "/etc/X11/XF86Config-4"
(==) ServerLayout "XFree86 Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Compaq P75 Color Monitor"
(**) |   |-->Device "my vga"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled
(**) FontPath set to "unix/:7100"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(--) using VT number 7

(WW) Open APM failed (/dev/apm_bios) (No such device)
(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 linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
        compiled for 4.2.0, 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.0, 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:0b:0: chip 114f,0012 card 0000,0000 rev 01 class 07,80,00 hdr
00
(II) PCI: 00:0d:0: chip 8086,1229 card 103c,10c0 rev 02 class 02,00,00 hdr
00
(II) PCI: 00:0e:0: chip 8086,0482 card 0000,0000 rev 15 class 00,00,00 hdr
00
(II) PCI: 00:0f:0: chip 8086,0008 card 0008,8000 rev 00 class ff,00,00 hdr
00
(II) PCI: 00:14:0: chip 8086,84c5 card 0000,0000 rev 05 class 05,00,00 hdr
00
(II) PCI: 00:19:0: chip 8086,84c4 card 0000,0000 rev 06 class 06,00,00 hdr
00
(II) PCI: 00:1a:0: chip 8086,84c4 card 0000,0000 rev 06 class 06,00,00 hdr
00
(II) PCI: 01:0a:0: chip 8086,1229 card 103c,10c0 rev 02 class 02,00,00 hdr
00
(II) PCI: 01:0b:0: chip 9004,8078 card 0000,0000 rev 00 class 01,00,00 hdr
00
(II) PCI: 01:0c:0: chip 9004,8078 card 0000,0000 rev 00 class 01,00,00 hdr
00
(II) PCI: 01:0e:0: chip 8086,0960 card 0000,0000 rev 03 class 06,04,00 hdr
81
(II) PCI: 01:0e:1: chip 8086,1960 card 103c,10c6 rev 03 class 0e,00,01 hdr
80
(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.0, 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) Host-to-PCI bridge:
(II) PCI-to-PCI bridge:
(II) Bus 0: bridge is at (0:25: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:26:0), (-1,1,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 1 I/O range:
        [0] -1  0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 1 non-prefetchable memory range:
        [0] -1  0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 1 prefetchable memory range:
        [0] -1  0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 2: bridge is at (1:14:0), (1,2,2), BCTRL: 0x03 (VGA_EN is cleared)
(II) Bus 2 I/O range:
(II) Bus 2 non-prefetchable memory range:
        [0] -1  0xfd200000 - 0xfd2fffff (0x100000) MX[B]
(II) Bus 2 prefetchable memory range:
        [0] -1  0xfc200000 - 0xfc2fffff (0x100000) MX[B]
(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  0xfcc00000 - 0xfcffffff (0x400000) MX[B]
        [1] -1  0xfd9fe000 - 0xfd9fefff (0x1000) MX[B]
        [2] -1  0xfd9ff000 - 0xfd9fffff (0x1000) MX[B]
        [3] -1  0xfd800000 - 0xfd8fffff (0x100000) MX[B]
        [4] -1  0xfd1ff000 - 0xfd1fffff (0x1000) MX[B]
        [5] -1  0x80000000 - 0x800003ff (0x400) MX[B]
        [6] -1  0x80000000 - 0x800003ff (0x400) MX[B]
        [7] -1  0x80000000 - 0x800003ff (0x400) MX[B]
        [8] -1  0x80000000 - 0x800003ff (0x400) MX[B]
        [9] -1  0x80000000 - 0x800003ff (0x400) MX[B]
        [10] -1 0x80000000 - 0x800003ff (0x400) MX[B]
        [11] -1 0xfe900000 - 0xfe9fffff (0x100000) MX[B]
        [12] -1 0xfdaff000 - 0xfdafffff (0x1000) MX[B]
        [13] -1 0xfe400000 - 0xfe7fffff (0x400000) MX[B]
        [14] -1 0x0000e400 - 0x0000e4ff (0x100) IX[B]
        [15] -1 0x0000ec00 - 0x0000ecff (0x100) IX[B]
        [16] -1 0x0000e8e0 - 0x0000e8ff (0x20) IX[B]
        [17] -1 0x0000ff80 - 0x0000ff9f (0x20) IX[B]
(II) Active PCI resource ranges after removing overlaps:
        [0] -1  0xfcc00000 - 0xfcffffff (0x400000) MX[B]
        [1] -1  0xfd9fe000 - 0xfd9fefff (0x1000) MX[B]
        [2] -1  0xfd9ff000 - 0xfd9fffff (0x1000) MX[B]
        [3] -1  0xfd800000 - 0xfd8fffff (0x100000) MX[B]
        [4] -1  0xfd1ff000 - 0xfd1fffff (0x1000) MX[B]
        [5] -1  0x80000000 - 0x800003ff (0x400) MX[B]
        [6] -1  0x80000000 - 0x800003ff (0x400) MX[B]
        [7] -1  0x80000000 - 0x800003ff (0x400) MX[B]
        [8] -1  0x80000000 - 0x800003ff (0x400) MX[B]
        [9] -1  0x80000000 - 0x800003ff (0x400) MX[B]
        [10] -1 0x80000000 - 0x800003ff (0x400) MX[B]
        [11] -1 0xfe900000 - 0xfe9fffff (0x100000) MX[B]
        [12] -1 0xfdaff000 - 0xfdafffff (0x1000) MX[B]
        [13] -1 0xfe400000 - 0xfe7fffff (0x400000) MX[B]
        [14] -1 0x0000e400 - 0x0000e4ff (0x100) IX[B]
        [15] -1 0x0000ec00 - 0x0000ecff (0x100) IX[B]
        [16] -1 0x0000e8e0 - 0x0000e8ff (0x20) IX[B]
        [17] -1 0x0000ff80 - 0x0000ff9f (0x20) IX[B]
(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  0xfcc00000 - 0xfcffffff (0x400000) MX[B]
        [6] -1  0xfd9fe000 - 0xfd9fefff (0x1000) MX[B]
        [7] -1  0xfd9ff000 - 0xfd9fffff (0x1000) MX[B]
        [8] -1  0xfd800000 - 0xfd8fffff (0x100000) MX[B]
        [9] -1  0xfd1ff000 - 0xfd1fffff (0x1000) MX[B]
        [10] -1 0x80000000 - 0x800003ff (0x400) MX[B]
        [11] -1 0x80000000 - 0x800003ff (0x400) MX[B]
        [12] -1 0x80000000 - 0x800003ff (0x400) MX[B]
        [13] -1 0x80000000 - 0x800003ff (0x400) MX[B]
        [14] -1 0x80000000 - 0x800003ff (0x400) MX[B]
        [15] -1 0x80000000 - 0x800003ff (0x400) MX[B]
        [16] -1 0xfe900000 - 0xfe9fffff (0x100000) MX[B]
        [17] -1 0xfdaff000 - 0xfdafffff (0x1000) MX[B]
        [18] -1 0xfe400000 - 0xfe7fffff (0x400000) MX[B]
        [19] -1 0x0000ffff - 0x0000ffff (0x1) IX[B]
        [20] -1 0x00000000 - 0x000000ff (0x100) IX[B]
        [21] -1 0x0000e400 - 0x0000e4ff (0x100) IX[B]
        [22] -1 0x0000ec00 - 0x0000ecff (0x100) IX[B]
        [23] -1 0x0000e8e0 - 0x0000e8ff (0x20) IX[B]
        [24] -1 0x0000ff80 - 0x0000ff9f (0x20) IX[B]
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
        compiled for 4.2.0, 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: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 1.0.0
        ABI class: XFree86 Server Extension, version 0.1
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 1.0.0
        ABI class: XFree86 Server Extension, version 0.1
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 1.0.0
        ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension XFree86-DRI
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 1.0.0
        ABI class: XFree86 Server Extension, version 0.1
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Reloading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Loading extension GLX
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
        compiled for 4.2.0, 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 XFree86-DGA
(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: "v4l"
(II) Loading /usr/X11R6/lib/modules/drivers/linux/v4l_drv.o
(II) Module v4l: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 0.0.1
        ABI class: XFree86 Video Driver, version 0.5
(II) LoadModule: "vga"
(II) Loading /usr/X11R6/lib/modules/drivers/vga_drv.o
(II) Module vga: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 4.0.0
        Module class: XFree86 Video Driver
        ABI class: XFree86 Video Driver, version 0.5
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 1.0.0
        Module class: XFree86 XInput Driver
        ABI class: XFree86 XInput driver, version 0.3
(II) v4l driver for Video4Linux
(II) VGA: Generic VGA driver (version 4.0) for chipsets: generic
(II) Primary Device is: PCI 00:0e:0
(EE) No devices detected.

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.
<END LOG>





David E. Fitzgerald, Jr.
Edge Planning
Genuity Solutions, Inc.
Phone: (781) 865-6487
E-mail: fitz@genuity.net
Pager: 8775388028@skytel.net
AIM: FitzAtGenuity



-----Original Message-----
From: newbie-admin@XFree86.Org [mailto:newbie-admin@XFree86.Org]On
Behalf Of Lionel Lecoq
Sent: Wednesday, September 18, 2002 4:51 AM
To: newbie@XFree86.Org
Subject: RE: Configuring X


I am afraid but are using an X 3.3.6 XF86Config and you are running X 4.2.0
Since the format of XF86Config changed between these two versions you have
problems...

In RH 7.x there are usually two config files in /etc/X11 one XF86Config is
for 3.3.6, the other
XF86Config-4 is for X 4.x.x (see my other answer a couple of minutes ago).
You are probably
missing a XF86Config-4 because X 4 uses it if it exists

You have two possibilities

1. remain in X 4.2.0

You can generate a config file by running XFree86 -configure, this generates
XF86Config.new in
Root I believe (not sure possibly in the current home directory) renaming
the file XF86Config-4
and transfering it to /etc/X11 *should* do the trick. However I would not
dream: you probably will
have to hack it. I would advise adding (if they are not there) the following
section and sub
section:

Section "Device"
    Identifier  "my vga"
    VendorName  "unknown"
    BoardName   "unknown"
    Driver      "vga"
EndSection


and in the Section "Screen"
make sure that you have
    Device "my vga"
    Monitor     "Compaq P75 Color Monitor"
    DefaultDepth 8

and add (if a similar subsection is not there)
    Subsection "Display"
        Depth 8
        Modes       "640x480"
    EndSubsection

2. switch to 3.3.6 (if there, again see my other post...)

it suffices to change /etc/X11/X from a symlink to /usr/X11R6/bin/XFree86 to
/usr/X11R6/bin/XF86_xxxx
xxxx standing for the server which is installed (usually XF86_SVGA is
available)

good luck
Lionel


--- "David E. Fitzgerald" <fitz@genuity.net> wrote:
> Arrrg!  I feel I'm very close..... but still no cigar.
>


__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com
_______________________________________________

Newbie@XFree86.Org
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie

_______________________________________________

Newbie@XFree86.Org
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie

[Index of Archives]     [XFree86]     [Xfree86 Xpert]     [X.org]     [IETF Annouce]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Picture Sharing]     [Linux Security]     [Linux RAID]

  Powered by Linux