*BSD News Article 29371


Return to BSD News archive

Xref: sserve comp.windows.x.i386unix:8490 comp.os.linux.misc:12742 comp.os.386bsd.apps:1132
Newsgroups: comp.windows.x.i386unix,comp.os.linux.misc,comp.os.386bsd.apps
Path: sserve!newshost.anu.edu.au!munnari.oz.au!ihnp4.ucsd.edu!swrinde!cs.utexas.edu!howland.reston.ans.net!pipex!uknet!EU.net!CERN.ch!dxcern!danpop
From: danpop@cernapo.cern.ch (Dan Pop)
Subject: Re: Can't get 640x480 resolution with Linux at work.
Message-ID: <1994Apr11.173252.20707@dxcern.cern.ch>
Sender: danpop@dxcern.cern.ch (Dan Pop)
Organization: CERN European Lab for Particle Physics
References: <1994Apr11.155753.27343@news.csuohio.edu>
Date: Mon, 11 Apr 1994 17:32:52 GMT
Lines: 47

In <1994Apr11.155753.27343@news.csuohio.edu> thx1139@knuth.cba.csuohio.edu (tim werner) writes:

>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

The VGA256 driver is using 8 bits per pixel. This means that for a
resolution of 640x480 you need 307200 bytes, but the board has only
256K. 

If you use the VGA16 driver, you can get 640x480 at 4 bits per pixel,
which is what MS Windows is giving you.

Dan
-- 
Dan Pop 
CERN, CN Division
Email: danpop@cernapo.cern.ch
Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland