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 <waltd...@waltdnes.org>
I don't run "desktop environments"; I run useful applications

Reply via email to