Re: X -configure seems to choose wrong driver for CT65555 video hardware

beasley <[email protected]> Tue, 30 Jun 2009 19:39:43 -0500
Newsgroups gmane.os.openbsd.x11
Message-ID <1246408783.9257.69.camel@sundog>
On Tue, 2009-06-30 at 23:08 +0100, Stuart Henderson wrote:
> On 2009/06/30 17:02, beasley wrote:
> > On Tue, 2009-06-30 at 08:47 +0200, Matthieu Herrb wrote:
> > > Matthieu Herrb wrote:
> > > > beasley wrote:
> > > > [Lots of test reports]
> > > > 
> > > > Thanks for all this data. I think I now have an idea where the problem
> > > > is. I'll try to send you a patch to test later today.
> > > > 
> > > Here's the patch to test.
> > > 
> > 
> > Thanks very much for the patch.
> > 
> > I reinstalled my 4.6 snapshot (from 6/26/2009) from the CD I'd burned
> > previously. I used cvs this morning (6/30/2009) to fetch the current
> > source tree contents of src, ports, and xenocara from a secondary
> > mirror. So I should have extremely fresh source bits now.
> > 
> > I changed to /usr/xenocara/driver/xf86-video-chips and applied
> > your patch there with no problems.
> > 
> > I'm now prepared to rebuild everything: kernel, reboot with new kernel,
> > userland, and then xenocara ... but this will take quite a long time on
> > this old laptop (probably about 40-45 hours). So perhaps I'd better ask
> > you an important question before starting that long process.
> > 
> > What is the minimum amount of rebuilding that will allow for proper
> > testing of your new patch?  Should I really rebuild everything? -
> > or just all of xenocara? - or only the chips driver all by itself?
> > 
> > I know how to build everything or just xenocara from the detailed
> > instructions in the OpenBSD FAQ - but I'm not quite sure how
> > to correctly build and install only the patched chips driver
> > (and I'm unsure if that would be sufficient for a valid test).
> 
> It's committed now, so snapshots in the near future should have
> this in.  The build process should be something like this;
> 
> cd /usr/xenocara/drivers/xf86-video-chips
> make -f Makefile.bsd-wrapper obj
> make -f Makefile.bsd-wrapper build
> 
> you might need a "make bootstrap" in /usr/xenocara first (see
> /usr/xenocara/README).
> 

Thanks. I didn't know about "make bootstrap" so I didn't do that
but it seems to have worked anyway, except for some mode issues.

Here is the email I've sent to Mr. Herrb. I had intended to post
to the list as well, but it seems I cc'd it to "[email protected]"
instead, so it bounced.



> 
> Rebuilding just the chips driver over a recent snapshot is enough:
> 
> cd /usr/xenocara/driver/xf86-video-chips
> make -f Makefile.bsd-wrapper obj
> make -f Makefile.bsd build
> 

Thanks for your help on building only what was needed.

I successfully built the newly patched driver.
I changed the current directory to

/usr/xenocara/driver/xf86-video-chips

and entered the following commands:

make -f Makefile.bsd-wrapper obj
make -f Makefile.bsd-wrapper build

After it finished I changed my directory to /root and entered:

X -configure

The newly created xorg.conf.new file contents are shown below:


Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
        FontPath     "/usr/X11R6/lib/X11/fonts/OTF"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "freetype"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "wsmouse"
        Option      "Device" "/dev/wsmouse"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "Linear"                    # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        #Option     "HWclocks"                  # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "STN"                       # [<bool>]
        #Option     "UseModeline"               # [<bool>]
        #Option     "Stretch"                   # [<bool>]
        #Option     "LcdCenter"                 # [<bool>]
        #Option     "MMIO"                      # [<bool>]
        #Option     "SuspendHack"               # [<bool>]
        #Option     "FixPanelSize"              # [<bool>]
        #Option     "18BitBus"                  # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "ShadowFB"                  # [<bool>]
        #Option     "Rotate"                    # [<str>]
        #Option     "SetMclk"                   # <freq>
        #Option     "FPClock8"                  # <freq>
        #Option     "FPClock16"                 # <freq>
        #Option     "FPClock24"                 # <freq>
        #Option     "FPMode"                    # [<bool>]
        Identifier  "Card0"
        Driver      "chips"
        VendorName  "Chips and Technologies"
        BoardName   "65555"
        BusID       "PCI:0:4:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection


So this file is now choosing the chips driver
instead of the vesa driver. That's good news.
Here is the associated log file:


X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: OpenBSD 4.6 i386 
Current Operating System: OpenBSD ancient.my.domain 4.6 GENERIC#25 i386
Build Date: 26 June 2009  07:19:15AM
 
        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: Tue Jun 30 17:39:50 2009
(II) Loader magic: 0x3c01e2e0
(II) Module ABI versions:
        X.Org ANSI C Emulation: 0.4
        X.Org Video Driver: 4.1
        X.Org XInput driver : 2.1
        X.Org Server Extension : 1.1
        X.Org Font Renderer : 0.6
(II) Loader running on openbsd
(--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode
(version 3.32)
(--) checkDevMem: using aperture driver /dev/xf86
(--) PCI:*(0@0:4:0) Chips and Technologies 65555 rev 198, Mem @
0xfd000000/0
List of video drivers:
        apm
        ark
        ati
        chips
        cirrus
        dummy
        geode
        glint
        i128
        i740
        intel
        mach64
        mga
        neomagic
        nv
        openchrome
        r128
        radeon
        radeonhd
        rendition
        s3
        s3virge
        savage
        siliconmotion
        sis
        tdfx
        trident
        tseng
        voodoo
        vmware
        vesa
(II) LoadModule: "apm"

(II) Loading /usr/X11R6/lib/modules/drivers//apm_drv.so
(II) Module apm: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.2.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "ark"

(II) Loading /usr/X11R6/lib/modules/drivers//ark_drv.so
(II) Module ark: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 0.7.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "ati"

(II) Loading /usr/X11R6/lib/modules/drivers//ati_drv.so
(II) Module ati: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 6.12.2
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "chips"

(II) Loading /usr/X11R6/lib/modules/drivers//chips_drv.so
(II) Module chips: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.2.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "cirrus"

(II) Loading /usr/X11R6/lib/modules/drivers//cirrus_drv.so
(II) Module cirrus: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.2.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "dummy"

(II) Loading /usr/X11R6/lib/modules/drivers//dummy_drv.so
(II) Module dummy: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 0.3.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "geode"

(II) Loading /usr/X11R6/lib/modules/drivers//geode_drv.so
(II) Module geode: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 2.10.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "glint"

(II) Loading /usr/X11R6/lib/modules/drivers//glint_drv.so
(II) Module glint: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.2.2
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "i128"

(II) Loading /usr/X11R6/lib/modules/drivers//i128_drv.so
(II) Module i128: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.3.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "i740"

(II) Loading /usr/X11R6/lib/modules/drivers//i740_drv.so
(II) Module i740: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.3.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "intel"

(II) Loading /usr/X11R6/lib/modules/drivers//intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 2.7.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "mach64"

(II) Loading /usr/X11R6/lib/modules/drivers//mach64_drv.so
(II) Module mach64: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 6.8.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "mga"

(II) Loading /usr/X11R6/lib/modules/drivers//mga_drv.so
(II) Module mga: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.4.9
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "neomagic"

(II) Loading /usr/X11R6/lib/modules/drivers//neomagic_drv.so
(II) Module neomagic: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.2.2
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "nv"

(II) Loading /usr/X11R6/lib/modules/drivers//nv_drv.so
(II) Module nv: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 2.1.13
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "openchrome"

(II) Loading /usr/X11R6/lib/modules/drivers//openchrome_drv.so
(II) Module openchrome: vendor="http://openchrome.org/"
        compiled for 1.5.3, module version = 0.2.903
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "r128"

(II) Loading /usr/X11R6/lib/modules/drivers//r128_drv.so
(II) Module r128: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 6.8.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "radeon"

(II) Loading /usr/X11R6/lib/modules/drivers//radeon_drv.so
(II) Module radeon: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 6.12.2
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "radeonhd"

(II) Loading /usr/X11R6/lib/modules/drivers//radeonhd_drv.so
(II) Module radeonhd: vendor="AMD GPG"
        compiled for 1.5.3, module version = 1.2.5
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "rendition"

(II) Loading /usr/X11R6/lib/modules/drivers//rendition_drv.so
(II) Module rendition: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 4.2.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "s3"

(II) Loading /usr/X11R6/lib/modules/drivers//s3_drv.so
(II) Module s3: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 0.6.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "s3virge"

(II) Loading /usr/X11R6/lib/modules/drivers//s3virge_drv.so
(II) Module s3virge: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.10.2
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "savage"

(II) Loading /usr/X11R6/lib/modules/drivers//savage_drv.so
(II) Module savage: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 2.2.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "siliconmotion"

(II) Loading /usr/X11R6/lib/modules/drivers//siliconmotion_drv.so
(II) Module siliconmotion: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.7.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "sis"

(II) Loading /usr/X11R6/lib/modules/drivers//sis_drv.so
(II) Module sis: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 0.10.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "tdfx"

(II) Loading /usr/X11R6/lib/modules/drivers//tdfx_drv.so
(II) Module tdfx: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.4.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "trident"

(II) Loading /usr/X11R6/lib/modules/drivers//trident_drv.so
(II) Module trident: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.3.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "tseng"

(II) Loading /usr/X11R6/lib/modules/drivers//tseng_drv.so
(II) Module tseng: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.1.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "voodoo"

(II) Loading /usr/X11R6/lib/modules/drivers//voodoo_drv.so
(II) Module voodoo: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.1.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "vmware"

(II) Loading /usr/X11R6/lib/modules/drivers//vmware_drv.so
(II) Module vmware: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 10.16.6
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "vesa"

(II) Loading /usr/X11R6/lib/modules/drivers//vesa_drv.so
(II) Module vesa: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 2.2.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) System resource ranges:
        [0] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [1] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [2] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [3] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [4] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [5] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]
(II) Primary Device is: PCI 00@00:04:0
(WW) Falling back to old probe method for apm
(WW) Falling back to old probe method for ark
(II) CHIPS: Driver for Chips and Technologies chipsets: ct65520,
ct65525,
        ct65530, ct65535, ct65540, ct65545, ct65546, ct65548, ct65550,
        ct65554, ct65555, ct68554, ct69000, ct69030, ct64200, ct64300
(WW) Falling back to old probe method for cirrus
(II) Loading sub module "cirrus_laguna"
(II) LoadModule: "cirrus_laguna"

(II) Loading /usr/X11R6/lib/modules/drivers//cirrus_laguna.so
(II) Module cirrus_laguna: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.0.0
        ABI class: X.Org Video Driver, version 4.1
(II) Loading sub module "cirrus_alpine"
(II) LoadModule: "cirrus_alpine"

(II) Loading /usr/X11R6/lib/modules/drivers//cirrus_alpine.so
(II) Module cirrus_alpine: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.0.0
        ABI class: X.Org Video Driver, version 4.1
(WW) Falling back to old probe method for dummy
(WW) Falling back to old probe method for glint
(WW) Falling back to old probe method for i128
(WW) Falling back to old probe method for i740
(WW) Falling back to old probe method for neomagic
(WW) Falling back to old probe method for s3
(WW) Falling back to old probe method for s3virge
(WW) Falling back to old probe method for siliconmotion
(WW) Falling back to old probe method for sis
(WW) Falling back to old probe method for trident
(WW) Falling back to old probe method for tseng
(WW) Falling back to old probe method for voodoo
(II) VESA: driver for VESA chipsets: vesa
(++) Using config file: "/root/xorg.conf.new"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Not automatically adding devices
(==) Not automatically enabling devices
(==) Including the default font
path /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/OTF,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/100dpi/,/usr/X11R6/lib/X11/fonts/75dpi/.
(**) FontPath set to:
        /usr/X11R6/lib/X11/fonts/misc/,
        /usr/X11R6/lib/X11/fonts/TTF/,
        /usr/X11R6/lib/X11/fonts/OTF,
        /usr/X11R6/lib/X11/fonts/Type1/,
        /usr/X11R6/lib/X11/fonts/100dpi/,
        /usr/X11R6/lib/X11/fonts/75dpi/,
        /usr/X11R6/lib/X11/fonts/misc/,
        /usr/X11R6/lib/X11/fonts/TTF/,
        /usr/X11R6/lib/X11/fonts/OTF,
        /usr/X11R6/lib/X11/fonts/Type1/,
        /usr/X11R6/lib/X11/fonts/100dpi/,
        /usr/X11R6/lib/X11/fonts/75dpi/
(**) ModulePath set to "/usr/X11R6/lib/modules"
(II) resource ranges after probing:
        [0] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [1] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [2] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [3] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [4] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [5] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]


Xorg detected your mouse at device /dev/wsmouse.
Please check your config if the mouse is still not
operational, as by default Xorg tries to autodetect
the protocol.

Your xorg.conf file is /root/xorg.conf.new

To test the server, run 'X -config /root/xorg.conf.new'


I renamed xorg.conf.new to xorg.conf.new.patched and typed

X -config /root/xorg.conf.new.patched

and waited for video. I got some! It's kind of funny looking video
but it really is working somewhat. The log file created by running
X -config /root/xorg.conf.new.patched is shown below:


X.Org X Server 1.5.3
Release Date: 5 November 2008
X Protocol Version 11, Revision 0
Build Operating System: OpenBSD 4.6 i386 
Current Operating System: OpenBSD ancient.my.domain 4.6 GENERIC#25 i386
Build Date: 26 June 2009  07:19:15AM
 
        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: Tue Jun 30 17:44:58 2009
(++) Using config file: "/root/xorg.conf.new.patched"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Not automatically adding devices
(==) Not automatically enabling devices
(==) Including the default font
path /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/OTF,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/100dpi/,/usr/X11R6/lib/X11/fonts/75dpi/.
(**) FontPath set to:
        /usr/X11R6/lib/X11/fonts/misc/,
        /usr/X11R6/lib/X11/fonts/TTF/,
        /usr/X11R6/lib/X11/fonts/OTF,
        /usr/X11R6/lib/X11/fonts/Type1/,
        /usr/X11R6/lib/X11/fonts/100dpi/,
        /usr/X11R6/lib/X11/fonts/75dpi/,
        /usr/X11R6/lib/X11/fonts/misc/,
        /usr/X11R6/lib/X11/fonts/TTF/,
        /usr/X11R6/lib/X11/fonts/OTF,
        /usr/X11R6/lib/X11/fonts/Type1/,
        /usr/X11R6/lib/X11/fonts/100dpi/,
        /usr/X11R6/lib/X11/fonts/75dpi/
(**) ModulePath set to "/usr/X11R6/lib/modules"
(II) Loader magic: 0x3c01e2e0
(II) Module ABI versions:
        X.Org ANSI C Emulation: 0.4
        X.Org Video Driver: 4.1
        X.Org XInput driver : 2.1
        X.Org Server Extension : 1.1
        X.Org Font Renderer : 0.6
(II) Loader running on openbsd
(--) Using wscons driver on /dev/ttyC4 in pcvt compatibility mode
(version 3.32)
(--) checkDevMem: using aperture driver /dev/xf86
(--) PCI:*(0@0:4:0) Chips and Technologies 65555 rev 198, Mem @
0xfd000000/0
(II) System resource ranges:
        [0] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [1] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [2] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [3] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [4] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [5] -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) "freetype" will be loaded. This was enabled by default and also
specified in the config file.
(II) "dri" will be loaded. This was enabled by default and also
specified in the config file.
(II) LoadModule: "dbe"

(II) Loading /usr/X11R6/lib/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 1.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "dri"

(II) Loading /usr/X11R6/lib/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.0.0
        ABI class: X.Org Server Extension, version 1.1
(II) Loading extension XFree86-DRI
(II) LoadModule: "extmod"

(II) Loading /usr/X11R6/lib/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 1.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 TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "glx"

(II) Loading /usr/X11R6/lib/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.0.0
        ABI class: X.Org Server Extension, version 1.1
(==) AIGLX enabled
(==) Exporting typical set of GLX visuals
(II) Loading extension GLX
(II) LoadModule: "freetype"

(II) Loading /usr/X11R6/lib/modules/fonts//libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
        compiled for 1.5.3, module version = 2.1.0
        Module class: X.Org Font Renderer
        ABI class: X.Org Font Renderer, version 0.6
(II) Loading font FreeType
(II) LoadModule: "chips"

(II) Loading /usr/X11R6/lib/modules/drivers//chips_drv.so
(II) Module chips: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.2.1
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 4.1
(II) LoadModule: "mouse"

(II) Loading /usr/X11R6/lib/modules/input//mouse_drv.so
(II) Module mouse: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.4.0
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 2.1
(II) LoadModule: "kbd"

(II) Loading /usr/X11R6/lib/modules/input//kbd_drv.so
(II) Module kbd: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.3.2
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 2.1
(II) CHIPS: Driver for Chips and Technologies chipsets: ct65520,
ct65525,
        ct65530, ct65535, ct65540, ct65545, ct65546, ct65548, ct65550,
        ct65554, ct65555, ct68554, ct69000, ct69030, ct64200, ct64300
(II) Primary Device is: PCI 00@00:04:0
(II) resource ranges after probing:
        [0] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [1] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [2] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [3] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [4] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [5] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"

(II) Loading /usr/X11R6/lib/modules//libvgahw.so
(II) Module vgahw: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 0.1.0
        ABI class: X.Org Video Driver, version 4.1
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"

(II) Loading /usr/X11R6/lib/modules//libvbe.so
(II) Module vbe: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.1.0
        ABI class: X.Org Video Driver, version 4.1
(II) Loading sub module "int10"
(II) LoadModule: "int10"

(II) Loading /usr/X11R6/lib/modules//libint10.so
(II) Module int10: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.0.0
        ABI class: X.Org Video Driver, version 4.1
(II) CHIPS(0): initializing int10
(II) CHIPS(0): Primary V_BIOS segment is: 0xc000
(II) CHIPS(0): VESA BIOS detected
(II) CHIPS(0): VESA VBE Version 2.0
(II) CHIPS(0): VESA VBE Total Mem: 2048 kB
(II) CHIPS(0): VESA VBE OEM: CHIPS 6x555 Super VGA
(II) CHIPS(0): VESA VBE OEM Software Rev: 1.0
(II) CHIPS(0): VESA VBE OEM Vendor: Chips & Technologies, Inc.
(II) CHIPS(0): VESA VBE OEM Product: 6x555 Display Controller
(II) CHIPS(0): VESA VBE OEM Product Rev: 2
(==) CHIPS(0): Depth 8, (--) framebuffer bpp 8
(II) CHIPS(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is
0x0000
(==) CHIPS(0): Default visual is PseudoColor
(==) CHIPS(0): Using gamma correction (1.0, 1.0, 1.0)
(==) CHIPS(0): Using HW cursor
(--) CHIPS(0): VideoRAM: 256 kByte
(--) CHIPS(0): TFT probed
(--) CHIPS(0): Unknown Bus
(--) CHIPS(0): Synchronous reset not ignored.
(--) CHIPS(0): Using programmable clocks
(==) CHIPS(0): Min pixel clock is  11.000 MHz
(--) CHIPS(0): Max pixel clock is  56.000 MHz
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Module "ddc" already built-in
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Module "ddc" already built-in
(II) CHIPS(0): VESA VBE DDC supported
(II) CHIPS(0): VESA VBE DDC Level 2
(II) CHIPS(0): VESA VBE DDC transfer in appr. 1 sec.
f000:a145: 01 ILLEGAL EXTENDED X86 OPCODE!
(II) CHIPS(0): VESA VBE DDC invalid
(II) CHIPS(0): Monitor0: Using default hsync range of 31.50-37.90 kHz
(II) CHIPS(0): Monitor0: Using default vrefresh range of 50.00-70.00 Hz
(WW) CHIPS(0): Unable to estimate virtual size
(II) CHIPS(0): Clock range:  11.00 to  56.00 MHz
(II) CHIPS(0): Not using default mode "640x350" (vrefresh out of range)
(II) CHIPS(0): Not using default mode "320x175" (vrefresh out of range)
(II) CHIPS(0): Not using default mode "640x400" (vrefresh out of range)
(II) CHIPS(0): Not using default mode "320x200" (vrefresh out of range)
(II) CHIPS(0): Not using default mode "720x400" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "360x200" (vrefresh out of range)
(II) CHIPS(0): Not using default mode "640x480" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "640x480" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "320x240" (vrefresh out of range)
(II) CHIPS(0): Not using default mode "640x480" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "320x240" (vrefresh out of range)
(II) CHIPS(0): Not using default mode "640x480" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "320x240" (hsync out of range)
(II) CHIPS(0): Not using default mode "800x600" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "800x600" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "800x600" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "400x300" (hsync out of range)
(II) CHIPS(0): Not using default mode "800x600" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "400x300" (hsync out of range)
(II) CHIPS(0): Not using default mode "800x600" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "400x300" (hsync out of range)
(II) CHIPS(0): Not using default mode "1024x768" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "512x384" (vrefresh out of range)
(II) CHIPS(0): Not using default mode "1024x768" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "512x384" (hsync out of range)
(II) CHIPS(0): Not using default mode "1024x768" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "512x384" (hsync out of range)
(II) CHIPS(0): Not using default mode "1024x768" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "512x384" (hsync out of range)
(II) CHIPS(0): Not using default mode "1024x768" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "512x384" (hsync out of range)
(II) CHIPS(0): Not using default mode "1152x864" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "576x432" (hsync out of range)
(II) CHIPS(0): Not using default mode "1280x960" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "640x480" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "1280x960" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "640x480" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "1280x1024" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "640x512" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "1280x1024" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "640x512" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "1280x1024" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "640x512" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "1600x1200" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "800x600" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "1600x1200" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "800x600" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "1600x1200" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "800x600" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "1600x1200" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "800x600" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "1600x1200" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "800x600" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "1792x1344" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "896x672" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "1792x1344" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "896x672" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "1856x1392" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "928x696" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "1856x1392" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "928x696" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "1920x1440" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "960x720" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "1920x1440" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "960x720" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "832x624" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "416x312" (hsync out of range)
(II) CHIPS(0): Not using default mode "1400x1050" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "700x525" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "1400x1050" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "700x525" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "1920x1440" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "960x720" (insufficient memory for
mode)
(II) CHIPS(0): Not using default mode "2048x1536" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "1024x768" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "2048x1536" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "1024x768" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "2048x1536" (insufficient memory
for mode)
(II) CHIPS(0): Not using default mode "1024x768" (insufficient memory
for mode)
(--) CHIPS(0): Virtual size is 400x300 (pitch 400)
(**) CHIPS(0): *Default mode "400x300": 20.0 MHz, 37.9 kHz, 60.3 Hz (D)
(II) CHIPS(0): Modeline "400x300"x60.3   20.00  400 420 484 528  300 300
302 314 doublescan +hsync +vsync (37.9 kHz)
(**) CHIPS(0): *Default mode "400x300": 18.0 MHz, 35.2 kHz, 56.3 Hz (D)
(II) CHIPS(0): Modeline "400x300"x56.3   18.00  400 412 448 512  300 300
301 312 doublescan +hsync +vsync (35.2 kHz)
(**) CHIPS(0): *Default mode "320x240": 12.6 MHz, 31.5 kHz, 60.1 Hz (D)
(II) CHIPS(0): Modeline "320x240"x60.1   12.59  320 328 376 400  240 245
246 262 doublescan -hsync -vsync (31.5 kHz)
(==) CHIPS(0): DPI set to (96, 96)
(II) Loading sub module "fb"
(II) LoadModule: "fb"

(II) Loading /usr/X11R6/lib/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
        compiled for 1.5.3, module version = 1.0.0
        ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
        [0] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [1] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
        [2] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
        [3] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [4] 0   0       0x00000200 - 0x000083fc  IX[S]
        [5] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
        [6] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]
(==) CHIPS(0): Backing store disabled
(==) 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 XINERAMA
(II) Initializing built-in extension XFIXES
(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) AIGLX: Screen 0 is not DRI capable
(II) AIGLX: Loaded and
initialized /usr/X11R6/lib/modules/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(**) Option "Protocol" "wsmouse"
(**) Mouse0: Protocol: wsmouse
(**) Option "CorePointer"
(**) Mouse0: always reports core events
(**) Option "Device" "/dev/wsmouse"
(==) Mouse0: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5 6 7"
(**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7
(**) Mouse0: Buttons: 11
(**) Option "CoreKeyboard"
(**) Keyboard0: always reports core events
(**) Option "Protocol" "standard"
(**) Keyboard0: Protocol: standard
(--) Keyboard0: using wscons layout us
(**) 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
(II) evaluating device (Mouse0)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) evaluating device (Keyboard0)
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) PM Event received: Power Status Change
(II) PM Event received: Power Status Change
(II) PM Event received: Power Status Change
(II) PM Event received: Power Status Change
(II) PM Event received: Power Status Change
(II) PM Event received: Power Status Change
(II) PM Event received: Power Status Change
(II) UnloadModule: "mouse"
(II) UnloadModule: "kbd"


Looking at the file above seems to show that the driver doesn't think
it has enough memory to support the higher resolution modes. There is
enough video memory onboard to support either 640x480 or 800x600 in
24-bit mode. (The native resolution of the LCD display is 800x600.)

Looking back at the log from the older driver under the 4.4-release it
looks like it uses "i2c" to learn more about the display capabilities.

Also I noticed that now control-alt-backspace works just as it should.
No more resetting the machine with a paperclip!

--
Mike Beasley