Currently we have +gallium and +llvm defaults for everyone, even if a user has an Intel card where both gallium and llvm are not needed, so people have to disab;e it manually, which is quite uncomfortable. So maybe we need to make it driver-dependent somehow, it crashes default flexibility a lot.
(In reply to Mikle Kolyada from comment #0) > it crashes default flexibility a lot. Can you explain what you mean by that? Btw. Intel is working on a gallium driver named iris.
I think the idea we came up with on IRC was to have VIDEO_CARDS=... control whether classic/gallium are enabled. I'm thinking of this as a follow-on simplification to commit a0ece8925e0d757751a9b9d26eeae2796f5aa4b8
(In reply to Matt Turner from comment #2) > I think the idea we came up with on IRC was to have VIDEO_CARDS=... control > whether classic/gallium are enabled. > > I'm thinking of this as a follow-on simplification to commit > a0ece8925e0d757751a9b9d26eeae2796f5aa4b8 right
Looking into this, there are a couple of issues: (1) gallium-specific dependencies: gallium? ( unwind? ( sys-libs/libunwind[${MULTILIB_USEDEP}] ) llvm? ( video_cards_radeonsi? ( virtual/libelf:0=[${MULTILIB_USEDEP}] ) video_cards_r600? ( virtual/libelf:0=[${MULTILIB_USEDEP}] ) video_cards_radeon? ( virtual/libelf:0=[${MULTILIB_USEDEP}] ) ) lm_sensors? ( sys-apps/lm_sensors:=[${MULTILIB_USEDEP}] ) opencl? ( dev-libs/ocl-icd[khronos-headers,${MULTILIB_USEDEP}] dev-libs/libclc virtual/libelf:0=[${MULTILIB_USEDEP}] ) vaapi? ( >=x11-libs/libva-1.7.3:=[${MULTILIB_USEDEP}] video_cards_nouveau? ( !<=x11-libs/libva-vdpau-driver-0.7.4-r3 ) ) vdpau? ( >=x11-libs/libvdpau-1.1:=[${MULTILIB_USEDEP}] ) xvmc? ( >=x11-libs/libXvMC-1.0.8:=[${MULTILIB_USEDEP}] ) ) it would suck to list those deps for each driver that is a gallium driver, but I can't come up with any other way. (2) gallium vs classic choice for i915/swrast/osmesa (and i965 vs iris at some point). I guess we can have separate VIDEO_CARD options for these?
Classic drivers are gone now from media-libs/mesa. Nothing to do here now.