0

OS: Ubuntu 21.10, Nvidia driver:470.74

I would like to pass the kernel parameter "nvidia-drm.modeset=1" after boot (I would like to use nvidia+wayland) I am not able to do it during boot because of an unusual bug. This parameter conflict with another kernel parameter "intel_iommu=on". If both are on, then my system fails to boot (multiple unrelated boot errors). This issue is only with the 5.13.0 kernel. I do not have this issue with the older 5.8 kernel.

1 Answer 1

0

You change the parameters of kernel in /etc/default/grub file.

sudo vi /etc/default/grub

find the line: GRUB_CMDLINE_LINUX="parameters1 parameters2"

sudo update-grub

then you can reboot to see the effect.

9
  • That is the issue. There is a conflict. When the 2 parameters that I need are set. My system does not boot. I can only set one of them during boot the second needs to be after boot.
    – user63726
    Oct 18, 2021 at 5:19
  • After boot, when the system is running, you add kernel parameters through sysctl command.
    – zabiullah
    Oct 18, 2021 at 9:04
  • When I tried "sudo -w sysctl nvidia-drm.modeset=1" I get the following error: ysctl: cannot stat /proc/sys/nvidia-drm/modeset: No such file or directory. Did not work for me.
    – user63726
    Oct 30, 2021 at 23:59
  • Post the result of: sudo sysctl -a | grep nvidia
    – zabiullah
    Oct 31, 2021 at 5:53
  • " sudo sysctl -a | grep nvidia" has 0 lines
    – user63726
    Nov 1, 2021 at 1:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .