From: tema@snakemail.hut.fi (Teemu Lehtonen )
Newsgroups: comp.windows.x.i386unix
Subject: Xfree 1.1 not restoring text mode after display-card change
Date: 12 Jan 93 22:24:08 GMT
Organization: Helsinki University of Technology, Finland
Distribution: comp
NNTP-Posting-Host: lk-hp-2.hut.fi


I recently upgraded my vga ultra et4000 videocard to another vga ultra
et4000 that has hiclock  & hicolor (65k colors) chips . After the upgrade
when I exit X it doesn't restore text mode properly there is some wierd
lines and when I try hard enought I can figure out that it is some sort of
text. Linux stays up and when I type something it goes ok. I can even start
X again and it comes up ok, but when I quit the text isn't ok.

heres' my configuration:

machine : forex 486dx 33Mhz 8Mb
v-card  : vga ultra + hiclock & hicolor (65k colors)
monitor : TVM md-17 mediascan 6a digital
i/o     : chicony ch-101b multi i/o ( 2xfloppy 2xhd 2xserial 1x parallel)
disks   : a: 1.2M b: 1.44M hda maxtor 7213at hdb wdac2200 caviar

Linux 0.99 pl2
XFree86 Version 1.1 

when starting X it gives:


no SIOCGIFCONF
XFree86 Version 1.1 / X Window System
(protocol Version 11, revision 0, vendor release 5000)
Configured drivers:
  VGA256 (256 colour SVGA):
      et4000, et3000, pvga1, gvga, ati, tvga8900
VGA256: et4000 (mem: 1024k numclocks: 16)
VGA256:   clocks: 25 28 32 36 40 45  0 37 50 57 65 72 80 90 63 75
VGA256: SpeedUp code selection modified because virtualX != 1024
VGA256: SpeedUp mode selected (Flags=0xf)

here's my Xconfig file:

# $Header: /home/x_cvs/mit/server/ddx/x386/Xconfig,v 1.14 1992/09/12 07:03:09 da
wes Exp $
# $XConsortium: Xconfig,v 1.2 91/08/26 14:34:55 gildea Exp $
#
# Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany.
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without fee, provided that
# the above copyright notice appear in all copies and that both that
# copyright notice and this permission notice appear in supporting
# documentation, and that the name of Thomas Roell not be used in
# advertising or publicity pertaining to distribution of the software without
# specific, written prior permission.  Thomas Roell makes no representations
# about the suitability of this software for any purpose.  It is provided
# "as is" without express or implied warranty.
#
# THOMAS ROELL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
# EVENT SHALL THOMAS ROELL BE LIABLE FOR ANY SPECIAL, INDIRECT OR
# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
#
# Author:  Thomas Roell, roell@informatik.tu-muenchen.de

#
# some nice paths, to avoid conflicts with other X-servers
#
RGBPath         "/usr/X386/lib/X11/rgb"
FontPath        "/usr/X386/lib/X11/fonts/misc/,/usr/X386/lib/X11/fonts/Speedo,/u
sr/X386/lib/X11/fonts/75dpi/"

# Use this if the Type1 font code is in the server
#FontPath       "/usr/X386/lib/X11/fonts/misc/,/usr/X386/lib/X11/fonts/Type1/,/u
sr/X386/lib/X11/fonts/Speedo,/usr/X386/lib/X11/fonts/75dpi/"

# NoTrapSignals

#Xqueue

Keyboard
  AutoRepeat 500 5
#  Xleds      1 2 3
  ServerNumLock
#  DontZap

MouseSystems    "/dev/ttys2"
#  BaudRate     9600
#  SampleRate   150
#  Emulate3Buttons

#
# The graphics drivers
# First the colour driver
#
vga256
#  Virtual      1152 900

# To disable SpeedUp, use NoSpeedUp
#
#  NoSpeedUp

#  Virtual      1024 1024
  Virtual       1184 885

  ViewPort      0 0

  Modes         "kok1" "kok2" "kok3" "kok4" "kok5" # "1024x768i2" "800x600" "640
x480""1024x768i"
  Clocks        25 28 32 36 40 45 0 37 50 57 65 72 80 90 63 75

#
# Next the mono driver
#
vga2

  Virtual       800 600

  ViewPort      0 0

  Modes         "640x480"


#  Modes        "800x600" "640x480"

ModeDB
# OFFICIAL VESA Monitor timings + IBM Standards - TRY THESE FIRST
# Contributor:          Thomas Roell [roell@sgcs.com]
# Last Edit Date:       3/29/92
#
# name        clock   horizontal timing     vertical timing      flags
# "640x480"     25      640  672  768  800    480  490  492  525
 "640x480"     28      640  672  768  800    480  490  492  525
 "800x600"     36      800  824  896 1016    600  601  603  625
#               40      800  840  968 1056    600  601  605  628
#               50      800  856  976 1040    600  637  643  666
 "1024x768i"   45     1024 1032 1208 1248    768  770  778  817  +hsync +vsync I
nterlace
 "1024x768i2"   45     1024 1048 1232 1264    768  776  776  815 +hsync +vsync I
nterlace
 "kok1"         90      1184 1256 1352 1536     885  887  892  926
 "kok2"         80      1184 1248 1328 1488     885  887  892  924
 "kok3"         75      1184 1248 1328 1480     885  887  892  922


 "kok4"         72      1184 1240 1312 1456     885  886  890  919
 "kok5"         65      1184 1240 1312 1488     885  886  890  914
# "kok1"                65      1184 1240 1312 1488     885  886  890  914
# "kok2"                65      1184 1232 1296 1456     885  886  890  915
# "kok3"                65      1184 1224 1272 1392     885  886  889  909

# "kokeilu"   45     1024 1032 1208 1272    768  770  778  812 +hsync +vsync Int
erlace
# "1024x768"    65     1024 1032 1176 1344    768  771  777  806
#               75     1024 1048 1184 1328    768  771  777  806
#               85     1024 1032 1152 1360    768  784  787  823
# "1280x1024i"  80     1280 1296 1512 1568   1024 1025 1037 1165  Interlace
# "1280x1024"  110     1280 1328 1512 1712   1024 1025 1028 1054
#              135     1280 1312 1456 1712   1024 1027 1030 1064
















































































































































































































































































































































































































































































--
*******************************************************************************
*           tema@vipunen.hut.fi              teemu.lehtonen@hut.fi   	      *
*           tema@otax.tky.hut.fi              k35543r@taltta.hut.fi           *
*          Koti osoite:      Pentinkatu 4 29200 Harjavalta tel.(939)740091    *
*  Osoite opiskelupaikkakunnalla:SMT 12 F 83 02150 Espoo tel. (90)4683087     *
*******************************************************************************