svgalib 1.26, S3 Trio64: cannot restore text mode

svgalib 1.26, S3 Trio64: cannot restore text mode

Post by Sam Ch » Tue, 18 Jul 1995 04:00:00



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.

                mouse Microsoft
                monitor 66.0
                chipset S3
                verbose
                nolinear

           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?

--

 
 
 

svgalib 1.26, S3 Trio64: cannot restore text mode

Post by S. L » Wed, 19 Jul 1995 04:00:00




>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.

>           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.

You run "savetextmode" to save the registers to a file, and "textmode" to
restore them in case something messes them up.

Quote:>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.

>            mouse Microsoft
>            monitor 66.0
>            chipset S3
>            verbose
>            nolinear

>           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?

1.2.6 mostly only have support for the 864 (which the author only have).
It hasn't worked for my (and 1 other person's) 805, and I'm been trying to
fix that with little success.  You might try going into the s3.c and try
to force the detection routine (s3_init?) to say you have a 864, and see
if it helps.


Witty .sig under construction.

 
 
 

1. SVGAlib does not restore text-mode (Diamond Stealth 64)

Hi,

I can run any of the test-programs, but when I quit the programs it does not
return to textmode. My guess is that something is wrong with the configuration
file, can someone help me?

Patrick
--
/***************************************************************\

Doing:  RCFS (Radio Control Flight Simulator)

2. Help using telnet to ibm mvs/tcpip

3. Restoring text mode with svgalib and Trident 8900c

4. LinuxPPC install Failed

5. S3 Trio-64 with SVGALIB fails switching back to text mode

6. disable x

7. SVGAlib problem with S3 Trio64

8. Connecting Linux w/ Cable Modem??

9. Problem with S3 Trio64 & svgalib

10. svgalib with S3 Trio64

11. Wanted: S3 Trio64 1024x768 mode line

12. 1152 x 864 mode for S3-Trio64 & ViewSonic monitor

13. Recommending S3-Trio64 over S3-864?