435.21 does not render to my external monitor

Nvidia-settings detect my monitor but xrandr does not detect so I can’t get my monitor working.
I generated nvidia bug report while hdmi cable plugged in
You can download the log below

Your Xserver is configured for render offload, in that mode no external monitors connected to the nvidia gpu can be used. Please switch to PRIME output mode.
Unfortunately, the xorg config files are not included in the logs so I don’t know how this is configured. Did you do it manually or did this just come with some repo driver?

P.S.: Unrelated, but your wifi adapter is spamming the logs with pci bus errors, please try with kernel parameter
to silence those.

I use rpmfusion repo https://rpmfusion.org/Howto/Optimus
My xorg config below how can i switch to PRIME output mode?

#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"

Section "ServerLayout"
        Identifier "layout"
        Option "AllowNVIDIAGPUScreens"

Ok, please do what’s mentioned in https://rpmfusion.org/Howto/Optimus
under “NVIDIA PrimaryGPU Support”.

That’s not what i want if i use Nvidia as my Primary GPU then there is no meaning for Prime offloading support

Then you can’t use your external monitors connected to the nvidia gpu. You can’t eat the cake and have it.

No, Its not like that on Windows you only use your discrete GPU when you plug an hdmi cable
but when i add this option to my xorg config my system using discrete GPU always even when i dont plug an HDMI and this should be fixed

True, but this is an architectural limitation of the Xserver so can’t be mended that easily. Don’t hold your breath. Until then, it’s either or.

But what if the monitor is connect to the iGPU instead? Would that work…is that possible?

Yes, that of course works and is an option on some newer notebooks which have a displayport (maybe over USB-C connector). That one is often connected to the iGPU.

I think on my laptop that is the case. I have both displayport and HDMI. I believe the HDMI is only connected to the dGPU. Will try :)