From owner-freebsd-questions@FreeBSD.ORG Tue Apr 3 13:28:23 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 5721116A403 for ; Tue, 3 Apr 2007 13:28:23 +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 171E913C45D for ; Tue, 3 Apr 2007 13:28:22 +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 l33DSLRp040321; Tue, 3 Apr 2007 09:28:21 -0400 (EDT) (envelope-from mwlucas@bewilderbeast.blackhelicopters.org) Received: (from mwlucas@localhost) by bewilderbeast.blackhelicopters.org (8.13.8/8.13.8/Submit) id l33DSL8Y040320; Tue, 3 Apr 2007 09:28:21 -0400 (EDT) (envelope-from mwlucas) Date: Tue, 3 Apr 2007 09:28:21 -0400 From: "Michael W. Lucas" To: Vince Message-ID: <20070403132821.GA40294@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 09:28:21 -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 13:28:23 -0000 On Tue, Apr 03, 2007 at 09:29:12AM +0100, Vince wrote: > I have this working, however i cant remember my method for working it out. Thanks for the answer, but this doesn't work for me. Comments below. > I use > /usr/local/bin/915resolution 4d 1440 900 16 > (in an rc script /usr/local/etc/rc.d/915res ) You just overwrote a different mode than I did, no biggie. I copied yours. > my xorg.conf (relevant bits) > Section "Device" > > Identifier "Card0" > Driver "i810" > VendorName "Intel Corporation" > BoardName "Mobile Integrated Graphics Controller" > BusID "PCI:0:2:0" > Option "DRI" "true" Interesting point: I copied this entry, and Xorg.0.log shows that DRI should be enabled: (II) I810(0): [DRI] installation complete (II) I810(0): direct rendering: Enabled glxinfo says I don't have DRI, however: glxinfo name of display: :0.0 Unrecognized deviceID 27a2 display: :0 screen: 0 direct rendering: No Still searching, but thanks for info. At least I know it *can* work on FreeBSD... > EndSection > > Section "Screen" > Identifier "Screen0" > Device "Card0" > Monitor "Monitor0" > DefaultDepth 24 > Subsection "Display" > Depth 24 > Modes "1440x900" "1024x768" "800x600" > ViewPort 0 0 > EndSubsection > EndSection > > > > 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 > > > Vince > > > 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