Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2014 09:17:44 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Tilman =?koi8-r?B?S2Vza2luw7Z6?= <arved@FreeBSD.org>
Cc:        powerpc@freebsd.org, x11@freebsd.org
Subject:   Re: Xorg on FreeBSD 10.x. Mac mini G4: black screen
Message-ID:  <20140414091744.GB22618@FreeBSD.org>
In-Reply-To: <534A7559.1010309@FreeBSD.org>
References:  <534A7559.1010309@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <i>: integer, <f>: float, <bool>: "True"/"False",
>         ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
>         ### [arg]: arg optional
>         #Option     "NoAccel"            	# [<bool>]
> 		Option "NoAccel"

Why did you need to uncomment "NoAccel"?

>         #Option     "R4xxATOM"           	# [<bool>]
>         #Option     "ForceLowPowerMode"  	# [<bool>]
>         #Option     "DynamicPM"          	# [<bool>]
>         #Option     "NewPLL"             	# [<bool>]
>         #Option     "ZaphodHeads"        	# <str>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140414091744.GB22618>