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: Wed, 28 May 2014 13:46:39
Message-Id: CAGFWSni0FwM+QrU2ZYWR8MfMsMOTg9_XW8tVt4NdoV1GONppLA@mail.gmail.com
In Reply to: Re: [gentoo-user] Intel and Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits) by Time Lucky
1 Now I change the VIDEO_CARDS to "intel i965"
2 Everything seems OK too.
3 Gnome can detect Intel® Sandybridge Mobile rather than Gallium 0.4 for i915
4 I dont know the difference between classic and gallium but i965's classic
5 mode works well.
6 By the way, I think i965 is just for HD3000, why does i915 be suggested
7 ?
8
9
10 # eselect mesa list
11 i915 (Intel 915, 945)
12 i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
13 [1] classic *
14 r300 (Radeon R300-R500)
15 r600 (Radeon R600-R700, Evergreen, Northern Islands)
16 sw (Software renderer)
17 [1] classic
18 [2] gallium *
19
20
21
22 2014-05-28 21:14 GMT+08:00 Time Lucky <fly8192@×××××.com>:
23
24 >
25 > #emacs /etc/portage/make.conf
26 > VIDEO_CARDS="intel i915"
27 >
28 > # emerge -av xorg-drivers mesa
29 > # reboot
30 > # eselect mesa list
31 >
32 > 915 (Intel 915, 945)
33 > [1] classic
34 > [2] gallium *
35 > i965 (Intel GMA 965, G/Q3x, G/Q4x, HD)
36 > r300 (Radeon R300-R500)
37 > r600 (Radeon R600-R700, Evergreen, Northern Islands)
38 > sw (Software renderer)
39 > [1] classic
40 > [2] gallium *
41 >
42 > and gnome tells it is "Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits)" again.
43 >
44 > it seems "i915" is the very reason.
45 >
46 >
47 >
48 > 2014-05-28 15:14 GMT+08:00 Mick <michaelkintzios@×××××.com>:
49 >
50 > On Tuesday 27 May 2014 22:41:32 Alan McKinnon wrote:
51 >> > On 27/05/2014 18:20, Time Lucky wrote:
52 >> > > ​
53 >> > >
54 >> > > VIDEO_CARDS="intel radeon -freedreno -i915 -i965 -ilo -nouveau
55 >> -r100
56 >> > > -r200 -r300 -r600 -radeonsi -vmware"
57 >> > > ​
58 >> > > ​
59 >> > > Solved!
60 >> > >
61 >> > > I realized that your VIDEO_CARDS was "-i915"
62 >> > > then I removed "i915" from make.conf
63 >>
64 >> I wouldn't. Unless you also have NVidia and Radeon cards too on your
65 >> machine
66 >> you do not all these entries.
67 >>
68 >> Try this in your /etc/make.conf:
69 >>
70 >> VIDEO_CARDS="intel i915"
71 >>
72 >> Then rebuild your xorg drivers and mesa. Finally run 'eselect mesa list'
73 >> to
74 >> see if you are using gallium or not. Adjust accordingly.
75 >>
76 >>
77 >> > Take what I say here with a pinch of salt (building the right drivers
78 >> > with the right settings to work right on the right hardware is, IMNSHO,
79 >> > a huge amount of black magic :-)
80 >> >
81 >> >
82 >> > anyway, I seem to recall that USE=i915 or i965 was the old way of doing
83 >> > things and you needed to know what chipset to build for. Recent code has
84 >> > merged all of that nonsense so all you have to do is set
85 >> > VIDEO_CARDS="intel" and emerge can figure out what to build for the
86 >> > hardware it's running on.
87 >>
88 >> Unless it changed recently, you would need to add the mesa module name for
89 >> your card too.
90 >>
91 >> --
92 >> Regards,
93 >> Mick
94 >>
95 >
96 >

Replies

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