Cirrus Logic 5434 1MB in Xwindows (XFREE 86 3.2)

Cirrus Logic 5434 1MB in Xwindows (XFREE 86 3.2)

Post by Michael.Di.. » Fri, 14 Mar 1997 04:00:00



Can someone help me here - I'm running Linux (Slackware 96) with
kernel 2.0.0. I configured the supplied XFREE 3.1.2 OK - but was disappointed
when I found I could only get 640x480 with 8 bpp.
I've since downloaded & installed the 3.2 binaries and still can't get up to
my desired resolution of 800 x 600 with 16 bpp, which I'm told is possible.
Can someone help me out (a complete XF86Config file would help! - I've seen
some parts of some that I've tried - without success).

Hope you can help,
Mike Diack

 
 
 

Cirrus Logic 5434 1MB in Xwindows (XFREE 86 3.2)

Post by Peter B. We » Fri, 21 Mar 1997 04:00:00


On 13 Mar 1997 14:23:12 GMT, Michael.Di...@ukos.varian.com wrote:

>Can someone help me here - I'm running Linux (Slackware 96) with
>kernel 2.0.0. I configured the supplied XFREE 3.1.2 OK - but was disappointed
>when I found I could only get 640x480 with 8 bpp.
>I've since downloaded & installed the 3.2 binaries and still can't get up to
>my desired resolution of 800 x 600 with 16 bpp, which I'm told is possible.
>Can someone help me out (a complete XF86Config file would help! - I've seen
>some parts of some that I've tried - without success).

>Hope you can help,
>Mike Diack
>Michael.Di...@ukos.varian.com

Mike,

Here are the Monitor, Device & Screen section of my config file.  I have a 2Mb
system, so some of my settings will not work for you.  8 bit 1024x768 will be
OK, but you will have to take the 1024x768 out of the 16 bit section, and
change the virtual entry to 800 x 600 as well.  You can forget about 32 bit
unless you want to run 320 x 200.  I have recently tried 16 bit by adding "
-bpp 16" to the end of the local server setup line in the file
/etc/X11/xdm/Xservers, which is linked to from /usr/X11/lib/X11/xdm/Xservers.
I seem to be getting segmentation violations which kill X when I swithc to a
virtual terminal using Ctrl-Alt-F1, etc.

Note the line:
# Refer to /usr/X11R6/lib/doc/README.cirrus.
Make sure you read it, especially in regard to the ClockChip, Membase and
Option "linear" entries.  I initially included the line
ClockChip       "cirrus"
as advised, but I found that at the lower clock rates and resolutions, like
normal VGA for example, the monitor would not initially sync.  If I bypassed
that resolution, with Ctrl-Alt-Keypad+, the higher resolutions would sync, and
I could *then* switch back to the lower resolution without difficulty.  When I
took the ClockChip line out, everything was OK.

I have an AST Bravo with built-in 5434, and the fact that it is on-board may
affect things.  (The fact that it is AST may affect things too!)  There is a
program mentioned in the documentation which will tell you the membase value
for your PCI framebuffer mapping.  I can't remember it offhand.

I am using a virtual size of 1024x768 even though I have 2megs of video memory
because I am running fvwm, and it is a bit awkward to run it with a large
virtual window.

Watch out for line wrap in the lines below.  You will have to correct this when
it occurs - mainly in the Modeline entries.

Hope this helps.

Peter

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "SyncMaster 15GLe"
    VendorName  "Samsung"
    ModelName   "SyncMaster 15GLe"

# HorizSync is in kHz unless units are specified.

# "Official" range is 30-50.  52 may be pushing the monitor too hard.
    HorizSync   30-52

# VertRefresh is in Hz unless units are specified.

    VertRefresh 50-120

# Modes can be specified in two formats.  A compact one-line format, or
# a multi-line format.

# These two are equivalent

#    ModeLine "1024x768i" 45 1024 1048 1208 1264 768 776 784 817 Interlace

#    Mode "1024x768i"
#        DotClock       45
#        HTimings       1024 1048 1208 1264
#        VTimings       768 776 784 817
#        Flags          "Interlace"
#    EndMode

# This is a set of standard mode timings. Modes that are out of monitor # spec
# are automatically deleted by the server (provided the HorizSync and
# VertRefresh lines are correct), so there's no immediate need to
# delete mode timings (unless particular mode timings don't work on your
# monitor). With these modes, the best standard mode that your monitor
# and video card can support for a given resolution is automatically
# used.

######### "Specials" for the 15GLe ############

# 640x480 @ 75 Hz, 37.5 khz hsync  Modified for GLE 14/01/97 pbw
Modeline "640x480"     31.5   640  672  722  840   480  481  484  500

# 800x600 @ 75 Hz, 48.0 kHz hsync
Modeline "800x600"     50     800  840  960 1040   600  602  606  636 +hsync
+vsync

# 952x714 @ 69 Hz, 52 kHz hsync
ModeLine "952x714"     65     952  976 1104 1250   714  717  723  750

######### The 72 mHz clock is pushing it; might cook the monitor
# 1056x790 @ 62 Hz, 52 kHz hsync
ModeLine "1056x790"    72    1056 1080 1216 1384   790  794  800  830

# 1096x824 @ 58 Hz, 50 kHz hsync
ModeLine "1096x824"    72    1096 1120 1272 1440   824  827  833  864

# 1024x768 @ 60 Hz, 48.4 kHz hsync
#Modeline "1024x768o"    65    1024 1048 1184 1344   768  771  777  806 -hsync
-vsync
Modeline "1024x768"    65    1024 1056 1192 1344   768  771  777  806 -hsync
-vsync

# 1280x1024 @ 90 Hz interlaced, 48 kHz hsync
ModeLine "1280x1024"   80    1280 1312 1480 1656  1024 1028 1036 1075 Interlace

EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier  "Generic VGA"
    VendorName  "Unknown"
    BoardName   "Unknown"
    Chipset     "generic"

#    VideoRam   256
#    Clocks     25.2 28.3

EndSection

Section "Device"
    Identifier  "CL-GD5434"
    VendorName  "Cirrus Logic"
    BoardName   "AST Bravo MS P/75 Rattler MoBo"
    VideoRam    2048
    #ClockChip   "cirrus"
# Device section for Cirrus Logic GD5430/34-based cards.
    #MemBase 0x00e00000         # ISA card that maps to 14Mb
    #MemBase 0x04000000         # VLB card that maps to 64Mb
    #MemBase 0x80000000         # VLB card that maps to 2048Mb
    #MemBase 0x02000000         # VLB card that maps to 32Mb
    #MemBase 0xa0000000         # PCI card that maps to 2560Mb
    MemBase 0xfd000000          # PCI card that maps near 4Gb
    Option "linear"
# Use Option "no_bitblt" if you have graphics problems. If that fails
# try Option "noaccel".
# Refer to /usr/X11R6/lib/doc/README.cirrus.
# To allow linear addressing, uncomment the Option line and the
# address that the card maps the framebuffer to.
    # Insert Clocks lines here if appropriate
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

# The Colour SVGA server

Section "Screen"
    Driver      "svga"
    Device      "CL-GD5434"
    Monitor     "SyncMaster 15GLe"
    Subsection "Display"
        Depth       8
        # Omit the Modes line for the "Generic VGA" device
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
        Virtual     1024 768
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600"
        ViewPort    0 0
        Virtual     1024 768
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "800x600"
        ViewPort    0 0
        Virtual     800 600
    EndSubsection
EndSection

# The 16-color VGA server

Section "Screen"
    Driver      "vga16"
    Device      "Generic VGA"
    Monitor     "SyncMaster 15GLe"
    Subsection "Display"
        Modes       "640x480" "800x600"
        ViewPort    0 0
        Virtual     800 600
    EndSubsection
EndSection

 __ /__   Peter B. West
   /     p.w...@mailbox.uq.edu.au
  /    "Master, to whom shall we go?"

begin 644 xf86config
<uuencoded_portion_removed>
(96-T:6]N"@H`
`
end

 
 
 

Cirrus Logic 5434 1MB in Xwindows (XFREE 86 3.2)

Post by Peter B. We » Fri, 21 Mar 1997 04:00:00


My apologies for accidentally attaching my XF86Config file to the
previous post.

Mea culpa

Peter
 __ /__   Peter B. West

  /    "Master, to whom shall we go?"

 
 
 

1. Cirrus 5434 1mb w/16bpp Color?

I've been trying to get my video to work at 16bpp in x-windows, but so
far to no avail.  I've tried all of the suggestions in the cirrus.readme
and searched for answers in the newsgroups via Dejanews.  Nothing seems
to work quite right.  

My question:  is it possible to get a 1mb PCI Cirrus GD-5434 to run at
800X600 16bpp in X?  I've tried using the linear option w/ and w/o
membase (found by scanpci), no_bitblt, noaccel, even slow_dram but
nothing so far will get rid of the flickering across part of the
screen.  Am I laboring in vain or is it possible to make happen?  Thanks
in advance.

Don Gray

2. IE can't display Sun ftp files and directories

3. XF86Config for Cirrus Logic CLGD5430/5434 needed ...

4. KCharset: Wrong charset!

5. Cirrus Logic 5434 not supported

6. NEC Versa 6200MMX

7. Problems using Cirrus Logic 5434 in >8 bitplanes under XFree86 3.1

8. SB16 and CD620E not recognised

9. Cirrus Logic 5434

10. Cirrus Logic 5434 for X

11. Cirrus Logic 5434 not supported

12. Cirrus Logic 5434 & X

13. Cirrus Logic 5434 and 16-bit color?