From owner-freebsd-questions@FreeBSD.ORG Tue Apr 3 15:05:57 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4E6BC16A402 for ; Tue, 3 Apr 2007 15:05:57 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (bewilderbeast.blackhelicopters.org [198.22.63.8]) by mx1.freebsd.org (Postfix) with ESMTP id EA25813C448 for ; Tue, 3 Apr 2007 15:05:56 +0000 (UTC) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: from bewilderbeast.blackhelicopters.org (localhost [127.0.0.1]) by bewilderbeast.blackhelicopters.org (8.13.8/8.13.8) with ESMTP id l33F5tVI040710; Tue, 3 Apr 2007 11:05:55 -0400 (EDT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: (from mwlucas@localhost) by bewilderbeast.blackhelicopters.org (8.13.8/8.13.8/Submit) id l33F5qZD040709; Tue, 3 Apr 2007 11:05:52 -0400 (EDT) (envelope-from mwlucas) Date: Tue, 3 Apr 2007 11:05:52 -0400 From: "Michael W. Lucas" To: Vince Message-ID: <20070403150552.GA40640@bewilderbeast.blackhelicopters.org> References: <20070403021213.GA37267@bewilderbeast.blackhelicopters.org> <46121058.6060609@unsane.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46121058.6060609@unsane.co.uk> User-Agent: Mutt/1.4.2.2i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (bewilderbeast.blackhelicopters.org [127.0.0.1]); Tue, 03 Apr 2007 11:05:55 -0400 (EDT) Cc: questions@freebsd.org Subject: Re: xorg resolution on new laptop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2007 15:05:57 -0000 > I'm not certain why this works since I'm setting the mode to 1440x900 > in 16bits but it does. > (from xdpyinfo) > screen #0: > print screen: no > dimensions: 1440x900 pixels (302x191 millimeters) > resolution: 121x120 dots per inch > depths (7): 24, 1, 4, 8, 15, 16, 32 > root window id: 0x5d > depth of root window: 24 planes > number of colormaps: minimum 1, maximum 1 I missed the bit about xdpyinfo, never seen that program before. I have: screen #0: print screen: no dimensions: 1440x900 pixels (373x231 millimeters) resolution: 98x99 dots per inch depths (7): 24, 1, 4, 8, 15, 16, 32 root window id: 0x4c depth of root window: 24 planes number of colormaps: minimum 1, maximum 1 The difference is in the "resolution" entry: Vince has 121x120, I have 98x99. My text is all quite large, my icons larger. What I really need to do is learn about X. All of the docs I've found have been for older versions or consist only of occult references to a particular users' edge case. It seems nobody's written a book about xorg. (Don't ask me to, I don't know enough to even write the proposal! :-) Does anyone have a recommendation for a decent user tutorial for X troubleshooting? I don't mean "run startx", I mean "this is the log file and this is what the various entries mean" sort of troubleshooting. Thanks, ==ml > Michael W. Lucas wrote: > > Hi folks, > > > > I've scoured Google seeking wisdom, and found nothing except hordes of > > Linux users whining about this same problem. FreeBSD users don't seem > > to have this issue, except for me. Finally I have no choice but to > > throw myself on your tender mercies. > > > > I've been going nuts trying to get 1440x900 resolution on my new > > Toshiba P105. Any help anyone could offer would be greatly > > appreciated. Xorg assures me that the 945GM video card is supported > > by the i810 driver, provided I use the 915resolution program to set > > the resolution before starting X. I run: > > > > /usr/local/bin/915resolution 3c 1440 900 > > > > to add the resolution 1440x900 to the video BIOS. 915resolution -l > > now shows me: > > > > ... > > Mode 3c : 1440x900, 8 bits/pixel > > ... > > Mode 4d : 1440x900, 16 bits/pixel > > ... > > Mode 5c : 1440x900, 32 bits/pixel > > .. > > > > So, in theory 1440x900 should be available to the card. > > > > startx fails without a config file, so I let it create one and tweaked > > in based on gossip, rumour, and innuendo I've uncovered in three days > > of Web searching. I get something that looks *about* like 1200x768, > > but it's a far cry from 1440x900. > > > > pciconf -lv tells me: > > > > ... > > vgapci0@pci0:2:0: class=0x030000 card=0xff311179 chip=0x27a28086 rev=0x03 hdr=0x00 > > vendor = 'Intel Corporation' > > device = 'Mobile Integrated Graphics Controller' > > class = display > > subclass = VGA > > vgapci1@pci0:2:1: class=0x038000 card=0xff311179 chip=0x27a68086 rev=0x03 hdr=0x00 > > vendor = 'Intel Corporation' > > device = 'Mobile Integrated Graphics Controller' > > class = display > > ... > > > > Here's relevant stuff trimmed from my xorg.conf. > > > > -- > > > > Section "Module" > > Load "extmod" > > Load "glx" > > Load "dri" > > Load "dbe" > > Load "record" > > Load "xtrap" > > Load "type1" > > Load "freetype" > > Load "i2c" > > Load "bitmap" > > Load "int10" > > EndSection > > > > ... > > > > Section "Monitor" > > #DisplaySize 370 230 # mm > > Identifier "Monitor0" > > VendorName "LPL" > > ModelName "0" > > EndSection > > > > Section "Device" > > ### Available Driver options are:- > > ### Values: : integer, : float, : "True"/"False", > > ### : "String", : " Hz/kHz/MHz" > > ### [arg]: arg optional > > #Option "NoAccel" # [] > > #Option "SWcursor" # [] > > #Option "ColorKey" # > > #Option "CacheLines" # > > #Option "Dac6Bit" # [] > > #Option "DRI" # [] > > #Option "NoDDC" # [] > > #Option "ShowCache" # [] > > #Option "XvMCSurfaces" # > > #Option "PageFlip" # [] > > Identifier "Card0" > > Driver "i810" > > VendorName "Intel Corporation" > > BoardName "Mobile Integrated Graphics Controller" > > BusID "PCI:0:2:0" > > EndSection > > > > Section "Screen" > > Identifier "Screen0" > > Device "Card0" > > Monitor "Monitor0" > > DefaultDepth 24 > > SubSection "Display" > > Viewport 0 0 > > Depth 1 > > Modes "1440x900" > > EndSubSection > > SubSection "Display" > > Viewport 0 0 > > Depth 4 > > EndSubSection > > SubSection "Display" > > Viewport 0 0 > > Depth 8 > > Modes "1440x900" > > EndSubSection > > SubSection "Display" > > Viewport 0 0 > > Depth 15 > > Modes "1440x900" > > EndSubSection > > SubSection "Display" > > Viewport 0 0 > > Depth 16 > > Modes "1440x900" > > EndSubSection > > SubSection "Display" > > Viewport 0 0 > > Depth 24 > > Modes "1440x900" > > EndSubSection > > EndSection > > > > Any ideas, anyone? > > > > Thanks, > > ==ml > > -- Michael W. Lucas mwlucas@FreeBSD.org, mwlucas@BlackHelicopters.org http://www.BlackHelicopters.org/~mwlucas/ Latest book: PGP & GPG -- http://www.pgpandgpg.com "The cloak of anonymity protects me from the nuisance of caring." -Non Sequitur