Subject: xsrc/12016: wscons oddify on ThinkPad T20
To: None <gnats-bugs@gnats.netbsd.org>
From: None <itojun@itojun.org>
List: netbsd-bugs
Date: 01/20/2001 22:27:21
>Number:         12016
>Category:       xsrc
>Synopsis:       wscons oddify on ThinkPad T20
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    xsrc-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 20 22:30:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jun-ichiro itojun Hagino
>Release:        1.5Q
>Organization:
	itojun.org
>Environment:
System: NetBSD starfruit.itojun.org 1.5Q NetBSD 1.5Q (STARFRUIT) #333: Sun Jan 21 03:07:47 JST 2001 itojun@starfruit.itojun.org:/usr/home/itojun/NetBSD/src/sys/arch/i386/compile/STARFRUIT i386
Architecture: i386
Machine: i386
>Description:
	I'm running X11 on ThinkPad T20 (S3 Savage) happyly, if I don't
	switch wscons screen by using Ctl-Alt-Fn.

	if i switch to wscons screen during X session, I sometimes see
	broken screen.

	(perry - have you experienced this?)
>How-To-Repeat:
	on my T20,
	- start X11
	- switch to wscons screen (Ctl-Alt-F1 in default wscons.conf)
	- switch back to X screen (Ctl-Alt-F5 in default wscons.conf)
	- switch back to wscons screen, to see damaged wscons screen.

	it sometimes happen, sometimes not, so i think it is related to
	the VGA memory buffer conflict between X and wscons, or whatever.

# XF86Config auto-generated by XF86Setup
#
# Copyright (c) 1996 by The XFree86 Project, Inc.

#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of the XFree86 Project shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from the
# XFree86 Project.
#

# See 'man XF86Config' for info on the format of this file

Section "Files"
   RgbPath    "/usr/X11R6/lib/X11/rgb"
   FontPath   "/usr/X11R6/lib/X11/fonts/local"
   FontPath   "/usr/X11R6/lib/X11/fonts/misc:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
   FontPath   "/usr/X11R6/lib/X11/fonts/ttf/"
   FontPath   "/usr/X11R6/lib/X11/fonts/Type1"
   FontPath   "/usr/X11R6/lib/X11/fonts/Speedo"
   FontPath   "/usr/X11R6/lib/X11/fonts/misc"
   FontPath   "/usr/X11R6/lib/X11/fonts/75dpi"
   FontPath   "/usr/X11R6/lib/X11/fonts/100dpi"
EndSection

Section "ServerFlags"
EndSection

Section "Keyboard"
   Protocol        "Standard"
   XkbDisable
#   XkbRules        "xfree86"
#   XkbModel        "jp106"
#   XkbLayout       "jp"
#   XkbOptions      "ctrl:swapcaps"
EndSection

Section "Pointer"
   Protocol        "wsmouse"
   Device          "/dev/wsmouse0"
   Emulate3Timeout 50
   Resolution      100
   Buttons         3
   Emulate3Buttons
EndSection

Section "Monitor"
   Identifier      "Primary Monitor"
   VendorName      "Unknown"
   ModelName       "Unknown"
   HorizSync       31.5-64.3
   VertRefresh     50-90
   Modeline  "1024x768"   75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
# 800x600 @ 72 Hz, 48.0 kHz hsync
   Modeline "800x600"     50     800  856  976 1040   600  637  643  666 +hsync +vsync
# 640x480 @ 60 Hz, 31.5 kHz hsync
   Modeline "640x480"     25.175 640  664  760  800   480  491  493  525


EndSection

Section "Device"
    Identifier  "S3 Savage MX"
    VendorName  "toshiba"
    BoardName   "tecra8100"
#    VideoRam    8192
    Chipset     "s3_savage"
    ChipID  0x8a20
EndSection

#Section "Device"
#   Identifier      "Primary Card"
#   VendorName      "Unknown"
#   BoardName       "NeoMagic (laptop/notebook)"
#   Chipset         "NM2200"
#   VideoRam        2560
##    Chipset    "NM2160"
##    IOBase     0xfea00000
##    MemBase    0xfd000000
##    VideoRam   2048
##    DacSpeed   90
##    Option     "linear"
##    Option     "nolinear"
##    Option     "sw_cursor"
## Option     "hw_cursor"
##    Option     "intern_disp"
##    Option     "extern_disp"
##    Option     "mmio"
##    Option     "no_mmio"
##    Option     "lcd_center"
##    Option     "no_stretch"
#
#
#EndSection

Section "Screen"
   Driver          "SVGA"
   Device          "S3 Savage MX"
   Monitor         "Primary Monitor"
   DefaultColorDepth 32
   SubSection "Display"
      Depth        8
      Modes        "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth        15
      Modes        "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth        16
      Modes        "1024x768" "800x600" "640x480"
      #Virtual	1280 1024
   EndSubSection
   SubSection "Display"
      Depth        24
      Modes        "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
      Depth        32
      Modes        "1024x768" "800x600" "640x480"
   EndSubSection
EndSection
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: