Page 2 of 2

Re: How to make X change to a widescreen resolution?

Posted: 21. Jun 2011, 11:55
by PelleB
Thanks, now it worked.

But where do I put the modeline?

I have:

Code: Select all

Section "Monitor"

    Identifier  "My Monitor"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync   31.5 - 84.0

#    HorizSync	30-64         # multisync
#    HorizSync	31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync	15-25, 30-50  # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 56-76
    Modeline "1440x900_60.00"  106.47  1440 1520 1672 1904  900 901 904 932  -HSync +Vsync
EndSection
in xorg.conf-vesa, and X does not seem to run if I rename it xorg.conf...

Re: How to make X change to a widescreen resolution?

Posted: 21. Jun 2011, 12:09
by thenktor
Create a file like /etc/X11/xorg.conf.d/50-monitor.conf

Re: How to make X change to a widescreen resolution?

Posted: 21. Jun 2011, 12:14
by gapan
And put only the "Monitor" section in it, with the modeline. Nothing else is needed. Delete the xorg.conf file you already have.

Re: How to make X change to a widescreen resolution?

Posted: 21. Jun 2011, 12:33
by PelleB
I did create it

Code: Select all

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Acer"
	ModelName    "AL1916W"
	HorizSync    31-82
	VertRefresh  56-76
        Modeline "1440x900_60.00"  106.47  1440 1520 1672 1904  900 901 904 932  -HSync +Vsync
EndSection
No, something else is needed too, maybe a 50-screen.conf and should it look like

Code: Select all

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultColorDepth 24
	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	"1440x900"
	EndSubSection
EndSection
In fact I tried it, does not make it work either.

Re: How to make X change to a widescreen resolution?

Posted: 21. Jun 2011, 12:55
by gapan
Yes, you need the "Screen" part too. Put it in the same file. But your mode is named "1440x900_60.00", not "1440x900".

Another way to do it, without messing with xorg.conf is to edit your /etc/gdm/Init/Default and add the xrandr lines you used at the end, before the exit command. Or if you already have the Monitor section in your xorg.conf.d, you can just add the last xrandr command in it. Several ways to do it actually.

Re: How to make X change to a widescreen resolution?

Posted: 21. Jun 2011, 14:09
by PelleB
Thanks, great, the the gdm/init/Default thing did it.

But if I would like to add a screen file to xorg.conf.d what should I call it?

Anyway, if I had had this much trouble setting up X the first time (Xfree86OS/2), I would never have dared to try Linux or FreeBSD.

Thanks again!

Re: How to make X change to a widescreen resolution?

Posted: 21. Jun 2011, 15:18
by gapan
PelleB wrote:But if I would like to add a screen file to xorg.conf.d what should I call it?
Whatever you want to.