From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.62)
	(envelope-from <gentoo-user+bounces-60707-garchives=archives.gentoo.org@gentoo.org>)
	id 1HMGxn-0004VU-R0
	for garchives@archives.gentoo.org; Wed, 28 Feb 2007 05:02:52 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l1S50AGL010964;
	Wed, 28 Feb 2007 05:00:10 GMT
Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.188])
	by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l1S4tlA3005647
	for <gentoo-user@lists.gentoo.org>; Wed, 28 Feb 2007 04:55:47 GMT
Received: by nf-out-0910.google.com with SMTP id c31so788152nfb
        for <gentoo-user@lists.gentoo.org>; Tue, 27 Feb 2007 20:55:47 -0800 (PST)
DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed;
        d=gmail.com; s=beta;
        h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=lU4C+feswh6PYSOr7L4R4A9VzgDQhcuBKtjioBbQFklG72MLD7/G2UgJ9zkoGkzj2B5mvTHdttvAHF/1lLK5nUOma2Cv/dCW64CJRaUH2coOAkyObMi0ihGUz8mJ+V+YJdQya/S63rr8DnPbAxDikS/QXkAk04OEXKMN3b+6m2Y=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=beta;
        h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=rWJU0FfwQ/2xYg0amVN1adIyWhxRPeQP0/eMsvIQl5/7IcBc8R7qCqJ0fqK4glYifUJ6K/KgB6pB19I8PKt3ZMAh0xO+FTQpojUYA8MTAqOPcLDaEWKFck2AXcS8u1M0VINiCXpFHT7MFqxQ6RCUpzvkzi8ohRV+T16goHfFE/M=
Received: by 10.82.172.15 with SMTP id u15mr29188bue.1172638547446;
        Tue, 27 Feb 2007 20:55:47 -0800 (PST)
Received: by 10.82.179.19 with HTTP; Tue, 27 Feb 2007 20:55:47 -0800 (PST)
Message-ID: <bf0e048a0702272055t43115742g18d557afbc90d3a3@mail.gmail.com>
Date: Wed, 28 Feb 2007 06:55:47 +0200
From: "Vlad Dogaru" <ddvlad@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Switched monitors, having resolution problems
In-Reply-To: <20070227190505.75a13782@pascal.spore.ath.cx>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <bf0e048a0702271536s24117dcem1f7b7a8bef0a0aa@mail.gmail.com>
	 <200702280048.09785.volker.armin.hemmann@tu-clausthal.de>
	 <bf0e048a0702271603r5e2e195ft8535d1de401c0847@mail.gmail.com>
	 <200702280154.29946.volker.armin.hemmann@tu-clausthal.de>
	 <20070227190505.75a13782@pascal.spore.ath.cx>
X-Archives-Salt: 443883b5-2323-454c-9244-848d90327f62
X-Archives-Hash: cbe3c1b776b7255ec47c4713e75c3c93

On 2/28/07, Dan Farrell <dan@spore.ath.cx> wrote:
> On Wed, 28 Feb 2007 01:54:29 +0100
> "Hemmann, Volker Armin" <volker.armin.hemmann@tu-clausthal.de> wrote:
>
> > On Mittwoch, 28. Februar 2007, Vlad Dogaru wrote:
> > > On 2/28/07, Hemmann, Volker Armin
> > > <volker.armin.hemmann@tu-clausthal.de>
> > wrote:
> > > > On Mittwoch, 28. Februar 2007, Vlad Dogaru wrote:
> > > > > Hello all,
> > > > >
> > > > > I have just switched monitors and X now starts in 640x480. I
> > > > > intend to make it work at 1280x1024, and have changed
> > > > > DefaultDepth and Modes lines in xorg.conf accordingly. The
> > > > > console works at 1024x768 as usual, but I have compiled that
> > > > > into the framebuffer. Any suggestions?
> > > >
> > > > how about not using modelines at all?
> > >
> > > I've tried commenting out the modeline, to no avail, and the
> > > DefaultDepth, also with no result. I've checked the logs and found
> > > nothing out of place. Attatched is my xorg.conf, should anyone find
> > > it meaningful.
> > >
> > > Vlad
> > >
> > > > --
> > > > gentoo-user@gentoo.org mailing list
> >
> > well, you set no mode at all - modelines are something different ;)
> >
> > Section "Screen"
> >       Identifier "Screen0"
> >       Device     "Card0"
> >       Monitor    "Monitor0"
> >       #DefaultDepth 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    "1280x1024"
> >       EndSubSection
> > EndSection
> >
> > change that too something like:
> >
> >
> > Section "Screen"
> >       Identifier "Screen0"
> >       Device     "Card0"
> >       Monitor    "Monitor0"
> >       #DefaultDepth 24
> >       SubSection "Display"
> >               Viewport   0 0
> >               Depth     1
> >       EndSubSection
> >       SubSection "Display"
> >               Viewport   0 0
> >               Depth     4
> >               Modes       "1280x1024" "1024x768" "800x600" "640x480"
> >       EndSubSection
> >       SubSection "Display"
> >               Viewport   0 0
> >               Depth     8
> >               Modes       "1280x1024" "1024x768" "800x600" "640x480"
> >       EndSubSection
> >       SubSection "Display"
> >               Viewport   0 0
> >               Depth     15
> >               Modes       "1280x1024" "1024x768" "800x600" "640x480"
> >       EndSubSection
> >       SubSection "Display"
> >               Viewport   0 0
> >               Depth     16
> >               Modes       "1280x1024" "1024x768" "800x600" "640x480"
> >       EndSubSection
> >       SubSection "Display"
> >               Viewport   0 0
> >               Depth     24
> >               Modes     "1280x1024"  "1024x768" "800x600"
> > "640x480" EndSubSection
> > EndSection
> >
> > And add this to your modules section:
> >     Load        "ddc"
> I find myself in this situation often, and usually, looking up
> Horizontal Sync and Vertical Refresh frequencies for the make and model
> of the monitor (rarely tricky) and then setting them in xorg.conf
> solves the problem.  For example:
>
> Section "Monitor"
>         Identifier   "Monitor0"
>         VendorName   "Monitor Vendor"
>         ModelName    "Monitor Model"
>         HorizSync       31.5-64.3
>         VertRefresh     50-90
>         Modeline  "1024x768"   85.00 1024 1032 1152 1360 768 784 787 823
> EndSection
>
> In this case I also used a modeline because the HorizSync and
> VertRefresh settings didn't work at 1024x768 without it.

I emerged ddcxinfo-knoppix and when I run it with -monitor, I get a
lot of modelines, along with some HorizSync and VertRefresh values.
These are what concern me:

Section "Monitor"
        Identifier   "Monitor0"
#       HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
        HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
        VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
#       VertRefresh  50.0 - 62.0 # Extreme conservative. Will flicker.
TFT default.
        #  Default modes distilled from
        #      "VESA and Industry Standards and Guide for Computer
Display Monitor
        #       Timing", version 1.0, revision 0.8, adopted September 17, 1998.
        #  $XFree86: xc/programs/Xserver/hw/xfree86/etc/vesamodes,v
1.4 1999/11/18 16:52:17 tsi Exp $
        # 640x350 @ 85Hz (VESA) hsync: 37.9kHz
        ModeLine "640x350"    31.5  640  672  736  832    350  382
385  445 +hsync -vsync
<snip modelines here>

Does this program guarantee that the settings really do work for my
monitor or are they just generic? I need to know, especially
considering the remarks about frying. Also, just checking to see I got
it correctly: I would comment out all but one modeline and use that
one, right? Again, are all modelines listed supported? (This lists
1920x1440@75 for a 17" monitor -- not by far a wiz with this, but...
is this right??)

Vlad

-- 
How's my English? How about my Netiquette?
Do mail me if something is wrong with my behaviour. Thank you.
-- 
gentoo-user@gentoo.org mailing list