From owner-freebsd-ppc@FreeBSD.ORG Wed Jul 6 22:56:12 2005 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 777C816A41C for ; Wed, 6 Jul 2005 22:56:12 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE72E43D45 for ; Wed, 6 Jul 2005 22:56:11 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from [203.144.2.137] (CPE-2-137.dsl.OntheNet.net [203.144.2.137]) by liberty.onthenet.com.au (8.12.9 - 20030918/8.12.9) with ESMTP id j66Mu67v072809; Thu, 7 Jul 2005 08:56:07 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <42CC6180.3090102@freebsd.org> Date: Thu, 07 Jul 2005 08:56:00 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.2) Gecko/20041016 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sean_Welch@alum.wofford.org References: <20050705163155.GA18493@NitroPhys.welchsmnet.net> <42CB0C67.7030705@freebsd.org> <20050706011247.GA20055@NitroPhys.welchsmnet.net> <42CB3243.2010804@freebsd.org> <20050706221854.GA23695@NitroPhys.welchsmnet.net> In-Reply-To: <20050706221854.GA23695@NitroPhys.welchsmnet.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: Mac Mini and Xorg X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jul 2005 22:56:12 -0000 Hi Sean, > I rebuilt X and tried to run it after setting the specified sysctl > and it gets further now than it did earlier. It is currently > complaining that there are no valid modes for the driver to use for > my monitor -- this may be a side effect of the mismatched > kernel/userland situation. I'll try again when I get everything > sync'd up. I don't think that's a side-effect. If you look at /var/log/Xorg.0.log it should show the modes that it's trying to use. From what I've seen, X isn't able to query the monitor properly. This may be another ppc signed char bug embedded deep within. Net result is that you have to specify the monitor's HorizSync and VertRefresh ranges so Xorg can pick an appropriate modeline. It'll take me a while to dig up my mini's Xorg.conf - Tilman, if you're reading, do you have your's handy ? > By the way, I just took a chance and stripped out anything in the > radeon_driver diff I made earlier that was not ifdef'd and > everything seemed to compile fine when I combined it with the > already present patches in the port. I think you have to keep the non ifdef'd lines of the form vgaHWSave(pScrn, &hwp->SavedReg, VGA_SR_ALL); ... since that was the issue when VTY switching. later, Peter.