Re: problems with xorg screen resolution

[ Thread Index | Date Index | More lists.tuxfamily.org/slitaz Archives ]


Hi Rohit

I managed to mix/match your Xorg.conf with the nv driver and get
a working resolution (thanks). I've included my Xorg.conf also.

In a way, I'm really going to miss the 'tiny' Xvesa server.

It handled my 1400 x 900 (Nvidia card) resolution with ease
and it also made SliTaz different from the other distros.

Hopefully we can find a way to get Xorg working out of the box?

Paul

Rohit Joshi wrote:
Hi all,

Linea (and few others) had problems with the screen resolution being
fixed at 800x600 in the new cooking.  I wiped out and reinstalled
Slitaz again and then, I got hit by this screen resolution problem.

I am not sure if they have already resolved the problem. But, this is
what worked for me to get 1024x768 resolution.

I edited the following sections in xorg.conf (/etc/X11/xorg.conf) :

1) Include HorizSync and VertRefresh  in section "Monitor"

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName	 "Monitor Model"
	HorizSync	 28-64
	VertRefresh  60
EndSection

2a) In Section "Screen"; added Default Depth


Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth 24

2b) In Sub-section Display: added "modes"

   SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes 	  "1024x768" "800x600"
	EndSubSection

3) Also, added default Slitaz Font path in Section Files

Section "Files"
	ModulePath   "/usr/lib/X11/modules"
	FontPath     "/usr/share/fonts/X11/misc/"
	FontPath     "/usr/share/fonts/X11/TTF/"
	FontPath     "/usr/share/fonts/X11/OTF"
	FontPath     "/usr/share/fonts/X11/Type1/"
	FontPath     "/usr/share/fonts/X11/100dpi/"
	FontPath     "/usr/share/fonts/X11/75dpi/"
	FontPath     "/usr/share/fonts/truetype/ttf-dejavu"
EndSection

That's all. My xorg.conf is attached. Please see if this solution
works for you too.

Thanks

Rohit

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib/X11/modules"
	FontPath     "/usr/share/fonts/X11/misc/"
	FontPath     "/usr/share/fonts/X11/TTF/"
	FontPath     "/usr/share/fonts/X11/OTF"
	FontPath     "/usr/share/fonts/X11/Type1/"
	FontPath     "/usr/share/fonts/X11/100dpi/"
	FontPath     "/usr/share/fonts/X11/75dpi/"
	FontPath     "/usr/share/fonts/truetype/ttf-dejavu"
EndSection

Section "Module"
	Load  "extmod"
	Load  "glx"
	Load  "dbe"
	Load  "dri"
	Load  "freetype"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option      "XkbLayout" "uk"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
	HorizSync	 28-64
	VertRefresh  60
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     "SWcursor"           	# [<bool>]
        #Option     "HWcursor"           	# [<bool>]
        #Option     "NoAccel"            	# [<bool>]
        #Option     "ShadowFB"           	# [<bool>]
        #Option     "UseFBDev"           	# [<bool>]
        #Option     "Rotate"             	# [<str>]
        #Option     "VideoKey"           	# <i>
        #Option     "FlatPanel"          	# [<bool>]
        #Option     "FPDither"           	# [<bool>]
        #Option     "CrtcNumber"         	# <i>
        #Option     "FPScale"            	# [<bool>]
        #Option     "FPTweak"            	# <i>
        #Option     "DualHead"           	# [<bool>]
	Identifier  "Card0"
	Driver      "nv"
	VendorName  "Unknown Vendor"
	BoardName   "Unknown Board"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	SubSection "Display"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes 	  "1400x900" "1024x768" "800x600"
	EndSubSection
EndSection



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/