Subject: Re: X resolutions and icons
To: James K. Lowden <jklowden@schemamania.org>
From: Daniel Picker <dp3@cec.wustl.edu>
List: netbsd-help
Date: 07/08/2002 23:11:48
Hey Guys,
	Youa re all great thanks for the help. While I was at it I
upgraded to X 4.2.0 which was a snap, the video looks great. Thanks all
for the help.

Dan

On Mon, 8 Jul 2002, James K. Lowden wrote:

> On Mon, 8 Jul 2002 21:01:00 -0500 (CDT), Daniel Picker <dp3@cec.wustl.edu>
> wrote:
> 
> > 	I read some X FAQ's and I looked at xvditune, which told me my
> > HORIZONTAL and VERTICAL where 640 X 480, i then looked in my XF86Config
> > file to see if I could change those to 1024 x768 but no luck, I have
> > pasted below the video section of the file
> 
> Daniel, 
> 
> To change modes, ctrl+alt+[+-] (the plus or minus key on the numeric
> keypad).  The XFree86 SVGA driver writes a bunch of initialization stuff
> to standard error on startup; it will tell you how many bpp you're using,
> which will tell you which section of what "screen" you're using.  For
> instance, if you're using 16 bpp, then:
> 
>  Section "Screen"
>     Driver      "svga"
>     Device      "NVIDIA Riva TNT2 (generic)"
>     Monitor     "My Monitor"
> [...]
>     Subsection "Display"
>         Depth       16
>         Modes       "640x480" "800x600" "1024x768" "1280x1024"
>         ViewPort    0 0
>     EndSubsection
> 
> is the relevant section.  The default resolution is the first one (640 in
> your case) that the driver determines it can support.  If you like to
> start up in 1280, like I do, use:
> 
>       Modes        "1280x1024" "1024x768"
> 
> instead.
> 
> I think you are missing modelines in your XF86Config.  I have the Riva128,
> which might be similar (don't know):
> 
> $ grep NVidia  ~/x.err
> (--) SVGA: PCI: NVidia/SGS-Thomson Riva128 rev 16, Memory @ 0x9c000000,
> 0x9a000000
> 
> and my modelines (in Section "Monitor"):
> 
> $ grep Modeline  /etc/XF86Config |grep -v \#
>    Modeline  "1024x768"   85.00 1024 1068 1188 1352   768  776  779  815
>    Modeline "1280x1024"  185.64 1280 1376 1600 1800  1024 1024 1028 1079 
> 
> I understand XFree86 4.0 has much better HW detection, so less putzing is
> needed.
> 
> HTH.
> 
> --jkl
>