From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6E7F71381F3 for ; Wed, 19 Dec 2012 01:47:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B704321C10C; Wed, 19 Dec 2012 01:47:34 +0000 (UTC) Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by pigeon.gentoo.org (Postfix) with ESMTP id 39C8221C0AF for ; Wed, 19 Dec 2012 01:45:51 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgwKAG6Zu09FxLGA/2dsb2JhbABEsnYDgRiBCIIVAQEFOhwzCxgcEhQlNwkSh3MLuX6LCFqBRII8YgOIQoR8h1yFX4g6gViDBw X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="210261455" Received: from 69-196-177-128.dsl.teksavvy.com (HELO waltdnes.org) ([69.196.177.128]) by ironport2-out.teksavvy.com with SMTP; 18 Dec 2012 20:45:49 -0500 Received: by waltdnes.org (sSMTP sendmail emulation); Tue, 18 Dec 2012 20:45:44 -0500 From: "Walter Dnes" Date: Tue, 18 Dec 2012 20:45:44 -0500 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] xorg.conf tweaks for HTPC machine? Message-ID: <20121219014544.GA25162@waltdnes.org> References: <20121217162311.GA11172@waltdnes.org> <50CF65AE.4020308@coolmail.se> <20121218081758.GA13736@waltdnes.org> <20121218100232.GA18958@waltdnes.org> <20121218220159.GA31334@waltdnes.org> <20121218225947.GE2701@server> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121218225947.GE2701@server> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 1f41b870-6817-4b49-a6c6-367bdc8039f9 X-Archives-Hash: 7527e6b5a9a127b10ceacd5107ea1843 On Tue, Dec 18, 2012 at 04:59:47PM -0600, Bruce Hill wrote > On Tue, Dec 18, 2012 at 05:01:59PM -0500, Walter Dnes wrote: > > > > With hardware acceleration enable for the onboard Intel GPU, I > > can now dump the Nvidia card. > > Can you give me some guide, or advice for this ... other than the > standard http://www.gentoo.org/doc/en/xorg-config.xml ? > > Any push in the right direction would be appreciated. The reason I discovered the solution was that I looked through the /var/log/Xorg.0.log file. This file is usually 95+% boring technical detail. Near the top of the log file is a section that says... [ ??.???] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. I suggest viewing the log file with your favourite editor, and doing a case-sensitive search on the 2 strings "(EE)" and "DRI" (without the quotes). That was what tipped me off to the fact that... a) there was a problem with DRI b) what file Xorg was looking for that it couldn't find Knowing that info, you can put the appropriate entries into the VIDEO_CARDS variable in make.conf. Intel is a bit weird; it wants both intel and the major driver version. E.g. for my older desktop... VIDEO_CARDS="i915 intel" ...and for my newer HTPC machine... VIDEO_CARDS="i965 intel" Then re-emerge mesa. If Portage asks you to change some USE flags as part of the process, do so unless it causes problems. Once mesa is rebuilt, run... emerge -pv --newuse --deep world This will give a "pretend" run. If it looks OK, run it for real... emerge --newuse --deep world Again, portage may suggest changing some flags. I ended up having to rebuild xorg-server and one lib. After that, run revdep-rebuild. And if you're changing the card type, you'll have to make the corresponding changes in the kernel via "make menuconfig", rebuild the kernel, and reboot. If you get lost, ask here. Copy the relevant error messages from your Xorg.0.log file to help track down the problem. -- Walter Dnes I don't run "desktop environments"; I run useful applications