View previous topic :: View next topic |
Author |
Message |
qpalz n00b
Joined: 18 Jan 2014 Posts: 27
|
Posted: Sat Jan 18, 2014 10:54 am Post subject: video_cards_radeon needed after opening opencl use flag |
|
|
After opening opencl use flag, then I made a full update. The only package which I have installed responding to opencl flag is mesa. It needs llvm-shared-libs use flag to be open. After opening it as well, video_cards_radeon use flag is needed for llvm. It does not make sense as I am using NVIDIA display card, and I have installed nvidia-driver (not nouveau). I have also set Code: | VIDEO_CARDS="nvidia" | in make.conf. My system is totally not related to radeon. Why that use flag is needed?
EDIT: Just after I have posted this post, I looked for the reason why opencl is used in mesa (when opencl is open). It seems that the use of opencl is to accelerate the software acceleration provided by gallium. That means I don't need opencl open for mesa it at all. Am I correct?
The full message:
Code: | These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] sys-devel/llvm-3.4 [3.3-r3] USE="clang* ncurses%*" VIDEO_CARDS="radeon*"
[ebuild N ] sys-devel/clang-3.4-r100 USE="static-analyzer -debug -multitarget -python" ABI_X86="(64) -32 (-x32)"
[ebuild N ] dev-libs/libclc-0.0.1_pre20140101
[ebuild U #] media-libs/mesa-10.0.2 [9.2.5] USE="opencl*"
The following USE changes are necessary to proceed:
(see "package.use" in the portage(5) man page for more details)
# required by media-libs/mesa-10.0.2[opencl]
# required by app-emulation/emul-linux-x86-opengl-20131008
# required by app-emulation/emul-linux-x86-xlibs-20131008[opengl]
# required by app-office/wps-office-9.1.0.4244_alpha12_p3::gentoo-zh
# required by @selected
# required by @world (argument)
=sys-devel/llvm-3.4 video_cards_radeon
Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages. |
(I have unmasked the hardmasked mesa-10.0.2 as there are even more problems if I use 9.2.5, which are not related to this issue. Even if I use 9.2.5, there is the same problem.) |
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Mon Jan 20, 2014 11:07 am Post subject: |
|
|
I have a very similar, if not the same problem:
Have llvm-3.4 installed:
Code: |
sys-devel/llvm-3.4:0/3.4 USE="clang libffi ncurses static-analyzer xml -debug -doc -gold -multitarget -ocaml -python {-test} -udis86" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python2_7 -pypy2_0 -python2_6" VIDEO_CARDS="-radeon" 0 kB
|
emerge @preserved-rebuild keeps on nagging:
Code: |
The following USE changes are necessary to proceed:
(see "package.use" in the portage(5) man page for more details)
# required by media-libs/mesa-9.2.5[opencl]
# required by @preserved-rebuild (argument)
=sys-devel/llvm-3.3-r3 video_cards_radeon
|
I wonder why? I also have an nvidia card... _________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
qpalz n00b
Joined: 18 Jan 2014 Posts: 27
|
Posted: Mon Jan 20, 2014 12:03 pm Post subject: |
|
|
Martux wrote: | I have a very similar, if not the same problem:
Have llvm-3.4 installed:
Code: |
sys-devel/llvm-3.4:0/3.4 USE="clang libffi ncurses static-analyzer xml -debug -doc -gold -multitarget -ocaml -python {-test} -udis86" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python2_7 -pypy2_0 -python2_6" VIDEO_CARDS="-radeon" 0 kB
|
emerge @preserved-rebuild keeps on nagging:
Code: |
The following USE changes are necessary to proceed:
(see "package.use" in the portage(5) man page for more details)
# required by media-libs/mesa-9.2.5[opencl]
# required by @preserved-rebuild (argument)
=sys-devel/llvm-3.3-r3 video_cards_radeon
|
I wonder why? I also have an nvidia card... |
I have guessed the reason, but I am not sure if this is correct. Please see my edit. I have add Code: | media-libs/mesa -opencl -classic -gallium -llvm | in package.use. The problem disappears and my computer run perfectly. |
|
Back to top |
|
|
Martux Veteran
Joined: 04 Feb 2005 Posts: 1917
|
Posted: Mon Jan 20, 2014 1:59 pm Post subject: |
|
|
That works for me too. Thank you! _________________ "Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction" |
|
Back to top |
|
|
|