From owner-freebsd-questions@FreeBSD.ORG Tue Mar 8 15:55:53 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 518D916A4CE for ; Tue, 8 Mar 2005 15:55:53 +0000 (GMT) Received: from mta10-winn.mailhost.ntl.com (smtpout18.mailhost.ntl.com [212.250.162.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E5D943D1D for ; Tue, 8 Mar 2005 15:55:52 +0000 (GMT) (envelope-from richard.danter@ntlworld.com) Received: from aamta05-winn.mailhost.ntl.com ([212.250.162.8]) by mta10-winn.mailhost.ntl.com with ESMTP <20050308155551.UQPL20856.mta10-winn.mailhost.ntl.com@aamta05-winn.mailhost.ntl.com> for ; Tue, 8 Mar 2005 15:55:51 +0000 Received: from [192.168.1.14] (really [82.4.184.52]) by aamta05-winn.mailhost.ntl.com with ESMTP <20050308155550.OPPT769.aamta05-winn.mailhost.ntl.com@[192.168.1.14]> for ; Tue, 8 Mar 2005 15:55:50 +0000 Message-ID: <422DCB09.6060306@ntlworld.com> Date: Tue, 08 Mar 2005 15:55:53 +0000 From: Richard Danter User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <422D74DC.9060303@ntlworld.com> In-Reply-To: <422D74DC.9060303@ntlworld.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Strange Xorg problems - SOLVED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Mar 2005 15:55:53 -0000 Richard Danter wrote: > Hi All, > > I have a strange problem with starting Xorg after a boot on my Compaq > Presario 1800T laptop. First time I try to startx the screen is > corrupted, the mouse moves very slowly (if at all) and sometimes the > only way out is to kill the window manager by SSH'ing in from a remote > host. > > What is odd is that the second time I run startx it works perfectly! > Same for all subsequent starts, so only the very first startx after a > boot has this problem. > > Lookling through the logs I can see that there is a failure to open the > device /dev/dri/card0 first time, but it seems to work second time. > > I managed to find some references to problems with dri by googling but > could not find any resolutions. > > I have attached a dump from dmesg after starting X so you can see the > boot and drm messages. Also attached are logs from Xorg after both a bad > and a good start. I hope attachments are ok. One think I noticed from > the dmesg dump is that the graphics card is detected as an ATI Rage 128 > Mobility LF, but Linux said it was an M3. Not sure if that is relevant. > > I used to have RedHat Linux 7.2 and then 9 running on this machine and > never had any problems with X, was even able to play DVD's perfectly > using Ogle, so I am sure Xorg should work. > > Does anyone know what is going on here? Have I made a mistake somewhere?? > I fixed it! It was simply a matter of adding r128_load="YES" to /boot/loader.conf. Another newbie mistake I think. :) Rich