Help getting modprobe.d changes to be picked up

Hello,

I’m trying to test a parameter suggested for the Nvidia open driver as linked here, which suggests I add:

❯ cat /etc/modprobe.d/nvidia-yoga.conf
options nvidia_modeset vblank_sem_control=0

However when I use the command to verify the change has taken effect (after reboot) I get:

/e/modprobe.d# cat /sys/module/nvidia_modeset/parameters/vblank_sem_control
Y

So it seems I can’t get this parameter to be picked up by the kernel… Can anyone help suggest how to best make this take effect?

I was able to set this parameter using a kernel argument with:

rpm-ostree kargs --append=nvidia_modeset.vblank_sem_control=0

I wonder though, is it advisable to use rpm-ostree initramfs in combination with modprobe.d or is that not advisable for ubule?