| Summary: | blacklist nouvau should be putted in /etc/default/grub | ||
|---|---|---|---|
| Product: | Fedora | Reporter: | Germano Massullo <germano.massullo> |
| Component: | nvidia-kmod | Assignee: | Nicolas Chauvet <kwizart> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | s.adam |
| Priority: | P5 | ||
| Version: | 20 | ||
| Hardware: | All | ||
| OS: | GNU/Linux | ||
| namespace: | |||
This looks more a bug in grubby than in the nvidia package. That been said, my current experiment showed that blacklisting nouveau is completely uneeded as soon as GRUB_GFXPAYLOAD_LINUX=text is set (which is done via /etc/default/grub). So I'm very interested to know which problem you've hit ? On the long run we need to avoid hardcoding the post scripts to assume the hardware is available. (understand you could install the driver on a livecd). So everything requires to properly install the driver would requires to be moved to systemd services. Closing as this is not an issue for me. Feel free to re-open if you have any additional question. |
When you install propertari nVidia drivers, a nouveau drivers blacklist is putted inside the Grub menu. Unfortunately these entries disappear if somebody creates a new Grub menu by doing grub2-mkconfig -o /boot/grub2/grub.cfg The solution is adding rd.driver.blacklist=nouveau in /etc/default/grub as the following example GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_DISABLE_SUBMENU=true GRUB_TERMINAL_OUTPUT="console" GRUB_CMDLINE_LINUX="vconsole.font=latarcyrheb-sun16 $([ -x /usr/sbin/rhcrashkernel-param ] && /usr/sbin/rhcrashkernel-param || :) rhgb quiet intel_iommu=off" GRUB_DISABLE_RECOVERY="true" GRUB_GFXPAYLOAD_LINUX=text That approach makes Grub keeping those settings even if a person creates a new Grub menu.