From owner-freebsd-x11@FreeBSD.ORG Mon Feb 3 13:31:59 2014 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 13605D8A for ; Mon, 3 Feb 2014 13:31:59 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A59A518B4 for ; Mon, 3 Feb 2014 13:31:58 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id s13DVvJh025399; Mon, 3 Feb 2014 06:31:57 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id s13DVuBI025396; Mon, 3 Feb 2014 06:31:56 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Mon, 3 Feb 2014 06:31:56 -0700 (MST) From: Warren Block To: M Barrassed Subject: Re: copy Linux/OpenBSD's Xorg settings? In-Reply-To: <20140203081956.GB10262@nnn> Message-ID: References: <20140203081956.GB10262@nnn> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Mon, 03 Feb 2014 06:31:57 -0700 (MST) Cc: freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Feb 2014 13:31:59 -0000 On Mon, 3 Feb 2014, M Barrassed wrote: > I've been using FreeBSD for over 12 years, but having a hard time getting Xorg working on a Lenovo W520 Thinkpad. That machine has options for video, either the integrated Intel graphics in the processor, or extra Nvidia graphics with the "Optimus" setup. Intel video up to Ivy Bridge is supported by KMS drivers, reference here: https://wiki.freebsd.org/Graphics At present, there is no Optimus support for FreeBSD. It may be possible to disable the Nvidia graphics in the BIOS and use just the Intel graphics. Sorry, no idea what is needed to enable Optimus. > But when I do the `Xorg -config xorg.conf.new -retro` step, neither keyboard nor mouse/touchpad are recognized, and the resolutions settings look way off. That is likely due to the vesa driver being used because KMS drivers have not been installed, see above. By default, the keyboard and mouse depend on hal and dbus being enabled and running. That is best disabled by adding Option "AutoAddDevices" "Off" to the ServerLayout section of xorg.conf. > MY QUESTION: > > How can I copy the Xorg settings from my OpenBSD or Linux installation into my FreeBSD 10 installation? It probably is not an xorg.conf problem, more likely a combination of needing KMS drivers and Optimus disabled, and so a copied xorg.conf may not work anyway. > The others don't seem to have an obvious xorg.conf file anywhere, so I'm stumped for where else to look. xorg.conf is not required, X can auto-configure most devices and it is often better to run that way. Or they may not put xorg.conf in /etc. There are several other locations that work. On FreeBSD, the right place is /usr/local/etc/X11/xorg.conf. > Thank you and sorry for the dumb question. It's not a dumb question. Right now, X on FreeBSD is a bit complicated.