Fedora 36 Nvidia as primary GPU

Everything looks fine there. Your machine is almost identical to mine.

I would assume you did not set the nvidia as primary thus the intel is running until and unless you start an app that requires the additional power of the nvidia GPU.

Mine shows

$ glxinfo | egrep -i 'Opengl renderer|OpenGL vendor'
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1660 Ti/PCIe/SSE2

and I have the nvidia set as primary by following these steps from rpmfusion.

cp -p /usr/share/X11/xorg.conf.d/nvidia.conf /etc/X11/xorg.conf.d/nvidia.conf
And edit the file to use: Option "PrimaryGPU" "yes"

I chose to place that Option in both stanzas of that file under /etc and am running the nvidia GPU as primary so it is always active. Yours is the same as mine was before I made the nvidia primary.

Thank you for your time Jeff, that procedure was already carried out, I just re-check it and everything is fine, even so, it is not as primary yet.

cat /etc/X11/xorg.conf.d/nvidia.conf
#This file is provided by xorg-x11-drv-nvidia
#Do not edit

Section "OutputClass"
	Identifier "nvidia"
	MatchDriver "nvidia-drm"
	Driver "nvidia"
	Option "AllowEmptyInitialConfiguration"
	Option "SLI" "Auto"
	Option "BaseMosaic" "on"
	Option "PrimaryGPU" "yes"
EndSection

Section "ServerLayout"
	Identifier "layout"
	Option "AllowNVIDIAGPUScreens"
	Option "PrimaryGPU" "yes"
EndSection

You may have to reboot a couple times before everything stabilizes.

I’ll wait then…

Now, this is a general knowledge question:

How I know if the loaded modules are active in the output bellow?

lsmod | grep -iE 'nvidia|nouveau'
nvidia_drm             73728  1
nvidia_modeset       1163264  2 nvidia_drm
nvidia_uvm           1191936  0
nvidia              39145472  106 nvidia_uvm,nvidia_modeset
drm_kms_helper        335872  2 nvidia_drm,i915
drm                   606208  18 drm_kms_helper,nvidia,thinkpad_acpi,nvidia_drm,i915,ttm

If those modules are loaded they are active.

You may need a full update of F36 as well, using sudo dnf upgrade to get the latest packages (if not already done)

Everything is up to date until now… But still doesn’t update nvidia as primary.

Nvidia does not load as primary yet.

journalctl -b | grep 'nvidia'
May 13 18:51:15 rog kernel: Command line: BOOT_IMAGE=(hd0,gpt6)/root/boot/vmlinuz-5.17.6-300.fc36.x86_64 root=UUID=f177f295-ae66-4808-ab45-ba78b72f5774 ro rootflags=subvol=root resume=UUID=9b4f4402-c22a-495d-890e-bbaa0fd1a279 rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1
May 13 18:51:15 rog kernel: Kernel command line: BOOT_IMAGE=(hd0,gpt6)/root/boot/vmlinuz-5.17.6-300.fc36.x86_64 root=UUID=f177f295-ae66-4808-ab45-ba78b72f5774 ro rootflags=subvol=root resume=UUID=9b4f4402-c22a-495d-890e-bbaa0fd1a279 rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1
May 13 18:51:15 rog dracut-cmdline[314]: Using kernel command line parameters:  rd.driver.pre=btrfs   BOOT_IMAGE=(hd0,gpt6)/root/boot/vmlinuz-5.17.6-300.fc36.x86_64 root=UUID=f177f295-ae66-4808-ab45-ba78b72f5774 ro rootflags=subvol=root resume=UUID=9b4f4402-c22a-495d-890e-bbaa0fd1a279 rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1
May 13 17:51:17 rog kernel: nvidia-gpu 0000:01:00.3: enabling device (0000 -> 0002)
May 13 17:51:18 rog systemd[1]: Starting nvidia-powerd.service - nvidia-powerd service...
May 13 17:51:18 rog /usr/bin/nvidia-powerd[962]: nvidia-powerd version:1.0(build 1)
May 13 17:51:18 rog kernel: nvidia-gpu 0000:01:00.3: i2c timeout error e0000000
May 13 17:51:18 rog kernel: nvidia: loading out-of-tree module taints kernel.
May 13 17:51:18 rog kernel: nvidia: module license 'NVIDIA' taints kernel.
May 13 17:51:18 rog kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
May 13 17:51:18 rog kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 509
May 13 17:51:18 rog kernel: nvidia 0000:01:00.0: enabling device (0006 -> 0007)
May 13 17:51:18 rog kernel: nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
May 13 17:51:19 rog systemd-udevd[601]: nvidia: Process '/usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidiactl c 195 255'' failed with exit code 1.
May 13 17:51:19 rog systemd-udevd[601]: nvidia: Process '/usr/bin/bash -c 'for i in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \  -f 4); do /usr/bin/mknod -Z -m 666 /dev/nvidia${i} c 195 ${i}; done'' failed with exit code 1.
May 13 17:51:19 rog kernel: nvidia_uvm: module uses symbols from proprietary module nvidia, inheriting taint.
May 13 17:51:19 rog kernel: nvidia-uvm: Loaded the UVM driver, major device number 507.
May 13 17:51:19 rog kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  510.68.02  Wed Apr 20 21:04:10 UTC 2022
May 13 17:51:19 rog kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
May 13 17:51:20 rog /usr/bin/nvidia-powerd[962]: SBIOS support not found for NVPCF GET_SUPPORTED function
May 13 17:51:20 rog /usr/bin/nvidia-powerd[962]: No matching GPU found
May 13 17:51:20 rog /usr/bin/nvidia-powerd[962]: Failed to initialize RM Client
May 13 17:51:20 rog systemd[1]: nvidia-powerd.service: Main process exited, code=exited, status=1/FAILURE
May 13 17:51:20 rog systemd[1]: nvidia-powerd.service: Failed with result 'exit-code'.
May 13 17:51:20 rog systemd[1]: Failed to start nvidia-powerd.service - nvidia-powerd service.
May 13 17:51:20 rog audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=nvidia-powerd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
May 13 17:51:20 rog systemd[1]: nvidia-powerd.service: Consumed 2.066s CPU time.
May 13 17:51:20 rog kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0
May 13 17:51:20 rog systemd[1]: nvidia-fallback.service - Fallback to nouveau as nvidia did not load was skipped because of a failed condition check (ConditionPathExists=!/sys/module/nvidia)
May 13 17:51:25 rog gnome-shell[1522]: Added device '/dev/dri/card0' (nvidia-drm) using non-atomic mode setting.
May 13 17:51:34 rog gnome-shell[2589]: Added device '/dev/dri/card0' (nvidia-drm) using non-atomic mode setting.
May 13 17:51:37 rog systemd[2375]: Started app-glib-nvidia\x2dsettings\x2duser-3209.scope - Application launched by gnome-session-binary.
May 13 17:51:37 rog systemd[2375]: Started app-gnome-nvidia\x2dsettings\x2duser-3209.scope - Application launched by gnome-session-binary.

May 13 17:51:20 rog systemd[1]: nvidia-fallback.service - Fallback to nouveau as nvidia did not load was skipped because of a failed condition check (ConditionPathExists=!/sys/module/nvidia)

Did you investigate what was shown in that line.? or the few errors reported just above that?

Can you give us details of why you conclude it is not being treated as primary? It certainly was loaded in your earlier post.

In advance, super grateful for investing your time in helping us and teaching us. I have learned a lot with you.

glxinfo | egrep "OpenGL vendor|OpenGL renderer"
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics 630 (CFL GT2)

I have seen that all my packages are up to date with my kernel version.

sudo dnf list installed *kernel* *nvidia*
Installed Packages
abrt-addon-kerneloops.x86_64                                                              2.15.1-1.fc36                                                       @anaconda                       
akmod-nvidia.x86_64                                                                       3:510.68.02-1.fc36                                                  @rpmfusion-nonfree-nvidia-driver
kernel.x86_64                                                                             5.17.5-300.fc36                                                     @anaconda                       
kernel.x86_64                                                                             5.17.6-300.fc36                                                     @updates                        
kernel-core.x86_64                                                                        5.17.5-300.fc36                                                     @anaconda                       
kernel-core.x86_64                                                                        5.17.6-300.fc36                                                     @updates                        
kernel-devel.x86_64                                                                       5.17.6-300.fc36                                                     @updates                        
kernel-devel-matched.x86_64                                                               5.17.6-300.fc36                                                     @updates                        
kernel-headers.x86_64                                                                     5.17.6-300.fc36                                                     @updates                        
kernel-modules.x86_64                                                                     5.17.5-300.fc36                                                     @anaconda                       
kernel-modules.x86_64                                                                     5.17.6-300.fc36                                                     @updates                        
kernel-modules-extra.x86_64                                                               5.17.5-300.fc36                                                     @anaconda                       
kernel-modules-extra.x86_64                                                               5.17.6-300.fc36                                                     @updates                        
kernel-srpm-macros.noarch                                                                 1.0-14.fc36                                                         @fedora                         
kernel-tools.x86_64                                                                       5.17.6-300.fc36                                                     @updates                        
kernel-tools-libs.x86_64                                                                  5.17.6-300.fc36                                                     @updates                        
kmod-nvidia-5.17.6-300.fc36.x86_64.x86_64                                                 3:510.68.02-1.fc36                                                  @@commandline                   
libreport-plugin-kerneloops.x86_64                                                        2.17.1-1.fc36                                                       @anaconda                       
nvidia-settings.x86_64                                                                    3:510.68.02-1.fc36                                                  @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64                                                                3:510.68.02-1.fc36                                                  @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64                                                      3:510.68.02-1.fc36                                                  @rpmfusion-nonfree              
xorg-x11-drv-nvidia-kmodsrc.x86_64                                                        3:510.68.02-1.fc36                                                  @rpmfusion-nonfree              
xorg-x11-drv-nvidia-libs.i686                                                             3:510.68.02-1.fc36                                                  @rpmfusion-nonfree              
xorg-x11-drv-nvidia-libs.x86_64                                                           3:510.68.02-1.fc36                                                  @rpmfusion-nonfree              
xorg-x11-drv-nvidia-power.x86_64          

About this:

May 13 17:51:20 rog systemd[1]: Failed to start nvidia-powerd.service - nvidia-powerd service.

You told me that is already had to do with rpm fusion.

journalctl -b | grep 'nvidia
Bug compilation:

May 13 17:51:18 rog kernel: nvidia-gpu 0000:01:00.3: i2c timeout error e0000000
May 13 17:51:18 rog kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
May 13 17:51:19 rog systemd-udevd[601]: nvidia: Process '/usr/bin/bash -c '/usr/bin/mknod -Z -m 666 /dev/nvidiactl c 195 255'' failed with exit code 1.
May 13 17:51:19 rog systemd-udevd[601]: nvidia: Process '/usr/bin/bash -c 'for i in $(cat /proc/driver/nvidia/gpus/*/information | grep Minor | cut -d \  -f 4); do /usr/bin/mknod -Z -m 666 /dev/nvidia${i} c 195 ${i}; done'' failed with exit code 1.
May 13 17:51:20 rog /usr/bin/nvidia-powerd[962]: Failed to initialize RM Client
May 13 17:51:20 rog systemd[1]: nvidia-powerd.service: Main process exited, code=exited, status=1/FAILURE
May 13 17:51:20 rog systemd[1]: nvidia-powerd.service: Failed with result 'exit-code'.
May 13 17:51:20 rog systemd[1]: Failed to start nvidia-powerd.service - nvidia-powerd service.
May 13 17:51:20 rog audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=nvidia-powerd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
May 13 17:51:20 rog systemd[1]: nvidia-fallback.service - Fallback to nouveau as nvidia did not load was skipped because of a failed condition check (ConditionPathExists=!/sys/module/nvidia)

I wanna know what more can I do?
I would like to know why it is no loading as primary and why these errors?