Gentoo Archives: gentoo-user

From: Time Lucky <fly8192@×××××.com>
To: gentoo <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Intel and Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits)
Date: Tue, 27 May 2014 16:20:53
Message-Id: CAGFWSnjtb+VoB4RfTp7bRDbVgEcUTaHJpGYTzHObjJ2HnswpVw@mail.gmail.com
In Reply to: Re: [gentoo-user] Intel and Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits) by Alan McKinnon
1 > ​
2 > VIDEO_
3 > ​​
4 > ​​
5 > CARDS="intel radeon -freedreno -i915 -i965 -ilo
6 >
7 ​​
8 -nouveau -r
9 ​​
10 100 -r200 -r300 -r600 -radeonsi -vmware"
11
12
13 Solved!
14
15 I realized that your VIDEO_CARDS was "-i915"
16 then I removed "i915" from make.conf
17
18 # emerge -avtuDN world
19 ​​
20 N
21 ​​
22 ​​
23 ​​
24 ​​
25 ​​
26 ow
27 ​ ​It detects
28 Intel® Sandybridge Mobile
29 ​​
30 ​​
31 ​​
32 ​​
33 ​​
34 ​​
35 ​​
36 ​​
37 ​​
38 ​​
39 ​​
40 ​​
41 ​​
42 ​​
43 ​​
44 ​​
45 ​​
46 ​​
47 ​​
48 ​​
49 ​​
50 ​​
51 ​​
52 ​​
53 ​​
54 ​​
55 ​​
56 ​​
57 ​​
58 ​​
59 ​​
60 ​​
61 ​​
62 ​​
63 ​.​
64
65
66
67 I should follow the wiki just use
68 "intel vesa fbdev"
69
70
71 ​​
72 ​​
73 ​​
74 ​​
75 ​​
76 ​​
77 ​​
78 ​​
79 ​​
80 ​​
81 ​​
82 ​​
83 ​​
84 ​​
85 ​​
86 ​​
87 ​​
88 ​​
89 ​​
90 ​​
91 ​​
92 ​​
93 ​​
94 ​​
95 ​​
96 ​​
97 ​​
98 ​​
99 ​​
100 ​​
101 ​​
102 ​​
103 ​​
104 ​​
105 ​​
106 ​Everything is OK though I can't understand why I must remove "i915"
107 when Intel® Sandybridge Mobile 's driver is called "i915" in kernel modules.
108
109 ​​
110
111
112 Thank you :)
113
114
115
116
117 2014-05-27 22:50 GMT+08:00 Alan McKinnon <alan.mckinnon@×××××.com>:
118
119 > On 27/05/2014 15:23, Time Lucky wrote:
120 > > My USE in make.conf is
121 > > SE="bindist mmx mmx2 sse sse2 gnome gtk dbus systemd -consolekit -kde
122 > > -qt4 X acpi bash-completion bluetooth cjk unicode ipv6"
123 >
124 >
125 >
126 > At a hunch, I would say your USE for mesa is incorrect, possibly you
127 > have classic enabled and gallium disabled?
128 >
129 > Here's mine which works for me with an i915:
130 >
131 > [I] media-libs/mesa
132 > Installed versions: 10.1.4(09:27:10 25/05/2014)(dri3 egl gallium
133 > gbm gles2 nptl xvmc -bindist -classic -debug -gles1 -llvm -opencl
134 > -openvg -osmesa -pax_kernel -pic -r600-llvm-compiler -selinux -vdpau
135 > -wayland -xa ABI_MIPS="-n32 -n64 -o32" ABI_X86="64 -32 -x32"
136 > KERNEL="-FreeBSD" VIDEO_CARDS="intel radeon -freedreno -i915 -i965 -ilo
137 > -nouveau -r100 -r200 -r300 -r600 -radeonsi -vmware")
138 >
139 > >
140 > >
141 > >
142 > > 2014-05-27 21:21 GMT+08:00 Time Lucky <fly8192@×××××.com
143 > > <mailto:fly8192@×××××.com>>:
144 > >
145 > > "intel vesa fbdev" comes from
146 > > "http://www.thinkwiki.org/wiki/Installing_Gentoo_on_a_ThinkPad_X220"
147 > > "i915" comes from gentoo forums.
148 > > So VIDEO_CARDS="intel i915 vesa fbdev"
149 > >
150 > > # equery u x11-drivers/xf86-video-inte
151 > > it tells the USE is "dri sna udev" ,while "debug glamor uxa xvmc" is
152 > > disabled
153 > >
154 > > # equery files x11-drivers/xf86-video-intel
155 > > * Searching for xf86-video-intel in x11-drivers ...
156 > > * Contents of x11-drivers/xf86-video-intel-2.99.911-r1:
157 > > /usr
158 > > /usr/bin
159 > > /usr/bin/intel-virtual-output
160 > > /usr/lib64
161 > > /usr/lib64/xorg
162 > > /usr/lib64/xorg/modules
163 > > /usr/lib64/xorg/modules/drivers
164 > > /usr/lib64/xorg/modules/drivers/intel_drv.so
165 > > /usr/libexec
166 > > /usr/libexec/xf86-video-intel-backlight-helper
167 > > /usr/share
168 > > /usr/share/doc
169 > > /usr/share/doc/xf86-video-intel-2.99.911-r1
170 > > /usr/share/doc/xf86-video-intel-2.99.911-r1/AUTHORS.bz2
171 > > /usr/share/doc/xf86-video-intel-2.99.911-r1/ChangeLog.bz2
172 > > /usr/share/doc/xf86-video-intel-2.99.911-r1/NEWS.bz2
173 > > /usr/share/doc/xf86-video-intel-2.99.911-r1/README.bz2
174 > > /usr/share/man
175 > > /usr/share/man/man4
176 > > /usr/share/man/man4/intel-virtual-output.4.bz2
177 > > /usr/share/man/man4/intel.4.bz2
178 > > /usr/share/polkit-1
179 > > /usr/share/polkit-1/actions
180 > >
181 > /usr/share/polkit-1/actions/org.x.xf86-video-intel.backlight-helper.policy
182 > >
183 > >
184 > >
185 > > 2014-05-27 21:07 GMT+08:00 Alan McKinnon <alan.mckinnon@×××××.com
186 > > <mailto:alan.mckinnon@×××××.com>>:
187 > >
188 > > On 27/05/2014 14:52, Time Lucky wrote:
189 > > > Hey,guys.
190 > > >
191 > > > Anyone can tell me how to switch Gallium 0.4 to intel driver?
192 > > > I dont know why it happened but now my computer is very slow
193 > > when I use
194 > > > gnome 3.10.
195 > > >
196 > > > $ /usr/libexec/gnome-session-check-accelerated-helper -v
197 > > > libGL error: dlopen /usr/lib64/dri/i965_dri.so failed
198 > > > (/usr/lib64/dri/i965_dri.so: cannot open shared object file:
199 > > No such
200 > > > file or directory)
201 > > > libGL error: unable to load driver: i965_dri.so
202 > > > libGL error: driver pointer missing
203 > > > libGL error: failed to load driver: i965
204 > > > gnome-session-is-accelerated: llvmpipe detected.
205 > > >
206 > > > Thank you.
207 > > >
208 > >
209 > >
210 > > What do you have in VIDEO_CARDS?
211 > > What use flags are set for xf86-video-intel?
212 > >
213 > > As I understand it, the packages use those 2 magic settings and
214 > > build
215 > > the right thing for you. If that all looks OK, what do you get
216 > from
217 > >
218 > > equery files x11-drivers/xf86-video-intel
219 > >
220 > > ?
221 > >
222 > > --
223 > > Alan McKinnon
224 > > alan.mckinnon@×××××.com <mailto:alan.mckinnon@×××××.com>
225 > >
226 > >
227 > >
228 > >
229 >
230 >
231 > --
232 > Alan McKinnon
233 > alan.mckinnon@×××××.com
234 >
235 >
236 >

Replies

Subject Author
Re: [gentoo-user] Intel and Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits) Alan McKinnon <alan.mckinnon@×××××.com>