public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Walter Dnes" <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] xorg.conf tweaks for HTPC machine?
Date: Tue, 18 Dec 2012 20:45:44 -0500	[thread overview]
Message-ID: <20121219014544.GA25162@waltdnes.org> (raw)
In-Reply-To: <20121218225947.GE2701@server>

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


      reply	other threads:[~2012-12-19  1:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-17 16:23 [gentoo-user] xorg.conf tweaks for HTPC machine? Walter Dnes
2012-12-17 18:34 ` pk
2012-12-18  8:17   ` Walter Dnes
2012-12-18 10:02     ` Walter Dnes
2012-12-18 22:01       ` Walter Dnes
2012-12-18 22:59         ` Bruce Hill
2012-12-19  1:45           ` Walter Dnes [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121219014544.GA25162@waltdnes.org \
    --to=waltdnes@waltdnes.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox