Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 745045 - dev-util/nvidia-cuda-toolkit: optional use of xf86-video-nouveau
Summary: dev-util/nvidia-cuda-toolkit: optional use of xf86-video-nouveau
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-28 08:21 UTC by jlm
Modified: 2020-12-27 16:21 UTC (History)
1 user (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 jlm 2020-09-28 08:21:48 UTC
RDEPEND require installation of nvidia proprietary drivers, which leads to some dependencies issues.
seems that cuda compiles fine with nouveau driver

-IUSE="debugger doc eclipse profiler"
+IUSE="debugger doc eclipse profiler nvidia-drivers"
 RESTRICT="bindist mirror"
 
-DEPEND=""
-RDEPEND="${DEPEND}
+BDEPEND=""
+RDEPEND="
 	=sys-devel/gcc-8.3.0-r3[cxx]
+	<sys-devel/gcc-9[cxx]
 	nvidia-drivers? (
-		>=x11-drivers/nvidia-drivers-396.24[X,uvm]
+		>=x11-drivers/nvidia-drivers-${DRIVER_PV}[X,uvm]
 	)
 	!nvidia-drivers? (
 		x11-drivers/xf86-video-nouveau
 	)

Reproducible: Always

Steps to Reproduce:
sync portage, try to build cuda toolkit
Actual Results:  
dependency checks fails, nvidia drivers not supported on target architecture (and by the way it force to install proprietary drivers...)

Expected Results:  
should compile fine
Comment 1 David Seifert gentoo-dev 2020-12-27 16:21:26 UTC
At this point, I'm unwilling to support this config. In theory, you could install the toolkit and compile cuda applications without running them, but is this such an important usecase? You cannot run cuda applications through nouveau, and hence this isn't relevant for 99% of people.