From owner-freebsd-mobile@FreeBSD.ORG Mon May 23 23:46:56 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2403116A41C for ; Mon, 23 May 2005 23:46:56 +0000 (GMT) (envelope-from ckleski@mbc.edu) Received: from mbc.edu (mail.mbc.edu [216.57.240.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6077443D48 for ; Mon, 23 May 2005 23:46:54 +0000 (GMT) (envelope-from ckleski@mbc.edu) Received: from [192.168.0.100] by mbc.edu (Cipher TLSv1:RC4-MD5:128) (MDaemon.PRO.v8.0.3b.R) with ESMTP id md50005107757.msg for ; Mon, 23 May 2005 19:46:37 -0400 X-ClamMD-Processed: mbc.edu Mon, 23 May 2005 19:46:37 -0400 (ClamMD Version: 1.00.T - 58 days left in trial.) From: Craig Kleski To: freebsd-mobile@freebsd.org Date: Mon, 23 May 2005 19:48:14 +0000 User-Agent: KMail/1.8 References: <17042.19684.265540.610237@tipi.mininet> In-Reply-To: <17042.19684.265540.610237@tipi.mininet> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200505231948.16190.ckleski@mbc.edu> X-SortMonster-MessageSniffer-Message: md50005107757.msg X-SortMonster-MessageSniffer-Rules: tgibseut-MDPv0.53b (SNFv2-3.1i2) No patterns matched. X-SortMonster-MessageSniffer-Result: 0 X-Authenticated-Sender: ckleski@mbc.edu X-Spam-Processed: mail.mbc.edu, Mon, 23 May 2005 19:46:37 -0400 (not processed: message from trusted or authenticated source) X-Lookup-Warning: HELO/EHLO lookup on 192.168.0.100 does not match 65.202.151.105 X-MDRemoteIP: 65.202.151.105 X-Return-Path: ckleski@mbc.edu X-MDaemon-Deliver-To: freebsd-mobile@freebsd.org X-MDAV-Processed: mail.mbc.edu, Mon, 23 May 2005 19:46:38 -0400 Subject: Re: How to run Xorg on a 1280x800 display/915GM chipset? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 May 2005 23:46:56 -0000 On Monday 23 May 2005 09:36 pm, Markus Hoenicka wrote: > Hi all, > > I've got a new and shiny MSI S260 laptop on my desk. The FreeBSD 5.4 > base system was installed in no time, but I'm having a hard time to > configure Xorg. > > The S260 claims to use an Intel 915GM chipset with integrated graphics > which uses shared memory. The display is a 12" WXGA running at > 1280x800. > > I've googled a bit and found out that I apparently need the agp > module. I've added 'agp_load="YES"' to my /boot/loader.conf and > verified that the module is actually loaded. One strange thing is that > there is no /dev/agpgart on my system. I've checked with a tower > running FreeBSD 5.3 that does not use the agp module, but this one has > the device anyway - is this a part of my problem? How can I get one > now that MAKEDEV is deprecated? > > Next I ran xorgconfig. I've used the generic Intel i810 driver and > specified 64M of memory which sounds reasonable to me. xorgconfig did > not offer me the 1280x800 mode, so I've used some stuff from the > web. The relevant parts are reprinted below, although I don't think > they're important for the problem. > > This is the error message that I get after running startx: > > (WW) I810: No matching Device section for instance (BusID PCI:0:2:1) > found > (EE) No devices detected. > > BTW I've got similar results without the BusID entry, or with a BusID > entry "PCI:0:2:1", or with two device sections containing both > variants. > > The dmesg output shows this about PCI: > pci0: at device 2.0 (no driver attached) > pci0: at device 2.1 (no driver attached) > > Needless to say that the preinstalled WinXP ran fine until I happily > erased it. > > Is there a chance to make Xorg work? Any hints would be greatly > aapreciated. > > regards, > Markus > > Section "Monitor" > Identifier "glare" > HorizSync 31.5 - 64.3 > VertRefresh 50-70 > ModeLine "1280x800" 83.5 1280 1344 1480 1680 800 801 804 828 > EndSection > > Section "Device" > Identifier "i810" > Driver "i810" > BusID "PCI:0:2:0" > VideoRam 65536 > EndSection > > Section "Screen" > Identifier "Screen 1" > Device "i810" > Monitor "glare" > DefaultDepth 24 > > Subsection "Display" > Depth 24 > Modes "1280x800" > ViewPort 0 0 > EndSubsection > EndSection Maybe the device and driver shouldn't both be named "i810." I don't know if that's the solution but the problem seems to be somewhere in xorg.conf. http://wiki.x.org/wiki/FAQWarningMessages Also, /dev/agpgart should exist for i915. Perhaps you should build agp into the kernel.