Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 607114 - media-gfx/blender shouldn't directly depend on ati-drivers
Summary: media-gfx/blender shouldn't directly depend on ati-drivers
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jonathan Scruggs (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-24 21:17 UTC by Matt Turner
Modified: 2017-01-30 16:23 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Turner gentoo-dev 2017-01-24 21:17:16 UTC
RDEPEND contains

   opencl? ( x11-drivers/ati-drivers:* )

This is terrible. We have virtual/opencl for a reason. Please use it.
Comment 1 Matt Turner gentoo-dev 2017-01-24 21:19:05 UTC
Okay, I see the comment

# Since not using OpenCL with nVidia, depend on ATI binary
# blobs as Cycles with OpenCL does not work with any open
# source drivers.

Marking as INVALID :(
Comment 2 Jonathan Scruggs (RETIRED) gentoo-dev 2017-01-24 22:15:05 UTC
(In reply to Matt Turner from comment #1)
> Okay, I see the comment
> 
> # Since not using OpenCL with nVidia, depend on ATI binary
> # blobs as Cycles with OpenCL does not work with any open
> # source drivers.
> 
> Marking as INVALID :(

I'll reword the comment a bit better. In the next update. Basically, the render time witbOpenCL using the nVidia binary driver is very slow -- slower than cpu rendering. You might as well use CUDA which is the fastest method of all. Then cycles renderer will not use the open source drivers with OpenCL. I've been trying for a long time to get this to work. I want to use the open source drivers so I keep trying. Hopefully one day!

This isn't the only Program I've had this issue with.

Cheers
Comment 3 Matt Turner gentoo-dev 2017-01-27 02:23:36 UTC
virtual/opencl now supports dev-libs/beignet for VIDEO_CARDS=i965.

I've given last rites to ati-drivers, and masked the opencl USE flag on blender and opensubdiv:

commit 26c7b895e248c6d3f119210a416cbd7ede0c80c6
Author: Matt Turner <mattst88@gentoo.org>
Date:   Tue Jan 24 17:25:13 2017 -0800

    base/package.use.mask: Mask USE=opencl on blender and opensubdiv.
    
    USE=opencl depends exclusively on x11-drivers/ati-drivers, which is
    being given its last rites.

If you want to change USE=opencl to depend on virtual/opencl I'll be happy to take a patch removing the masks.