Gentoo Archives: gentoo-user

From: "Andrés Becerra Sandoval" <andres.becerra@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Intel dilemma
Date: Tue, 22 Sep 2009 19:33:35
Message-Id: 221c6fc80909221233t53efaaf8w6a89e9baf422031@mail.gmail.com
In Reply to: [gentoo-user] Re: Intel dilemma by Simon Hunt
1 On Sat, Aug 29, 2009 at 11:37 PM, Simon Hunt <chesemonkyloma@×××××.com> wrote:
2 > On Sat, Aug 29, 2009 at 10:30:02PM -0400, Simon Hunt wrote:
3 >> On Sat, Aug 29, 2009 at 02:00:35PM -0400, Simon Hunt wrote:
4 >> > I posted this on the forums but I want some more information. I have a
5 >> > bit of a dilemma. With these settings,
6 >> >
7 >> > xf86-video-intel: 2.6.3-r1 xorg-server: 1.6.2-r1 and 1.6.3 kernel
8 >> > module: i830 kernel: gentoo 2.6.29-r5 and 2.6.30-r4
9 >> >
10 >> > sometimes when stopping or starting X my computer would freeze and there
11 >> > would be no video output. However, other than that, inside Gnome Firefox
12 >> > ran pretty smoothly, not incredibly fast, but not sluggishly at all.
13 >> > With these settings,
14 >> >
15 >> > xf86-video-intel: 2.8.0 xorg-server: 1.6.3 kernel module: i915 kernel:
16 >> > vanilla 2.6.31_rc7
17 >> >
18 >> >
19 >> > X starts and stops very smoothly without ever freezing, I think because
20 >> > of the KMS. But Firefox runs sluggishly and my whole machine freezes in
21 >> > Firefox frequently. According to this,
22 >> > http://www.x.org/wiki/IntelGraphicsDriver, the 2.8.0 driver drops
23 >> > support for XAA and EXA, but has no UXA support for my graphics card
24 >> > (865G), so I think I'm getting no 2D acceleration. Could that be the
25 >> > reason Firefox is so slow? As for the freezes, I think that's just
26 >> > because the newer driver is unstable. What are the optimum driver and
27 >> > kernel versions for my graphics card, the 865G? Also, the reason I'm
28 >> > using the 2.6.31 kernel is because that X.Org wiki page says it works
29 >> > best with the 2.8.0 intel driver. Oh, and what exactly is the kernel
30 >> > module for and what are the differences between the i830 and i915?
31 >> >
32 >> > Pappy told me I should use kernel .27, and that KMS support right now
33 >> > for my card is very unstable. Anyway, I just want to know the best
34 >> > options right now for my card which is the 865G.
35 >>
36 >> Okay, my current setup is
37 >> xf86-video-intel: 2.7.1
38 >> xorg-server: 1.6.3.901
39 >> kernel: 2.6.30-r4 with i915
40 >>
41 >> and it never freezes while starting or stopping, and it never lags in
42 >> Firefox. The only way this differs from my old setup is the xorg-server,
43 >> so I think they may have fixed the freezing issue in the version. I
44 >> tried both suggestions, and I don't know why but they just didn't work
45 >> for me. Thanks for all the help though! Oh by the way, the only reason I
46 >> even tried this was because I had to use a different kernel to get into
47 >> X and it just happened to work perfectly!
48 >
49 > No, I was wrong. I also changed my xf86-video-intel, and THAT is what
50 > fixed the freezing problem, but now I have another freezing problem
51 > which I think is cause by the new intel driver because it happened in
52 > several versions of xorg-server.
53 >
54 >
55
56 Finally is working on gentoo (with extra patches):
57
58 x11-base/xorg-server-1.6.3.901-r2
59 sys-kernel/gentoo-sources-2.6.31
60 media-libs/mesa-7.5.1
61 x11-libs/libdrm-2.4.13
62
63 But kernel must be patched with:
64
65 http://lists.freedesktop.org/archives/intel-gfx/2009-September/004122.html
66
67 My /etc/X11/xorg.conf :
68
69 Section "ServerLayout"
70 Identifier "X.org Configured"
71 Screen 0 "Screen0" 0 0
72 #Option "AIGLX" "true"
73 EndSection
74
75 Section "Extensions"
76 #Option "Composite" "Enable"
77 EndSection
78
79 Section "Device"
80 Identifier "int"
81 Driver "intel"
82 Option "AccelMethod" "UXA"
83 #Option "Tiling" "False"
84 EndSection
85
86 Section "Module"
87 Load "extmod"
88 Load "dri"
89 Load "dbe"
90 Load "glx"
91 Load "freetype"
92 EndSection
93
94 Section "Screen"
95 Identifier "Screen0"
96 Monitor "Monitor0"
97 Device "int"
98 SubSection "Display"
99 Viewport 0 0
100 Depth 24
101 EndSubSection
102 EndSection
103
104
105 --
106 Andrés