From owner-freebsd-x11@FreeBSD.ORG Thu Jun 17 17:01:51 2010 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B36291065680 for ; Thu, 17 Jun 2010 17:01:51 +0000 (UTC) (envelope-from stacy@Millions.Ca) Received: from mail-gw-0.millions.ca (www.millions.ca [96.53.2.246]) by mx1.freebsd.org (Postfix) with ESMTP id 8443A8FC20 for ; Thu, 17 Jun 2010 17:01:51 +0000 (UTC) Received: from bonsai.millions.ca (Bonsai.Millions.Ca [192.168.64.4]) by oak.millions.ca (8.14.2/8.14.2) with ESMTP id o5HH1oJU076687; Thu, 17 Jun 2010 11:01:50 -0600 (MDT) (envelope-from stacy@millions.ca) Message-ID: <4C1A54FE.3050904@millions.ca> Date: Thu, 17 Jun 2010 11:01:50 -0600 From: Stacy Millions User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.3a5pre) Gecko/20100615 Lightning/1.1a1pre Thunderbird/3.2a1pre MIME-Version: 1.0 To: gljennjohn@googlemail.com References: <4C184972.8090001@millions.ca> <4C194C04.90504@millions.ca> <20100617112416.6258a290@ernst.jennejohn.org> In-Reply-To: <20100617112416.6258a290@ernst.jennejohn.org> Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-x11@freebsd.org Subject: Re: FBSD8 + xorg 7.5 + intel + IBM X40 X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2010 17:01:51 -0000 On 06/17/10 03:24, Gary Jennejohn wrote: > On Wed, 16 Jun 2010 16:11:16 -0600 > Stacy Millions wrote: >> In i830_display.c:i830_crtc_load_lut in the loop >> >> for (i = 0; i< 256; i++) { >> OUTREG(palreg + 4 * i, >> (intel_crtc->lut_r[i]<< 16) | >> (intel_crtc->lut_g[i]<< 8) | >> intel_crtc->lut_b[i]); >> } >> >> when i == 2 the system freezes. > Considering that you're using the display while the hardware settings > are being modified I sort of wonder whether this loop is really the > cause. > > Or are you debugging remotely? I am debugging across an ssh connection. > I'd try commenting out this loop and see whether X starts without it > (but the display may be messed up). If it does then you can be pretty > sure that setting the palreg is the cause. Using the debugger, I just jumped over the loop. It worked. I had a running X server. So I edited i830_display.c and commented out the loop, recompiled/reinstalled the driver and it works... ugly as hell but it works. > Why is another question > all together. That's the kicker alright. I will keep plugging at it and see if I can figure out what is happen. As always, any suggestions are welcome. -stacy