Sometimes your system decides to be stuck at a super low screen resolution (usually also only on a single monitor), for example 1024 x 764. These tricks should help to resolve these kind of issues (at least they got me out of a pickle twice already).
Tips which saved my butt in the past#
Make sure the correct GPU drivers are installed. For example, the NVIDIA GTX 970 graphics card only supports the
nvidia-580xx-dkmsdrivers. The latest driver shipped by default on Arch (and possibly other distributions) is too new and will result in a low resolution after the system was updated and rebooted. Checkingdmesgafter the reboot helps to spot any driver-related messages/errors. So check if the currently installed driver supports your graphics card.Add
nvidia_drm.modeset=1to the boot options by appending it to theGRUB_CMDLINE_LINUX_DEFAULTparameter in/etc/default/grub. Then proceed to re-generate GRUB’s live boot config by executinggrub-mkconfig -o /boot/grub/grub.cfgThis one was really hard to spot, because the switch to a low resolution was silent after a system update reboot. All utilities I ran basically reported that everything was fine. The list below mentions a few useful tools - even though they didn’t help me in this case.
Try to install a newer kernel, but that could also potentially backfire. Try other potential fixes first, before resorting to this.
Generally useful tools to know in these situations#
nvidia-smiprints out information about the installed graphics card and driver.inxi -Fzxxprints out various system-level information.xrandrprints out information about monitors, their resolution and refresh rate.dkms statusprints out the status of kernel modules, which the driver is one of.nvidia-settingslaunches the NVIDIA settings application, but this will display fairly limited information when you run into GPU (driver) related issues.- The internet and their Linux-focused forums, like the Arch forum and wiki, the Manjaro forum, or other forums for various other distributions (like Debian, Ubuntu, CachyOS, EndeavourOS).