On 2/11/22 07:46, Barry Scott wrote:
On 1 Nov 2022, at 11:53, greg <poisson02+fedora@xxxxxxxxx> wrote:
On Tue, Nov 1, 2022 at 4:15 AM Stephen Morris <samorris@xxxxxxxxxxxxxxx> wrote:
I've just managed to get the 6.0.5 kernel to load the nvidia driver.
There is potentially a defect in the akmod-nvidia (or relevant package)
scripts in that it seems that they no longer add the blacklisting
statements for nouveau into the kernel parameters in /etc/default/grub,
I had to put those statements in there manually before the nvidia driver
was loaded instead of the nouveau driver.
I think it is because it is no longer needed. My memory on this prompted by reply in another thread.
If nvidia fails to be available, not install or did not build, then nouveau is used.
The nouveau blacklisting parameters were added to /etc/default/grub
before I embarked on adding the signing keys for the nvidia driver into
secureboot. Those parameters are still required as even though
akmod/kmod is providing the driver for the booted kernel without those
parameters in /etc/default/grub and propagated into grub.cfg via
grub2-mkconfig the nouveau driver is used instead. What seems to be the
functionality now is, if the nvidia driver can't be loaded for whatever
reason the system does a fail over to nouveau, and produces a message to
that effect, even if the blacklisting parameters are specified. I was in
that situation when I changed the secureboot mode and lack of signing
was preventing the nvidia driver from being loaded by the kernel (in
full secure boot mode the kernel won't allow non-signed drivers to be
loaded). What I found was that after activating full secureboot the
install of akmod-nvidia, kmod-nvidia and all the associated packages no
longer added the parameters into /etc/default/grub.
regards,
Steve
Barry
/etc/default/grub - contains default kernel options
/boot/grub2/grubenv - has the line
saved_entry=<id>
which refers to
/boot/loader/entries/<id>.conf
which contains kernel options for the entry (which are actually used)
which get modified when editing kernel options via grub menu (thus becom
ing persistent)
/etc/default/grub - contains the line
GRUB_ENABLE_BLSCFG=true
which is documented at
https://fedoraproject.org/wiki/Changes/BootLoaderSpecByDefault
greg
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue