From owner-freebsd-x11@FreeBSD.ORG Sat Feb 17 17:03:51 2007 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CF77216A400 for ; Sat, 17 Feb 2007 17:03:51 +0000 (UTC) (envelope-from jwm-freebsd-xll@sentinelchicken.net) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 88F1713C4A3 for ; Sat, 17 Feb 2007 17:03:49 +0000 (UTC) (envelope-from jwm-freebsd-xll@sentinelchicken.net) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 17 Feb 2007 12:03:39 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.7.5a-GA) with ESMTP id IGS24861; Sat, 17 Feb 2007 12:03:32 -0500 (EST) Received: from 207-172-209-180.c3-0.bkl-ubr2.sbo-bkl.ma.static.cable.rcn.com (HELO sentinelchicken.net) ([207.172.209.180]) by smtp01.lnh.mail.rcn.net with SMTP; 17 Feb 2007 12:03:33 -0500 Received: (qmail 73636 invoked from network); 17 Feb 2007 17:03:32 -0000 Received: from unknown (HELO crichton.skepsi.net) (10.0.0.101) by aeryn.skepsi.net with SMTP; 17 Feb 2007 17:03:32 -0000 Received: (nullmailer pid 73633 invoked by uid 1000); Sat, 17 Feb 2007 17:03:28 -0000 Date: Sat, 17 Feb 2007 12:03:28 -0500 From: Jason Morgan To: Mark Kane Message-ID: <20070217170328.GA73040@sentinelchicken.net> References: <20070216140000.4cfa0fde@amd64.localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070216140000.4cfa0fde@amd64.localhost> User-Agent: Mutt/1.5.12-2006-07-14 X-Junkmail-Status: score=10/50, host=mr08.lnh.mail.rcn.net X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A09020B.45D73569.00AB,ss=1,fgs=0, ip=207.172.4.11, so=2006-05-09 23:27:51, dmn=5.2.125/2007-01-26 Cc: freebsd-x11@freebsd.org Subject: Re: Xorg 100% CPU and Black Screen When Starting with DRI 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: Sat, 17 Feb 2007 17:03:51 -0000 On Fri, Feb 16, 2007 at 02:00:00PM -0600, Mark Kane wrote: > Hi everyone. I'm finishing up building a new workstation and I'm having > some trouble getting Xorg to start up properly with DRI enabled. > > The basic description of the problem is that when starting Xorg up with > DRI enabled on my ATI Radeon 9250 (PCI), the screen will go black and > when I SSH in, I see Xorg is using up 100% CPU. Sometimes I can kill > the Xorg process with -9 via SSH, but my monitor never returns to the > command line so my only option is to reboot the machine via SSH. > > Here are some messages related to it when I do a dmesg via SSH: > > info: [drm] Initialized radeon 1.24.0 20060225 info: > [drm] Setting GART location based on old memory map > bus_dmamem_alloc failed to align memory properly. > info: [drm] Loading R200 Microcode > info: [drm] writeback test succeeded in 1 usecs > > An interesting point is that some of the time it starts up fine with > DRI enabled, so I don't think it's a configuration issue. I'm not sure > what's different between the attempts, but sometimes it will start up > just fine and show direct rendering enabled with glxinfo. Then a few > minutes later I might reboot and try again with the same exact > configuration of everything and it will hang with a black screen and > 100% CPU usage. > > When it did start up fine with DRI and I was using it for a bit though, > the machine did randomly reboot after a few hours of use. I didn't have > kernel dumps enabled at that time so I'm not sure what happened, but > that doesn't seem to happen with DRI disabled. > > It's identified by the radeon kernel module as: > > drm0: port 0xe000-0xe0ff mem > 0xc0000000-0xcfffffff,0xfebf0000-0xfebfffff irq 16 at device 1.0 on > pci1 > > Attached is the Xorg.0.log from when DRI was enabled and it hung with > 100% CPU/black screen and my simple configuration file I'm using to > test now. > > It _seems_ to work correctly and fairly consistently with DRI disabled > so that's what I'm doing for now. > > Thanks very much in advance. > > -Mark > FreeBSD 6.2-STABLE [amd64] > Xorg 6.9.0 > ATI Radeon 9250 (PCI) > > P.S. If the attachments don't make it through, the log and config are > here: > > http://www.tntpowerhost.com/mixx941/xorg/Xorg.0.20070216.log > http://www.tntpowerhost.com/mixx941/xorg/xorg.conf I am currently running into the same issues with a 6.2-RELEASE box with an nVidia FX 5600 Ultra installed. This same card worked fine in another box (running 6.2-STABLE). I investigated and I could reliably get Xorg to max out the CPU after trying to re-enter X a third time between reboots. The second entry to X would also lock up the system about 25% of the time. Xorg also seems somewhat unstable on this box after prolonged usage. I originally thought it was the nvidia drivers causing issues -- I've tried different versions and still can't get a stable machine. I will post my log files as soon as I get the machine back up and running (doing a make-world, hoping that will fix the issue). Any hints from the community would be great. Cheers, Jason