Score:0

Enable nvidia modesetting after boot

cf flag

There is a conflict in my system between PCI passthrough and nvidia modesetting. if both are enabled at boot, then the boot fails. I would like to set the kernel parameter nvidia-drm.modeset=1 after boot.Without that I cannot have wayland support. The sysctl command is not applicable. I get the following error:

sysctl: cannot stat /proc/sys/nvidia-drm/modeset: No such file or directory

darth_epoxy avatar
nl flag
What is the full line of text at `GRUB_CMDLINE_LINUX_DEFAULT=` please? You can see this by typing `cat /etc/default/grub` in your terminal.
cf flag
GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on video=vesafb:off,efifb:off mitigations=off init_on_alloc=0 kvm.ignore_msrs=1"
darth_epoxy avatar
nl flag
Do you know how to edit grub at boot? That way you can test without making permanent changes. Try replacing your _DEFAULT= with `rhgb quiet splash acpi_enforce_resources=lax pcie_ports=compat` and let us know. I think that modding the kernel might be a bit extreme unless you find a guru, so try changing some of these paramaters.
cf flag
I can boot with ether parameter "intel_iommu=on" or with "nvidia-drm.modeset=1", but not with both (editing /etc/default/grub appropriately). If it makes a difference. I have the MSI x299 MB and intel i9-9800x cpu. I do not have this issue with my AMD computer.
darth_epoxy avatar
nl flag
I can see how this can be frustrating, when you have a sweet graphics card and Ubuntu doesn't want to play with it. If you `dmesg` and search theat big dump, do you find any specific errors relating to the graphics card or PCI ?
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.