Subject: Re: X resolutions and icons
To: Jeremy C. Reed <reed@reedmedia.net>
From: Daniel Picker <dp3@cec.wustl.edu>
List: netbsd-help
Date: 07/08/2002 21:01:00
Hello all,
	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 


Section "Screen"
    Driver      "svga"
    # Use Device "Generic VGA" for Standard VGA 320x200x256
    #Device      "Generic VGA"
    Device      "NVIDIA Riva TNT2 (generic)"
    Monitor     "My Monitor"
    Subsection "Display"
        Depth       8
        # Omit the Modes line for the "Generic VGA" device
        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        ViewPort    0 0
        # Use Virtual 320 200 for Generic VGA
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "640x480" "800x600" "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection

# The 16-color VGA server

Section "Screen"
    Driver      "vga16"
    Device      "Generic VGA"
    Monitor     "My Monitor"
    Subsection "Display"
        Modes       "640x480" "800x600"
        ViewPort    0 0
        Virtual     800 600
    EndSubsection
EndSection

# The Mono server

Section "Screen"
    Driver      "vga2"
    Device      "Generic VGA"
    Monitor     "My Monitor"
    Subsection "Display"
        Modes       "640x480" "800x600"
        ViewPort    0 0
        Virtual     800 600
    EndSubsection
EndSection

# The accelerated servers (S3, Mach32, Mach8, 8514, P9000, AGX, W32,
Mach64)

Section "Screen"
    Driver      "accel"
    Device      "NVIDIA Riva TNT2 (generic)"
    Monitor     "My Monitor"
    Subsection "Display"
        Depth       8
        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "640x480" "800x600" "1024x768" "1280x1024"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes       "640x480" "800x600" "1024x768"
        ViewPort    0 0
    EndSubsection
EndSection


It looks to me as if all the modes are supported I just dont know how to
change the res in X. Any help would be appreciated.

Thanks in advance,
	Dan 

On Mon, 8 Jul 2002, Jeremy C. Reed wrote:

> On Mon, 8 Jul 2002, Daniel Picker wrote:
> 
> > 	Is there a way I can change the resolution on my x-server. I
> 
> Look in your /etc/XF86Config file and the XF86Config man page.
> 
> Use DefaultColorDepth to set the default you want, like to 32.
> 
> If you need help, maybe email the relevant portions of your config to the
> list.
> 
> Also, a search on google for XF86Config should bring up hundreds
> (maybe thousands) of examples. (Also search for XF86Config and your
> particular video card.)
> 
> > P.S Are they any good NetBSD/Unix newbie books. I have the NetBSD guide!
> 
> Stay tuned! I am working on a NetBSD book.
> 
>    Jeremy C. Reed
>    http://bsd.reedmedia.net/
> 
>