As I have an external monitor with 144 Hz rate clock, I tried to set a new mode for it through xrandr. Nothing worked, however, then I noticed that in Gnome I can change the rate clock to 120 Hz. Unfortunately, after doing so, both laptop's and external screens went completely black. And after rebooting and logging in back to my account, the output just completely freezes. Though, Ctrl + Alt + F3 works.
I tried generating new config through xrandr. But I only get output Can't open display
.
I also tried to move away ~/.config/monitors.xml
as the system broke after tweaking settings through Gnome Control Center. That did not work at all.
Disconnecting the external monitor did not help either.
Additionally, reinstalling nVidia GPU drivers did nothing.
Lastly, running dconf reset -f /org/gnome
seems not to have any effect either.
2 days later, I tried to reset Gnome settings thanks to this reply. However, if I try to log in, the system again freezes on the login screen.
Where are display settings located when even getting rid of all configurations does not help?
I am using Ubuntu 18.04 LTS on a laptop with Intel CPU (so an iGPU) with an eGPU nVidia.
UPDATE 1
After checking /var/log/Xorg.0.log
, I found out this. It may be connected with me switching between tty and login screen but I am rather going to post it, it may be useful.
[ 475.048] (II) system-logind: got pause for 13:72
[ 586.128] (II) system-logind: got resume for 13:84
[ ... another resumes here ...]
[ 586.318] (II) NVIDIA(0): Setting mode "NULL"