<p dir="ltr">On Aug 21, 2015 08:55, "Vincent Cheng" <<a href="mailto:vcheng@debian.org">vcheng@debian.org</a>> wrote:<br>
><br>
> Hi François and Luca,<br>
><br>
> On Sat, Aug 15, 2015 at 4:07 PM, Luca Boccassi <<a href="mailto:luca.boccassi@gmail.com">luca.boccassi@gmail.com</a>> wrote:<br>
> > On Wed, 2015-08-12 at 13:58 +0200, François Legendre wrote:<br>
> >> Package: nvidia-cuda-toolkit<br>
> >> Version: 6.0.37-5<br>
> >> Severity: normal<br>
> >><br>
> >> Dear Maintainer,<br>
> >><br>
> >> Many thanks for your work.<br>
> >><br>
> >> I install the nvidia-cuda-toolkit using synaptic. After reboot, the Nouveau<br>
> >> drivers are still loaded. The command<br>
> >><br>
> >> # lsmod | grep nouveau<br>
> >><br>
> >> prints some lines.<br>
> >><br>
> >> I follow the indications found at <a href="http://docs.nvidia.com/cuda/cuda-getting-">http://docs.nvidia.com/cuda/cuda-getting-</a><br>
> >> started-guide-for-linux/#axzz3iaadD0fW for Ubuntu distribution :<br>
> >><br>
> >> 1. Create a file at /etc/modprobe.d/blacklist-nouveau.conf with the following<br>
> >> contents:<br>
> >> blacklist nouveau<br>
> >> options nouveau modeset=0<br>
> >> 2. Regenerate the kernel initramfs:<br>
> >> # update-initramfs -u<br>
> >><br>
> >> Now, it works.<br>
> ><br>
> > Hello François,<br>
> ><br>
> > Thank you for your report.<br>
> ><br>
> > I'm not sure we should blacklist nouveau by default in the nvidia-cuda<br>
> > packages, since they do not depend on the nvidia-driver packages (I<br>
> > believe Cuda can be used without the latter). It could leave users with<br>
> > a broken system.<br>
><br>
> AFAIK you need to install the proprietary driver in order to use cuda<br>
> (but I could be mistaken)?<br>
><br>
> I don't think nvidia-cuda-toolkit should ship its own modprobe.d conf<br>
> file; the proprietary nvidia driver packages already do, and end users<br>
> should already have that installed.</p>
<p dir="ltr">Hello,</p>
<p dir="ltr">I agree, I don't think the toolkit should ship a modprobe file.</p>
<p dir="ltr">I thought the drivers were mandatory to run Cuda programs, but not to build them. Unless I'm mistaken, the toolkit is used to build.</p>
<p dir="ltr">If this is not the case, should then the toolkit package depend on the drivers?</p>
<p dir="ltr">Kind regards,<br>
Luca Boccassi<br>
</p>