Bug#994971: OpenCL not working with latest Nvidia driver
Klaus Ethgen
Klaus at ethgen.ch
Sun Sep 26 13:51:19 BST 2021
Am So den 26. Sep 2021 um 12:52 schrieb Andreas Beckmann:
> On 26/09/2021 11.37, Pascal Obry wrote:
> > > Thats caused as the modprobe config was dropped. Without, the needed
> > > modules are not loaded automatically anymore.
>
> I haven't touched the modprobe config recently ... IIRC using cuda usually
> loaded the module if it wasn't present, but perhaps nvidia has changed
> something in that area ...
nvidia/current/nvidia-modprobe.conf, which is linked via
modprobe.d/nvidia.conf -> /etc/alternatives/glx--nvidia-modprobe.conf -> nvidia/nvidia-modprobe.conf -> /etc/alternatives/nvidia--nvidia-modprobe.conf
is gone now. It was in package nvidia-kernel-support.
The content was:
install nvidia modprobe -i nvidia-current $CMDLINE_OPTS
install nvidia-modeset modprobe nvidia ; modprobe -i nvidia-current-modeset $CMDLINE_OPTS
install nvidia-drm modprobe nvidia-modeset ; modprobe -i nvidia-current-drm $CMDLINE_OPTS
install nvidia-peermem modprobe nvidia ; modprobe -i nvidia-current-peermem $CMDLINE_OPTS
install nvidia-uvm modprobe nvidia ; modprobe -i nvidia-current-uvm $CMDLINE_OPTS
remove nvidia modprobe -r -i nvidia-drm nvidia-modeset nvidia-peermem nvidia-uvm nvidia
remove nvidia-modeset modprobe -r -i nvidia-drm nvidia-modeset
# These aliases are defined in *all* nvidia modules.
# Duplicating them here sets higher precedence and ensures the selected
# module gets loaded instead of a random first match if more than one
# version is installed. See #798207.
alias pci:v000010DEd00000E00sv*sd*bc04sc80i00* nvidia
alias pci:v000010DEd00000AA3sv*sd*bc0Bsc40i00* nvidia
alias pci:v000010DEd*sv*sd*bc03sc02i00* nvidia
alias pci:v000010DEd*sv*sd*bc03sc00i00* nvidia
> > > A simple `modprobe nvidia-current-uvm` fixes the issue temporarily.
> > > However, the modprobe config needs to come back.
>
> I don't think it is gone.
See above.
Regards
Klaus
--
Klaus Ethgen http://www.ethgen.ch/
pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <Klaus at Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 688 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-nvidia-devel/attachments/20210926/9b412975/attachment.sig>
More information about the pkg-nvidia-devel
mailing list