Problem: exit Xfree86 -- text shifted. Solution?

Problem: exit Xfree86 -- text shifted. Solution?

Post by Dr. Stephen S. Ke » Thu, 04 Dec 1997 04:00:00

Greetings fellow Xfree86 users,

I am running Xfree86 3.3.1 on an Austin Edge CD laptop with an 800x600
active matrix screen and CL GD 7543 chipset.  I have managed to get
a couple of timing configurations to work -- one at 40 MHz and another
at 50 MHz -- and although I haven't been able to get any information
from Austin about the safe horizontal and vertical frequencies for the
display, the configurations appear to work well.

The problem I have is that text mode is messed up in the other virtual
consoles when I run X-windows, and is not properly restored when I
exit from X-windows.  I have read the README for the Cirrus chipset
and the "troubleshooting" section of the xfree86 web page, and I don't
know what is going wrong.

The symptoms are as follows.  After X has started up, the text in the
other virtual consoles is shifted to the right by about one third of
the screen width.  The cursor is not visible.  The consoles still work
-- I can log in to them and enter commands -- but the display stays
shifted.  Executing "reset" causes the cursor to reappear, but it
disappears again after a command is entered, and the text stays
shifted to the right.  The consoles stay this way after I exit from X
windows.  Apparently only a reboot solves the problem.

I saw this problem with the 3.2A beta and 3.3 releases as well.  Does
anyone have any suggestions on how to fix this?

Stephen Kerr
University of California, San Diego


1. XFree exit to text mode S3 problem : solution (summary)

Hello all,

Thanks for your replies in my recent query regarding the font garbling from
the S3 XFree2.0 server. I realised taht the answer was hidden in the howto's
somehwere. Anyway, since people asked a post of the solution, here it is:

If you have a recent and relatively full installation (eg slackware) just
type runx istead of startx. It will do the trick.
This is what runx does (if you don't have it, create it):
restorefont -w /tmp/fontdata

restorefont -w /tmp/fontdata
restorefont -r /tmp/fontdata

You will need restorefont; find it in svgalib-1.0.1.tar.gz +
It was also indicated that restoretextmode & restorepalette should be
run to do a safer restore to text mode but it was not necessary for me.

I added an alias called 'runx' or 'startx' that will just do an exec from
your current shell (so that you will have less processes and a bit more
memory when starting X):
bash: alias runx='exec /usr/bin/runx'
tcsh: alias runx 'exec /usr/bin/runx'

setfont was also reported to work. I did not try it.

#include <standard.disclaimer.h>
 Angelo Haritsis, Applied Systems Section
 s-mail: Dpt of Computing,Imperial College, 180 Queen's Gate, London SW7 2BZ, UK

2. Redirecting Netbios ports on linux redhat 6.1

3. XFree86-1.3 (Hercules): text mode not restored after exit???

4. DMA-Support on TX "Pro" boards (ALi Chipset...)

5. Trashed text after exiting XFree86-3.1 on CL-GD5434 Chipset.

6. Bill Gates Sponsored Terrorists?

7. XFree86 4.0 -> XFree86 4.1 keyboard problem & solution

8. Newbie question about!

9. Install problem: shift: shift count must be ???

10. Toshiba T6600C screen-shift with XFree86 3.x problem

11. SiS 5598: Solution for flicker problem at 1024x768 and image problem in XFree86 3.3.5

12. Quantum Shift in Linux Hardware Solutions

13. drivers/sound/via82cxxx_audio.c (binutils .text.exit problem)