From owner-freebsd-questions@FreeBSD.ORG Sat Sep 12 06:22:44 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 DAD911065672; Sat, 12 Sep 2009 06:22:44 +0000 (UTC) (envelope-from kennethcf@earthlink.net) Received: from elasmtp-banded.atl.sa.earthlink.net (elasmtp-banded.atl.sa.earthlink.net [209.86.89.70]) by mx1.freebsd.org (Postfix) with ESMTP id 9EF128FC0C; Sat, 12 Sep 2009 06:22:44 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=OVFpSmHrDtkziWD9vf0FxNXxsL1mJ2lz2M2njQXlfh6JZrpryMwUYyfEnZHvN3lc; h=Message-ID:Date:From:Reply-To:To:Subject:Cc:Mime-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:X-ELNK-Trace:X-Originating-IP; Received: from [209.86.224.65] (helo=wamui-june.atl.sa.earthlink.net) by elasmtp-banded.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1MmLq6-0003MU-ST; Sat, 12 Sep 2009 02:12:02 -0400 Received: from 66.32.238.44 by webmail.c.earthlink.net with HTTP; Sat, 12 Sep 2009 02:12:02 -0400 Message-ID: <17216271.1252735922654.JavaMail.root@wamui-june.atl.sa.earthlink.net> Date: Sat, 12 Sep 2009 02:12:02 -0400 (EDT) From: Kenneth To: freebsd-questions@freebsd.org, FreeBSD-x11@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Mailer: EarthLink Zoo Mail 1.0 X-ELNK-Trace: fa60bc5202b74016ef7f91bc926e004c7e972de0d01da940411ada4204e2a0845a15615efe4f696d350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 209.86.224.65 Cc: jules.stocks@gmail.com Subject: configuring X on the Presario with the 8200M driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kenneth List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Sep 2009 06:22:45 -0000 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. Do everything as root: 1) Update your ports to the most recent. Follow the FreeBSD manual, section 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 (I built with options FREEBSD_AGP checked, ACPI checked, LINUX unchecked). 3) You can install 2 more optional tools for configuring the nvidia card settings. I 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 (you better know how to use vi to edit) --- add the line nvidia_load="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 be 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 Driver "nv" to read Driver "nvidia" 10) Test the config file. # Xorg -config xorg.conf -retro --- you should get a grey screen and your mouse should work, especially if 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 config file to the /etc directory # mv xorg.conf.new /etc/X11/xorg.conf 12) Test again. Log in as another user belonging to the wheel group (or login as root). % startx --- you should get 3 green windows --- you can kill X by clicking on the large window on the left, and typing exit