From owner-freebsd-ppc@FreeBSD.ORG Mon Apr 14 09:17:44 2014 Return-Path: Delivered-To: powerpc@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 7AB25E9A; Mon, 14 Apr 2014 09:17:44 +0000 (UTC) Date: Mon, 14 Apr 2014 09:17:44 +0000 From: Alexey Dokuchaev To: Tilman =?koi8-r?B?S2Vza2luw7Z6?= Subject: Re: Xorg on FreeBSD 10.x. Mac mini G4: black screen Message-ID: <20140414091744.GB22618@FreeBSD.org> References: <534A7559.1010309@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <534A7559.1010309@FreeBSD.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: powerpc@freebsd.org, x11@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2014 09:17:44 -0000 On Sun, Apr 13, 2014 at 01:30:33PM +0200, Tilman Keskinöz wrote: > Does anyone have X11 working on a G4 mac mini and might want to share > his xorg.conf and what version he is running? I have X11 more or less running on fresh -CURRENT. However, I don't have HW acceleration (I've reported it previously on the list couple of times: http://lists.freebsd.org/pipermail/freebsd-ppc/2014-March/006914.html). > Section "Device" > ### Available Driver options are:- > ### Values: : integer, : float, : "True"/"False", > ### : "String", : " Hz/kHz/MHz" > ### [arg]: arg optional > #Option "NoAccel" # [] > Option "NoAccel" Why did you need to uncomment "NoAccel"? > #Option "R4xxATOM" # [] > #Option "ForceLowPowerMode" # [] > #Option "DynamicPM" # [] > #Option "NewPLL" # [] > #Option "ZaphodHeads" # I have Option "UseFBDev" "false" here in mine; you might also need it; while X.org will complain that "Option "UseFBDev" is not used" in the log, I still think it helps (at the early stage?) to select correct video device (e.g. ATI driver vs. framebuffer mode). I also had to specify exact modeline for my LCD monitor in "Monitor" section (http://lists.freebsd.org/pipermail/freebsd-ppc/2014-March/006916.html), but that might be due to adapter usage. Do you have set sysctl hw.ofwfb.relax_mmap=1? (It's hard to tell without seeing your /var/log/Xorg.0.log.) Nathan is right; you should start a few different programs in ~/.xinitrc that create windows, e.g: xterm & xclock & exec openbox ./danfe