Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: 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 14:51:20
Message-Id: 5384A634.9010003@gmail.com
In Reply to: Re: [gentoo-user] Intel and Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits) by Time Lucky
1 On 27/05/2014 15:23, Time Lucky wrote:
2 > My USE in make.conf is
3 > SE="bindist mmx mmx2 sse sse2 gnome gtk dbus systemd -consolekit -kde
4 > -qt4 X acpi bash-completion bluetooth cjk unicode ipv6"
5
6
7
8 At a hunch, I would say your USE for mesa is incorrect, possibly you
9 have classic enabled and gallium disabled?
10
11 Here's mine which works for me with an i915:
12
13 [I] media-libs/mesa
14 Installed versions: 10.1.4(09:27:10 25/05/2014)(dri3 egl gallium
15 gbm gles2 nptl xvmc -bindist -classic -debug -gles1 -llvm -opencl
16 -openvg -osmesa -pax_kernel -pic -r600-llvm-compiler -selinux -vdpau
17 -wayland -xa ABI_MIPS="-n32 -n64 -o32" ABI_X86="64 -32 -x32"
18 KERNEL="-FreeBSD" VIDEO_CARDS="intel radeon -freedreno -i915 -i965 -ilo
19 -nouveau -r100 -r200 -r300 -r600 -radeonsi -vmware")
20
21 >
22 >
23 >
24 > 2014-05-27 21:21 GMT+08:00 Time Lucky <fly8192@×××××.com
25 > <mailto:fly8192@×××××.com>>:
26 >
27 > "intel vesa fbdev" comes from
28 > "http://www.thinkwiki.org/wiki/Installing_Gentoo_on_a_ThinkPad_X220"
29 > "i915" comes from gentoo forums.
30 > So VIDEO_CARDS="intel i915 vesa fbdev"
31 >
32 > # equery u x11-drivers/xf86-video-inte
33 > it tells the USE is "dri sna udev" ,while "debug glamor uxa xvmc" is
34 > disabled
35 >
36 > # equery files x11-drivers/xf86-video-intel
37 > * Searching for xf86-video-intel in x11-drivers ...
38 > * Contents of x11-drivers/xf86-video-intel-2.99.911-r1:
39 > /usr
40 > /usr/bin
41 > /usr/bin/intel-virtual-output
42 > /usr/lib64
43 > /usr/lib64/xorg
44 > /usr/lib64/xorg/modules
45 > /usr/lib64/xorg/modules/drivers
46 > /usr/lib64/xorg/modules/drivers/intel_drv.so
47 > /usr/libexec
48 > /usr/libexec/xf86-video-intel-backlight-helper
49 > /usr/share
50 > /usr/share/doc
51 > /usr/share/doc/xf86-video-intel-2.99.911-r1
52 > /usr/share/doc/xf86-video-intel-2.99.911-r1/AUTHORS.bz2
53 > /usr/share/doc/xf86-video-intel-2.99.911-r1/ChangeLog.bz2
54 > /usr/share/doc/xf86-video-intel-2.99.911-r1/NEWS.bz2
55 > /usr/share/doc/xf86-video-intel-2.99.911-r1/README.bz2
56 > /usr/share/man
57 > /usr/share/man/man4
58 > /usr/share/man/man4/intel-virtual-output.4.bz2
59 > /usr/share/man/man4/intel.4.bz2
60 > /usr/share/polkit-1
61 > /usr/share/polkit-1/actions
62 > /usr/share/polkit-1/actions/org.x.xf86-video-intel.backlight-helper.policy
63 >
64 >
65 >
66 > 2014-05-27 21:07 GMT+08:00 Alan McKinnon <alan.mckinnon@×××××.com
67 > <mailto:alan.mckinnon@×××××.com>>:
68 >
69 > On 27/05/2014 14:52, Time Lucky wrote:
70 > > Hey,guys.
71 > >
72 > > Anyone can tell me how to switch Gallium 0.4 to intel driver?
73 > > I dont know why it happened but now my computer is very slow
74 > when I use
75 > > gnome 3.10.
76 > >
77 > > $ /usr/libexec/gnome-session-check-accelerated-helper -v
78 > > libGL error: dlopen /usr/lib64/dri/i965_dri.so failed
79 > > (/usr/lib64/dri/i965_dri.so: cannot open shared object file:
80 > No such
81 > > file or directory)
82 > > libGL error: unable to load driver: i965_dri.so
83 > > libGL error: driver pointer missing
84 > > libGL error: failed to load driver: i965
85 > > gnome-session-is-accelerated: llvmpipe detected.
86 > >
87 > > Thank you.
88 > >
89 >
90 >
91 > What do you have in VIDEO_CARDS?
92 > What use flags are set for xf86-video-intel?
93 >
94 > As I understand it, the packages use those 2 magic settings and
95 > build
96 > the right thing for you. If that all looks OK, what do you get from
97 >
98 > equery files x11-drivers/xf86-video-intel
99 >
100 > ?
101 >
102 > --
103 > Alan McKinnon
104 > alan.mckinnon@×××××.com <mailto:alan.mckinnon@×××××.com>
105 >
106 >
107 >
108 >
109
110
111 --
112 Alan McKinnon
113 alan.mckinnon@×××××.com

Replies

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