Second monitor not detected with Ubuntu 22.04.4

Hi everyone! I hope someone could help me
I’ve been trying to use a second monitor with my computer but it doesn’t work, my computer is not detecting it, however this happens only in Linux (Ubuntu 22.04.4 LTS), I’ve used it with windows and it works just fine
My computer is a MSI Bravo c7ve, it has a Nvidia 4050 and a Ryzen 5 7535hs. I’m using nvidia driver 535, though I already tried with some other versions and still not working
I’m attaching the log file
Thanks in advance!
nvidia-bug-report.log (3.1 MB)

I had the same problem and it’s solved by @generix.
Try this:
sudo nano /etc/default/grub
add nvidia-drm.modeset=1 in GRUB_CMDLINE_LINUX=

GRUB_CMDLINE_LINUX=“nvidia-drm.modeset=1”

then sudo update-grub and reboot.

Hi! Thanks a lot for your response
I just followed the steps and updated GRUB_CMDLINE_LINUX=“nvidia-drm.modeset=1”, however it is still not working :(

You’ve installed a kernel with incompatible header package so the nvidia driver doesn’t compile. Please return to the stock kernel or use the liquorix ppa.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.