HDMI and DP does not work on Ubuntu 22.04

I have upgraded my Ubuntu to 22.04 from 21.10. Firstly, everything seems working but Ubuntu was not smooth and started to stuck while working. Then I decided to check display card driver and I have noticed that I use XOrg driver instead of Nvidia. Then I installed nvidia driver but now my HDMI and DP monitors does not work. I had a similiar issue before and I asked it here => HDMI does not work on Ubuntu 21.10

My kernel version is: 5.17.0-5.1-liquorix-amd64 and my bug report attached.
nvidia-bug-report.log.gz (88.6 KB)

Running

$ sudo apt update
$ sudo apt upgrade
$ sudo apt autoremove
$ sudo apt-get remove --purge nvidia*
$ sudo apt-get remove --purge "nvidia*"
$ sudo apt install nvidia-driver-510      (you may need other version)
$ sudo reboot

these commands solved HDMI and DP problems but now ubuntu is not smooth again. Here is new bug report:
nvidia-bug-report.log.gz (342.6 KB)

Please check if switching to performance mode improves the situation
sudo prime-select nvidia
Furthermore, please set kernel parameter
nvidia-drm.modeset=1

kernel parameter already has been set but changing to performance mode made a huge impact. thank you, sir.

but sometimes, ubuntu freezes and I can not do anything. no mouse or keyboard interaction. do you have any suggestion for this situation :)

Does it unfreeze after a few seconds or does it stay frozen?
Please create a new nvidia-bug-report.log

No it does not unfreeze, I have to power-off the computer by keep pressing on power button :(

Bug report attached

nvidia-bug-report.log.gz (379.8 KB)

unfortunatly, no errors are logged. Please check for a bios update.

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