*BSD News Article 29465


Return to BSD News archive

Xref: sserve comp.windows.x.i386unix:8536 comp.os.linux.misc:12920 comp.os.386bsd.apps:1137
Newsgroups: comp.windows.x.i386unix,comp.os.linux.misc,comp.os.386bsd.apps
Path: sserve!newshost.anu.edu.au!munnari.oz.au!bunyip.cc.uq.oz.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!usenet.ins.cwru.edu!news.csuohio.edu!knuth.cba.csuohio.edu!thx1139
From: thx1139@knuth.cba.csuohio.edu (tim werner)
Subject: Can't get 640x480 resolution with Linux at work.
Message-ID: <1994Apr11.155753.27343@news.csuohio.edu>
Sender: news@news.csuohio.edu (USENET News System)
Organization: Cleveland State University, Cleveland, Ohio
Date: Mon, 11 Apr 1994 15:57:53 GMT
Lines: 235

Hi,

Can someone please help me with this disappointment?  I will have a
ATI GUP w/ 4meg at home, but no one should have to put up with less
than 640x480, right?

One of the guys where I work has just put Linux on a Spiral 486/50
machine.  This machine has 256k of video memory.

He spent a couple of days going around with the configuration, and
decided that 560x420 was the best resolution he could get.

He says that X uses 1k of the video memory for scratch, so 640x480 is
not possible.

I find this hard to accept.  How can a machine that can run Windows at
640x480 not work for X?  There must be some trick to this, no?

He runs "X -probeonly" to create the following /tmp/out, which shows a
clgd6235 chipset, whatever that is:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
XFree86 Version 2.1 / X Window System
(protocol Version 11, revision 0, vendor release 5000)
Operating System: Linux 
Configured drivers:
  VGA256: server for 8-bit colour SVGA (Patchlevel 0):
      et4000, et3000, pvga1, wd90c00, wd90c10, wd90c30, wd90c31, gvga, ati,
      tvga8800cs, tvga8900b, tvga8900c, tvga8900cl, tvga9000, clgd5420,
      clgd5422, clgd5424, clgd5426, clgd5428, clgd6205, clgd6215, clgd6225,
      clgd6235, clgd543x, ncr77c22, ncr77c22e, cpq_avga, oti067, oti077
(using VT number 7)

Xconfig: /usr/X386/lib/X11/Xconfig
(**) stands for supplied, (--) stands for probed/default values
(**) Mouse: type: Microsoft, device: /dev/mouse, baudrate: 1200,
       3 button emulation
(**) FontPath set to "/usr/X386/lib/X11/fonts/misc/,/usr/X386/lib/X11/fonts/Speedo/,/usr/X386/lib/X11/fonts/75dpi/,/usr/X386/lib/X11/fonts/100dpi/"
(--) VGA256: available videoram reduced by 1k to allow for scratch space
(**) VGA256: chipset:  clgd6235
(--) VGA256: videoram: 255k
(**) VGA256: clocks:  25.23  28.32  41.16  36.08  31.50  39.99  45.08  49.87
(**) VGA256: clocks:  64.98  72.16  75.00
(--) VGA256: Maximum allowed dot-clock: 75MHz
(**) VGA256: Mode "560x420": mode clock =  28.300, clock used =  28.320
(--) VGA256: Virtual resolution set to 560x420
(--) VGA256: SpeedUp code selection modified because virtualX != 1024
(--) clgd6235: Using accelerator functions
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

This is the Xconfig file that he came up with:
======================================================================
# $XFree86: mit/server/ddx/x386/Xconfig.cpp,v 2.0 1993/10/08 15:55:00 dawes Exp $
# $XConsortium: Xconfig,v 1.2 91/08/26 14:34:55 gildea Exp $
#
# Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany.
# Copyright 1992,93 by David Dawes, David Wexelblat
#
# Permission to use, copy, modify, distribute, and sell this software 
# and its documentation for any purpose is hereby granted without fee, 
# provided that the above copyright notice appear in all copies and 
# that both that copyright notice and this permission notice appear in 
# supporting documentation, and that the names of the above listed authors 
# not be used in advertising or publicity pertaining to distribution of 
# the software without specific, written prior permission.  The above 
# listed authors make no representations about the suitability of this 
# software for any purpose.  It is provided "as is" without express or 
# implied warranty.
#
# THE ABOVE LISTED AUTHORS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS 
# SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 
# FITNESS, IN NO EVENT SHALL THE ABOVE LISTED AUTHORS BE LIABLE FOR 
# ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER 
# RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF 
# CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#
# Author:  Thomas Roell, roell@informatik.tu-muenchen.de
#
# Extensive modifications by the XFree86 Core Team

# **********************************************************************
# Refer to the Xconfig(4/5) man page for details about the format of 
# this file. This man page is installed as /usr/X386/man/man5/Xconfig.5x 
# **********************************************************************

# **********************************************************************
# Generic parameters section
# **********************************************************************

#
# some nice paths, to avoid conflicts with other X-servers
#
RGBPath		"/usr/X386/lib/X11/rgb"

#
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
FontPath	"/usr/X386/lib/X11/fonts/misc/"
FontPath	"/usr/X386/lib/X11/fonts/Speedo/"
FontPath	"/usr/X386/lib/X11/fonts/75dpi/"
FontPath	"/usr/X386/lib/X11/fonts/100dpi/"

#
# Uncomment this to cause a core dump at the spot where a signal is 
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging
#
# NoTrapSignals

# **********************************************************************
# Input devices
# **********************************************************************

#
# Enable this to use the XQUEUE driver for keyboard and mouse handling
# under System V.  This may go away in the future.
#
# Note - If you use XQUEUE, you must comment out the keyboard and
#        mouse definitions.
#
# Xqueue

#
# Keyboard and various keyboard-related parameters
#
Keyboard
  AutoRepeat 500 5
  ServerNumLock
#  Xleds      1 2 3
#  DontZap
#
# To set the LeftAlt to Meta, RightAlt key to ModeShift, 
# RightCtl key to Compose, and ScrollLock key to ModeLock:
# 
  LeftAlt     Meta
  RightAlt    ModeShift
  RightCtl    Compose
  ScrollLock  ModeLock

#
# Mouse definition and related parameters
#
 Microsoft	"/dev/mouse"
  BaudRate	1200
#  SampleRate	150
  Emulate3Buttons

# **********************************************************************
# Graphics drivers
# **********************************************************************

#
# The 8-bit colour SVGA driver
#
VGA256

#
# To disable SpeedUp, use NoSpeedUp
#
#  NoSpeedUp
#   Virtual     640 480 

#  Virtual	1024 1024
  ViewPort      0 0
  Modes	        "560x420"
  Chipset	"clgd6235"
  Displaysize	800 600
Clocks 25.23 28.32 41.16 36.08 31.50 39.99 45.08 49.87 64.98 72.16 75.00
# 
# The 16-colour VGA driver
#
VGA16
  Virtual 	800 600
  Viewport 	0 0 
  Modes		"640x480"

#
# The 1-bit mono SVGA driver
#
VGA2

  Virtual	800 600
  ViewPort      0 0
  Modes	        "640x480"
#  Modes        "800x600" "640x480"

#
# The Hercules driver.  For Hercules, the only valid configuration option
# is ScreenNo (refer to the manual page).
#
# HGA2

#
# The alternate monochrome driver.  Refer to the XF86_Mono manual page.
#
# BDM2

# 
# The accelerated servers (S3, Mach32, Mach8, 8514)
#
ACCEL

  Virtual 	1024 768
  Viewport	0 0
  Modes		"1024x768" "800x600" "640x480"

#
# For boards with a programmable clock generator, you use a line like:
#
# Clocks "icd2061a"

# **********************************************************************
# Database of video modes
# **********************************************************************
ModeDB
# name        clock   horizontal timing     vertical timing      flags
"560x420"      28.3   560 592 712 744       420 420 425 452
"640x480"      25     640 664 760 800       480 491 493 525
"800x600"      36     800 824 896 1024      600 601 603 625

#
# Refer to README.Config, modeDB.txt, and VideoModes.doc for actual
# modes, and information on how to calculate and adjust them.  
#
# DO NOT BLINDLY USE VIDEO MODES WITHOUT UNDERSTANDING WHAT YOU ARE
# DOING.  IT IS POSSIBLE TO DAMAGE THE MONITOR.  THE XFree86 CORE TEAM
# DISCLAIMS ALL LIABILITY FOR MONITOR DAMAGE, AS THE DOCUMENTATION
# ACCOMPANYING XFree86 HAS BEEN VERIFIED TO CONTAIN VALID AND SAFE
# MODES, AS LONG AS ONLY ONES WITHIN DOCUMENTED MONITOR SPECIFICATIONS
# ARE USED.
#
======================================================================