From owner-freebsd-x11@FreeBSD.ORG Sun Mar 17 22:22:23 2013 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 249C0299 for ; Sun, 17 Mar 2013 22:22:23 +0000 (UTC) (envelope-from akirchhoff135014@comcast.net) Received: from atl4mhfb03.myregisteredsite.com (atl4mhfb03.myregisteredsite.com [209.17.115.61]) by mx1.freebsd.org (Postfix) with ESMTP id DF0D36B1 for ; Sun, 17 Mar 2013 22:22:22 +0000 (UTC) Received: from atl4mhob10.myregisteredsite.com (atl4mhob10.myregisteredsite.com [209.17.115.48]) by atl4mhfb03.myregisteredsite.com (8.14.4/8.14.4) with ESMTP id r2HMMGoS007043 for ; Sun, 17 Mar 2013 18:22:16 -0400 Received: from mailpod.hostingplatform.com (mail.networksolutionsemail.com [205.178.146.50]) by atl4mhob10.myregisteredsite.com (8.14.4/8.14.4) with ESMTP id r2HMM92x003495 for ; Sun, 17 Mar 2013 18:22:09 -0400 Received: (qmail 5905 invoked by uid 0); 17 Mar 2013 22:22:09 -0000 Received: from unknown (HELO ?192.168.5.101?) (adamk@mckella280.com@68.45.134.30) by 0 with ESMTPA; 17 Mar 2013 22:22:09 -0000 Message-ID: <51464210.4070801@comcast.net> Date: Sun, 17 Mar 2013 18:22:08 -0400 From: Adam K Kirchhoff User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4 MIME-Version: 1.0 To: "J.R. Oldroyd" Subject: Re: New AMD drm code References: <20130311001858.61224bf6@shibato> <20130311101005.000007d1@unknown> <20130311102210.0b9aa7a3@shibato> <20130311161345.00005499@unknown> <20130314175955.4d1061b2@shibato> In-Reply-To: <20130314175955.4d1061b2@shibato> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-x11@freebsd org" , =?ISO-8859-1?Q?Jean-S=E9bastien_P=E9dron?= X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.14 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, 17 Mar 2013 22:22:23 -0000 On 03/14/2013 05:59 PM, J.R. Oldroyd wrote: > On Mon, 11 Mar 2013 16:13:45 -0400 Adam K Kirchhoff wrote: >> Thanks, that got it working. I haven't had a chance to actually test >> anything that uses DRI, but the module loads: >> > Sorry, been a bit busy this week. > > There are a bunch of of memory leaks in the code as it is at > the moment. I suspect you have noticed that the server gets slow > and eventually stops. If you haven't, try opening two xterms. > Run "top" in one. Run "ls -l /usr/local/bin" a few times in the > other. Observe the Wired and Free counts in the top display. > (It's probably a good idea to reboot before either runs out.) > > Earlier this week I fixed all the Wired page leaks and sent > that patch to dumbbell@. It's not committed yet, though. > > I have also just fixed a bunch of places where a null pointer is > freed and I've fixed a couple of the Free page leaks too. I'll be > sending an updated patch to dumbbell tomorrow evening. > > With any luck, dumbbell will have time to commit some of these > patches to the git repo soon. Maybe this weekend. > > There are fifteen major leaks remaining, although some of these > may be related to one another. I.e., there may be <= 15 bugs > still to find. > > It'd be great to have others help track some of these leaks down. > My time will be limited next week. The codepaths here are rather > convoluted, so it's a bit time-consuming. I have a lot of trace > info about which mallocs are being leaked that I can send to > anyone who can help. > > -jr Well I'm happy to say that X works for me. It starts up, DRI is enabled. Sadly, I only have one functional monitor, according to xrandr, and even that one doesn't report the full 1600x900 resolution that it supports. xrandr maxes out at 1024x768. http://adam-kirchhoff.com/Xorg.0.log http://adam-kirchhoff.com/dmesg.txt DVI-0 is connected but, as you can see in the log file, isn't detected. DVI-1 is at least detected :-) I saw this morning on https://wiki.freebsd.org/AMD_GPU that "EDID is now read properly so the correct resolution is used by X.Org." So I made sure to pull the latest code on the kms-radeon branch from https://github.com/dumbbell/freebsd today and updated the kernel before reporting this here. Adam