Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] xorg.conf tweaks for HTPC machine?
Date: Tue, 18 Dec 2012 10:04:00
Message-Id: 20121218100232.GA18958@waltdnes.org
In Reply to: Re: [gentoo-user] xorg.conf tweaks for HTPC machine? by Walter Dnes
1 "Walter's Excellent Adventure" Chapter 2
2
3 On Tue, Dec 18, 2012 at 03:17:59AM -0500, Walter Dnes wrote
4
5 > I ran "emerge -pv mesa", and discovered that mesa had been merged with
6 > USE="-xorg". This is what I get for starting USE with "-*"...
7 > http://media.comicvine.com/uploads/11/117774/2361934-double_facepalm.jpg
8 >
9 > I emerged mesa with "xorg" USE flag, and 1366x768 now works fine. One
10 > problem down and one to go. I had merged mesa with the "intel" USE
11 > flag. It also has "i915" and i965" USE flags. If I can get the i965
12 > driver built, I'd go from "software acceleration" to hardware
13 > acceleration. That's my next step.
14
15 Now things start to get *REALLY* weird.
16
17 * Using VIDEO_CARDS="i965" in make.conf enables DRI2 hardware acceleration
18 * But it requires the "classic" USE flag for mesa
19 * The "xorg" USE flag also makes mesa require the "gallium" USE flag
20 * Building mesa with *BOTH* "classic" and "gallium" works
21 * And it runs in 1366x768 mode
22 * And it runs *ONLY* in 1366x768 mode. xrandr does not change the
23 resolution, notwithstanding the gazillion modes it lists
24 * I went back to mesa without the "xorg" and "gallium" flags to simplify
25 my setup
26 * Again, it runs 1366x768, and *ONLY* 1366x768. But it does have
27 hardware acceleration
28 * And yes, I did try replacing the xf86-video-intel driver with
29 xf86-video-modesetting. No X.
30 * So the one change I've made after all this fooling around is to change
31 the VIDEO_CARDS setting in make.conf from "intel" to "i965".
32
33 The net change is that...
34 * the TV displays in native 1366x768 mode, and *ONLY* 1366x768 mode
35 * X now has hardware acceleration
36
37 --
38 Walter Dnes <waltdnes@××××××××.org>
39 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] xorg.conf tweaks for HTPC machine? Walter Dnes <waltdnes@××××××××.org>