I recently changed my NVIDIA drivers on my ubuntu 22.04 machine from Nouveau to nvidia-driver-525-open, as I needed a proprietary driver to use CUDA. While installing, I was told that UEFI secure boot required additional configuration, so I was invited to set a password, for "Enroll MOK" and "Change Secure Boot state" to enter on reboot. On reboot I found the "Enroll MOK" part but not the other, I typed my password here to enroll key.
After this everything has booted fine, except my second monitor plugged in via displayport (in pc) to HDMI (in monitor) is no longer detected. I assume this is due to the change in graphics card but I was wondering if there was a resolution which doesn't require a reversion to the nouveau drivers, as these aren't compatible with CUDA.
Thanks so much!
nvidia-driver-5xx-open
will only work on specific NVIDIA cards. Have you tried the non-open driver?