From owner-freebsd-current@FreeBSD.ORG Wed Dec 21 19:53:24 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BF98716A41F for ; Wed, 21 Dec 2005 19:53:24 +0000 (GMT) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id A604843D6B for ; Wed, 21 Dec 2005 19:53:23 +0000 (GMT) (envelope-from freebsd-current@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1Ep9zI-0005rD-By for freebsd-current@freebsd.org; Wed, 21 Dec 2005 20:51:00 +0100 Received: from r5k4.chello.upc.cz ([86.49.10.4]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Dec 2005 20:51:00 +0100 Received: from martinkov by r5k4.chello.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Dec 2005 20:51:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: martinko Date: Wed, 21 Dec 2005 17:26:53 +0100 Lines: 55 Message-ID: References: <1132743283.1197.55.camel@leguin> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: r5k4.chello.upc.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051205 X-Accept-Language: sk, cs, en-gb, en-us, en In-Reply-To: <1132743283.1197.55.camel@leguin> Sender: news Subject: Re: DRM update for testing X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2005 19:53:24 -0000 Eric Anholt wrote: > I've got a patch at: > http://people.freebsd.org/~anholt/dri/drm-sys-20051123.diff > for testing, which merges DRM CVS into FreeBSD. I've done basic tests > of a recent DRM CVS with WITNESS on AGP/PCI Matrox, AGP/PCI Rage 128, > AGP Radeon r100/r200/r300, AGP Savage4 (new!), SiS, and 3dfx, and this > version should be equivalent to what I tested. I'll do another pass of > testing before I commit, but I'd also like to get some wider testing so > more panics can show up if they exist. This particular diff has only > been compile-tested with LINT on amd64 so far. > > Known issues: > - Radeon PCIGART mode hung for me. I've heard this is caused by a > change in X.Org upstream which itself worked around a different hang, so > those of you not using xorg-server-snap wouldn't hit it hopefully. > - Savage3d untested iirc > - Savage4 PCI doesn't work (needs some love in the memory mapping > department, I think). > > However, savage support has experimental and will only be on by default > with the next release of X.Org, so I feel OK with integrating it into > -current. > > So, for testing: If you get instant reboots while starting/using X, that > almost always means a kernel panic. This is new behavior in the last > year or so afaik (where a number of us have issues dumping while in X). > However, I've hooked up serial consoles and got backtraces fine, which > hopefully you can do if you hit issues, as well. > > Also, note that this brings in a new enough r300 driver for running Mesa > CVS's r300 driver, which hasn't been the case for a while. It doesn't > bring in the via driver, which jakeb ported but which got overcome by > new linux-specific code (volunteers to work on this in DRM CVS would be > excellent!) in CVS. Also, the i915 (i830 through i915 integrated > graphics) driver should be pretty quick for someone with a bit of newbus > knowledge to finish off, or it could be a chance someone who cared to > learn more about the FreeBSD kernel :) > eric, i've got only 64MB video memory, while : $ dmesg | g drm drm0: port 0xc800-0xc8ff mem 0xd0000000-0xd7ffffff,0xff8f0000-0xff8fffff irq 5 at device 0.0 on pci1 info: [drm] AGP at 0xe0000000 256MB info: [drm] Initialized radeon 1.19.0 20050911 note, that i'm running 6-stable and cvsuped recently just to discover that radeon driver is finally attaching. many thanks for your work! martin