From owner-freebsd-questions@FreeBSD.ORG Sun Sep 13 23:15:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C8E91065670 for ; Sun, 13 Sep 2009 23:15:15 +0000 (UTC) (envelope-from jules.stocks@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 58D988FC12 for ; Sun, 13 Sep 2009 23:15:14 +0000 (UTC) Received: by fxm6 with SMTP id 6so1680495fxm.43 for ; Sun, 13 Sep 2009 16:15:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=h3EgII5Ap0Qlk+1ulLlEODOPIcIXN19Dq4lpCjAMJTM=; b=xEx4kayVX8Y9JwCHumwhw2RbN7Gt9vX/+YwgS+9vGpIOVJon3uSk5BH8SQ3VoNpfsm AJ/kxC+ek5aAA3qyZ/8Db2xNxvyNZwN6TAIuE2oXQF4uWEzsElY6fviJaKV/tI0NYKNj srVF8YPG+TmrPS+7zbsgEysuAxps0O/wplr8o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=SlABPCa/RY7JWpvO9LiGKXwaeT0CaQbR+/YM4ScgUiP6sIkzByLv+lMrTOLL6ZIuoF vMP+jNVGZRb3u2I57y6o3t4REHE/ggfy7COe2y7l7XlVhnwmaFpqgdnXfQdYBDPFlxu/ WMWAbALsgGuFgrS4AkrBLI1vNSHkIClWg3uO8= MIME-Version: 1.0 Received: by 10.204.154.83 with SMTP id n19mr4427884bkw.121.1252883711857; Sun, 13 Sep 2009 16:15:11 -0700 (PDT) In-Reply-To: <17216271.1252735922654.JavaMail.root@wamui-june.atl.sa.earthlink.net> References: <17216271.1252735922654.JavaMail.root@wamui-june.atl.sa.earthlink.net> From: Jules Gilbert Date: Sun, 13 Sep 2009 19:14:51 -0400 Message-ID: <28d0cced0909131614x62bcd1a6oe47845d8cc737a19@mail.gmail.com> To: Kenneth Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD-x11@freebsd.org, freebsd-questions@freebsd.org Subject: Re: configuring X on the Presario with the 8200M driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Sep 2009 23:15:15 -0000 Thanks, guys! I intend to set aside some time late this week to try this. I bought one but have not been able to configure the X environment yet; I notice that PC-BSD comes up fine; I thought of doing that and copying the file, but that's about a half day or more of effort that way... Not good. Anyway, a couple questions... Is this likely to be compatible with FBSD 8.0? Or no, and I will just use = 7.2. --jg On Sat, Sep 12, 2009 at 2:12 AM, Kenneth wrote: > Moving this discussion to freebsd-x11. > > I have a Presario CQ60 with the NVIDIA 8200M G, and X is working! > > Here are the steps to get there. =A0Do everything as root: > > 1) Update your ports to the most recent. =A0Follow the FreeBSD manual, se= ction 4.5 Using the Ports Collection, nuke the contents of /usr/ports, and = install a new base using portsnap or cvsup. > > 2) Install the nvidia-driver. > # cd /usr/ports/x11-driver/nvidia-driver > # make install clean =A0(I built with options FREEBSD_AGP checked, ACPI c= hecked, LINUX unchecked). > > 3) You can install 2 more optional tools for configuring the nvidia card = settings. =A0I have not used them, but I installed them. > # cd /usr/ports/x11-driver/nvidia-settings > # make install clean > # cd /usr/ports/x11-driver/nvidia-xconfig > # make install clean > > 4) I also installed the fbdev driver from X.Org. > # cd /usr/ports/x11-drivers/xf86-video-fbdev > # make install clean > > 5) Add the nvidia driver as a dynamically loaded kernel module. > # cd /boot > # vi loader.conf =A0(you better know how to use vi to edit) > --- add the line nvidia_load=3D"YES" > --- it is the only line I have in my loader.conf file > > 6) Reboot the system > # reboot > > 7) If you want to see the version you just installed (your versions may b= e newer than mine below)... > # pkg_info | grep nvidia > nvidia-driver-185.18.29 > nvidia-settings-190.32 > nvidia-xconfig-190.32 > # pkg_info | grep fbdev > xf86-video-fbdev-0.4.0_2 > > 8) Generate your xorg.conf.new file. > # cd /root > # Xorg -configure > > 9) Edit the xorg.conf.new file. > # vi xorg.conf.new > --- change the line =A0 =A0Driver "nv" > =A0 =A0 =A0 =A0 =A0 =A0to read =A0 =A0Driver "nvidia" > > 10) Test the config file. > # Xorg -config xorg.conf -retro > --- you should get a grey screen and your mouse should work, especially i= f your mouse worked when installing FreeBSD > --- to kill the test, press CTRL-ALT-BKSP > > 11) If everything worked, move and rename (drop the new extension) the co= nfig file to the /etc directory > # mv xorg.conf.new /etc/X11/xorg.conf > > 12) Test again. =A0Log in as another user belonging to the wheel group (o= r login as root). > % startx > --- you should get 3 green windows > --- you can kill X by clicking on the large window on the left, and typin= g exit > > > > >