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

Replies

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