*BSD News Article 25800


Return to BSD News archive

Xref: sserve comp.windows.x.i386unix:6393 comp.os.386bsd.apps:842
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!sgiblab!swrinde!gatech!concert!trixie.rtpnc.epa.gov!bizarre.rtpnc.epa.gov!fty
From: fty@bizarre.rtpnc.epa.gov (Frank Terhaar-Yonkers)
Newsgroups: comp.windows.x.i386unix,comp.os.386bsd.apps
Subject: Re: XF86_S3 doesn't reset screen properly on exit
Followup-To: comp.windows.x.i386unix
Date: 10 Jan 1994 16:28:43 GMT
Organization: United States Environmental Protection Agency
Lines: 70
Distribution: world
Message-ID: <2grvnr$pq@trixie.rtpnc.epa.gov>
References: <2ghfp9$3qj@nntp2.Stanford.EDU> <2glnns$mkd@nntp2.Stanford.EDU>
NNTP-Posting-Host: bizarre.rtpnc.epa.gov
Keywords: orchid,X

I have the same problem, but SYSCONS only partially fixes the problem.

Exiting out of X DOES restore the fonts and clear the screen,
but CTRL-ALT-Fn while in X still yields garbage on the other syscons
windows.

 - Frank

 >In article <2glnns$mkd@nntp2.Stanford.EDU>, yergeau@leland.Stanford.EDU (Dan Yergeau) writes:
 >Here's a fix to the problem mentioned below.
 
 >In article <2ghfp9$3qj@nntp2.Stanford.EDU>,
 >Dan Yergeau <yergeau@leland.Stanford.EDU> wrote:
 >>In short: I just got a spiffy new S3 based graphics adaptor, and the
 >>accelerated X server doesn't reset the screen properly on exit.
 >
 >>    kernel uses pccons console driver
 >>X: XFree86-2.0 S3 server 
 >>Adaptor: Orchid Fahrenheit 1280+ VLB (S3-805)
 >
 >It appears that newer 1280+ (BIOS version 2.0) does not properly
 >restore the fonts after exiting X.  The pccons driver does not
 >provide this functionality, but the syscons driver does.  So, I
 >switched to the syscons driver.
 >
 >Since configuring the syscons driver is not well documented, I will
 >summarize it here.
 >
 >1. Edit your config file and change the pc0 line to
 >
 >	device		sc0	at isa? port "IO_KBD" tty irq 1 vector scintr
 >
 >   and add
 >
 >	options "NCONS=8"
 >
 >2. Config a new kernel (see the FAQ).
 >3. Make the kernel.
 >4. cd to /dev and
 >     sh MAKEDEV vty08
 >5. Edit /etc/ttys to change 
 >	vga	"/usr/libexec/getty Pc"	pc3	on secure
 >   to
 >	ttyv0	"/usr/libexec/getty Pc"	cons25	on secure
 >	ttyv1	"/usr/libexec/getty Pc" cons25	on secure
 >	ttyv2	"/usr/libexec/getty Pc" cons25	on secure
 >	ttyv3	"/usr/libexec/getty Pc" cons25	on secure
 >	ttyv4	"/usr/libexec/getty Pc" cons25	on secure
 >	ttyv5	"/usr/libexec/getty Pc" cons25	on secure
 >	ttyv6	"/usr/libexec/getty Pc" cons25	on secure
 >	ttyv7	"/usr/libexec/getty Pc" cons25	on secure
 >6. Install the kernel.
 >7. Reboot
 >
 >(Have a boot floppy handy in case the above doesn't work).
 >
 >Switching of virtual consoles is done via CTRL-ALT-Fn (1<=n<=9).
 >
 
 -------------------------------------------------
 Frank Terhaar-Yonkers		fty@vislab.epa.gov
 Martin Marietta Technical Services/U.S. EPA
 P.O. Box 14365,	 Mail Stop 4201-2,  RTP,  NC  27709
 voice - (919)541-2297		fax - (919)541-3967
 
 SuperComputing '93 - Quote Of The Show
   From the panel session: "What's in the future for parallel architectures"
 
 What kinds of parallel systems should we build?
 "Ones with software"  -  David Maier, Oregon Graduate Center