Display resolution reset, cannot revert back to old settings

I have been using fedora since fedora 37 (currently using fedora 39)and upgrading as usual, by default fedora configured itself and set it to correct resolution which is 1920px X 1080 px, but after the recent update, the Resolution has reset to 1080 px X 768 px. I have tried using xrandr to reset the resolution by setting an custom resolution but nothing works. Can someone please help me.