Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 1998 23:08:20 +0100 (MET)
From:      Ugo Paternostro <paterno@dsi.UNIFI.IT>
To:        freebsd-mobile@FreeBSD.ORG
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Weird problem with XFree 86 v3.3.1 and Cirrus Logic 7548
Message-ID:  <XFMail.980128230820.paterno@dsi.UNIFI.IT>

next in thread | raw e-mail | index | archive | help
Hello everybody!

As I said in a previous message, I installed -current (1998-01-24 SNAP) on my
laptop, with XFree86 v3.3.1

The laptop has a Cirrus Logic CL-GD7548 SVGA chip with 1 MB memory and an
800x600 DSTN LCD panel.

When I start the X server, the screen appears (about) 70 pixel shifted to the
right, with a black border on the left side, and a lot of (waving) horizontal
stripes.

Luckly, if I switch the output to the external monitor connector and than back
to the LCD, it becames perfectly clear and stable, without the 70 pixels offset.

BTW, if I press CTRL-ALT-F1 to switch back to the console while te screen is in
the "weird" state, I get a weird console :) What I mean is that I get an almost
all white console, with whiter characters here and there, but repeated 3 times
in 3 big horizontal stripes.

Of course, if I switch the output the console goes fine... 

Moreover, it works perfectly after a suspend (I'm using the SaveToDisk feature
of the Phoenix Bios).

I'm really stymied... Well, that's not a Big Problem(tm), you know, it works,
you just have to remember to switch out then in again the VGA output, but...

I include here the relevant parts of XF86Config and the X server output:

-------------------------------------------------------------------------------
[...]
Section "Device"
    Identifier  "Echos SVGA"
    VendorName  "Olivetti"
    BoardName   "Echos PRO 133D SVGA"
#    VideoRam    1024
#    Option      "no_bitblt" 
#    Option      "noaccel" 
#    Option      "no_mmio" 
    Option      "nolinear" 
#    Option      "med_dram"
#    Option      "fifo_conservative" 
#    Clockchip   "cirrus"
# 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
[...]
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
XFree86 Version 3.3.1 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: August 4 1997
        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/FAQ)
Operating System: FreeBSD 3.0-970520-SNAP i386 
Configured drivers:
[...]
XF86Config: /etc/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) XKB: keycodes: "xfree86"
(**) XKB: types: "default"
(**) XKB: compat: "default"
(**) XKB: symbols: "en_US(pc101)+it"
(**) XKB: geometry: "pc"
(**) Mouse: type: PS/2, device: /dev/psm0, baudrate: 1200,
       3 button emulation (timeout: 50ms)
(**) Mouse: type: Microsoft, device: /dev/cuaa0, baudrate: 1200
(**) SVGA: Graphics device ID: "Echos SVGA"
(**) SVGA: Monitor ID: "Echos LCD"
(--) SVGA: Mode "640x400" needs hsync freq of 43.27 kHz. Deleted.
[...lot of this deleted...]
(--) SVGA: Mode "480x300" needs hsync freq of 48.00 kHz. Deleted.
(**) FontPath set to
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X1
1R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/li
b/X11/fonts/100dpi/"
(--) SVGA: PCI: Cirrus Logic GD7548 rev 0, Memory @ 0xfc000000, 0xfd000000
(--) SVGA: clgd7548: LCD display only
(--) SVGA: clgd7548: 800x600 Color STN LCD detected
(--) SVGA: chipset:  clgd7548
(--) SVGA: videoram: 1024k
(--) SVGA: clocks:  25.23  28.32  41.16  36.08  31.50  39.99  45.08  49.87
(--) SVGA: clocks:  64.98  72.16  75.00  80.01
(**) SVGA: Option "nolinear"
(**) SVGA: Using 8 bpp, Depth 8, Color weight: 666
(--) SVGA: Maximum allowed dot-clock: 80.100 MHz
(**) SVGA: Mode "800x600": mode clock =  40.000, clock used =  39.991
(--) SVGA: Virtual resolution set to 800x600
(--) SVGA: SpeedUp code selection modified because virtualX != 1024
(--) SVGA: clgd7548: Internal memory clock register is 0x25 (Extended RAS)
(**) SVGA: clgd7548: Approximate DRAM bandwidth for drawing: 92 of 132 MB/s
(--) SVGA: clgd7548: 568576 bytes off-screen memory available
(--) SVGA: clgd7548: Using accelerator functions
(--) SVGA: clgd7548: Using BitBLT engine
(--) SVGA: Using XAA (XFree86 Acceleration Architecture)
(--) SVGA: XAA: Solid filled rectangles
(--) SVGA: XAA: Screen-to-screen copy
(--) SVGA: XAA: Using 6 128x128 areas for pixmap caching
(--) SVGA: XAA: Caching tiles and stipples
(--) SVGA: XAA: Horizontal and vertical lines and segments
(**) Adding extended device "Second Mouse" (type: Mouse)
---------------------------------------------------------------------------

Bye, UP

--
+-------------------------------+---------------------------------------------+
| Ugo Paternostro               | Work: Dipartimento di Sistemi e Informatica |
+-------------------------------+       Via di Santa Marta, 3                 |
| Home : P.zza Cannicci, 2      |       50139  FIRENZE  (FI)                  |
|        50018  SCANDICCI  (FI) |               Italy                         |
|                 Italy         | Voice: +39-55-4796365 or +39-55-4796425     |
| Voice: +39-55-252115          | EMail: paterno@dsi.unifi.it                 |
| Fax  : idem, voice call before| Finger for my PGP public key                |
| EMail: 2:332/125.23@fidonet   +---------------------------------------------+
|       39:102/205.23@amiganet  | All opinions are mine, mine, only mine! :-) |
+-------------------------------+---------------------------------------------+



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980128230820.paterno>