[ltp] XFree86 on TP 770X

Udo Weber linux-thinkpad@www.bm-soft.com
Wed, 03 Jan 2001 02:14:29 +0100


Doug Ambrisko wrote:

> Udo Weber writes:
> | can anyone tell me where I can find the offical specification for the
> | TFT-Display on my TP 770X ?
> | I found several XFConfig files in this mailing list and on several TP
> | homepages but all have very
> | different values for vertical and horizonal refresh rates.
> | What are the max/min values which I can use to experiment with XFree ?
> |
> | Reason for this is, I still try to get the XFree86 4.0.2 running.
> | I hope someone can help me.
>
> BTW I upgraded the CVS source on my laptop a 770Z and started to get
> the flicker.  So a change was made that causes this.  I went back
> through the CVS changes and found if I backed out one change the flicker
> went away.  So if you can grab the sources and apply this it should
> help.  Or for kicks you can get
>         http://www.ambrisko.com/doug/trident_drv.o
> and install that /usr/X11R6/lib/modules/drivers (backup the original).
> I think it may work even though it is built on FreeBSD.
>
> Also let me know if you have a mouse problem (ie. it disappears after
> a "tput clear".  I have a work-around patch for that as well.
>
> Doug A.
>
> Index: tridenthelper.c
> ===================================================================
> RCS file: /cvs/xc/programs/Xserver/hw/xfree86/drivers/trident/tridenthelper.c,v
> retrieving revision 1.15
> retrieving revision 1.14
> diff -c -r1.15 -r1.14
> *** tridenthelper.c     2000/12/14 19:29:45     1.15
> --- tridenthelper.c     2000/12/07 16:48:06     1.14
> ***************
> *** 70,76 ****
>
>         freq = clock;
>
> !       for (k=endk;k>=0;k--)
>           for (n=startn;n<=endn;n++)
>             for (m=1;m<=endm;m++)
>             {
> --- 70,76 ----
>
>         freq = clock;
>
> !       for (k=0;k<=endk;k++)
>           for (n=startn;n<=endn;n++)
>             for (m=1;m<=endm;m++)
>             {
> ----- The Linux ThinkPad mailing list -----
> The linux-thinkpad mailing list home page is at:
> http://www.bm-soft.com/~bm/tp_mailing.html

Hi Doug,

many thanks for your help. I got your trident_drv.o and it works !
This is my first time that I saw XFree86 (V4) is working on the
TP 770X and when I queryed the mailing lists and the known
TP-homepages, I think nobody else got it to work befor.

One again - many thanks.

Currently the cooker-distro from Mandrake (BETA-version
of the offical Mandrake) has a lot other problems with the new
KDE and other stuff. So I only could try the new trident-drv.o
with Gnome-sawfish (which is also not quite stable) but it works
and also without significant problems with the mouse.

Here is my current XFConfig-4 (which is working proper now):
*********************************************************
Section "ServerLayout"
        Identifier           "XFree86 Configured"
        Screen      0     "Screen0" 0 0
        InputDevice     "Mouse0" "CorePointer"
        InputDevice     "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath  "/usr/X11R6/lib/X11/rgb"
        FontPath "unix/:-1"
EndSection

Section "Module"
        Load  "extmod"
        Load  "xie"
        Load  "pex5"
        Load  "glx"
        Load  "dri"
        Load  "GLcore"
        Load  "dbe"
        Load  "record"
        Load  "v4l"
EndSection

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

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

Section "Monitor"
        Identifier          "Monitor0"
        VendorName   "IBM"
        ModelName      "9516-B TFT Panel @ 1280x1024"
        HorizSync         64.0-80.0
        VertRefresh      60.0-75.0
EndSection

Section "Device"
        ### Available Driver options are:-
        #Option     "SWcursor"
        #Option     "sw_cursor"
        #Option     "HWcursor"
        Option     "PciRetry"
        #Option     "NoAccel"
        #Option     "SetMClk"
        #Option     "MUXThreshold"
        #Option     "ShadowFB"
        #Option     "NoMMIO"
        #Option     "NoPciBurst"
        #Option     "MMIOonly"
        Option "XaaNoScanlineCPUToScreenColorExpandFill"
        Option "XaaNoScanlineImageWriteRect"

        Identifier          "Card0"
        Driver              "trident"
        VendorName   "Trident"
        BoardName      "Cyber 939A/DVD"
        BusID               "PCI:1:0:0"
        VideoRam        8192
EndSection

Section "Screen"
        Identifier                "Screen0"
        Device                   "Card0"
        Monitor                  "Monitor0"
        DefaultColorDepth 16

        SubSection "Display"
                Depth     16
                Modes   "1280x1024" "640x480"
        EndSubSection
        SubSection "Display"
                Depth      24
                Modes    "1280x1024" "640x480"
        EndSubSection
EndSection

Section "DRI"
EndSection

*************************************************

Maybe there are some strange settings but this was
my first try and have nothing optiimized.
I think this should be published on all related TP-URL's
maybe this will also work (or help) with other thinkpads.



----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html