1 |
On Sun, Sep 25, 2016 at 11:29 PM, Michał Górny <mgorny@g.o> wrote: |
2 |
|
3 |
> On Mon, 26 Sep 2016 08:18:27 +0200 |
4 |
> Michał Górny <mgorny@g.o> wrote: |
5 |
> |
6 |
> > On Mon, 26 Sep 2016 00:42:11 +0300 |
7 |
> > Mart Raudsepp <leio@g.o> wrote: |
8 |
> > |
9 |
> > > Ühel kenal päeval, P, 25.09.2016 kell 23:08, kirjutas Michał Górny: |
10 |
> > > > I'd like to introduce a new USE_EXPAND for LLVM & clang. It'd be |
11 |
> > > > named |
12 |
> > > > LLVM_TARGETS, and it's going to replace the current solution based on |
13 |
> > > > USE=multitarget & VIDEO_CARDS=radeon. |
14 |
> > > > |
15 |
> > > > - VIDEO_CARDS=radeon enabled additional R600 target, |
16 |
> > > |
17 |
> > > No. It enables AMDGPU target these days, which is for the modern stuff |
18 |
> > > and very much needed by them. |
19 |
> > > r600 stuff was in the llvm 3.3-3.6 era, which was used by old |
20 |
> > > experimental mesa[r600-llvm-compiler] as an alternative shader compiler |
21 |
> > > for r600 instead of builtin mesa stuff. This work has been ditched long |
22 |
> > > ago afaik. |
23 |
> > > Instead now VIDEO_CARDS=radeon is required on llvm for radeonsi and |
24 |
> > > later AMD GPUs for _ANY_ shader compiler support at all, plus other |
25 |
> > > things (from it adding AMDGPU to llvm targets in current ebuild). |
26 |
> > |
27 |
> > Yes, yes, I am old :-P. You are right, it's AMDGPU these days. |
28 |
> > |
29 |
> > > > The new system will be applied to 3.9.0 and 9999 ebuilds. VIDEO_CARDS |
30 |
> > > > flag will be removed completely because of no revdeps. |
31 |
> > > |
32 |
> > > People with radeonsi graphics set VIDEO_CARDS=radeon already, I'm a bit |
33 |
> > > reserved about having to force them to set some LLVM_TARGETS=radeon or |
34 |
> > > LLVM_TARGETS=amdgpu on top of that to satisfy some USE depends on |
35 |
> > > mesa[video_cards_radeon]. |
36 |
> > |
37 |
> > How about nvidia users who seem to require NVPTX for libclc these days? |
38 |
> > Do they set VIDEO_CARDS='nvidia nv nouveau ...'? The problem is that |
39 |
> > this abuse of VIDEO_CARDS is never going to be 100% clear to users. |
40 |
> > |
41 |
> > I guess we can enable GPU targets in desktop profiles by default to |
42 |
> > save most of our users from the issues. |
43 |
> |
44 |
> Hmm, I actually see we're enabling them in arch profiles. So I guess |
45 |
> matching enable there would fit there as well. |
46 |
> |
47 |
> -- |
48 |
> Best regards, |
49 |
> Michał Górny |
50 |
> <http://dev.gentoo.org/~mgorny/> |
51 |
> |
52 |
|
53 |
This might be a stupid question, but I have a hunch I'm not the only user |
54 |
curious about this. |
55 |
|
56 |
Doesn't VIDEO_CARDS factor in on xorg-server's video driver selection? |