Fedora 36 Nvidia as primary GPU

dmesg | grep -iE 'secure|nvidia'

[    0.000000] secureboot: Secure boot disabled
[    0.016425] secureboot: Secure boot disabled
[    1.615997] nouveau 0000:01:00.0: NVIDIA TU117 (167000a1)
[    5.125084] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input19
[    5.154492] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input20
[    5.154587] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input21
[    5.154658] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card0/input22
[    5.180401] Bluetooth: hci0: Secure boot is enabled
[    6.798911] nvidia: loading out-of-tree module taints kernel.
[    6.798922] nvidia: module license 'NVIDIA' taints kernel.
[    6.806421] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[    6.817204] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[    6.817209] NVRM: The NVIDIA probe routine was not called for 1 device(s).
               NVRM: nouveau, rivafb, nvidiafb or rivatv 
               NVRM: was loaded and obtained ownership of the NVIDIA device(s).
               NVRM: driver(s)), then try loading the NVIDIA kernel module
[    6.817753] NVRM: No NVIDIA devices probed.
[    6.818374] nvidia-nvlink: Unregistered the Nvlink Core, major device number 508
[    7.702738] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[    7.702744] NVRM: The NVIDIA probe routine was not called for 1 device(s).
               NVRM: nouveau, rivafb, nvidiafb or rivatv 
               NVRM: was loaded and obtained ownership of the NVIDIA device(s).
               NVRM: driver(s)), then try loading the NVIDIA kernel module
[    7.703360] NVRM: No NVIDIA devices probed.
[    7.704314] nvidia-nvlink: Unregistered the Nvlink Core, major device number 508
[    8.220640] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[    8.220645] NVRM: The NVIDIA probe routine was not called for 1 device(s).
               NVRM: nouveau, rivafb, nvidiafb or rivatv 
               NVRM: was loaded and obtained ownership of the NVIDIA device(s).
               NVRM: driver(s)), then try loading the NVIDIA kernel module
[    8.221400] NVRM: No NVIDIA devices probed.
[    8.221563] nvidia-nvlink: Unregistered the Nvlink Core, major device number 508
[    9.008565] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[    9.008571] NVRM: The NVIDIA probe routine was not called for 1 device(s).
               NVRM: nouveau, rivafb, nvidiafb or rivatv 
               NVRM: was loaded and obtained ownership of the NVIDIA device(s).
               NVRM: driver(s)), then try loading the NVIDIA kernel module
[    9.009124] NVRM: No NVIDIA devices probed.
[    9.009258] nvidia-nvlink: Unregistered the Nvlink Core, major device number 508
[   13.853427] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[   13.853433] NVRM: The NVIDIA probe routine was not called for 1 device(s).
               NVRM: nouveau, rivafb, nvidiafb or rivatv 
               NVRM: was loaded and obtained ownership of the NVIDIA device(s).
               NVRM: driver(s)), then try loading the NVIDIA kernel module
[   13.854211] NVRM: No NVIDIA devices probed.
[   13.854314] nvidia-nvlink: Unregistered the Nvlink Core, major device number 508
[   16.741169] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[   16.741174] NVRM: The NVIDIA probe routine was not called for 1 device(s).
               NVRM: nouveau, rivafb, nvidiafb or rivatv 
               NVRM: was loaded and obtained ownership of the NVIDIA device(s).
               NVRM: driver(s)), then try loading the NVIDIA kernel module
[   16.741752] NVRM: No NVIDIA devices probed.
[   16.741928] nvidia-nvlink: Unregistered the Nvlink Core, major device number 508
[  101.524352] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[  101.524358] NVRM: The NVIDIA probe routine was not called for 1 device(s).
               NVRM: nouveau, rivafb, nvidiafb or rivatv 
               NVRM: was loaded and obtained ownership of the NVIDIA device(s).
               NVRM: driver(s)), then try loading the NVIDIA kernel module
[  101.524959] NVRM: No NVIDIA devices probed.
[  101.525056] nvidia-nvlink: Unregistered the Nvlink Core, major device number 508
[  106.419202] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[  106.419208] NVRM: The NVIDIA probe routine was not called for 1 device(s).
               NVRM: nouveau, rivafb, nvidiafb or rivatv 
               NVRM: was loaded and obtained ownership of the NVIDIA device(s).
               NVRM: driver(s)), then try loading the NVIDIA kernel module
[  106.419967] NVRM: No NVIDIA devices probed.
[  106.420148] nvidia-nvlink: Unregistered the Nvlink Core, major device number 508
[  107.807686] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[  107.807692] NVRM: The NVIDIA probe routine was not called for 1 device(s).
               NVRM: nouveau, rivafb, nvidiafb or rivatv 
               NVRM: was loaded and obtained ownership of the NVIDIA device(s).
               NVRM: driver(s)), then try loading the NVIDIA kernel module
[  107.808225] NVRM: No NVIDIA devices probed.
[  107.808340] nvidia-nvlink: Unregistered the Nvlink Core, major device number 508
[  124.242993] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[  124.242998] NVRM: The NVIDIA probe routine was not called for 1 device(s).
               NVRM: nouveau, rivafb, nvidiafb or rivatv 
               NVRM: was loaded and obtained ownership of the NVIDIA device(s).
               NVRM: driver(s)), then try loading the NVIDIA kernel module
[  124.243668] NVRM: No NVIDIA devices probed.
[  124.243809] nvidia-nvlink: Unregistered the Nvlink Core, major device number 508
[  127.094591] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[  127.094596] NVRM: The NVIDIA probe routine was not called for 1 device(s).
               NVRM: nouveau, rivafb, nvidiafb or rivatv 
               NVRM: was loaded and obtained ownership of the NVIDIA device(s).
               NVRM: driver(s)), then try loading the NVIDIA kernel module
[  127.095185] NVRM: No NVIDIA devices probed.
[  127.095339] nvidia-nvlink: Unregistered the Nvlink Core, major device number 508
[  129.939756] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[  129.939761] NVRM: The NVIDIA probe routine was not called for 1 device(s).
               NVRM: nouveau, rivafb, nvidiafb or rivatv 
               NVRM: was loaded and obtained ownership of the NVIDIA device(s).
               NVRM: driver(s)), then try loading the NVIDIA kernel module
[  129.940304] NVRM: No NVIDIA devices probed.
[  129.941321] nvidia-nvlink: Unregistered the Nvlink Core, major device number 508
[  206.398427] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[  206.398433] NVRM: The NVIDIA probe routine was not called for 1 device(s).
               NVRM: nouveau, rivafb, nvidiafb or rivatv 
               NVRM: was loaded and obtained ownership of the NVIDIA device(s).
               NVRM: driver(s)), then try loading the NVIDIA kernel module
[  206.398917] NVRM: No NVIDIA devices probed.
[  206.399018] nvidia-nvlink: Unregistered the Nvlink Core, major device number 508
[  259.987894] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[  259.987900] NVRM: The NVIDIA probe routine was not called for 1 device(s).
               NVRM: nouveau, rivafb, nvidiafb or rivatv 
               NVRM: was loaded and obtained ownership of the NVIDIA device(s).
               NVRM: driver(s)), then try loading the NVIDIA kernel module
[  259.988514] NVRM: No NVIDIA devices probed.
[  259.988608] nvidia-nvlink: Unregistered the Nvlink Core, major device number 508
[  678.944420] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[  678.944429] NVRM: The NVIDIA probe routine was not called for 1 device(s).
               NVRM: nouveau, rivafb, nvidiafb or rivatv 
               NVRM: was loaded and obtained ownership of the NVIDIA device(s).
               NVRM: driver(s)), then try loading the NVIDIA kernel module
[  678.945287] NVRM: No NVIDIA devices probed.
[  678.945451] nvidia-nvlink: Unregistered the Nvlink Core, major device number 508
[  759.512753] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[  759.512760] NVRM: The NVIDIA probe routine was not called for 1 device(s).
               NVRM: nouveau, rivafb, nvidiafb or rivatv 
               NVRM: was loaded and obtained ownership of the NVIDIA device(s).
               NVRM: driver(s)), then try loading the NVIDIA kernel module
[  759.513371] NVRM: No NVIDIA devices probed.
[  759.513474] nvidia-nvlink: Unregistered the Nvlink Core, major device number 508
[  760.808412] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[  760.808418] NVRM: The NVIDIA probe routine was not called for 1 device(s).
               NVRM: nouveau, rivafb, nvidiafb or rivatv 
               NVRM: was loaded and obtained ownership of the NVIDIA device(s).
               NVRM: driver(s)), then try loading the NVIDIA kernel module
[  760.808929] NVRM: No NVIDIA devices probed.
[  760.809083] nvidia-nvlink: Unregistered the Nvlink Core, major device number 508
[ 1391.253581] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[ 1391.253587] NVRM: The NVIDIA probe routine was not called for 1 device(s).
               NVRM: nouveau, rivafb, nvidiafb or rivatv 
               NVRM: was loaded and obtained ownership of the NVIDIA device(s).
               NVRM: driver(s)), then try loading the NVIDIA kernel module
[ 1391.254177] NVRM: No NVIDIA devices probed.
[ 1391.254287] nvidia-nvlink: Unregistered the Nvlink Core, major device number 508
[ 1890.804633] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[ 1890.804638] NVRM: The NVIDIA probe routine was not called for 1 device(s).
               NVRM: nouveau, rivafb, nvidiafb or rivatv 
               NVRM: was loaded and obtained ownership of the NVIDIA device(s).
               NVRM: driver(s)), then try loading the NVIDIA kernel module
[ 1890.805310] NVRM: No NVIDIA devices probed.
[ 1890.805416] nvidia-nvlink: Unregistered the Nvlink Core, major device number 508
[ 2306.073750] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[ 2306.073765] NVRM: The NVIDIA probe routine was not called for 1 device(s).
               NVRM: nouveau, rivafb, nvidiafb or rivatv 
               NVRM: was loaded and obtained ownership of the NVIDIA device(s).
               NVRM: driver(s)), then try loading the NVIDIA kernel module
[ 2306.075222] NVRM: No NVIDIA devices probed.
[ 2306.075519] nvidia-nvlink: Unregistered the Nvlink Core, major device number 508
[13647.049905] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[13647.049912] NVRM: The NVIDIA probe routine was not called for 1 device(s).
               NVRM: nouveau, rivafb, nvidiafb or rivatv 
               NVRM: was loaded and obtained ownership of the NVIDIA device(s).
               NVRM: driver(s)), then try loading the NVIDIA kernel module
[13647.050464] NVRM: No NVIDIA devices probed.
[13647.050636] nvidia-nvlink: Unregistered the Nvlink Core, major device number 508
[13904.746240] nvidia-nvlink: Nvlink Core is being initialized, major device number 508
[13904.746247] NVRM: The NVIDIA probe routine was not called for 1 device(s).
               NVRM: nouveau, rivafb, nvidiafb or rivatv 
               NVRM: was loaded and obtained ownership of the NVIDIA device(s).
               NVRM: driver(s)), then try loading the NVIDIA kernel module
[13904.746779] NVRM: No NVIDIA devices probed.
[13904.746912] nvidia-nvlink: Unregistered the Nvlink Core, major device number 508```

``


dnf list installed kernel-devel kernel-headers
Installed Packages
kernel-devel.x86_64 5.17.3-302.fc36 @fedora
kernel-headers.x86_64 5.17.4-300.fc36 @updates-testing