From owner-freebsd-x11@FreeBSD.ORG Sun Aug 24 15:12:41 2008 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 94DC61065671 for ; Sun, 24 Aug 2008 15:12:41 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.230]) by mx1.freebsd.org (Postfix) with ESMTP id 556848FC0A for ; Sun, 24 Aug 2008 15:12:41 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2039590rvf.43 for ; Sun, 24 Aug 2008 08:12:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=VXVYdV5+1DhCEfj1lG+npTIoGMUHQN3FMrCsERViPTw=; b=xnl94d5FLOenxf9KVfgZ9j6d4kEQzFKif1mNlvThotZcaFgJNuH2ALx5PQrZTuzzI0 F6ZFW1rXZUKGR0pyvXad73fH61DoXiWYSzVAwLa63FmWmVOWQ7RhJ20vB5JlCUELoIIg wwEiXiaSgTVTFsDWSMJNabdXUjxiccTiWDBPI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=c2WCrnkKm1IACWDut2wZh2YUfnaZfUb+HlweVJjfTFoXNACCjBZ06VWv2Aq9IT7OOa p5CHhljH3W/ny8/wUZAlvzrYwhYzh+qT8vj96q1IYMfmfcOA2lX5ekk5TRsz880Wi4Jr Y0WXKGFiBhYq/swb4e2BtpEePPCfCDcyGefrQ= Received: by 10.141.113.6 with SMTP id q6mr1631283rvm.135.1219590761034; Sun, 24 Aug 2008 08:12:41 -0700 (PDT) Received: by 10.141.189.15 with HTTP; Sun, 24 Aug 2008 08:12:40 -0700 (PDT) Message-ID: <3a142e750808240812q50c1237as8c391dc35fc98ac0@mail.gmail.com> Date: Sun, 24 Aug 2008 17:12:40 +0200 From: "Paul B. Mahol" To: "Robert Noland" In-Reply-To: <3a142e750808240329n55d1b95bnd701dde4892c6c14@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080821120021.90B5610656E5@hub.freebsd.org> <200808211456.01947.matt@chronos.org.uk> <1219544221.3430.37.camel@wombat.2hip.net> <3a142e750808240329n55d1b95bnd701dde4892c6c14@mail.gmail.com> Cc: freebsd-x11 Subject: Re: [CFT] drm updates 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: Sun, 24 Aug 2008 15:12:41 -0000 On 8/24/08, Paul B. Mahol wrote: > On 8/24/08, Robert Noland wrote: >> I've uploaded a final patch set to: >> >> http://people.freebsd.org/~rnoland >> >> I have committed this version to -CURRENT, but patches are available for >> RELENG_7 as well. >> >> This version mostly just fixes a long standing memory leak. >> >> All of the reports for radeon have been good. I'm still seeing a few >> odd things with Intel though. The most severe issue is on my 965gm. >> After restarting X, it will hang in a way that I have never seen >> before... The small amount of evidence that I have been able to collect >> suggests that this may be due to mesa trashing the hardware. I've spent >> a couple of days trying to figure out exactly what could be wrong. This >> morning I rebuilt my kernel with a stock drm from src and I got exactly >> the same hang. Since this update does help lots of people and doesn't >> seem to make things worse than they were to begin with, I went ahead and >> committed it. >> >> I was incorrect about the patch to libdrm... It isn't needed in 2.3.1 >> and it is already committed upstream. I'll commit that update to ports >> soon also. It, along with a recent xf86-video-* are needed to enable >> the new vblank behavior, which will disable vblank interrupts if there >> are no active consumers. >> >> robert. >> > > Do I need to update some ports? because with kernel from HEAD I have > encountered problems when drm is loaded (agp + drm + i915) > astro/stellarium caused deadlock, only mouse pointer could move, if I did > not > started it, system will panic anyway after some time. I did not yet tested > vty switching,.... > > related hardware: > > hostb0@pci0:0:0:0: class=0x060000 card=0x30a2103c chip=0x27a08086 > rev=0x03 > hdr=0x00 > vendor = 'Intel Corporation' > device = '955XM/945GM/PM/GMS/940GML Express Processor to DRAM > Controller' > class = bridge > subclass = HOST-PCI > vgapci0@pci0:0:2:0: class=0x030000 card=0x30a2103c chip=0x27a28086 > rev=0x03 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Mobile 945GM/GU Express Integrated Graphics Controller' > class = display > subclass = VGA > vgapci1@pci0:0:2:1: class=0x038000 card=0x30a2103c chip=0x27a68086 > rev=0x03 hdr=0x00 > vendor = 'Intel Corporation' > device = 'Mobile 945GM/GU Express Integrated Graphics Controller' > class = display > > also if Xorg is never started, trying to unload agp.ko > (after unloading i915.ko and drm.ko) module will cause panic. > Comparing to xf86-video-i815, xf86-video-intel is more stable (it doesnt panic, crash, hardlocks, ...), but still locks display when starting astro/stellarium.