From owner-freebsd-x11@FreeBSD.ORG Wed Apr 24 15:28:32 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 13544611 for ; Wed, 24 Apr 2013 15:28:32 +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 97D261BCA for ; Wed, 24 Apr 2013 15:28:31 +0000 (UTC) Received: from atl4mhob04.myregisteredsite.com (atl4mhob04.myregisteredsite.com [209.17.115.42]) by atl4mhfb03.myregisteredsite.com (8.14.4/8.14.4) with ESMTP id r3OFSUJ8019101 for ; Wed, 24 Apr 2013 11:28:30 -0400 Received: from mail.hostingplatform.com ([10.30.71.203]) by atl4mhob04.myregisteredsite.com (8.14.4/8.14.4) with ESMTP id r3OFSOAQ031198 for ; Wed, 24 Apr 2013 11:28:24 -0400 Received: (qmail 9014 invoked by uid 0); 24 Apr 2013 15:28:24 -0000 Received: from unknown (HELO ?192.168.0.35?) (adamk@mckella280.com@50.78.52.49) by 0 with ESMTPA; 24 Apr 2013 15:28:24 -0000 Message-ID: <5177FA0D.6090704@comcast.net> Date: Wed, 24 Apr 2013 11:28:13 -0400 From: Adam K Kirchhoff User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Jean-S=E9bastien_P=E9dron?= Subject: Re: New AMD drm code References: <20130311001858.61224bf6@shibato> <20130311101005.000007d1@unknown> <20130311102210.0b9aa7a3@shibato> <20130311161345.00005499@unknown> <20130314175955.4d1061b2@shibato> <51464210.4070801@comcast.net> <51464486.6030600@dumbbell.fr> In-Reply-To: <51464486.6030600@dumbbell.fr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: "freebsd-x11@freebsd org" 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: Wed, 24 Apr 2013 15:28:32 -0000 On 3/17/2013 6:32 PM, Jean-Sébastien Pédron wrote: > Le 17/03/2013 23:22, Adam K Kirchhoff a écrit : >> 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. >> >> (...) >> >> 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. > > Hi Adam! > > First, thanks for testing this! > > The EDID fix isn't committed yet, because it affects the i915kms > driver too and I still need to adapt it (or rework the fix). > I'm happy to report that my EDID problems are gone, and an quick initial test of the r600 gallium driver shows: OpenGL vendor string: X.Org OpenGL renderer string: Gallium 0.4 on AMD CAYMAN OpenGL version string: 2.1 Mesa 8.0.5 OpenGL shading language version string: 1.20 It took some editing of the graphics/dri port to even get it to try and build the r600 gallium driver, and then I had to get the build to include /usr/src/contrib/ofed/include/infiniband/byteswap.h. I haven't had a chance to test anything else (as I'm not in front of that computer at the moment), but it's looking good so far. Adam