I have come across the following problem. Any hints will be appreciated.
Hardware: Diamond Stealth 64 DRAM, 2MB, PCI, S3 Trio64 chipset.
svgalib: 1.26 as of 27 Apr 95.
Symptom: On a virtual console, the screen goes completely blank on
exit from a graphics mode.
Detection of chipset (S3/Trio64) seems to be successful.
There is no problem entering a graphics mode (tested by
one of the demo programs "vgatest", and "linuxsdoom").
But on exit, the text mode is not restored. Further
keyboard inputs are not echoed to the screen.
The only way to recover seems to be rebooting.
I am not sure what the scripts "savetextmode" and
"restoretextmode" do, but they are of no use in this case.
The text screen blanks out as soon as they are invoked.
History: I have been using svgalib 1.24 successfully - the only
little problem is that svgalib reports "unknown S3 chipset
1e11", although the graphics applications run happily.
I understand that svgalib 1.26 has better support for S3.
It turns out that the chipset (S3/Trio64) is detected
correctly, but text mode cannot be restored, as described.
The file /usr/local/lib/libvga.config contains the
following lines, and nothing else.
By the way, XFree 3.1.1 runs happily with this hardware.
Question: Am I missing something (in terms of configuration, etc),
or is this a bug / unsupported feature?