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

Re: [K12OSN] 16 bit color with Cirrus Logic 542/3/4X?



On Wed, Nov 06, 2002 at 02:50:41PM -0500, kworster penquis com wrote:
> Well, I tried another Dell 486-turned-Pentium unit we had after I installed the 
> newest ltsp kernel package, and I have managed to get it to boot all the way to 
> the login screen.  However, I had to make the following changes to lts.conf to 
> get it to work, and then only in 8 bit color.  It has an onboard Cirrus Logic 
> gd5429 chipset, I think.  If not, it's a close relative.
> 
> 
> [ws004] # The Dell workstation
>         XSERVER=XF86_SVGA
>         X_COLOR_DEPTH=8
>         X_HORZSYNC=31-62
>         X_VERTREFRESH=55-90
>         X_RES_1=800x600 40 800 840 968 1056 600 601 605 628 +hsync +vsync
> 
> >From my research, this card will suppport 16 bit color, but only if the option 
> "linear" is set in the device section of the xf86config file.  Setting 
> X_COLOR_DEPTH to 16 didn't do the trick.  From what I can tell about ltsp, the 
> only way to do this is to write a custom xf86config for all X settings and 
> specify it in the lts.conf file.  
> 
> 1.  Is there an easier / better way than writing an entire
> xf86config?

Not that I know of.

> 2.  Does anyone have a working xf86config for this type of graphics card?

Yes, not the onboard version but a ISA clgd5422 that also requires the
"linear" option.

I have attached a XF86Config_SVGA_clgd542x_16bbp

Note that you may have to change the mouse section and the ModeLines.

-- 

Hans Ekbrand
        Section "Files"
           RgbPath    "/usr/X11R6/lib/X11/rgb"
           FontPath   "tcp/130.241.119.140:7100"
        EndSection
    Section "ServerFlags"
    EndSection

    Section "Keyboard"
        Protocol        "Standard"
        AutoRepeat      500 5
        LeftAlt         Meta
        RightAlt        Meta
        ScrollLock      Compose
        RightCtl        Control
        XkbKeycodes     "xfree86"
        XkbTypes        "basic"
        XkbCompat       "basic"
        XkbSymbols      "en_US(pc105)+se"
        XkbGeometry     "pc"
        XkbRules        "xfree86"
        XkbModel        "pc102"
        XkbLayout       "se"
    EndSection

    Section "Pointer"
        Protocol        "Microsoft"
        Device          "/dev/ttyS0"
        Resolution      50
        Buttons         2
        BaudRate        1200
        AlwaysCore
#        ZAxisMapping    4 5
        Emulate3Buttons
    EndSection
    Section "Monitor"
        Identifier      "My Monitor"
        VendorName      "Unknown"
        ModelName       "Unknown"
        HorizSync       29-33.5
        VertRefresh     55-70
        Modeline "640x400"    25.175 640  664  760  800  400  409  411  450
        Modeline "640x400"    31.5   640  672 736   832  400  401  404  445  -HSync +VSync
        Modeline "640x480"    45.8   640  672  768  864  480  488  494  530  -HSync -VSync
        Modeline "640x480"    25.175 640  664  760  800  480  491  493  525
        Modeline "640x480"    31.5   640  680  720  864  480  488  491  521
        Modeline "640x480"    31.5   640  656  720  840  480  481  484  500  -HSync -VSync
        Modeline "640x480"    36     640  696  752  832  480  481  484  509  -HSync -VSync
        Modeline "800x600"    69.65  800  864  928 1088  600  604  610  640  -HSync -VSync
        Modeline "800x600"    36     800  824  896 1024  600  601  603  625
        Modeline "800x600"    40     800  840  968 1056  600  601  605  628  +hsync +vsync
        Modeline "800x600"    50     800  856  976 1040  600  637  643  666  +hsync +vsync
        Modeline "800x600"    60.75  800  864  928 1088  600  616  621  657  -HSync -VSync
        Modeline "1024x480"   65     1024 1032 1176 1344 480  491  493  525  -HSync -VSync
        Modeline "1024x768"   115.5  1024 1056 1248 1440 768  771  781  802  -HSync -VSync
        Modeline "1024x768"   65     1024 1032 1176 1344 768  771  777  806  -hsync -vsync
        Modeline "1024x768"   75     1024 1048 1184 1328 768  771  777  806  -hsync -vsync
        Modeline "1024x768"   85     1024 1032 1152 1360 768  784  787  823
        Modeline "1024x768"   98.9   1024 1056 1216 1408 768  782  788  822  -HSync -VSync
        Modeline "1152x864"   137.65 1152 1184 1312 1536 864  866  885  902  -HSync -VSync
        Modeline "1152x864"   89.9   1152 1216 1472 1680 864  868  876  892  -HSync -VSync
        Modeline "1152x864"   92     1152 1208 1368 1474 864  865  875  895
        Modeline "1152x864"   110    1152 1240 1324 1552 864  864  876  908
        Modeline "1152x864"   135    1152 1464 1592 1776 864  864  876  908
    EndSection

    Section "Device"
        Identifier        "My Video Card"
        VendorName        "Unknown"
        BoardName         "Unknown"
	Clockchip	  "cirrus"
	Option		  "Linear"
	MemBase 	  0x00e00000
        
    EndSection

    Section "Screen"
        Driver            "SVGA"
        Device            "My Video Card"
        Monitor           "My Monitor"
        BlankTime         5
        SuspendTime       10
        OffTime           30
        SubSection "Display"
            Depth         16
            Modes         "1024x768" "800x600" "640x480"
        EndSubSection
    EndSection

    Section "Screen"
        Driver            "accel"
        Device            "My Video Card"
        Monitor           "My Monitor"
        BlankTime         5
        SuspendTime       10
        OffTime           30
        Subsection "Display"
            Depth         16
            Modes         "1024x768" "800x600" "640x480"
        EndSubsection
    EndSection

Attachment: pgp00007.pgp
Description: PGP signature


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