Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Dec 1995 21:09:07 -0500 (EST)
From:      Rashid Karimov <rashid@rk.ios.com>
To:        meother@sam.wal-mart.com (Marc Othersen)
Cc:        questions@FreeBSD.ORG
Subject:   Re: X-Windows
Message-ID:  <199512040209.VAA02461@rk.ios.com>
In-Reply-To: <01B9F2EF.735A42C0@meother.wal-mart.com> from "Marc Othersen" at Mar 15, 95 04:11:35 pm

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
			Hi there Marc,

> 
> I am having a bit of trouble configuring X-Windows.  My problem is the =
> virtual screen.  I want to turn it off!  I don't want my screen to =
> scroll anywhere.  Anyone know how?  Once it is off, how do I change =
> resolutions and color depth?

	In order to get rid of the virtual screeen set the virtual 
	screen size to be equal to the one of the phys. screen
	resolution.

	As for the color depth - this one  happened to be the
	hard to guess :( for me - so I ended up with starting
	the X server with "-bpp" parameter ... from Xservers file
	I beleive.

	I rrun Xserver in 11280 x 1024 with 65534 colors ...
	here goes the /etc/XF86config


	=-=-==-=-= Cut here

# File generated by xf86config.

#
Section "Files"

    RgbPath	"/usr/X11R6/lib/X11/rgb"

    FontPath	"/usr/X11R6/lib/X11/fonts/misc/"
        FontPath	"/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath	"/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/"
    FontPath	"/usr/X11R6/lib/X11/fonts/cyrillic/"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"


EndSection


Section "Keyboard"

    Protocol	"Standard"

# when using XQUEUE, comment out the above line, and uncomment the
# following line

#    Protocol	"Xqueue"

    AutoRepeat	500 5
    ServerNumLock

EndSection

Section "Pointer"
    Protocol    "MouseSystems"
    Device      "/dev/tty00"

EndSection



Section "Monitor"

    Identifier  "MS"
    VendorName  "MS"
    ModelName   "MS"

    HorizSync   31.5-85.5
    VertRefresh 50-75

Modeline "640x400"     25.175 640  664  760  800   400  409  411  450
Modeline "640x480"     25.175 640  664  760  800   480  491  493  525
ModeLine "800x600"     36     800  864  946 1024   600  601  603  625
Modeline "1024x768"    35.5  1024 1048 1208 1264   768  776  784  817 Interlace
Modeline "640x480"     31.5   640  680  720  864   480  488  491  521
Modeline "800x600"     40     800  840  968 1056   600  601  605  628 +hsync +vsync

Modeline "1024x768"    48.9    1024 1032 1176 1344   768  771  777  806 -hsync -vsync

Modeline "1280x1024"   57    1280 1296 1512 1568  1024 1025 1037 1165 
Modeline "1280x1024"  110    1280 1328 1512 1712  1024 1025 1028 1054

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier	"Generic VGA"
    VendorName	"Unknown"
    BoardName	"Unknown"
    chipset	"generic"

#    VideoRam	256

#    Clocks	25.2 28.3

EndSection

Section "Device"
    #ClockChip  "icd2061a"
    #RamDac     "Bt485"
    #ChipSet       "s3_generic"
    s3RefClk   50
    DACspeed  170
    Option  "slow_vram"
    ClockChip  "ti3026"
    Identifier  "DS"
    VendorName  "DS"
    #Option  "sw_cursor"
    BoardName   "DS"
    VideoRam    4096
    #Clocks  25.17  28.32  28.32   0.00  25.17  28.32  28.32  28.32
    #Clocks  25.17  28.32  28.32  28.32  25.17  28.32  28.32  28.32
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# The Colour SVGA server

Section "Screen"
    Driver      "svga"
    Device      "Generic VGA"
    #Device      "DS"
    Monitor     "MS"
    Subsection "Display"
        Depth       8
        #Modes       "640x480" "800x600" "1024x768" "1280x1024"
        ViewPort    0 0
        Virtual     320 200
        #Virtual     1280 1024
    EndSubsection
EndSection

# The 16-color VGA server

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

# The Mono server

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

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

Section "Screen"
    Driver      "accel"
    Device      "DS"
    Monitor     "MS"
    Subsection "Display"
        Depth       16
        Modes        "1280x1024" "1024x768"
        ViewPort    0 0
	Visual 	 "TrueColor"
        Virtual     1280 1024 
    EndSubsection
    Subsection "Display"
        Depth       32
        Modes        "1280x1024" "1024x768"
        ViewPort    0 0
        Virtual     1280 1024
    EndSubsection
    Subsection "Display"
        Depth       8
        Modes        "1280x1024" "1024x768"
        ViewPort    0 0
        Virtual     1280 1024
    EndSubsection
EndSection

> 
> Thanks,
> 
> Marc
> 
> 




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?199512040209.VAA02461>