Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2006 12:56:01 +0100
From:      User Gandalf <gandalf@messias.qhigh.com>
To:        =?ISO-8859-2?Q?Martin_M=F6ller?= <andvari@gmx.de>,  freebsd-questions@freebsd.org
Subject:   Re: Xorg - how to disable some video modes?
Message-ID:  <43C3A0D1.4000707@messias.qhigh.com>
In-Reply-To: <20060110093454.GA16603@andvari.ath.cx>
References:  <43C03ED4.1070404@messias.qhigh.com>	<20060110055157.GC15566@andvari.ath.cx>	<20060110102324.sfh5jbzzreskwc8w@imp4.free.fr>	<43C0DB6E.4060801@messias.qhigh.com> <20060110093454.GA16603@andvari.ath.cx>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Martin Möller wrote:

>* gandalf <gandalf@messias.qhigh.com> [08-01-2006 10:29:18 +0100]:
>
>  
>
>>I can attach my xorg.conf file, if it helps.
>>    
>>
>
>Yes, that would help indeed.
>  
>
Here is the config. I made a mistake. You were right. I forgot to use 
DefaultDepth. But I do not understand why I need it, since 24 is the 
only depth specified in my screen section,

Without "DefaultDepth 24" it starts with 1900x1440. With "DefaultDepth 
24" is starts in 1024x768 but it does not allow me to switch to 
1280x1024 with Ctrl-Alt-Plus.

Thanks,

   Les






[-- Attachment #2 --]
Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
	FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
	Load  "dbe"
	Load  "dri"
	Load  "extmod"
	Load  "glx"
	Load  "record"
	Load  "xtrap"
	Load  "freetype"
	Load  "type1"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "CoreKeyboard"
	Option	    "XkbRules" "xorg"
	Option      "XkbModel" "pc105"
	Option      "XkbLayout" "hu"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/sysmouse"
	Option	    "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
	#DisplaySize	  360   270	# mm
	Identifier   "Monitor0"
	VendorName   "SAM"
	ModelName    "SyncMaster"
	
 ### Uncomment if you don't want to default to DDC:
#	HorizSync    30.0 - 96.0
#	VertRefresh  50.0 - 160.0
	HorizSync    30.0 - 95.0
	VertRefresh  55.0 - 100.0
	
	UseModes "SamSung957"	

	Option	    "DPMS"
EndSection

Section "Modes"
  Identifier "SamSung957"
  # 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz
  Modeline "1024x768_100.00"  113.31  1024 1096 1208 1392  768 769 772 814  -HSync +Vsync

  # 1280x1024 @ 85.00 Hz (GTF) hsync: 91.38 kHz; pclk: 159.36 MHz
  Modeline "1280x1024_85.00"  159.36  1280 1376 1512 1744  1024 1025 1028 1075  -HSync +Vsync
EndSection  


Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "ColorKey"           	# <i>
        #Option     "CacheLines"         	# <i>
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "DRI"                	# [<bool>]
        #Option     "NoDDC"              	# [<bool>]
        #Option     "ShowCache"          	# [<bool>]
        #Option     "XvMCSurfaces"       	# <i>
        #Option     "PageFlip"           	# [<bool>]
	Identifier  "Card0"
	Driver      "i810"
	VendorName  "Intel Corp."
	BoardName   "82845G/GL [Brookdale-G] Chipset Integrated Graphics Device"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth 24
	SubSection "Display"
		Viewport   0 0
		Virtual	   1024 768
		Depth      24
		Modes	   "1024x768_100.00 1280x1024_85.00"
	EndSubSection
EndSection

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43C3A0D1.4000707>